### 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.

### Corequisite Skills

#### Learning Objectives

- Convert between exponential and logarithmic form. (IA 10.3.1)
- Evaluate logarithmic functions. (IA 10.3.2)

#### Objective 1: Convert between exponential and logarithmic form. (IA 10.3.1)

##### Practice Makes Perfect

Graph the exponential function $f\left(x\right)={2}^{x}$ by making a table.

$x$ | $y=f(x)$ |
---|---|

________ | ________ |

________ | ________ |

________ | ________ |

________ | ________ |

________ | ________ |

- Is it one-to-one?
- Domain?
- Range?
- Graph the inverse of $f(x)={2}^{x}$ on the grid above by interchanging x and y coordinates in the table.
$x$ $y=f(x)$ ________ ________ ________ ________ ________ ________ ________ ________ ________ ________ - Is the inverse one-to-one function?
- Domain?
- Range?

### Example 1

Find the inverse of $f(x)={2}^{x}$

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. Notice the positions of the exponent and base.

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

### Example 2

Convert between exponential and logarithmic form.

ⓐ Convert to logarithmic form: ${2}^{3}=8$

ⓑ Convert to exponential form: ${\text{log}}_{b}m=a$

##### Practice Makes Perfect

Convert between exponential and logarithmic form.

Remember these logarithmic notations to help complete the following:

** Common Logarithm** $\text{log}x=\text{log}{}_{10}x$

** Natural Logarithm** $\text{ln}x=\text{log}{}_{e}x$

Convert to logarithmic form.

- ⓐ $8={2}^{x}$
- ⓑ ${10}^{-2}=0.01$
- ⓒ ${e}^{x}=40$

Convert to exponential form.

- ⓐ $\mathrm{log}{}_{3}81=4$
- ⓑ $\mathrm{ln}1=0$
- ⓒ $\mathrm{log}10000=4$

#### Objective 2: Evaluate logarithmic functions (IA 10.3.2).

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

### Example 3

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.$

##### Practice Makes Perfect

Evaluate logarithmic functions.Find the value of $x$ .

- ⓐ $\mathrm{log}{}_{x}25=2$
- ⓑ $\mathrm{log}{}_{4}x=2$
- ⓒ $\mathrm{log}{}_{\frac{1}{3}}x=2$

Evaluate each of the following.

- ⓐ $\mathrm{log}{}_{\mathrm{10}}100$
- ⓑ $\mathrm{log}0.1$
- ⓒ $\mathrm{log}{}_{4}2$
- ⓓ $\mathrm{log}{}_{20}1$
- ⓔ $\mathrm{log}{}_{4}4$
- ⓕ $\mathrm{log}{}_{3}\frac{1}{9}$
- ⓖ $\mathrm{log}{}_{2}\sqrt{2}$
- ⓗ $\mathrm{ln}{e}^{-5}$

In 2010, a major earthquake struck Haiti, destroying or damaging over 285,000 homes^{20}. One year later, another, stronger earthquake devastated Honshu, Japan, destroying or damaging over 332,000 buildings,^{21} like those shown in Figure 1. 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^{22} whereas the Japanese earthquake registered a 9.0.^{23}

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 ${10}^{8-4}={10}^{4}=\mathrm{10,000}$ 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 ${10}^{x}=500,$ where $x$ represents the difference in magnitudes on the Richter Scale. How would we solve for $x?$

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

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

We read a logarithmic expression as, “The logarithm with base $b$ of $x$ is equal to $y,$ ” or, simplified, “log base $b$ of $x$ is $y.$ ” We can also say, “ $b$ raised to the power of $y$ is $x,$ ” 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 ${2}^{5}=32,$ we can write ${\mathrm{log}}_{2}32=5.$ 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:

Note that the base $b$ is always positive.

Because logarithm is a function, it is most correctly written as ${\mathrm{log}}_{b}(x),$ using parentheses to denote function evaluation, just as we would with $f(x).$ 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 ${\mathrm{log}}_{b}x.$ Note that many calculators require parentheses around the $x.$

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 $y={\mathrm{log}}_{b}\left(x\right)$ and $y={b}^{x}$ are inverse functions.

### Definition of the Logarithmic Function

A logarithm base $b$ of a positive number $x$ satisfies the following definition.

For $x>0,b>0,b\ne 1,$

where,

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

Also, since the logarithmic and exponential functions switch the $x$ and $y$ values, the domain and range of the exponential function are interchanged for the logarithmic function. Therefore,

- the domain of the logarithm function with base $b\text{is}(0,\infty ).$
- the range of the logarithm function with base $b\text{is}(-\infty ,\infty ).$

### Q&A

**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** ${\mathrm{log}}_{b}\left(x\right)=y,$ ** convert it to exponential form.**

- Examine the equation $y={\mathrm{log}}_{b}\left(x\right)$ and identify $b,y,\text{and}x.$
- Rewrite ${\mathrm{log}}_{b}\left(x\right)=y$ as ${b}^{y}=x.$

### Example 1

#### Converting from Logarithmic Form to Exponential Form

Write the following logarithmic equations in exponential form.

- ⓐ ${\mathrm{log}}_{6}\left(\sqrt{6}\right)=\frac{1}{2}$
- ⓑ ${\mathrm{log}}_{3}\left(9\right)=2$

Write the following logarithmic equations in exponential form.

- ⓐ${\mathrm{log}}_{10}\left(\mathrm{1,}\mathrm{000,}000\right)=6$
- ⓑ${\mathrm{log}}_{5}\left(25\right)=2$

### Converting from Exponential to Logarithmic Form

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

### Example 2

#### Converting from Exponential Form to Logarithmic Form

Write the following exponential equations in logarithmic form.

- ${2}^{3}=8$
- ${5}^{2}=25$
- ${10}^{-4}=\frac{1}{\mathrm{10,000}}$

Write the following exponential equations in logarithmic form.

- ⓐ ${3}^{2}=9$
- ⓑ ${5}^{3}=125$
- ⓒ ${2}^{-1}=\frac{1}{2}$

### Evaluating Logarithms

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

Now consider solving ${\mathrm{log}}_{7}49$ and ${\mathrm{log}}_{3}27$ mentally.

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

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

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

### How To

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

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

### Example 3

#### Solving Logarithms Mentally

Solve $y={\mathrm{log}}_{4}\left(64\right)$ without using a calculator.

Solve $y={\mathrm{log}}_{121}\left(11\right)$ without using a calculator.

### Example 4

#### Evaluating the Logarithm of a Reciprocal

Evaluate $y={\mathrm{log}}_{3}\left(\frac{1}{27}\right)$ without using a calculator.

Evaluate $y={\mathrm{log}}_{2}\left(\frac{1}{32}\right)$ without using a calculator.

### 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 $\mathrm{log}\left(x\right)$ means ${\mathrm{log}}_{10}\left(x\right).$ 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 $10.$ We write ${\mathrm{log}}_{10}\left(x\right)$ simply as $\mathrm{log}\left(x\right).$ The common logarithm of a positive number $x$ satisfies the following definition.

For $x>0,$

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

The logarithm $y$ is the exponent to which $10$ must be raised to get $x.$

### How To

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

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

### Example 5

#### Finding the Value of a Common Logarithm Mentally

Evaluate $y=\mathrm{log}(1000)$ without using a calculator.

Evaluate $y=\mathrm{log}(\mathrm{1,}\mathrm{000,}000).$

### How To

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

- Press
**[LOG]**. - Enter the value given for $x,$ followed by
**[ ) ]**. - Press
**[ENTER]**.

### Example 6

#### Finding the Value of a Common Logarithm Using a Calculator

Evaluate $y=\mathrm{log}\left(321\right)$ to four decimal places using a calculator.

#### Analysis

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

Evaluate $y=\mathrm{log}\left(123\right)$ to four decimal places using a calculator.

### Example 7

#### 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 ${10}^{x}=500$ represents this situation, where $x$ is the difference in magnitudes on the Richter Scale. To the nearest thousandth, what was the difference in magnitudes?

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

### Using Natural Logarithms

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

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

### Definition of the Natural Logarithm

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

For $x>0,$

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

The logarithm $y$ is the exponent to which $e$ must be raised to get $x.$

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

### How To

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

- Press
**[LN]**. - Enter the value given for $x,$ followed by
**[ ) ]**. - Press
**[ENTER]**.

### Example 8

#### Evaluating a Natural Logarithm Using a Calculator

Evaluate $y=\mathrm{ln}\left(500\right)$ to four decimal places using a calculator.

Evaluate $\mathrm{ln}(\mathrm{-500}).$

### Media

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

### 6.3 Section Exercises

#### Verbal

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

How is the logarithmic function $f(x)={\mathrm{log}}_{b}x$ related to the exponential function $g(x)={b}^{x}?$ What is the result of composing these two functions?

How can the logarithmic equation ${\mathrm{log}}_{b}x=y$ be solved for $x$ using the properties of exponents?

Discuss the meaning of the common logarithm. What is its relationship to a logarithm with base $b,$ and how does the notation differ?

Discuss the meaning of the natural logarithm. What is its relationship to a logarithm with base $b,$ and how does the notation differ?

#### Algebraic

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

${\text{log}}_{4}(q)=m$

${\mathrm{log}}_{16}\left(y\right)=x$

${\mathrm{log}}_{y}\left(x\right)=\mathrm{-11}$

${\mathrm{log}}_{y}\left(137\right)=x$

$\text{log}(v)=t$

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

${4}^{x}=y$

${m}^{-7}=n$

${x}^{-\phantom{\rule{0.8em}{0ex}}\frac{10}{13}}=y$

${\left(\frac{7}{5}\right)}^{m}=n$

${10}^{a}=b$

For the following exercises, solve for $x$ by converting the logarithmic equation to exponential form.

${\text{log}}_{3}(x)=2$

${\text{log}}_{5}(x)=2$

${\text{log}}_{2}(x)=6$

${\text{log}}_{18}(x)=2$

$\text{log}(x)=3$

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

$\text{log}({100}^{8})$

$2\text{log}(.0001)$

$\mathrm{ln}\left({e}^{-5.03}\right)$

#### Numeric

For the following exercises, evaluate the base $b$ logarithmic expression without using a calculator.

${\text{log}}_{3}\left(\frac{1}{27}\right)$

${\text{log}}_{2}\left(\frac{1}{8}\right)+4$

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

$\text{log}(10,000)$

$\text{log}(1)+7$

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

$\text{ln}({e}^{\frac{1}{3}})$

$\text{ln}({e}^{-0.225})-3$

#### Technology

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

$\text{log}(0.04)$

$\text{ln}\left(\frac{4}{5}\right)$

$\text{ln}(\sqrt{2})$

#### Extensions

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

Is $f(x)=0$ in the range of the function $f(x)=\mathrm{log}(x)?$ If so, for what value of $x?$ Verify the result.

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

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

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

#### Real-World Applications

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

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

The intensity levels *I* of two earthquakes measured on a seismograph can be compared by the formula $\mathrm{log}\frac{{I}_{1}}{{I}_{2}}={M}_{1}-{M}_{2}$ where $M$ 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.^{24} How many times greater was the intensity of the 2011 earthquake? Round to the nearest whole number.

### Footnotes

- 20http://earthquake.usgs.gov/earthquakes/eqinthenews/2010/us2010rja6/#summary. Accessed 3/4/2013.
- 21http://earthquake.usgs.gov/earthquakes/eqinthenews/2011/usc0001xgp/#summary. Accessed 3/4/2013.
- 22http://earthquake.usgs.gov/earthquakes/eqinthenews/2010/us2010rja6/. Accessed 3/4/2013.
- 23http://earthquake.usgs.gov/earthquakes/eqinthenews/2011/usc0001xgp/#details. Accessed 3/4/2013.
- 24http://earthquake.usgs.gov/earthquakes/world/historical.php. Accessed 3/4/2014.