Skip to main content
Logo image

Section 7.3 Logarithms

In this section, we introduce a new mathematical tool called a logarithm, which will help us solve exponential equations. Much the same way as a square root "undoes" the squaring function, a logarithm undoes an exponential function.

Subsection 7.3.1 A Logarithm is an Exponent

Suppose that a colony of bacteria doubles in size every day. If the colony starts with 50 bacteria, how long will it be before there are 800 bacteria?
We answer questions of this type by writing and solving an exponential equation. The initial value of the population is P0=50, and the growth factor is 2. Thus, the function
P(t)=502t
gives the number of bacteria present on day t, and we must solve the equation
800=502t
We are looking for an unknown exponent on base 2. Dividing both sides by 50 yields
16=2t
This equation asks the question: "To what power must we raise 2 in order to get 16?"
Because 24=16, we see that the solution of the equation is 4. You can check that t=4 solves the original problem:
P(4)=5024=800
The unknown exponent that solves the equation 16=2t is called the base 2 logarithm of 16. The exponent in this case is 4, and we write this fact as
log2(16)=4
In other words, we solved an exponential equation by computing a logarithm. We make the following definition.

Definition 7.3.1. Definition of Logarithm.

For b>0  and  b1,
the base b logarithm of x is the exponent to which b must be raised in order to yield x.
We write the logarithm as logb(x).
Some logarithms, like some square roots, are easy to evaluate, while others require a calculator. We’ll start with the easy ones.

Example 7.3.2.

Here are some examples of logarithms.
  1. log3(9)=2    because    32=9
  2. log5(125)=3    because    53=125
  3. log4(116)=2    because    42=116
  4. log5(5)=12    because    51/2=5  [TK]  
We see that in each example the logarithm is the exponent we need on the given base.

Note 7.3.3.

So the request to compute a logarithm really says "Find me the exponent!"

Checkpoint 7.3.4. Practice 1.

Find each logarithm.
  1. log3(81)    (What exponent on 3 gives me 81?)
  2. log10(11000)    (What exponent on 10 gives me 11000?)
Answer.
  1. 4
  2. 3
From the definition of a logarithm and the examples above, we see that the following two statements are equivalent.

Logarithms and Exponents: Conversion Equations.

If b>0, b1, and x>0,
y=logb(x)    if and only if    x=by
This equivalence tells us that the logarithm, y, is the same as the exponent in x=by. We see again that a logarithm is an exponent; it is the exponent to which b must be raised to yield x.
For example, to convert the equation 3=log5(125) to exponential form, we note that the base is b=5 and the logarithm is y=3, so the exponent on base 5 will be 3, like this: 125=53.
The conversion equations allow us to convert from logarithmic to exponential form, or vice versa. It will help you to become familiar with the conversion, because we will use it frequently.
As special cases of the equivalence above, we can compute the following useful logarithms.

Some Useful Logarithms.

For any base b>0,b1,
logb(b)=1    because    b1=blogb(1)=0    because    b0=1logb(bx)=x    because    bx=bx

Example 7.3.5.

Here are some more examples. Once again, we are looking for the exponent on the given base b to get x.
  1. log2(2)=1   because   21=2
  2. log5(1)=0   because   50=1
  3. log3(34)=4   because, well,  34=34

Checkpoint 7.3.6. QuickCheck 1.

  1. log6(216)= because   6XX=216
  2. log8(1)= because   8XX=1
  3. log9(95)=
  4. If logw(87)=p, then 87=

Subsection 7.3.2 Logs and Exponential Equations

We use logarithms to solve exponential equations, just as we use square roots to solve quadratic equations. Consider the two equations
x2=25     and     2x=8
We solve the first equation by taking a square root, and we solve the second equation by computing a logarithm:
x=±25=±5     and     x=log2(8)=3
The operation of taking a base b logarithm is the inverse operation for raising the base b to a power, just as extracting square roots is the inverse of squaring a number.
Every exponential equation can be rewritten in logarithmic form by using the conversion equations. Thus,
3=log2(8)     and     8=23
are equivalent statements, just as
5=25     and     25=52
are equivalent statements. Rewriting an equation in logarithmic form is a basic strategy for finding its solution.

Example 7.3.7.

Rewrite each equation in logarithmic form.
  1. 21=12
  2. a1/5=2.8
  3. 61.5=T
  4. Mv=3K

Solution.

First identify the base b, and then the exponent or logarithm y. Use the conversion equations to rewrite by=x in the form logb(x)=y.
  1. The base is 2 and the exponent is 1.   Thus, log2(12)=1.
  2. The base is a and the exponent is 15.   Thus, loga(2.8)=15.
  3. The base is 6 and the exponent is 1.5.   Thus, log6(T)=1.5.
  4. The base is M and the exponent is v.   Thus, logM(3K)=v.

Checkpoint 7.3.8. Practice 2.

Rewrite each equation in logarithmic form.
  1. 81/3=12
  2. V=S3/2
Answer.
  1. log8(12)=13
  2. logS(V)=32
We can solve an exponential equation by converting the equation to logarithmic form.

Example 7.3.9.

Solve each equation by converting to logarithmic form.
 [TK]
  1. 4x=64
  2. 4x=60

Solution.

  1. In this case we can see by inspection that the solution is 3, or x=log4(64).
  2. The log form is x=log4(60), which is not easy to evaluate without a calculator.

Checkpoint 7.3.10. Practice 3.

Solve each equation by converting to logarithmic form.
  1. 18x=324
  2. 5x=46
Answer.
  1. x=log18(324)=2
  2. x=log5(46)

Checkpoint 7.3.11. QuickCheck 2.

Answer the question or complete the statement.
  1. What is the inverse operation for squaring a number?
  2. What is the inverse operation for raising to a power?
  3. Every exponential equation can be rewritten in logarithmic form by using the .
  4. A logarithm is an unknown .

Subsection 7.3.3 Approximating Logarithms

Now let’s consider computing logarithms that are not obvious by inspection. Suppose we would like to solve the equation
2x=26
The solution of this equation is x=log2(26), but can we find a decimal approximation for this value? There is no integer power of 2 that equals 26, because
24=16     and     25=32
So log2(26) must be between 4 and 5. We can use trial and error to find the value of log2(26) to the nearest tenth. Use your calculator to make a table of values for y=2x, starting with x=4 and using increments of 0.1.
00x00 2x 00x00 2x
4 24=16 4.5 0024.5=22.62700
4.1 0024.1=17.14800 004.600 24.6=24.251
4.2 24.2=18.379 4.7 24.7=25.992
4.3 24.3=19.698 4.8 24.8=27.858
4.4 24.4=21.112 4.9 24.9=29.857
From the table we see that 26 is between 24.7 and 24.8, and is closer to 24.7. To the nearest tenth, log2(26)4.7.
Trial and error can be a time-consuming process. In the next Example we illustrate a graphical method for estimating the value of a logarithm.

Example 7.3.12.

Approximate log3(7) to the nearest hundredth.

Solution.

If log3(7)=x, then 3x=7. We will use the graph of y=3x to approximate a solution to 3x=7.
We graph Y1=3^ X and Y2=7 in the same window to obtain the graph shown below. Next we activate the intersect feature to find that the two graphs intersect at the point (1.7712437,7). Because this point lies on the graph of y=3x , we know that
31.77124377   , or    log3(7)1.7712437
To the nearest hundredth, log3(7)1.77.
GC intersection of expnential curve and horizontal line

Checkpoint 7.3.13. Practice 4.

  1. Rewrite the equation 3x=90 in logarithmic form.
  2. Use a graph to approximate the solution to the equation in part (a). Round your answer to three decimal places.
Answer.
  1. log8(90)=x
  2. x4.096

Subsection 7.3.4 Base 10 Logarithms

Some logarithms are used so frequently in applications that their values are programmed into scientific and graphing calculators. These are the base 10 logarithms, such as
log10(1000)=3    and    log10(0.01)=2
Base 10 logarithms are called common logarithms, and the subscript 10 is often omitted, so that log(x) is understood to mean log10(x).

Checkpoint 7.3.14. QuickCheck 3.

If log(x)=2.5, which statement(s) about x are true?
  1. x=25
  2. x is between 20 and 30
  3. x is between 100 and 1000
  4. x=12.5=0.4
To evaluate a base 10 logarithm, we use the LOG key on a calculator. Many logarithms are irrational numbers, and the calculator gives as many digits as its display allows. We can then round off to the desired accuracy.

Example 7.3.15.

Approximate the following logarithms to 2 decimal places.
  1. log(6.5)
  2. log(256)

Solution.

  1. The keying sequence LOG 6.5 )ENTER yields .812913566, so log(6.5)0.81.
  2. The keying sequence LOG 256 ) ENTER yields 2.408239965, so log(256)2.41.

Note 7.3.16.

We can check the approximations found in Example 7.3.15 with our conversion equations. Remember that a logarithm is an exponent, and in this example the base is 10. We find that
100.816.45654229and102.41257.0395783
so our approximations are reasonable, although you can see that rounding a logarithm to 2 decimal places does lose some accuracy.
For this reason, rounding logarithms to 4 decimal places is customary.

Checkpoint 7.3.17. Practice 5.

Approximate the logarithms to four decimal places.
  1. log(0.2)
  2. log(846,000)
Answer.
  1. 0.6990
  2. 5.9274

Checkpoint 7.3.18. QuickCheck 4.

Decide whether each statement is true or false.
  1. The LOG key on a calculator computes logarithms base 2.
  2. log5(100) is a number between 2 and 3.
  3. Rounding a logarithm to two decimal places gives very accurate results.
  4. The value of log4(392) is also the solution of 4x=392.

Subsection 7.3.5 Solving Exponential Equations

We can now solve any exponential equation with base 10.

Example 7.3.19.

Solve the equation   38=9515100.4x

Solution.

First, we isolate the power of 10: We subtract 95 from both sides of the equation and divide by 15 to obtain
57=15100.4xDivide by 15.3.8=100.4x
Next, we convert the equation to logarithmic form as
log10(3.8)=0.4x
Solving for x yields
log10(3.8)0.4=x
We can evaluate this expression on the calculator by entering
LOG 3.8 ) ÷ 0.4 ENTER
which yields 1.449458992. Thus, to four decimal places, x1.4495.

Caution 7.3.20.

Do not omit the parenthesis when entering the expression in Example 7.3.19. Without the parenthesis, you are calculating log10(3.80.4). You can check that this is not the same as log10(3.8)0.4.
To solve exponential equations involving powers of 10, we can use the following steps.

Steps for Solving Exponential Equations.

  1. Isolate the power on one side of the equation.
  2. Rewrite the equation in logarithmic form.
  3. Use a calculator, if necessary, to evaluate the logarithm.
  4. Solve for the variable.

Checkpoint 7.3.21. QuickCheck 5.

What is the first step in solving the equation 5(10)x=12?
  1. Multiply 5 times 10.
  2. Take the log of both sides.
  3. Get zero on one side of the equation.
  4. Divide both sides by 5.

Checkpoint 7.3.22. Practice 6.

Solve the equation 20+10x=220.
Hint.
Isolate the power of 10, then rewrite in logarithmic form.
Answer.
2.3010

Subsection 7.3.6 Application to Exponential Models

We have seen that exponential functions are used to describe some applications of growth and decay, P(t)=P0bt. There are two common questions that arise in connection with exponential models:
  1. Given a value of t, what is the corresponding value of P(t)?
  2. Given a value of P(t), what is the corresponding value of t?
To answer the first question, we evaluate the function P(t) at the appropriate value. To answer the second question, we must solve an exponential equation, and this usually involves logarithms.

Example 7.3.23.

The value of a large tractor originally worth $30,000 depreciates exponentially according to the formula
V(t)=30,000(10)0.04t
where t is in years. When will the tractor be worth half its original value?

Solution.

We want to find the value of t for which V(t)=15,000. That is, we want to solve the equation
15,000=30,000(10)0.04tDivide both sides by 30,000.0.5=100.04t
Once we have isolated the power, we convert the equation to logarithmic form.
log10(0.5)=0.04tDivide both sides by 0.04.log10(0.5)0.04=t
To evaluate this expression, we key in
LOG 0.5 ) ÷ (-) 0.04 ENTER
to find t7.525749892. The tractor will be worth $15,000 in approximately 712 years.

Checkpoint 7.3.24. QuickCheck 6.

Decide whether each statement is true or false.
  1. The first step in solving an exponential equation is to convert to logarithmic form.
  2. To solve the equation 10x=19, we divide both sides by 10.
  3. log(15)6 is the same as log(156).
  4. Logarithms are used in the study of exponential growth and decay.

Checkpoint 7.3.25. Practice 7.

The percentage of American homes with computers grew exponentially from 1994 to 1999. For t=0 in 1994, the growth law was
P(t)=25.85(10)0.052t
[Source: Los Angeles Times, August 20, 1999]
  1. What percent of American homes had computers in 1994?
  2. If the percentage of homes with computers continued to grow at the same rate, when did 90% of American homes have a computer?
  3. Do you think that the function P(t) will continue to model the percentage of American homes with computers? Why or why not?
Answer.
  1. 25.85%
  2. t10.4 (year 2004)
  3. No, the percent of homes with computers cannot exceed 100%.
At this stage, it seems we will only be able to solve exponential equations in which the base is 10. However, we will see in future sections how the properties of logarithms enable us to solve exponential equations with any base.

Exercises 7.3.7 Problem Set 7.3

Warm Up

1.
There were 300 lizards on a small island in 2000, and since then the population has been growing by 15% each year.
  1. Write a formula for the size of the lizard population t years after 2000.
  2. Write an equation to calculate how long it will take the lizard population to reach 500.
  3. Use trial and error to estimate the solution to the equation.
2.
Complete each table. Then use the tables to approximate each logarithm between two integers.
  1. 0250 0000
    24 0000
    23 0000
    22 0000
    21 0000
    20 0000
    21 0000
    22 0000
    23 0000
    24 0000
    25 0000
    X<log2(12)<XX<log2(16)<XX<log20.02<X
  2. 01050 0000
    104 0000
    103 0000
    102 0000
    101 0000
    100 0000
    101 0000
    102 0000
    103 0000
    104 0000
    105 0000
    X<log10(296)<XX<log10(0.095)<X16X<log10(3.8)<X

Skills Practice

Exercise Group.
For Problems 3-8, use the definition to find each logarithm without using a calculator.
3.
  1. log7(49)
  2. log5(625)
7.
  1. log10(0.1)
  2. log10(10,000)
8.
  1. log10(0.001)
  2. log10(1000)
Exercise Group.
For Problems 9 and 10, without using a calculator, estimate the logarithm between two integers.
9.
  1. x=log10(5678)
  2. y=log10(0.25)
10.
  1. log10(137,624)
  2. log10(0.009)
Exercise Group.
For Problems 11–16, solve. Round your answers to hundredths.
Exercise Group.
For Problems 17 and 18, rewrite each equation in logarithmic form.
Exercise Group.
For Problems 19 and 20, rewrite each equation in exponential form.
19.
  1. log16(256)=w
  2. logb(9)=2
20.
  1. log10(a)=2.3
  2. log4(36)=2q1
21.
Solve each equation, writing your answer as a logarithm. Then use trial and error to approximate the logarithm to tenths.
  1. 4x=2.5
  2. 2x=0.2
Exercise Group.
For Problems 22–24, use a graph to approximate each logarithm to the nearest hundredth. (Hint: Graph an appropriate function y=bx.)

Applications

25.
In 2015, Summit City used 4.2 million kilowatt-hours of electricity, and the demand for electricity has increased every year according to the formula
E(t)=4.2(100.0261t)
  1. When will Summit City need 10 million kilowatt-hours annually?
  2. What is the annual growth rate in the demand for electricity?
26.
Radium, a radioactive element, was used to paint watches and instrument dials until its serious health effects were discovered in the 1920’s. Although some isotopes of radium take hundres of years to decay, Radium-228 decays according to the formula
R(t)=R0(100.045t)
where t is in years.
  1. How long will it take for one gram of radium-228 to decay to one-half gram?
  2. What is the annual decay rate for radium-228?
Exercise Group.
The atmospheric pressure decreases with altitude above the surface of the Earth, according to the function
P(h)=30(10)0.09h
where h is altitude given in miles, and P is atmospheric pressure in inches of mercury. Graph this function in the window
Xmin=0Xmax=9.4Ymin=0Ymax=30
Solve Problems 27 and 28 algebraically, then verify with your graph.
27.
  1. The elevation of Mount Everest, the highest mountain in the world, is 29,028 feet. What is the atmospheric pressure at the top?
    Hint: 1 mile = 5280 feet
  2. The atmospheric pressure at the top of Mount McKinley, the highest peak in the United States, is 13.51 inches of mercury. Estimate the elevation of Mount McKinley.
28.
  1. What is the atmospheric pressure at sea level (h=0)?
  2. Find the height above sea level at which the atmospheric pressure is equal to one-half the pressure at sea level.
29.
From 1950 to 2000, the population of the state of Nevada increased according to the formula
P(t)=162,000(10)0.02191t
where t is measured in years since 1950.
  1. What was the population in 2000?
  2. What was the annual percent growth rate from 1950 to 2000?
  3. According to this model, when would the population of Nevada reach 3,000,000? (In fact the population of Nevada was 3,139,658 in 2020.)
30.
From 1970 to 1990, the population of the state of California increased according to the formula
P(t)=19,971,000(10)0.0088t
where t is measured in years since 1970.
  1. What was the population in 1990?
  2. What was the annual percent growth rate from 1970 to 1990?
  3. According to this model, when would the population of California reach 40,000,000? (In fact the population of California was 39,747,267 in 2020.)
Exercise Group.
Equations Practice: For Problems 31 and 32, solve the equation and check your solutions.
32.
  1. 23x2=16
  2. (3x2)2=16
  3. x26x=16
  4. x23x=16
33.
  1. Complete the table.
    0x0 x2 log10(x) log10(x2)
    1 0000 0000 0000
    2 0000 0000 0000
    3 0000 0000 0000
    4 0000 0000 0000
    5 0000 0000 0000
    6 0000 0000 0000
  2. Do you notice a relationship between log10(x) and log10(x2)? State the relationship as an equation.
34.
  1. Complete the table.
    0x0 1x log10(x) log10(1x)
    1 0000 0000 0000
    2 0000 0000 0000
    3 0000 0000 0000
    4 0000 0000 0000
    5 0000 0000 0000
    6 0000 0000 0000
  2. Do you notice a relationship between log10(x) and log10(1x)? State the relationship as an equation.
You have attempted 1 of 1 activities on this page.