### Learning Objectives

By the end of this section, you will be able to:

- Convert between exponential and logarithmic form
- Evaluate logarithmic functions
- Graph Logarithmic functions
- Solve logarithmic equations
- Use logarithmic models in applications

Before you get started, take this readiness quiz.

Solve: ${x}^{2}=81.$

If you missed this problem, review Example 6.46.

Evaluate: ${3}^{\mathrm{-2}}.$

If you missed this problem, review Example 5.15.

Solve: ${2}^{4}=3x-5.$

If you missed this problem, review Example 2.2.

We have spent some time finding the inverse of many functions. It works well to ‘undo’ an operation with another operation. Subtracting ‘undoes’ addition, multiplication ‘undoes’ division, taking the square root ‘undoes’ squaring.

As we studied the exponential function, we saw that it is one-to-one as its graphs pass the horizontal line test. This means an exponential function does have an inverse. If we try our algebraic method for finding an inverse, we run into a problem.

$\begin{array}{cccc}\begin{array}{}\\ \\ \\ \text{Rewrite with}\phantom{\rule{0.2em}{0ex}}y=f\left(x\right).\hfill \\ \text{Interchange the variables}\phantom{\rule{0.2em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}y.\hfill \end{array}\hfill & & & \begin{array}{ccc}\hfill f\left(x\right)& =\hfill & {a}^{x}\hfill \\ \hfill y& =\hfill & {a}^{x}\hfill \\ \hfill x& =\hfill & {a}^{y}\hfill \end{array}\hfill \\ \text{Solve for}\phantom{\rule{0.2em}{0ex}}y.\hfill & & & \text{Oops! We have no way to solve for}\phantom{\rule{0.2em}{0ex}}y!\hfill \end{array}$

To deal with this we define the logarithm function with base *a* to be the inverse of the exponential function $f\left(x\right)={a}^{x}.$ We use the notation ${f}^{\mathrm{-1}}\left(x\right)={\text{log}}_{a}x$ and say the inverse function of the exponential function is the logarithmic function.

### Logarithmic Function

The function $f\left(x\right)={\text{log}}_{a}x$ is the **logarithmic function** with base $a$, where $a>0,$$x>0,$ and $a\ne 1.$

### Convert Between Exponential and Logarithmic Form

Since the equations $y={\text{log}}_{a}x$ and $x={a}^{y}$ are equivalent, we can go back and forth between them. This will often be the method to solve some exponential and logarithmic equations. To help with converting back and forth let’s take a close look at the equations. See Figure 10.3. Notice the positions of the exponent and base.

If we realize the logarithm is the exponent it makes the conversion easier. You may want to repeat, “base to the exponent give us the number.”

### Example 10.18

Convert to logarithmic form: ⓐ ${2}^{3}=8,$ ⓑ ${5}^{\frac{1}{2}}=\sqrt{5},$ and ⓒ ${\left(\frac{1}{2}\right)}^{4}=\frac{1}{16}.$

Convert to logarithmic form: ⓐ ${3}^{2}=9$ ⓑ ${7}^{\frac{1}{2}}=\sqrt{7}$ ⓒ ${\left(\frac{1}{3}\right)}^{x}=\frac{1}{27}$

Convert to logarithmic form: ⓐ ${4}^{3}=64$ ⓑ ${4}^{\frac{1}{3}}=\sqrt[3]{4}$ ⓒ ${\left(\frac{1}{2}\right)}^{x}=\frac{1}{32}$

In the next example we do the reverse—convert logarithmic form to exponential form.

### Example 10.19

Convert to exponential form: ⓐ $2={\text{log}}_{8}64,$ ⓑ $0={\text{log}}_{4}1,$ and ⓒ $-3={\text{log}}_{10}\frac{1}{1000}.$

Convert to exponential form: ⓐ $3={\text{log}}_{4}64$ ⓑ $0={\text{log}}_{x}1$ ⓒ $\mathrm{-2}={\text{log}}_{10}\frac{1}{100}$

Convert to exponential form: ⓐ $3={\text{log}}_{3}27$ ⓑ $0={\text{log}}_{3}1$ ⓒ $\mathrm{-1}={\text{log}}_{10}\frac{1}{10}$

### Evaluate Logarithmic Functions

We can solve and evaluate logarithmic equations by using the technique of converting the equation to its equivalent exponential equation.

### Example 10.20

Find the value of *x*: ⓐ ${\text{log}}_{x}36=2,$ ⓑ ${\text{log}}_{4}x=3,$ and ⓒ ${\text{log}}_{\frac{1}{2}}\frac{1}{8}=x.$

Find the value of $x:$ ⓐ ${\text{log}}_{x}64=2$ ⓑ ${\text{log}}_{5}x=3$ ⓒ ${\text{log}}_{\frac{1}{2}}\frac{1}{4}=x$

Find the value of $x:$ ⓐ ${\text{log}}_{x}81=2$ ⓑ ${\text{log}}_{3}x=5$ ⓒ ${\text{log}}_{\frac{1}{3}}\frac{1}{27}=x$

When see an expression such as ${\text{log}}_{3}27,$ we can find its exact value two ways. By inspection we realize it means $\u201c3$ to what power will be $27\u201d?$ Since ${3}^{3}=27,$ we know ${\text{log}}_{3}27=3.$ An alternate way is to set the expression equal to $x$ and then convert it into an exponential equation.

### Example 10.21

Find the exact value of each logarithm without using a calculator: ⓐ ${\text{log}}_{5}25,$ ⓑ ${\text{log}}_{9}3,$ and ⓒ ${\text{log}}_{2}\frac{1}{16}.$

Find the exact value of each logarithm without using a calculator: ⓐ ${\text{log}}_{12}144$ ⓑ ${\text{log}}_{4}2$ ⓒ ${\text{log}}_{2}\frac{1}{32}$

Find the exact value of each logarithm without using a calculator: ⓐ ${\text{log}}_{9}81$ ⓑ ${\text{log}}_{8}2$ ⓒ ${\text{log}}_{3}\frac{1}{9}$

### Graph Logarithmic Functions

To graph a logarithmic function $y={\text{log}}_{a}x,$ it is easiest to convert the equation to its exponential form, $x={a}^{y}.$ Generally, when we look for ordered pairs for the graph of a function, we usually choose an *x*-value and then determine its corresponding *y*-value. In this case you may find it easier to choose *y*-values and then determine its corresponding *x*-value.

### Example 10.22

Graph $y={\text{log}}_{2}x.$

Graph: $y={\text{log}}_{3}x.$

Graph: $y={\text{log}}_{5}x.$

The graphs of $y={\text{log}}_{2}x,$$y={\text{log}}_{3}x,$ and $y={\text{log}}_{5}x$ are the shape we expect from a logarithmic function where $a>1.$

We notice that for each function the graph contains the point $\left(1,0\right).$ This make sense because $0={\text{log}}_{a}1$ means ${a}^{0}=1$ which is true for any *a*.

The graph of each function, also contains the point $\left(a,1\right).$ This makes sense as $1={\text{log}}_{a}a$ means ${a}^{1}=a.$ which is true for any *a*.

Notice too, the graph of each function $y={\text{log}}_{a}x$ also contains the point $\left(\frac{1}{a},\mathrm{-1}\right).$ This makes sense as $\mathrm{-1}={\text{log}}_{a}\frac{1}{a}$ means ${a}^{\mathrm{-1}}=\frac{1}{a},$ which is true for any *a*.

Look at each graph again. Now we will see that many characteristics of the logarithm function are simply ’mirror images’ of the characteristics of the corresponding exponential function.

What is the domain of the function? The graph never hits the *y*-axis. The domain is all positive numbers. We write the domain in interval notation as $\left(0,\infty \right).$

What is the range for each function? From the graphs we can see that the range is the set of all real numbers. There is no restriction on the range. We write the range in interval notation as $\left(\text{\u2212}\infty ,\infty \right).$

When the graph approaches the *y*-axis so very closely but will never cross it, we call the line $x=0,$ the *y*-axis, a vertical asymptote.

### Properties of the Graph of $y={\text{log}}_{a}x$ when $a>1$

Domain | $\left(0,\infty \right)$ |

Range | $\left(\text{\u2212}\infty ,\infty \right)$ |

$x\text{-}\text{intercept}$ | $\left(1,0\right)$ |

$y\text{-}\text{intercept}$ | None |

Contains | $\left(a,1\right),$$\left(\frac{1}{a},\mathrm{-1}\right)$ |

Asymptote | $y\text{-}\text{axis}$ |

Our next example looks at the graph of $y={\text{log}}_{a}x$ when $0<a<1.$

### Example 10.23

Graph $y={\text{log}}_{\frac{1}{3}}x.$

Graph: $y={\text{log}}_{\frac{1}{2}}x.$

Graph: $y={\text{log}}_{\frac{1}{4}}x.$

Now, let’s look at the graphs $y={\text{log}}_{\frac{1}{2}}x,\phantom{\rule{0.2em}{0ex}}y={\text{log}}_{\frac{1}{3}}x$ and $y={\text{log}}_{\frac{1}{4}}x$, so we can identify some of the properties of logarithmic functions where $0<a<1.$

The graphs of all have the same basic shape. While this is the shape we expect from a logarithmic function where $0<a<1.$

We notice, that for each function again, the graph contains the points,$\left(1,0\right),$$\left(a,1\right),$$\left(\frac{1}{a},\mathrm{-1}\right).$ This make sense for the same reasons we argued above.

We notice the domain and range are also the same—the domain is $\left(0,\infty \right)$ and the range is $\left(\text{\u2212}\infty ,\infty \right).$ The $y$-axis is again the vertical asymptote.

We will summarize these properties in the chart below. Which also include when $a>1.$

### Properties of the Graph of $y={\text{log}}_{a}x$

when $a>1$ |
when $0<a<1$ |
||
---|---|---|---|

Domain | $\left(0,\infty \right)$ | Domain | $\left(0,\infty \right)$ |

Range | $\left(\text{\u2212}\infty ,\infty \right)$ | Range | $\left(\text{\u2212}\infty ,\infty \right)$ |

$x$-intercept | $\left(1,0\right)$ | $x$-intercept | $\left(1,0\right)$ |

$y$-intercept | none | $y$-intercept | None |

Contains | $\left(a,1\right),$$\left(\frac{1}{a},\mathrm{-1}\right)$ | Contains | $\left(a,1\right),$$\left(\frac{1}{a},\mathrm{-1}\right)$ |

Asymptote | $y$-axis | Asymptote | $y$-axis |

Basic shape | increasing | Basic shape | Decreasing |

We talked earlier about how the logarithmic function ${f}^{\mathrm{-1}}\left(x\right)={\text{log}}_{a}x$ is the inverse of the exponential function $f\left(x\right)={a}^{x}.$ The graphs in Figure 10.4 show both the exponential (blue) and logarithmic (red) functions on the same graph for both $a>1$ and $0<a<1.$

Notice how the graphs are reflections of each other through the line $y=x.$ We know this is true of inverse functions. Keeping a visual in your mind of these graphs will help you remember the domain and range of each function. Notice the *x*-axis is the horizontal asymptote for the exponential functions and the *y*-axis is the vertical asymptote for the logarithmic functions.

### Solve Logarithmic Equations

When we talked about exponential functions, we introduced the number *e*. Just as *e* was a base for an exponential function, it can be used a base for logarithmic functions too. The logarithmic function with base *e* is called the natural logarithmic function. The function $f\left(x\right)={\text{log}}_{e}x$ is generally written $f\left(x\right)=\text{ln}\phantom{\rule{0.2em}{0ex}}x$ and we read it as “el en of $x.\u201d$

### Natural Logarithmic Function

The function $f\left(x\right)=\text{ln}\phantom{\rule{0.2em}{0ex}}x$ is the **natural logarithmic function** with base $e,$ where $x>0.$

When the base of the logarithm function is 10, we call it the common logarithmic function and the base is not shown. If the base *a* of a logarithm is not shown, we assume it is 10.

### Common Logarithmic Function

The function $f\left(x\right)=\text{log}\phantom{\rule{0.2em}{0ex}}x$ is the **common logarithmic function** with base$10$, where $x>0.$

To solve logarithmic equations, one strategy is to change the equation to exponential form and then solve the exponential equation as we did before. As we solve logarithmic equations, $y={\text{log}}_{a}x$, we need to remember that for the base *a*, $a>0$ and $a\ne 1.$ Also, the domain is $x>0.$ Just as with radical equations, we must check our solutions to eliminate any extraneous solutions.

### Example 10.24

Solve: ⓐ ${\text{log}}_{a}49=2$ and ⓑ $\text{ln}\phantom{\rule{0.2em}{0ex}}x=3.$

Solve: ⓐ ${\text{log}}_{a}121=2$ ⓑ $\text{ln}\phantom{\rule{0.2em}{0ex}}x=7$

Solve: ⓐ ${\text{log}}_{a}64=3$ ⓑ $\text{ln}\phantom{\rule{0.2em}{0ex}}x=9$

### Example 10.25

Solve: ⓐ ${\text{log}}_{2}\left(3x-5\right)=4$ and ⓑ $\text{ln}\phantom{\rule{0.2em}{0ex}}{e}^{2x}=4.$

Solve: ⓐ ${\text{log}}_{2}\left(5x-1\right)=6$ ⓑ $\text{ln}\phantom{\rule{0.2em}{0ex}}{e}^{3x}=6$

Solve: ⓐ ${\text{log}}_{3}\left(4x+3\right)=3$ ⓑ $\text{ln}\phantom{\rule{0.2em}{0ex}}{e}^{4x}=4$

### Use Logarithmic Models in Applications

There are many applications that are modeled by logarithmic equations. We will first look at the logarithmic equation that gives the decibel (dB) level of sound. Decibels range from 0, which is barely audible to 160, which can rupture an eardrum. The ${10}^{\mathrm{-12}}$ in the formula represents the intensity of sound that is barely audible.

### Decibel Level of Sound

The loudness level, *D*, measured in decibels, of a sound of intensity, *I*, measured in watts per square inch is

### Example 10.26

Extended exposure to noise that measures 85 dB can cause permanent damage to the inner ear which will result in hearing loss. What is the decibel level of music coming through ear phones with intensity ${10}^{\mathrm{-2}}$ watts per square inch?

What is the decibel level of one of the new quiet dishwashers with intensity ${10}^{\mathrm{-7}}$ watts per square inch?

What is the decibel level heavy city traffic with intensity ${10}^{\mathrm{-3}}$ watts per square inch?

The magnitude $R$ of an earthquake is measured by a logarithmic scale called the Richter scale. The model is $R=\text{log}\phantom{\rule{0.2em}{0ex}}I,$ where $I$ is the intensity of the shock wave. This model provides a way to measure earthquake intensity.

### Earthquake Intensity

The magnitude *R* of an earthquake is measured by $R=\text{log}\phantom{\rule{0.2em}{0ex}}I,$ where *I* is the intensity of its shock wave.

### Example 10.27

In 1906, San Francisco experienced an intense earthquake with a magnitude of 7.8 on the Richter scale. Over 80% of the city was destroyed by the resulting fires. In 2014, Los Angeles experienced a moderate earthquake that measured 5.1 on the Richter scale and caused $108 million dollars of damage. Compare the intensities of the two earthquakes.

In 1906, San Francisco experienced an intense earthquake with a magnitude of 7.8 on the Richter scale. In 1989, the Loma Prieta earthquake also affected the San Francisco area, and measured 6.9 on the Richter scale. Compare the intensities of the two earthquakes.

In 2014, Chile experienced an intense earthquake with a magnitude of 8.2 on the Richter scale. In 2014, Los Angeles also experienced an earthquake which measured 5.1 on the Richter scale. Compare the intensities of the two earthquakes.

### Media

Access these online resources for additional instruction and practice with evaluating and graphing logarithmic functions.

### Section 10.3 Exercises

#### Practice Makes Perfect

**Convert Between Exponential and Logarithmic Form**

In the following exercises, convert from exponential to logarithmic form.

${4}^{2}=16$

${3}^{3}=27$

${10}^{3}=1000$

${x}^{\frac{1}{2}}=\sqrt{3}$

${32}^{x}=\sqrt[4]{32}$

${\left(\frac{1}{4}\right)}^{2}=\frac{1}{16}$

${3}^{\mathrm{-2}}=\frac{1}{9}$

${e}^{x}=6$

In the following exercises, convert each logarithmic equation to exponential form.

$3={\text{log}}_{4}64$

$4={\text{log}}_{x}81$

$0={\text{log}}_{12}1$

$1={\text{log}}_{3}3$

$\mathrm{-4}={\text{log}}_{10}\frac{1}{\mathrm{10,000}}$

$5={\text{log}}_{e}x$

**Evaluate Logarithmic Functions**

In the following exercises, find the value of $x$ in each logarithmic equation.

${\text{log}}_{x}49=2$

${\text{log}}_{x}27=3$

${\text{log}}_{3}x=4$

${\text{log}}_{2}x=\mathrm{-6}$

${\text{log}}_{\frac{1}{4}}\frac{1}{16}=x$

${\text{log}}_{\frac{1}{4}}64=x$

In the following exercises, find the exact value of each logarithm without using a calculator.

${\text{log}}_{7}49$

${\text{log}}_{4}1$

${\text{log}}_{16}4$

${\text{log}}_{\frac{1}{2}}2$

${\text{log}}_{2}\frac{1}{16}$

${\text{log}}_{4}\frac{1}{16}$

**Graph Logarithmic Functions**

In the following exercises, graph each logarithmic function.

$y={\text{log}}_{2}x$

$y={\text{log}}_{6}x$

$y={\text{log}}_{1.5}x$

$y={\text{log}}_{\frac{1}{3}}x$

$y={\text{log}}_{0.4}x$

**Solve Logarithmic Equations**

In the following exercises, solve each logarithmic equation.

${\text{log}}_{a}16=2$

${\text{log}}_{a}8=3$

${\text{log}}_{a}32=2$

$\text{ln}\phantom{\rule{0.2em}{0ex}}x=5$

${\text{log}}_{2}\left(5x+1\right)=4$

${\text{log}}_{3}\left(4x-3\right)=2$

${\text{log}}_{4}\left(5x+6\right)=3$

$\text{ln}\phantom{\rule{0.2em}{0ex}}{e}^{4x}=8$

$\text{log}{x}^{2}=2$

${\text{log}}_{2}\left({x}^{2}-4\right)=5$

**Use Logarithmic Models in Applications**

In the following exercises, use a logarithmic model to solve.

What is the decibel level of normal conversation with intensity ${10}^{\mathrm{-6}}$ watts per square inch?

What is the decibel level of a whisper with intensity ${10}^{\mathrm{-10}}$ watts per square inch?

What is the decibel level of the noise from a motorcycle with intensity ${10}^{\mathrm{-2}}$ watts per square inch?

What is the decibel level of the sound of a garbage disposal with intensity ${10}^{\mathrm{-2}}$ watts per square inch?

In 2014, Chile experienced an intense earthquake with a magnitude of $8.2$ on the Richter scale. In 2010, Haiti also experienced an intense earthquake which measured $7.0$ on the Richter scale. Compare the intensities of the two earthquakes.

The Los Angeles area experiences many earthquakes. In 1994, the Northridge earthquake measured magnitude of $6.7$ on the Richter scale. In 2014, Los Angeles also experienced an earthquake which measured $5.1$ on the Richter scale. Compare the intensities of the two earthquakes.

#### Writing Exercises

Explain how to change an equation from logarithmic form to exponential form.

Explain why ${\text{log}}_{a}{a}^{x}=x.$

#### Self Check

ⓐ

After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

ⓑ After reviewing this checklist, what will you do to become confident for all objectives?