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.
In 2010, a major earthquake struck Haiti, destroying or damaging over 285,000 homes4. One year later, another, stronger earthquake devastated Honshu, Japan, destroying or damaging over 332,000 buildings,5 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 Scale6 whereas the Japanese earthquake registered a 9.0.7
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 108−4=104=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 10x=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 10x=500. We know that 102=100 and 103=1000, so it is clear that x must be some value between 2 and 3, since y=10x 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=bx is one-to-one, so its inverse, x=by 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=logb(x). 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 25=32, we can write log232=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 logb(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 logbx. 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=logb(x) and y=bx 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≠1,
where,
- we read logb(x) 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 is (0,∞).
- the range of the logarithm function with base b is (−∞,∞).
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 logb(x)=y, convert it to exponential form.
- Examine the equation y=logb(x) and identify b,y,andx.
- Rewrite logb(x)=y as by=x.
Example 1
Converting from Logarithmic Form to Exponential Form
Write the following logarithmic equations in exponential form.
- ⓐ log6(√6)=12
- ⓑ log3(9)=2
Solution
First, identify the values of b,y,andx. Then, write the equation in the form by=x.
- ⓐ log6(√6)=12
Here, b=6,y=12,and x=√6. Therefore, the equation log6(√6)=12 is equivalent to 612=√6.
- ⓑ log3(9)=2
Here, b=3,y=2,and x=9. Therefore, the equation log3(9)=2 is equivalent to 32=9.
Try It #1
Write the following logarithmic equations in exponential form.
- ⓐlog10(1,000,000)=6
- ⓑlog5(25)=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=logb(y).
Example 2
Converting from Exponential Form to Logarithmic Form
Write the following exponential equations in logarithmic form.
- 23=8
- 52=25
- 10−4=110,000
Solution
First, identify the values of b,y,andx. Then, write the equation in the form x=logb(y).
- 23=8
Here, b=2, x=3, and y=8. Therefore, the equation 23=8 is equivalent to log2(8)=3.
- 52=25
Here, b=5, x=2, and y=25. Therefore, the equation 52=25 is equivalent to log5(25)=2.
- 10−4=110,000
Here, b=10, x=−4, and y=110,000. Therefore, the equation 10−4=110,000 is equivalent to log10(110,000)=−4.
Try It #2
Write the following exponential equations in logarithmic form.
- ⓐ 32=9
- ⓑ 53=125
- ⓒ 2−1=12
Evaluating Logarithms
Knowing the squares, cubes, and roots of numbers allows us to evaluate many logarithms mentally. For example, consider log28. We ask, “To what exponent must 2 be raised in order to get 8?” Because we already know 23=8, it follows that log28=3.
Now consider solving log749 and log327 mentally.
- We ask, “To what exponent must 7 be raised in order to get 49?” We know 72=49. Therefore, log749=2
- We ask, “To what exponent must 3 be raised in order to get 27?” We know 33=27. Therefore, log327=3
Even some seemingly more complicated logarithms can be evaluated without a calculator. For example, let’s evaluate log2349 mentally.
- We ask, “To what exponent must 23 be raised in order to get 49? ” We know 22=4 and 32=9, so (23)2=49. Therefore, log23(49)=2.
How To
Given a logarithm of the form y=logb(x), evaluate it mentally.
- Rewrite the argument x as a power of b: by=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=log4(64) without using a calculator.
Solution
First we rewrite the logarithm in exponential form: 4y=64. Next, we ask, “To what exponent must 4 be raised in order to get 64?”
We know
Therefore,
Try It #3
Solve y=log121(11) without using a calculator.
Example 4
Evaluating the Logarithm of a Reciprocal
Evaluate y=log3(127) without using a calculator.
Solution
First we rewrite the logarithm in exponential form: 3y=127. Next, we ask, “To what exponent must 3 be raised in order to get 127? ”
We know 33=27, but what must we do to get the reciprocal, 127? Recall from working with exponents that b−a=1ba. We use this information to write
Therefore, log3(127)=−3.
Try It #4
Evaluate y=log2(132) without using a calculator.
Using Common Logarithms
Sometimes you may see a logarithm written without a base. When you see one written this way, you need to look at the expression before evaluating it. It may be that the base you use doesn't matter. If you find it in computer science, it often means log2(x). However, in mathematics it almost always means the common logarithm of 10. In other words, the expression log(x) often means log10(x).
Definition of the Common Logarithm
A common logarithm is a logarithm with base 10. We can also write log10(x) simply as log(x). The common logarithm of a positive number x satisfies the following definition.
For x>0,
We read log(x) 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.
Currently, we use logb(x),lg(x) as the common logarithm, lb(x) as the binary logarithm, and ln(x) as the natural logarithm. Writing lg(x) without specifying a base is now considered bad form, despite being frequently found in older materials.
How To
Given a common logarithm of the form y=log(x), evaluate it mentally.
- Rewrite the argument x as a power of 10: 10y=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=log(1000) without using a calculator.
Solution
First we rewrite the logarithm in exponential form: 10y=1000. Next, we ask, “To what exponent must 10 be raised in order to get 1000?” We know
Therefore, log(1000)=3.
Try It #5
Evaluate y=log(1,000,000).
How To
Given a common logarithm with the form y=log(x), 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=log(321) to four decimal places using a calculator.
Solution
- Press [LOG].
- Enter 321, followed by [ ) ].
- Press [ENTER].
Rounding to four decimal places, log(321)≈2.5065.
Analysis
Note that 102=100 and that 103=1000. Since 321 is between 100 and 1000, we know that log(321) must be between log(100) and log(1000). This gives us the following:
Try It #6
Evaluate y=log(123) 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 10x=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?
Solution
We begin by rewriting the exponential equation in logarithmic form.
Next we evaluate the logarithm using a calculator:
- Press [LOG].
- Enter 500, followed by [ ) ].
- Press [ENTER].
- To the nearest thousandth, log(500)≈2.699.
The difference in magnitudes was about 2.699.
Try It #7
The amount of energy released from one earthquake was 8,500 times greater than the amount of energy released from another. The equation 10x=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, the value of which is approximately 2.71828. Base e logarithms are important in calculus and some scientific applications; they are called natural logarithms. The base e logarithm, loge(x), has its own notation, ln(x).
Most values of ln(x) can be found only using a calculator. The major exception is that, because the logarithm of 1 is always 0 in any base, ln1=0. For other natural logarithms, we can use the 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 loge(x) simply as ln(x). The natural logarithm of a positive number x satisfies the following definition.
For x>0,
We read ln(x) 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=ex and y=ln(x) are inverse functions, ln(ex)=x for all x and e=ln(x)x for x>0.
How To
Given a natural logarithm with the form y=ln(x), 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=ln(500) to four decimal places using a calculator.
Solution
- Press [LN].
- Enter 500, followed by [ ) ].
- Press [ENTER].
Rounding to four decimal places, ln(500)≈6.2146
Try It #8
Evaluate ln(−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 by=x and logbx=y for b>0,b≠1.
How is the logarithmic function f(x)=logbx related to the exponential function g(x)=bx? What is the result of composing these two functions?
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.
log4(q)=m
log16(y)=x
logy(x)=−11
logy(137)=x
log(v)=t
For the following exercises, rewrite each equation in logarithmic form.
4x=y
m−7=n
x−1013=y
(75)m=n
10a=b
For the following exercises, solve for x by converting the logarithmic equation to exponential form.
log3(x)=2
log5(x)=2
log2(x)=6
log18(x)=2
log(x)=3
For the following exercises, use the definition of common and natural logarithms to simplify.
log(1008)
2log(.0001)
ln(e−5.03)
Numeric
For the following exercises, evaluate the base b logarithmic expression without using a calculator.
log3(127)
log2(18)+4
For the following exercises, evaluate the common logarithmic expression without using a calculator.
log(10,000)
log(1)+7
For the following exercises, evaluate the natural logarithmic expression without using a calculator.
ln(e13)
ln(e−0.225)−3
Technology
For the following exercises, evaluate each expression using a calculator. Round to the nearest thousandth.
log(0.04)
ln(45)
ln(√2)
Extensions
Is x=0 in the domain of the function f(x)=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)=log(x)? If so, for what value of x? Verify the result.
Is the following true: log3(27)log4(164)=−1? Verify the result.
Real-World Applications
The exposure index EI for a camera is a measurement of the amount of light that hits the image receptor. It is determined by the equation EI=log2(f2t), 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 logI1I2=M1−M2 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.8 How many times greater was the intensity of the 2011 earthquake? Round to the nearest whole number.
Footnotes
- 4http://earthquake.usgs.gov/earthquakes/eqinthenews/2010/us2010rja6/#summary. Accessed 3/4/2013.
- 5http://earthquake.usgs.gov/earthquakes/eqinthenews/2011/usc0001xgp/#summary. Accessed 3/4/2013.
- 6http://earthquake.usgs.gov/earthquakes/eqinthenews/2010/us2010rja6/. Accessed 3/4/2013.
- 7http://earthquake.usgs.gov/earthquakes/eqinthenews/2011/usc0001xgp/#details. Accessed 3/4/2013.
- 8http://earthquake.usgs.gov/earthquakes/world/historical.php. Accessed 3/4/2014.