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.

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 108−4=104=10,000108−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 is10x=500,10x=500, wherexxrepresents the difference in magnitudes on the Richter Scale. How would we solve forx?x?
We have not yet learned a method for solving exponential equations. None of the algebraic tools discussed so far is sufficient to solve10x=500.10x=500.We know that102=100102=100and103=1000,103=1000, so it is clear thatxxmust be some value between 2 and 3, sincey=10xy=10xis increasing. We can examine a graph, as in (Figure), to better estimate the solution.

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 functiony=bxy=bxis one-to-one, so its inverse,x=byx=byis also a function. As is the case with all inverse functions, we simply interchangexxandyyand solve foryyto find the inverse function. To representyyas a function ofx,x, we use a logarithmic function of the formy=logb(x).y=logb(x).The basebblogarithm of a number is the exponent by which we must raisebbto get that number.
We read a logarithmic expression as, “The logarithm with basebbofxxis equal toy,y,” or, simplified, “log basebbofxxisy.y.” We can also say, “bbraised to the power ofyyisx,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. Since25=32,25=32, we can writelog232=5.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 basebbis always positive.
Because logarithm is a function, it is most correctly written aslogb(x),logb(x), using parentheses to denote function evaluation, just as we would withf(x).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, aslogbx.logbx.Note that many calculators require parentheses around thex.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 meansy=logb(x)y=logb(x)andy=bxy=bxare inverse functions.
Definition of the Logarithmic Function
A logarithm basebbof a positive numberxxsatisfies the following definition.
Forx>0,b>0,b≠1,x>0,b>0,b≠1,
where,
- we readlogb(x)logb(x)as, “the logarithm with basebbofxx” or the “log basebbofx."x."
- the logarithmyyis the exponent to whichbbmust be raised to getx.x.
Also, since the logarithmic and exponential functions switch thexxandyyvalues, the domain and range of the exponential function are interchanged for the logarithmic function. Therefore,
- the domain of the logarithm function with basebis(0,∞).bis(0,∞).
- the range of the logarithm function with basebis(−∞,∞).bis(−∞,∞).
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 formlogb(x)=y,logb(x)=y, convert it to exponential form.
- Examine the equationy=logbxy=logbxand identifyb,y,andx.b,y,andx.
- Rewritelogbx=ylogbx=yasby=x.by=x.
Converting from Logarithmic Form to Exponential Form
Write the following logarithmic equations in exponential form.
- log6(√6)=12log6(√6)=12
- log3(9)=2log3(9)=2
Try It
Write the following logarithmic equations in exponential form.
- log10(1,000,000)=6log10(1,000,000)=6
- log5(25)=2log5(25)=2
Converting from Exponential to Logarithmic Form
To convert from exponents to logarithms, we follow the same steps in reverse. We identify the baseb,b,exponentx,x,and outputy.y.Then we writex=logb(y).x=logb(y).
Converting from Exponential Form to Logarithmic Form
Write the following exponential equations in logarithmic form.
- 23=823=8
- 52=2552=25
- 10−4=110,00010−4=110,000
Try It
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, considerlog28.We ask, “To what exponent must 2 be raised in order to get 8?” Because we already know23=8, it follows thatlog28=3.
Now consider solvinglog749andlog327mentally.
- We ask, “To what exponent must 7 be raised in order to get 49?” We know72=49.Therefore,log749=2
- We ask, “To what exponent must 3 be raised in order to get 27?” We know33=27.Therefore,log327=3
Even some seemingly more complicated logarithms can be evaluated without a calculator. For example, let’s evaluatelog2349mentally.
- We ask, “To what exponent must23be raised in order to get49?” We know22=4and32=9,so(23)2=49.Therefore,log23(49)=2.
How To
Given a logarithm of the formy=logb(x),evaluate it mentally.
- Rewrite the argumentxas a power ofb:by=x.
- Use previous knowledge of powers ofbidentifyyby asking, “To what exponent shouldbbe raised in order to getx?”
Solving Logarithms Mentally
Solvey=log4(64)without using a calculator.
Try It
Solvey=log121(11)without using a calculator.
Evaluating the Logarithm of a Reciprocal
Evaluatey=log3(127)without using a calculator.
Try It
Evaluatey=log2(132)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 expressionlog(x)meanslog10(x).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 base10.We writelog10(x)simply aslog(x).The common logarithm of a positive numberxsatisfies the following definition.
Forx>0,
We readlog(x)as, “the logarithm with base10ofx” or “log base 10 ofx.”
The logarithmyis the exponent to which10must be raised to getx.
How To
Given a common logarithm of the formy=log(x), evaluate it mentally.
- Rewrite the argumentxas a power of10:10y=x.
- Use previous knowledge of powers of10to identifyyby asking, “To what exponent must10be raised in order to getx?”
Finding the Value of a Common Logarithm Mentally
Evaluatey=log(1000)without using a calculator.
Try It
Evaluatey=log(1,000,000).
How To
Given a common logarithm with the formy=log(x),evaluate it using a calculator.
- Press [LOG].
- Enter the value given forx,followed by [ ) ].
- Press [ENTER].
Finding the Value of a Common Logarithm Using a Calculator
Evaluatey=log(321)to four decimal places using a calculator.
Analysis
Note that102=100and that103=1000.Since 321 is between 100 and 1000, we know thatlog(321)must be betweenlog(100)andlog(1000).This gives us the following:
Try It
Evaluatey=log(123)to four decimal places using a calculator.
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 equation10x=500represents this situation, wherexis the difference in magnitudes on the Richter Scale. To the nearest thousandth, what was the difference in magnitudes?
Try It
The amount of energy released from one earthquake was8,500times greater than the amount of energy released from another. The equation10x=8500represents this situation, wherexis 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 ise.Baseelogarithms are important in calculus and some scientific applications; they are called natural logarithms. The baseelogarithm,loge(x), has its own notation,ln(x).
Most values ofln(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 thelnkey that can be found on most scientific calculators. We can also find the natural logarithm of any power ofeusing the inverse property of logarithms.
Definition of the Natural Logarithm
A natural logarithm is a logarithm with basee. We write loge(x) simply as ln(x). The natural logarithm of a positive number x satisfies the following definition.
Forx>0,
We readln(x)as, “the logarithm with baseeofx” or “the natural logarithm ofx.”
The logarithmyis the exponent to whichemust be raised to getx.
Since the functionsy=exandy=ln(x)are inverse functions,ln(ex)=xfor allxandeln(x)=xforx>0.
How To
Given a natural logarithm with the formy=ln(x), evaluate it using a calculator.
- Press [LN].
- Enter the value given forx, followed by [ ) ].
- Press [ENTER].
Evaluating a Natural Logarithm Using a Calculator
Evaluatey=ln(500)to four decimal places using a calculator.
Try It
Evaluateln(−500).
Access this online resource for additional instruction and practice with logarithms.
Key Equations
Definition of the logarithmic function | For x>0,b>0,b≠1,<y=logb(x) if and only if by=x.</td> |
Definition of the common logarithm | For x>0,y=log(x) if and only if 10y=x. |
Definition of the natural logarithm | For x>0,y=ln(x) if and only if ey=x. |
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 basebcan be evaluated mentally using previous knowledge of powers ofb.See (Figure) and (Figure).
- Common logarithms can be evaluated mentally using previous knowledge of powers of10.See (Figure).
- When common logarithms cannot be evaluated mentally, a calculator can be used. See (Figure).
- Real-world exponential problems with base10can 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 baseblogarithm? Discuss the meaning by interpreting each part of the equivalent equationsby=xandlogbx=yforb>0,b≠1.
How is the logarithmic functionf(x)=logbxrelated to the exponential functiong(x)=bx?What is the result of composing these two functions?
How can the logarithmic equationlogbx=ybe solved forxusing the properties of exponents?
Discuss the meaning of the common logarithm. What is its relationship to a logarithm with baseb, and how does the notation differ?
Discuss the meaning of the natural logarithm. What is its relationship to a logarithm with baseb, and how does the notation differ?
Algebraic
For the following exercises, rewrite each equation in exponential form.
log4(q)=m
loga(b)=c
log16(y)=x
logx(64)=y
logy(x)=−11
log15(a)=b
logy(137)=x
log13(142)=a
log(v)=t
ln(w)=n
For the following exercises, rewrite each equation in logarithmic form.
4x=y
cd=k
m−7=n
19x=y
x−1013=y
n4=103
(75)m=n
yx=39100
10a=b
ek=h
For the following exercises, solve forxby converting the logarithmic equation to exponential form.
log3(x)=2
log2(x)=−3
log5(x)=2
log3(x)=3
log2(x)=6
log9(x)=12
log18(x)=2
log6(x)=−3
log(x)=3
ln(x)=2
For the following exercises, use the definition of common and natural logarithms to simplify.
log(1008)
10log(32)
2log(.0001)
eln(1.06)
ln(e−5.03)
eln(10.125)+4
Numeric
For the following exercises, evaluate the baseblogarithmic expression without using a calculator.
log3(127)
log6(√6)
log2(18)+4
6log8(4)
For the following exercises, evaluate the common logarithmic expression without using a calculator.
log(10,000)
log(0.001)
log(1)+7
2log(100−3)
For the following exercises, evaluate the natural logarithmic expression without using a calculator.
ln(e13)
ln(1)
ln(e−0.225)−3
25ln(e25)
Technology
For the following exercises, evaluate each expression using a calculator. Round to the nearest thousandth.
log(0.04)
ln(15)
ln(45)
log(√2)
ln(√2)
Extensions
Isx=0in the domain of the functionf(x)=log(x)?If so, what is the value of the function whenx=0?Verify the result.
Isf(x)=0in the range of the functionf(x)=log(x)?If so, for what value ofx?Verify the result.
Is there a numberxsuch thatlnx=2?If so, what is that number? Verify the result.
Is the following true:log3(27)log4(164)=−1?Verify the result.
Is the following true:ln(e1.725)ln(1)=1.725?Verify the result.
Real-World Applications
The exposure indexEIfor a 35 millimeter camera is a measurement of the amount of light that hits the film. It is determined by the equationEI=log2(f2t), wherefis the “f-stop” setting on the camera, and t is the exposure time in seconds. Suppose the f-stop setting is8and the desired exposure time is2seconds. What will the resulting exposure index be?
Refer to the previous exercise. Suppose the light meter on a camera indicates anEIof−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 formulalogI1I2=M1−M2whereMis 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 getx;log10(x) is written simply aslog(x).
- logarithm
- the exponent to whichbmust be raised to getx;writteny=logb(x)
- natural logarithm
- the exponent to which the numberemust be raised to getx;loge(x)is written asln(x).
Candela Citations
- Algebra and Trigonometry. Authored by: Jay Abramson, et. al. Provided by: OpenStax CNX. Located at: http://cnx.org/contents/13ac107a-f15f-49d2-97e8-60ab2e3b519c@11.1. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/13ac107a-f15f-49d2-97e8-60ab2e3b519c@11.1
- 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. ↵
- http://earthquake.usgs.gov/earthquakes/world/historical.php. Accessed 3/4/2014. ↵