40 Logarithmic Functions

Learning Objectives

In this section, you will:

  • Convert from logarithmic to exponential form.
  • Convert from exponential to logarithmic form.
  • Evaluate logarithms.
  • Use common logarithms.
  • Use natural logarithms.
Photo of the aftermath of the earthquake in Japan with a focus on the Japanese flag.
Figure 1. Devastation of March 11, 2011 earthquake in Honshu, Japan. (credit: Daniel Pierce)

In 2010, a major earthquake struck Haiti, destroying or damaging over 285,000 homes[1] . One year later, another, stronger earthquake devastated Honshu, Japan, destroying or damaging over 332,000 buildings,[2] like those shown in (Figure). Even though both caused substantial damage, the earthquake in 2011 was 100 times stronger than the earthquake in Haiti. How do we know? The magnitudes of earthquakes are measured on a scale known as the Richter Scale. The Haitian earthquake registered a 7.0 on the Richter Scale[3] whereas the Japanese earthquake registered a 9.0.[4]

The Richter Scale is a base-ten logarithmic scale. In other words, an earthquake of magnitude 8 is not twice as great as an earthquake of magnitude 4. It is [latex]{10}^{8-4}={10}^{4}=10,000[/latex] times as great! In this lesson, we will investigate the nature of the Richter Scale and the base-ten function upon which it depends.

Converting from Logarithmic to Exponential Form

In order to analyze the magnitude of earthquakes or compare the magnitudes of two different earthquakes, we need to be able to convert between logarithmic and exponential form. For example, suppose the amount of energy released from one earthquake were 500 times greater than the amount of energy released from another. We want to calculate the difference in magnitude. The equation that represents this problem is[latex]\,{10}^{x}=500,[/latex] where[latex]\,x\,[/latex]represents the difference in magnitudes on the Richter Scale. How would we solve for[latex]\,x?[/latex]

We have not yet learned a method for solving exponential equations. None of the algebraic tools discussed so far is sufficient to solve[latex]\,{10}^{x}=500.\,[/latex]We know that[latex]\,{10}^{2}=100\,[/latex]and[latex]\,{10}^{3}=1000,[/latex] so it is clear that[latex]\,x\,[/latex]must be some value between 2 and 3, since[latex]\,y={10}^{x}\,[/latex]is increasing. We can examine a graph, as in (Figure), to better estimate the solution.

Graph of the intersections of the equations y=10^x and y=500.
Figure 2.

Estimating from a graph, however, is imprecise. To find an algebraic solution, we must introduce a new function. Observe that the graph in (Figure) passes the horizontal line test. The exponential function[latex]\,y={b}^{x}\,[/latex]is one-to-one, so its inverse,[latex]\,x={b}^{y}\,[/latex]is also a function. As is the case with all inverse functions, we simply interchange[latex]\,x\,[/latex]and[latex]\,y\,[/latex]and solve for[latex]\,y\,[/latex]to find the inverse function. To represent[latex]\,y\,[/latex]as a function of[latex]\,x,[/latex] we use a logarithmic function of the form[latex]\,y={\mathrm{log}}_{b}\left(x\right).\,[/latex]The base[latex]\,b\,[/latex]logarithm of a number is the exponent by which we must raise[latex]\,b\,[/latex]to get that number.

We read a logarithmic expression as, “The logarithm with base[latex]\,b\,[/latex]of[latex]\,x\,[/latex]is equal to[latex]\,y,[/latex]” or, simplified, “log base[latex]\,b\,[/latex]of[latex]\,x\,[/latex]is[latex]\,y.[/latex]” We can also say, “[latex]b\,[/latex]raised to the power of[latex]\,y\,[/latex]is[latex]\,x,[/latex]” because logs are exponents. For example, the base 2 logarithm of 32 is 5, because 5 is the exponent we must apply to 2 to get 32. Since[latex]\,{2}^{5}=32,[/latex] we can write[latex]\,{\mathrm{log}}_{2}32=5.\,[/latex]We read this as “log base 2 of 32 is 5.”

We can express the relationship between logarithmic form and its corresponding exponential form as follows:

[latex]{\mathrm{log}}_{b}\left(x\right)=y⇔{b}^{y}=x,\text{}b>0,b\ne 1[/latex]

Note that the base[latex]\,b\,[/latex]is always positive.

Because logarithm is a function, it is most correctly written as[latex]\,{\mathrm{log}}_{b}\left(x\right),[/latex] using parentheses to denote function evaluation, just as we would with[latex]\,f\left(x\right).\,[/latex]However, when the input is a single variable or number, it is common to see the parentheses dropped and the expression written without parentheses, as[latex]\,{\mathrm{log}}_{b}x.\,[/latex]Note that many calculators require parentheses around the[latex]\,x.[/latex]

We can illustrate the notation of logarithms as follows:

Notice that, comparing the logarithm function and the exponential function, the input and the output are switched. This means[latex]\,y={\mathrm{log}}_{b}\left(x\right)\,[/latex]and[latex]\,y={b}^{x}\,[/latex]are inverse functions.

Definition of the Logarithmic Function

A logarithm base[latex]\,b\,[/latex]of a positive number[latex]\,x\,[/latex]satisfies the following definition.

For[latex]\,x>0,b>0,b\ne 1,[/latex]

[latex]y={\mathrm{log}}_{b}\left(x\right)\text{ is equivalent to }{b}^{y}=x[/latex]

where,

  • we read[latex]\,{\mathrm{log}}_{b}\left(x\right)\,[/latex]as, “the logarithm with base[latex]\,b\,[/latex]of[latex]\,x[/latex]” or the “log base[latex]\,b\,[/latex]of[latex]\,x."[/latex]
  • the logarithm[latex]\,y\,[/latex]is the exponent to which[latex]\,b\,[/latex]must be raised to get[latex]\,x.[/latex]

Also, since the logarithmic and exponential functions switch the[latex]\,x\,[/latex]and[latex]\,y\,[/latex]values, the domain and range of the exponential function are interchanged for the logarithmic function. Therefore,

  • the domain of the logarithm function with base[latex]\,b \text{is} \left(0,\infty \right).[/latex]
  • the range of the logarithm function with base[latex]\,b \text{is} \left(-\infty ,\infty \right).[/latex]

Can we take the logarithm of a negative number?

No. Because the base of an exponential function is always positive, no power of that base can ever be negative. We can never take the logarithm of a negative number. Also, we cannot take the logarithm of zero. Calculators may output a log of a negative number when in complex mode, but the log of a negative number is not a real number.

How To

Given an equation in logarithmic form[latex]\,{\mathrm{log}}_{b}\left(x\right)=y,[/latex] convert it to exponential form.

  1. Examine the equation[latex]\,y={\mathrm{log}}_{b}x\,[/latex]and identify[latex]\,b,y,\text{and}x.[/latex]
  2. Rewrite[latex]\,{\mathrm{log}}_{b}x=y\,[/latex]as[latex]\,{b}^{y}=x.[/latex]

Converting from Logarithmic Form to Exponential Form

Write the following logarithmic equations in exponential form.

  1. [latex]{\mathrm{log}}_{6}\left(\sqrt{6}\right)=\frac{1}{2}[/latex]
  2. [latex]{\mathrm{log}}_{3}\left(9\right)=2[/latex]
[reveal-answer q=”fs-id1165135613330″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135613330″]

First, identify the values of[latex]\,b,y,\text{and}x.\,[/latex]Then, write the equation in the form[latex]\,{b}^{y}=x.[/latex]

  1. [latex]{\mathrm{log}}_{6}\left(\sqrt{6}\right)=\frac{1}{2}[/latex]

    Here,[latex]\,b=6,y=\frac{1}{2},\text{and} x=\sqrt{6.}\,[/latex]Therefore, the equation[latex]\,{\mathrm{log}}_{6}\left(\sqrt{6}\right)=\frac{1}{2}\,[/latex]is equivalent to[latex]\,{6}^{\frac{1}{2}}=\sqrt{6}.[/latex]

  2. [latex]{\mathrm{log}}_{3}\left(9\right)=2[/latex]

    Here,[latex]\,b=3,y=2,\text{and} x=9.\,[/latex]Therefore, the equation[latex]\,{\mathrm{log}}_{3}\left(9\right)=2\,[/latex]is equivalent to[latex]\,{3}^{2}=9.\,[/latex]

[/hidden-answer]

Try It

Write the following logarithmic equations in exponential form.

  1. [latex]{\mathrm{log}}_{10}\left(1,000,000\right)=6[/latex]
  2. [latex]{\mathrm{log}}_{5}\left(25\right)=2[/latex]
[reveal-answer q=”fs-id1165135195688″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135195688″]

  1. [latex]{\mathrm{log}}_{10}\left(1,000,000\right)=6\,[/latex]is equivalent to[latex]\,{10}^{6}=1,000,000[/latex]
  2. [latex]{\mathrm{log}}_{5}\left(25\right)=2\,[/latex]is equivalent to[latex]\,{5}^{2}=25[/latex]

[/hidden-answer]

Converting from Exponential to Logarithmic Form

To convert from exponents to logarithms, we follow the same steps in reverse. We identify the base[latex]\,b,[/latex]exponent[latex]\,x,[/latex]and output[latex]\,y.\,[/latex]Then we write[latex]\,x={\mathrm{log}}_{b}\left(y\right).[/latex]

Converting from Exponential Form to Logarithmic Form

Write the following exponential equations in logarithmic form.

  1. [latex]{2}^{3}=8[/latex]
  2. [latex]{5}^{2}=25[/latex]
  3. [latex]{10}^{-4}=\frac{1}{10,000}[/latex]
[reveal-answer q=”fs-id1165137702205″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137702205″]

First, identify the values of[latex]\,b,y,\text{and}x.\,[/latex]Then, write the equation in the form[latex]\,x={\mathrm{log}}_{b}\left(y\right).[/latex]

  1. [latex]{2}^{3}=8[/latex]

    Here,[latex]\,b=2,[/latex][latex]\,x=3,[/latex]and[latex]\,y=8.\,[/latex]Therefore, the equation[latex]\,{2}^{3}=8\,[/latex]is equivalent to[latex]\,{\mathrm{log}}_{2}\left(8\right)=3.[/latex]

  2. [latex]{5}^{2}=25[/latex]

    Here,[latex]\,b=5,[/latex][latex]\,x=2,[/latex]and[latex]\,y=25.\,[/latex]Therefore, the equation[latex]\,{5}^{2}=25\,[/latex]is equivalent to[latex]\,{\mathrm{log}}_{5}\left(25\right)=2.[/latex]

  3. [latex]{10}^{-4}=\frac{1}{10,000}[/latex]

    Here,[latex]\,b=10,[/latex][latex]\,x=-4,[/latex]and[latex]\,y=\frac{1}{10,000}.\,[/latex]Therefore, the equation[latex]\,{10}^{-4}=\frac{1}{10,000}\,[/latex]is equivalent to[latex]\,{\text{log}}_{10}\left(\frac{1}{10,000}\right)=-4.[/latex]

[/hidden-answer]

Try It

Write the following exponential equations in logarithmic form.

  1. [latex]{3}^{2}=9[/latex]
  2. [latex]{5}^{3}=125[/latex]
  3. [latex]{2}^{-1}=\frac{1}{2}[/latex]
[reveal-answer q=”fs-id1165134065138″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165134065138″]

  1. [latex]{3}^{2}=9\,[/latex]is equivalent to[latex]\,{\mathrm{log}}_{3}\left(9\right)=2[/latex]
  2. [latex]{5}^{3}=125\,[/latex]is equivalent to[latex]\,{\mathrm{log}}_{5}\left(125\right)=3[/latex]
  3. [latex]{2}^{-1}=\frac{1}{2}\,[/latex]is equivalent to[latex]\,{\text{log}}_{2}\left(\frac{1}{2}\right)=-1[/latex]

[/hidden-answer]

Evaluating Logarithms

Knowing the squares, cubes, and roots of numbers allows us to evaluate many logarithms mentally. For example, consider[latex]\,{\mathrm{log}}_{2}8.\,[/latex]We ask, “To what exponent must [latex]\,2\,[/latex] be raised in order to get 8?” Because we already know[latex]\,{2}^{3}=8,[/latex] it follows that[latex]\,{\mathrm{log}}_{2}8=3.[/latex]

Now consider solving[latex]\,{\mathrm{log}}_{7}49\,[/latex]and[latex]\,{\mathrm{log}}_{3}27\,[/latex]mentally.

  • We ask, “To what exponent must 7 be raised in order to get 49?” We know[latex]\,{7}^{2}=49.\,[/latex]Therefore,[latex]\,{\mathrm{log}}_{7}49=2[/latex]
  • We ask, “To what exponent must 3 be raised in order to get 27?” We know[latex]\,{3}^{3}=27.\,[/latex]Therefore,[latex]\,{\mathrm{log}}_{3}27=3[/latex]

Even some seemingly more complicated logarithms can be evaluated without a calculator. For example, let’s evaluate[latex]\,{\mathrm{log}}_{\frac{2}{3}}\frac{4}{9}\,[/latex]mentally.

  • We ask, “To what exponent must[latex]\,\frac{2}{3}\,[/latex]be raised in order to get[latex]\,\frac{4}{9}?\,[/latex]” We know[latex]\,{2}^{2}=4\,[/latex]and[latex]\,{3}^{2}=9,[/latex]so[latex]\,{\left(\frac{2}{3}\right)}^{2}=\frac{4}{9}.\,[/latex]Therefore,[latex]\,{\mathrm{log}}_{\frac{2}{3}}\left(\frac{4}{9}\right)=2.[/latex]

How To

Given a logarithm of the form[latex]\,y={\mathrm{log}}_{b}\left(x\right),[/latex]evaluate it mentally.

  1. Rewrite the argument[latex]\,x\,[/latex]as a power of[latex]\,b:\,[/latex][latex]{b}^{y}=x.\,[/latex]
  2. Use previous knowledge of powers of[latex]\,b\,[/latex]identify[latex]\,y\,[/latex]by asking, “To what exponent should[latex]\,b\,[/latex]be raised in order to get[latex]\,x?[/latex]”

Solving Logarithms Mentally

Solve[latex]\,y={\mathrm{log}}_{4}\left(64\right)\,[/latex]without using a calculator.

[reveal-answer q=”fs-id1165137852123″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137852123″]

First we rewrite the logarithm in exponential form:[latex]\,{4}^{y}=64.\,[/latex]Next, we ask, “To what exponent must 4 be raised in order to get 64?”

We know

[latex]{4}^{3}=64[/latex]

Therefore,

[latex]\mathrm{log}{}_{4}\left(64\right)=3[/latex][/hidden-answer]

Try It

Solve[latex]\,y={\mathrm{log}}_{121}\left(11\right)\,[/latex]without using a calculator.

[reveal-answer q=”fs-id1165137693554″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137693554″]

[latex]{\mathrm{log}}_{121}\left(11\right)=\frac{1}{2}\,[/latex](recalling that[latex]\,\sqrt{121}={\left(121\right)}^{\frac{1}{2}}=11[/latex])

[/hidden-answer]

Evaluating the Logarithm of a Reciprocal

Evaluate[latex]\,y={\mathrm{log}}_{3}\left(\frac{1}{27}\right)\,[/latex]without using a calculator.

[reveal-answer q=”fs-id1165135526087″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135526087″]

First we rewrite the logarithm in exponential form:[latex]\,{3}^{y}=\frac{1}{27}.\,[/latex]Next, we ask, “To what exponent must 3 be raised in order to get[latex]\,\frac{1}{27}?[/latex]”

We know[latex]\,{3}^{3}=27,[/latex]but what must we do to get the reciprocal,[latex]\,\frac{1}{27}?\,[/latex]Recall from working with exponents that[latex]\,{b}^{-a}=\frac{1}{{b}^{a}}.\,[/latex]We use this information to write

[latex]\begin{array}{l}{3}^{-3}=\frac{1}{{3}^{3}}\hfill \\ \,\,\,\,\,\,\,\,\,\,=\frac{1}{27}\hfill \end{array}[/latex]

Therefore,[latex]\,{\mathrm{log}}_{3}\left(\frac{1}{27}\right)=-3.[/latex][/hidden-answer]

Try It

Evaluate[latex]\,y={\mathrm{log}}_{2}\left(\frac{1}{32}\right)\,[/latex]without using a calculator.

[reveal-answer q=”fs-id1165137812401″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137812401″]

[latex]{\mathrm{log}}_{2}\left(\frac{1}{32}\right)=-5[/latex]

[/hidden-answer]

Using Common Logarithms

Sometimes we may see a logarithm written without a base. In this case, we assume that the base is 10. In other words, the expression[latex]\,\mathrm{log}\left(x\right)\,[/latex]means[latex]\,{\mathrm{log}}_{10}\left(x\right).\,[/latex]We call a base-10 logarithm a common logarithm. Common logarithms are used to measure the Richter Scale mentioned at the beginning of the section. Scales for measuring the brightness of stars and the pH of acids and bases also use common logarithms.

Definition of the Common Logarithm

A common logarithm is a logarithm with base[latex]\,10.\,[/latex]We write[latex]\,{\mathrm{log}}_{10}\left(x\right)\,[/latex]simply as[latex]\,\mathrm{log}\left(x\right).\,[/latex]The common logarithm of a positive number[latex]\,x\,[/latex]satisfies the following definition.

For[latex]\,x>0,[/latex]

[latex]y=\mathrm{log}\left(x\right)\text{ is equivalent to }{10}^{y}=x[/latex]

We read[latex]\,\mathrm{log}\left(x\right)\,[/latex]as, “the logarithm with base[latex]\,10\,[/latex]of[latex]\,x\,[/latex]” or “log base 10 of[latex]\,x.[/latex]”

The logarithm[latex]\,y\,[/latex]is the exponent to which[latex]\,10\,[/latex]must be raised to get[latex]\,x.[/latex]

How To

Given a common logarithm of the form[latex]\,y=\mathrm{log}\left(x\right),[/latex] evaluate it mentally.

  1. Rewrite the argument[latex]\,x\,[/latex]as a power of[latex]\,10:\,[/latex][latex]{10}^{y}=x.[/latex]
  2. Use previous knowledge of powers of[latex]\,10\,[/latex]to identify[latex]\,y\,[/latex]by asking, “To what exponent must[latex]\,10\,[/latex]be raised in order to get[latex]\,x?[/latex]”

Finding the Value of a Common Logarithm Mentally

Evaluate[latex]\,y=\mathrm{log}\left(1000\right)\,[/latex]without using a calculator.

[reveal-answer q=”fs-id1165137634154″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137634154″]

First we rewrite the logarithm in exponential form:[latex]\,{10}^{y}=1000.\,[/latex]Next, we ask, “To what exponent must[latex]\,10\,[/latex]be raised in order to get 1000?” We know

[latex]{10}^{3}=1000[/latex]

Therefore,[latex]\,\mathrm{log}\left(1000\right)=3.[/latex][/hidden-answer]

Try It

Evaluate[latex]\,y=\mathrm{log}\left(1,000,000\right).[/latex]

[reveal-answer q=”fs-id1165137768485″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137768485″]

[latex]\mathrm{log}\left(1,000,000\right)=6[/latex]

[/hidden-answer]

How To

Given a common logarithm with the form[latex]\,y=\mathrm{log}\left(x\right),[/latex]evaluate it using a calculator.

  1. Press [LOG].
  2. Enter the value given for[latex]\,x,[/latex]followed by [ ) ].
  3. Press [ENTER].

Finding the Value of a Common Logarithm Using a Calculator

Evaluate[latex]\,y=\mathrm{log}\left(321\right)\,[/latex]to four decimal places using a calculator.

[reveal-answer q=”fs-id1165137404714″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137404714″]

  • Press [LOG].
  • Enter 321, followed by [ ) ].
  • Press [ENTER].

Rounding to four decimal places,[latex]\,\mathrm{log}\left(321\right)\approx 2.5065.[/latex]

[/hidden-answer]

Analysis

Note that[latex]\,{10}^{2}=100\,[/latex]and that[latex]\,{10}^{3}=1000.\,[/latex]Since 321 is between 100 and 1000, we know that[latex]\,\mathrm{log}\left(321\right)\,[/latex]must be between[latex]\,\mathrm{log}\left(100\right)\,[/latex]and[latex]\,\mathrm{log}\left(1000\right).\,[/latex]This gives us the following:

[latex]\begin{array}{ccccc}100& <& 321& <& 1000\\ 2& <& 2.5065& <& 3\end{array}[/latex]

Try It

Evaluate[latex]\,y=\mathrm{log}\left(123\right)\,[/latex]to four decimal places using a calculator.

[reveal-answer q=”fs-id1165137550190″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137550190″]

[latex]\mathrm{log}\left(123\right)\approx 2.0899[/latex]

[/hidden-answer]

Rewriting and Solving a Real-World Exponential Model

The amount of energy released from one earthquake was 500 times greater than the amount of energy released from another. The equation[latex]\,{10}^{x}=500\,[/latex]represents this situation, where[latex]\,x\,[/latex]is the difference in magnitudes on the Richter Scale. To the nearest thousandth, what was the difference in magnitudes?

[reveal-answer q=”fs-id1165137784516″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137784516″]

We begin by rewriting the exponential equation in logarithmic form.

[latex]\begin{array}{lll}\,\,\,\,\,\,\,\,\,\,{10}^{x}\hfill & =500\hfill & \hfill \\ \mathrm{log}\left(500\right)\hfill & =x\hfill & \text{Use the definition of the common log}\text{.}\hfill \end{array}[/latex]

Next we evaluate the logarithm using a calculator:

  • Press [LOG].
  • Enter[latex]\,500,[/latex]followed by [ ) ].
  • Press [ENTER].
  • To the nearest thousandth,[latex]\,\mathrm{log}\left(500\right)\approx 2.699.[/latex]

The difference in magnitudes was about[latex]\,2.699.[/latex][/hidden-answer]

Try It

The amount of energy released from one earthquake was[latex]\,\text{8,500}\,[/latex]times greater than the amount of energy released from another. The equation[latex]\,{10}^{x}=8500\,[/latex]represents this situation, where[latex]\,x\,[/latex]is the difference in magnitudes on the Richter Scale. To the nearest thousandth, what was the difference in magnitudes?

[reveal-answer q=”fs-id1165137656499″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137656499″]

The difference in magnitudes was about [latex]\,3.929.[/latex]

[/hidden-answer]

Using Natural Logarithms

The most frequently used base for logarithms is[latex]\,e.\,[/latex]Base[latex]\,e\,[/latex]logarithms are important in calculus and some scientific applications; they are called natural logarithms. The base[latex]\,e\,[/latex]logarithm,[latex]\,{\mathrm{log}}_{e}\left(x\right),[/latex] has its own notation,[latex]\,\mathrm{ln}\left(x\right).[/latex]

Most values of[latex]\,\mathrm{ln}\left(x\right)\,[/latex]can be found only using a calculator. The major exception is that, because the logarithm of 1 is always 0 in any base,[latex]\,\mathrm{ln}1=0.\,[/latex]For other natural logarithms, we can use the[latex]\,\mathrm{ln}\,[/latex]key that can be found on most scientific calculators. We can also find the natural logarithm of any power of[latex]\,e\,[/latex]using the inverse property of logarithms.

Definition of the Natural Logarithm

A natural logarithm is a logarithm with base[latex]\,e.[/latex] We write [latex]{\mathrm{log}}_{e}\left(x\right)[/latex] simply as [latex]\mathrm{ln}\left(x\right).[/latex] The natural logarithm of a positive number [latex]x[/latex] satisfies the following definition.

For[latex]\,x>0,[/latex]

[latex]y=\mathrm{ln}\left(x\right)\text{ is equivalent to }{e}^{y}=x[/latex]

We read[latex]\,\mathrm{ln}\left(x\right)\,[/latex]as, “the logarithm with base[latex]\,e\,[/latex]of[latex]\,x[/latex]” or “the natural logarithm of[latex]\,x.[/latex]”

The logarithm[latex]\,y\,[/latex]is the exponent to which[latex]\,e\,[/latex]must be raised to get[latex]\,x.[/latex]

Since the functions[latex]\,y=e{}^{x}\,[/latex]and[latex]\,y=\mathrm{ln}\left(x\right)\,[/latex]are inverse functions,[latex]\,\mathrm{ln}\left({e}^{x}\right)=x\,[/latex]for all[latex]\,x\,[/latex]and[latex]\,e{}^{\mathrm{ln}\left(x\right)}=x\,[/latex]for[latex]\,x>0.[/latex]

How To

Given a natural logarithm with the form[latex]\,y=\mathrm{ln}\left(x\right),[/latex] evaluate it using a calculator.

  1. Press [LN].
  2. Enter the value given for[latex]\,x,[/latex] followed by [ ) ].
  3. Press [ENTER].

Evaluating a Natural Logarithm Using a Calculator

Evaluate[latex]\,y=\mathrm{ln}\left(500\right)\,[/latex]to four decimal places using a calculator.

[reveal-answer q=”fs-id1165137702133″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137702133″]

  • Press [LN].
  • Enter[latex]\,500,[/latex]followed by [ ) ].
  • Press [ENTER].

Rounding to four decimal places,[latex]\,\mathrm{ln}\left(500\right)\approx 6.2146[/latex]

[/hidden-answer]

Try It

Evaluate[latex]\,\mathrm{ln}\left(-500\right).[/latex]

[reveal-answer q=”fs-id1165137737001″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137737001″]

It is not possible to take the logarithm of a negative number in the set of real numbers.

[/hidden-answer]

Access this online resource for additional instruction and practice with logarithms.

Key Equations

Definition of the logarithmic function For[latex]\text{ } x>0,b>0,b\ne 1,[/latex]<[latex]y={\mathrm{log}}_{b}\left(x\right)\text{ }[/latex]if and only if[latex]\text{ }{b}^{y}=x.[/latex]</td>
Definition of the common logarithm For[latex]\text{ }x>0,[/latex][latex]y=\mathrm{log}\left(x\right)\text{ }[/latex]if and only if[latex]\text{ }{10}^{y}=x.[/latex]
Definition of the natural logarithm For[latex]\text{ }x>0,[/latex][latex]y=\mathrm{ln}\left(x\right)\text{ }[/latex]if and only if[latex]\text{ }{e}^{y}=x.[/latex]

Key Concepts

  • The inverse of an exponential function is a logarithmic function, and the inverse of a logarithmic function is an exponential function.
  • Logarithmic equations can be written in an equivalent exponential form, using the definition of a logarithm. See (Figure).
  • Exponential equations can be written in their equivalent logarithmic form using the definition of a logarithm See (Figure).
  • Logarithmic functions with base[latex]\,b\,[/latex]can be evaluated mentally using previous knowledge of powers of[latex]\,b.\,[/latex]See (Figure) and (Figure).
  • Common logarithms can be evaluated mentally using previous knowledge of powers of[latex]\,10.\,[/latex]See (Figure).
  • When common logarithms cannot be evaluated mentally, a calculator can be used. See (Figure).
  • Real-world exponential problems with base[latex]\,10\,[/latex]can be rewritten as a common logarithm and then evaluated using a calculator. See (Figure).
  • Natural logarithms can be evaluated using a calculator (Figure).

Section Exercises

Verbal

What is a base[latex]\,b\,[/latex]logarithm? Discuss the meaning by interpreting each part of the equivalent equations[latex]\,{b}^{y}=x\,[/latex]and[latex]\,{\mathrm{log}}_{b}x=y\,[/latex]for[latex]\,b>0,b\ne 1.[/latex]

[reveal-answer q=”fs-id1165137411524″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137411524″]A logarithm is an exponent. Specifically, it is the exponent to which a base[latex]\,b\,[/latex]is raised to produce a given value. In the expressions given, the base[latex]\,b\,[/latex]has the same value. The exponent,[latex]\,y,[/latex]in the expression[latex]\,{b}^{y}\,[/latex]can also be written as the logarithm,[latex]\,{\mathrm{log}}_{b}x,[/latex]and the value of[latex]\,x\,[/latex]is the result of raising[latex]\,b\,[/latex]to the power of[latex]\,y.[/latex]

[/hidden-answer]

How is the logarithmic function[latex]\,f\left(x\right)={\mathrm{log}}_{b}x\,[/latex]related to the exponential function[latex]\,g\left(x\right)={b}^{x}?\,[/latex]What is the result of composing these two functions?

How can the logarithmic equation[latex]\,{\mathrm{log}}_{b}x=y\,[/latex]be solved for[latex]\,x\,[/latex]using the properties of exponents?

[reveal-answer q=”fs-id1165135203815″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135203815″]

Since the equation of a logarithm is equivalent to an exponential equation, the logarithm can be converted to the exponential equation[latex]\,{b}^{y}=x,[/latex] and then properties of exponents can be applied to solve for[latex]\,x.[/latex]

[/hidden-answer]

Discuss the meaning of the common logarithm. What is its relationship to a logarithm with base[latex]\,b,[/latex] and how does the notation differ?

Discuss the meaning of the natural logarithm. What is its relationship to a logarithm with base[latex]\,b,[/latex] and how does the notation differ?

[reveal-answer q=”fs-id1165137596568″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137596568″]

The natural logarithm is a special case of the logarithm with base[latex]\,b\,[/latex]in that the natural log always has base[latex]\,e.\,[/latex]Rather than notating the natural logarithm as[latex]\,{\mathrm{log}}_{e}\left(x\right),[/latex]the notation used is[latex]\,\mathrm{ln}\left(x\right).[/latex]

[/hidden-answer]

Algebraic

For the following exercises, rewrite each equation in exponential form.

[latex]{\text{log}}_{4}\left(q\right)=m[/latex]

[latex]{\text{log}}_{a}\left(b\right)=c[/latex]

[reveal-answer q=”fs-id1165135191877″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135191877″]

[latex]{a}^{c}=b[/latex]

[/hidden-answer]

[latex]{\mathrm{log}}_{16}\left(y\right)=x[/latex]

[latex]{\mathrm{log}}_{x}\left(64\right)=y[/latex]

[reveal-answer q=”fs-id1165137428120″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137428120″]

[latex]{x}^{y}=64[/latex]

[/hidden-answer]

[latex]{\mathrm{log}}_{y}\left(x\right)=-11[/latex]

[latex]{\mathrm{log}}_{15}\left(a\right)=b[/latex]

[reveal-answer q=”fs-id1165135191871″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135191871″]
[latex]{15}^{b}=a[/latex][/hidden-answer]

[latex]{\mathrm{log}}_{y}\left(137\right)=x[/latex]

[latex]{\mathrm{log}}_{13}\left(142\right)=a[/latex]

[reveal-answer q=”fs-id1165137580134″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137580134″]

[latex]{13}^{a}=142[/latex]

[/hidden-answer]

[latex]\text{log}\left(v\right)=t[/latex]

[latex]\text{ln}\left(w\right)=n[/latex]

[reveal-answer q=”fs-id1165135185210″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135185210″]

[latex]{e}^{n}=w[/latex]

[/hidden-answer]

For the following exercises, rewrite each equation in logarithmic form.

[latex]{4}^{x}=y[/latex]

[latex]{c}^{d}=k[/latex]

[reveal-answer q=”fs-id1165137742265″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137742265″]

[latex]{\text{log}}_{c}\left(k\right)=d[/latex]

[/hidden-answer]

[latex]{m}^{-7}=n[/latex]

[latex]{19}^{x}=y[/latex]

[reveal-answer q=”fs-id1165135296129″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135296129″]

[latex]{\mathrm{log}}_{19}y=x[/latex]

[/hidden-answer]

[latex]{x}^{-\,\frac{10}{13}}=y[/latex]

[latex]{n}^{4}=103[/latex]

[reveal-answer q=”fs-id1165134032258″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165134032258″]

[latex]{\mathrm{log}}_{n}\left(103\right)=4[/latex]

[/hidden-answer]

[latex]{\left(\frac{7}{5}\right)}^{m}=n[/latex]

[latex]{y}^{x}=\frac{39}{100}[/latex]

[reveal-answer q=”fs-id1165135194466″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135194466″]

[latex]{\mathrm{log}}_{y}\left(\frac{39}{100}\right)=x[/latex]

[/hidden-answer]

[latex]{10}^{a}=b[/latex]

[latex]{e}^{k}=h[/latex]

[reveal-answer q=”fs-id1165135191801″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135191801″]

[latex]\text{ln}\left(h\right)=k[/latex]

[/hidden-answer]

For the following exercises, solve for[latex]\,x\,[/latex]by converting the logarithmic equation to exponential form.

[latex]{\text{log}}_{3}\left(x\right)=2[/latex]

[latex]{\text{log}}_{2}\left(x\right)=-3[/latex]

[reveal-answer q=”fs-id1165137443266″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137443266″]

[latex]x={2}^{-3}=\frac{1}{8}[/latex]

[/hidden-answer]

[latex]{\text{log}}_{5}\left(x\right)=2[/latex]

[latex]{\mathrm{log}}_{3}\left(x\right)=3[/latex]

[reveal-answer q=”fs-id1165137409760″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137409760″]

[latex]x={3}^{3}=27[/latex]

[/hidden-answer]

[latex]{\text{log}}_{2}\left(x\right)=6[/latex]

[latex]{\text{log}}_{9}\left(x\right)=\frac{1}{2}[/latex]

[reveal-answer q=”fs-id1165137469004″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137469004″]

[latex]x={9}^{\frac{1}{2}}=3[/latex]

[/hidden-answer]

[latex]{\text{log}}_{18}\left(x\right)=2[/latex]

[latex]{\mathrm{log}}_{6}\left(x\right)=-3[/latex]

[reveal-answer q=”fs-id1165135253754″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135253754″]

[latex]x={6}^{-3}=\frac{1}{216}[/latex]

[/hidden-answer]

[latex]\text{log}\left(x\right)=3[/latex]

[latex]\text{ln}\left(x\right)=2[/latex]

[reveal-answer q=”fs-id1165135524549″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135524549″]

[latex]x={e}^{2}[/latex]

[/hidden-answer]

For the following exercises, use the definition of common and natural logarithms to simplify.

[latex]\text{log}\left({100}^{8}\right)[/latex]

[latex]{10}^{\text{log}\left(32\right)}[/latex]

[reveal-answer q=”fs-id1165137436613″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137436613″]

[latex]32[/latex]

[/hidden-answer]

[latex]2\text{log}\left(.0001\right)[/latex]

[latex]{e}^{\mathrm{ln}\left(1.06\right)}[/latex]

[reveal-answer q=”fs-id1165137455559″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137455559″]

[latex]1.06[/latex]

[/hidden-answer]

[latex]\mathrm{ln}\left({e}^{-5.03}\right)[/latex]

[latex]{e}^{\mathrm{ln}\left(10.125\right)}+4[/latex]

[reveal-answer q=”fs-id1165137605063″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137605063″]
[latex]14.125[/latex][/hidden-answer]

Numeric

For the following exercises, evaluate the base[latex]\,b\,[/latex]logarithmic expression without using a calculator.

[latex]{\text{log}}_{3}\left(\frac{1}{27}\right)[/latex]

[latex]{\text{log}}_{6}\left(\sqrt{6}\right)[/latex]

[reveal-answer q=”fs-id1165135706822″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135706822″]

[latex]\frac{1}{2}[/latex]

[/hidden-answer]

[latex]{\text{log}}_{2}\left(\frac{1}{8}\right)+4[/latex]

[latex]6{\text{log}}_{8}\left(4\right)[/latex]

[reveal-answer q=”fs-id1165137454533″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137454533″]

[latex]4[/latex]

[/hidden-answer]

For the following exercises, evaluate the common logarithmic expression without using a calculator.

[latex]\text{log}\left(10,000\right)[/latex]

[latex]\text{log}\left(0.001\right)[/latex]

[reveal-answer q=”fs-id1165135431079″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135431079″]

[latex]-\text{3}[/latex]

[/hidden-answer]

[latex]\text{log}\left(1\right)+7[/latex]

[latex]2\text{log}\left({100}^{-3}\right)[/latex]

[reveal-answer q=”fs-id1165137588216″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137588216″]

[latex]-12[/latex]

[/hidden-answer]

For the following exercises, evaluate the natural logarithmic expression without using a calculator.

[latex]\text{ln}\left({e}^{\frac{1}{3}}\right)[/latex]

[latex]\text{ln}\left(1\right)[/latex]

[reveal-answer q=”fs-id1165137645466″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137645466″]

[latex]0[/latex]

[/hidden-answer]

[latex]\text{ln}\left({e}^{-0.225}\right)-3[/latex]

[latex]25\text{ln}\left({e}^{\frac{2}{5}}\right)[/latex]

[reveal-answer q=”fs-id1165137418633″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137418633″]

[latex]10[/latex]

[/hidden-answer]

Technology

For the following exercises, evaluate each expression using a calculator. Round to the nearest thousandth.

[latex]\text{log}\left(0.04\right)[/latex]

[latex]\text{ln}\left(15\right)[/latex]

[reveal-answer q=”fs-id1165137696603″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137696603″]

[latex]\text{2}.\text{7}0\text{8}[/latex]

[/hidden-answer]

[latex]\text{ln}\left(\frac{4}{5}\right)[/latex]

[latex]\text{log}\left(\sqrt{2}\right)[/latex]

[reveal-answer q=”fs-id1165137658294″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137658294″]

[latex]0.151[/latex]

[/hidden-answer]

[latex]\text{ln}\left(\sqrt{2}\right)[/latex]

Extensions

Is[latex]\,x=0\,[/latex]in the domain of the function[latex]\,f\left(x\right)=\mathrm{log}\left(x\right)?\,[/latex]If so, what is the value of the function when[latex]\,x=0?\,[/latex]Verify the result.

[reveal-answer q=”fs-id1165137474123″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137474123″]

No, the function has no defined value for[latex]\,x=0.\,[/latex]To verify, suppose[latex]\,x=0\,[/latex]is in the domain of the function[latex]\,f\left(x\right)=\mathrm{log}\left(x\right).\,[/latex]Then there is some number[latex]\,n\,[/latex]such that[latex]\,n=\mathrm{log}\left(0\right).\,[/latex]Rewriting as an exponential equation gives:[latex]\,{10}^{n}=0,[/latex] which is impossible since no such real number[latex]\,n\,[/latex]exists. Therefore,[latex]\,x=0\,[/latex]is not the domain of the function[latex]\,f\left(x\right)=\mathrm{log}\left(x\right).[/latex]

[/hidden-answer]

Is[latex]\,f\left(x\right)=0\,[/latex]in the range of the function[latex]\,f\left(x\right)=\mathrm{log}\left(x\right)?\,[/latex]If so, for what value of[latex]\,x?\,[/latex]Verify the result.

Is there a number[latex]\,x\,[/latex]such that[latex]\,\mathrm{ln}x=2?\,[/latex]If so, what is that number? Verify the result.

[reveal-answer q=”fs-id1165137659786″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137659786″]

Yes. Suppose there exists a real number[latex]\,x\,[/latex]such that[latex]\,\mathrm{ln}x=2.\,[/latex]Rewriting as an exponential equation gives[latex]\,x={e}^{2},[/latex] which is a real number. To verify, let[latex]\,x={e}^{2}.\,[/latex]Then, by definition,[latex]\,\mathrm{ln}\left(x\right)=\mathrm{ln}\left({e}^{2}\right)=2.[/latex]

[/hidden-answer]

Is the following true:[latex]\,\frac{{\mathrm{log}}_{3}\left(27\right)}{{\mathrm{log}}_{4}\left(\frac{1}{64}\right)}=-1?\,[/latex]Verify the result.

Is the following true:[latex]\,\frac{\mathrm{ln}\left({e}^{1.725}\right)}{\mathrm{ln}\left(1\right)}=1.725?\,[/latex]Verify the result.

[reveal-answer q=”fs-id1165137749907″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137749907″]

No;[latex]\,\mathrm{ln}\left(1\right)=0,[/latex] so[latex]\,\frac{\mathrm{ln}\left({e}^{1.725}\right)}{\mathrm{ln}\left(1\right)}\,[/latex]is undefined.

[/hidden-answer]

Real-World Applications

The exposure index[latex]\,EI\,[/latex]for a 35 millimeter camera is a measurement of the amount of light that hits the film. It is determined by the equation[latex]\,EI={\mathrm{log}}_{2}\left(\frac{{f}^{2}}{t}\right),[/latex] where[latex]\,f\,[/latex]is the “f-stop” setting on the camera, and [latex]t[/latex] is the exposure time in seconds. Suppose the f-stop setting is[latex]\,8\,[/latex]and the desired exposure time is[latex]\,2\,[/latex]seconds. What will the resulting exposure index be?

Refer to the previous exercise. Suppose the light meter on a camera indicates an[latex]\,EI\,[/latex]of[latex]\,-2,[/latex] and the desired exposure time is 16 seconds. What should the f-stop setting be?

[reveal-answer q=”fs-id1165137570610″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137570610″]

[latex]2[/latex]

[/hidden-answer]

The intensity levels I of two earthquakes measured on a seismograph can be compared by the formula[latex]\,\mathrm{log}\frac{{I}_{1}}{{I}_{2}}={M}_{1}-{M}_{2}\,[/latex]where[latex]\,M\,[/latex]is the magnitude given by the Richter Scale. In August 2009, an earthquake of magnitude 6.1 hit Honshu, Japan. In March 2011, that same region experienced yet another, more devastating earthquake, this time with a magnitude of 9.0.[5] How many times greater was the intensity of the 2011 earthquake? Round to the nearest whole number.

Glossary

common logarithm
the exponent to which 10 must be raised to get[latex]\,x;\,[/latex][latex]\,{\mathrm{log}}_{10}\left(x\right)\,[/latex] is written simply as[latex]\,\mathrm{log}\left(x\right).[/latex]
logarithm
the exponent to which[latex]\,b\,[/latex]must be raised to get[latex]\,x;\,[/latex]written[latex]\,y={\mathrm{log}}_{b}\left(x\right)[/latex]
natural logarithm
the exponent to which the number[latex]\,e\,[/latex]must be raised to get[latex]\,x;[/latex][latex]\,{\mathrm{log}}_{e}\left(x\right)\,[/latex]is written as[latex]\,\mathrm{ln}\left(x\right).[/latex]

License

Icon for the Creative Commons Attribution 4.0 International License

Algebra and Trigonometry OpenStax Copyright © 2015 by OpenStax is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book