Learning Objectives

In this section students will:

4.1.1 – Convert from logarithmic form to exponential form.

4.1.2 – Convert from exponential form to logarithmic form.

4.1.3 – Evaluate logarithms.

4.1.4 – Use common logarithms.

4.1.5 – Use natural logarithms.

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.

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

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:

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]

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

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

### Example 1 – Converting from Logarithmic Form to Exponential Form

Write the following logarithmic equations in exponential form.

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

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

- [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]

- [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]

### Try It

Write the following logarithmic equations in exponential form.

- [latex]{\mathrm{log}}_{10}\left(1,000,000\right)=6[/latex]
- [latex]{\mathrm{log}}_{5}\left(25\right)=2[/latex]

## Show answer

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

### 4.1.2 – 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]

### Example 2 – Converting from Exponential Form to Logarithmic Form

Write the following exponential equations in logarithmic form.

- [latex]{2}^{3}=8[/latex]
- [latex]{5}^{2}=25[/latex]
- [latex]{10}^{-4}=\frac{1}{10,000}[/latex]

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]

- [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]

- [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]

- [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]

### Try It

Write the following exponential equations in logarithmic form.

- [latex]{3}^{2}=9[/latex]
- [latex]{5}^{3}=125[/latex]
- [latex]{2}^{-1}=\frac{1}{2}[/latex]

## Show answer

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

### 4.1.3 – 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.**

- Rewrite the argument [latex]x[/latex] as a power of [latex]b:[/latex] [latex]{b}^{y}=x.[/latex]
- 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] ”

### Example 3 – Solving Logarithms Mentally

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

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

Therefore,

### Try It

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

## Show answer

Because [latex]\sqrt{121} =(121)^{\frac{1}{2}} = 11,[/latex] we have [latex]$${\mathrm{log}}_{121}\left(11\right)=\frac{1}{2}$$[/latex]

### Example 4 – Evaluating the Logarithm of a Reciprocal

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

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

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

### Try It

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

## Show answer

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

### 4.1.4 – 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]

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

- Rewrite the argument [latex]x[/latex] as a power of [latex]10:[/latex] [latex]{10}^{y}=x.[/latex]
- 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] ”

### Example 5 – Finding the Value of a Common Logarithm Mentally

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

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

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

### Try It

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

## Show answer

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

### How To

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

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

### Example 6 – 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.

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

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

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

### Try It

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

## Show answer

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

### 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 [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 magnitude

We begin by rewriting the exponential equation in logarithmic form.

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]

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

## Show answer

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

### 4.1.5 – 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]

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

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

### Example 8- Evaluating a Natural Logarithm Using a Calculator

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

- 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]

### Try It

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

## Show answer

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

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] |

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 (Example 1).
- Exponential equations can be written in their equivalent logarithmic form using the definition of a logarithm See (Example 2).
- Logarithmic functions with base [latex]b[/latex] can be evaluated mentally using previous knowledge of powers of [latex]b.[/latex] See (Example 3) and Example 4).
- Common logarithms can be evaluated mentally using previous knowledge of powers of [latex]10.[/latex] See (Example 5)
**.** - When common logarithms cannot be evaluated mentally, a calculator can be used. See (Example 6)
**.** - Real-world exponential problems with base [latex]10[/latex] can be rewritten as a common logarithm and then evaluated using a calculator. See (Example 7)
**.** - Natural logarithms can be evaluated using a calculator (Example 8)
**.**

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

- http://earthquake.usgs.gov/earthquakes/eqinthenews/2010/us2010rja6/#summary. Accessed 3/4/2013. ↵
- http://earthquake.usgs.gov/earthquakes/eqinthenews/2011/usc0001xgp/#summary. Accessed 3/4/2013. ↵
- http://earthquake.usgs.gov/earthquakes/eqinthenews/2010/us2010rja6/. Accessed 3/4/2013. ↵
- http://earthquake.usgs.gov/earthquakes/eqinthenews/2010/us2010rja6/. Accessed 3/4/2013. ↵