Section 7.3 Logarithms
In this section, we introduce a new mathematical tool called a logarithm, which will help us solve exponential equations.
Subsection 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 function
gives the number of bacteria present on day \(t\text{,}\) so we must solve the equation
We are looking for an unknown exponent on base 2. Dividing both sides by 50 yields
This equation asks the question:
To what power must we raise \(2\) in order to get \(16\text{?}\)
Because \(2^4 = 16\text{,}\) we see that the solution of the equation is 4. You can check that\(t=4\) solves the original problem:
The unknown exponent that solves the equation \(16=2^t\) is called the base \(2\) logarithm of \(16\text{.}\) The exponent in this case is \(4\text{,}\) and we write this fact as
So, we solve an exponential equation by computing a logarithm. We make the following definition.
Definition 7.39. Definition of Logarithm.
(logarithm)For \(b\gt 0, b\ne 1\text{,}\) the base \(b\) logarithm of \(x\), written \(\log_{b} x\text{,}\) is the exponent to which \(b\) must be raised in order to yield \(x\text{.}\)
Example 7.40.
Compute the logarithms.
\(\log_3 9 = 2\) because \(3^2=9\)
\(\log_5 125 = 3\) because \(5^3=125\)
\(\log_4 \dfrac{1}{16} = -2\) because \(4^{-2}=\dfrac{1}{16}\)
\(\log_5 \sqrt{5} = \dfrac{1}{2}\) because \(5^{1/2} = \sqrt{5}\)
The positive constant \(b\) is called the base of the exponential function.
Checkpoint 7.41. Practice 1.
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 \gt 0\text{,}\) \(b\ne 1\text{,}\) and \(x \gt 0\text{,}\)
This equivalence tells us that the logarithm, \(y\text{,}\) is the same as the exponent in \(x = b^y\text{.}\) We see again that a logarithm is an exponent; it is the exponent to which \(b\) must be raised to yield \(x\text{.}\)
The conversion equations allow us to convert from logarithmic to exponential form, or vice versa. You should memorize the conversion equations, because we will use them frequently.
As special cases of the equivalence above, we can compute the following useful logarithms.
For any base \(b \gt 0, b\ne 1\text{,}\)
Some Useful Logarithms.
For any base \(b \gt 0, b\ne 1\text{,}\)
Example 7.42.
\(\displaystyle \log_{2}{2} = 1\)
\(\displaystyle \log_{5}{1} = 0\)
\(\displaystyle \log_{3}{3^4} = 4\)
Checkpoint 7.43. QuickCheck 1.
Subsection 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
We solve the first equation by taking a square root, and we solve the second equation by computing a logarithm:
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,
are equivalent statements, just as
are equivalent statements. Rewriting an equation in logarithmic form is a basic strategy for finding its solution.
Example 7.44.
Rewrite each equation in logarithmic form.
\(\displaystyle 2^{-1} = \dfrac{1}{2}\)
\(\displaystyle a^{1/5} = 2.8\)
\(\displaystyle 6^{1.5} = T\)
\(\displaystyle M^v = 3K\)
First identify the base \(b\text{,}\) and then the exponent or logarithm \(y\text{.}\) Use the conversion equations to rewrite \(b^y = x\) in the form \(\log_{b}{x} = y\text{.}\)
The base is \(2\) and the exponent is \(-1\text{.}\) Thus, \(\log_{2}{\dfrac{1}{2}}= -1\text{.}\)
The base is \(a\) and the exponent is \(\dfrac{1}{5}\text{.}\) Thus, \(\log_{a}{2.8} = \dfrac{1}{5}\text{.}\)
The base is \(6\) and the exponent is \(1.5\text{.}\) Thus, \(\log_{6}{T} = 1.5\text{.}\)
The base is \(M\) and the exponent is \(v\text{.}\) Thus, \(\log_{M}{3K} = v\text{.}\)
Checkpoint 7.45. Practice 2.
Checkpoint 7.46. QuickCheck 2.
Subsection Approximating Logarithms
Now let's consider computing logarithms that are not obvious by inspection. Suppose we would like to solve the equation
The solution of this equation is \(x = \log_{2}{26}\text{,}\) but can we find a decimal approximation for this value? There is no integer power of 2 that equals 26, because
So \(\log_{2}{26}\) must be between 4 and 5. We can use trial and error to find the value of \(\log_{2}{26}\) to the nearest tenth. Use your calculator to make a table of values for \(y = 2^x\text{,}\) starting with \(x = 4\) and using increments of 0.1.
\(x\) | \(2^x\) | \(x\) | \(2^x\) | |
\(4\) | \(2^4=16\) | \(4.5\) | \(2^{4.5}=22.627\) | |
\(4.1\) | \(2^{4.1}=17.148\) | \(4.6\) | \(2^{4.6}=24.251\) | |
\(4.2\) | \(2^{4.2}=18.379\) | \(\alert{4.7}\) | \(2^{\alert{4.7}}=25.992\) | |
\(4.3\) | \(2^{4.3}=19.698\) | \(\alert{4.8}\) | \(2^{\alert{4.8}}=27.858\) | |
\(4.4\) | \(2^{4.4}=21.112\) | \(4.9\) | \(2^{4.9}=29.857\) |
From the table we see that 26 is between \(2^{4.7}\) and \(2^{4.8}\text{,}\) and is closer to \(2^{4.7}\text{.}\) To the nearest tenth, \(\log_{2}{26} \approx 4.7\text{.}\)
Trial and error can be a time-consuming process. In the Example below, we illustrate a graphical method for estimating the value of a logarithm.
Example 7.47.
Approximate \(\log_{3}{7}\) to the nearest hundredth.
If \(\log_{3}{7}=x\text{,}\) then \(3^x = 7\text{.}\) We will use the graph of \(y = 3^x\) to approximate a solution to \(3^x = 7\text{.}\)
We graph \(Y_1 =3\)^ X and \(Y_2 = 7\) in the standard window (ZOOM 6) 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)\text{.}\) Because this point lies on the graph of \(y = 3^x\) , we know that
To the nearest hundredth, \(\log_{3}{7} \approx 1.77\text{.}\)
Checkpoint 7.48. Practice 3.
Subsection 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
Base 10 logarithms are called common logarithms, and the subscript 10 is often omitted, so that \(\log x\) is understood to mean \(\log_{10}{x}\text{.}\)
Checkpoint 7.49. QuickCheck 3.
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.50.
Approximate the following logarithms to 2 decimal places.
\(\displaystyle \log{6.5}\)
\(\displaystyle \log{256}\)
-
The keying sequence LOG \(6.5\) )ENTER produces the display
\(\log {(6.5)}\) \(\) \(\) \(\) \(\) \(.812913566\) so \(\log {6.5}\approx 0.81\text{.}\)
The keying sequence LOG \(256\) ) ENTER yields \(2.408239965\text{,}\) so \(\log {256} \approx 2.41\text{.}\)
Note 7.51.
We can check the approximations found in Example 7.50 with our conversion equations. Remember that a logarithm is an exponent, and in this example the base is 10. We find that
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.52. Practice 4.
Checkpoint 7.53. QuickCheck 4.
Subsection Solving Exponential Equations
We can now solve any exponential equation with base 10.
Example 7.54.
Solve the equation \(~~38 = 95 - 15 \cdot 10^{0.4x}\)
First, we isolate the power of 10: We subtract 95 from both sides of the equation and divide by \(-15\) to obtain
Next, we convert the equation to logarithmic form as
Solving for \(x\) yields
We can evaluate this expression on the calculator by entering
LOG \(3.8\) ) ÷ \(0.4\) ENTER
which yields \(1.449458992\text{.}\) Thus, to four decimal places, \(x \approx 1.4495\text{.}\)
Caution 7.55.
Do not omit the parenthesis when entering the expression in Example 5. Without the parenthesis, you are calculating \(\log_{10}{\dfrac{3.8}{0.4}}\text{.}\) You can check that this is not the same as \(\dfrac{\log_{10}{3.8}}{0.4}\text{.}\)
To solve exponential equations involving powers of 10, we can use the following steps.
Steps for Solving Exponential Equations.
- Isolate the power on one side of the equation.
- Rewrite the equation in logarithmic form.
- Use a calculator, if necessary, to evaluate the logarithm.
- Solve for the variable.
Checkpoint 7.56. QuickCheck 5.
Checkpoint 7.57. Practice 5.
Subsection Application to Exponential Models
We have seen that exponential functions are used to describe some applications of growth and decay, \(P(t) = P_0b^t\text{.}\) There are two common questions that arise in connection with exponential models:
Given a value of \(t\text{,}\) what is the corresponding value of \(P(t)\text{?}\)
Given a value of \(P(t)\text{,}\) what is find the corresponding value of \(t\text{?}\)
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.58.
The value of a large tractor originally worth $30,000 depreciates exponentially according to the formula
where \(t\) is in years. When will the tractor be worth half its original value?
We want to find the value of \(t\) for which \(V(t) = 15,000\text{.}\) That is, we want to solve the equation
Once we have isolated the power, we convert the equation to logarithmic form.
To evaluate this expression, we key in
LOG \(0.5\) ) ÷ (-) \(0.04\) ENTER
to find \(t \approx 7.525749892\text{.}\) The tractor will be worth $15,000 in approximately \(7\frac{1}{2}\) years.
Checkpoint 7.59. QuickCheck 6.
Checkpoint 7.60. Practice 6.
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 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.
- Write a formula for the size of the lizard population \(t\) years after 2000.
- Write an equation to calculate how long it will take the lizard population to reach 500.
- 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.
-
\(2^{-5}\) \(\hphantom{0000}\) \(2^{-4}\) \(\hphantom{0000}\) \(2^{-3}\) \(\hphantom{0000}\) \(2^{-2}\) \(\hphantom{0000}\) \(2^{-1}\) \(\hphantom{0000}\) \(2^0\) \(\hphantom{0000}\) \(2^1\) \(\hphantom{0000}\) \(2^2\) \(\hphantom{0000}\) \(2^3\) \(\hphantom{0000}\) \(2^4\) \(\hphantom{0000}\) \(2^5\) \(\hphantom{0000}\) \begin{gather*} \underline{\hspace{1.363636363636364em}} \lt \log_2{12} \lt \underline{\hspace{1.363636363636364em}}\\ \underline{\hspace{1.363636363636364em}} \lt \log_2{\dfrac{1}{6}} \lt \underline{\hspace{1.363636363636364em}}\\ \underline{\hspace{1.363636363636364em}} \lt \log_2{0.02} \lt \underline{\hspace{1.363636363636364em}} \end{gather*} -
\(10^{-5}\) \(\hphantom{0000}\) \(10^{-4}\) \(\hphantom{0000}\) \(10^{-3}\) \(\hphantom{0000}\) \(10^{-2}\) \(\hphantom{0000}\) \(10^{-1}\) \(\hphantom{0000}\) \(10^0\) \(\hphantom{0000}\) \(10^1\) \(\hphantom{0000}\) \(10^2\) \(\hphantom{0000}\) \(10^3\) \(\hphantom{0000}\) \(10^4\) \(\hphantom{0000}\) \(10^5\) \(\hphantom{0000}\) \begin{gather*} \underline{\hspace{1.363636363636364em}} \lt \log_{10}{296} \lt \underline{\hspace{1.363636363636364em}}\\ \underline{\hspace{1.363636363636364em}} \lt \log_{10}{0.095} \lt \underline{\hspace{1.363636363636364em}}\vphantom{\dfrac{1}{6}}\\ \underline{\hspace{1.363636363636364em}} \lt \log_{10}{3.8} \lt \underline{\hspace{1.363636363636364em}} \end{gather*}
Skills Practice
For Problems 3-8, use the definition to find each logarithm without using a calculator.
3.
\(\displaystyle \log_7{49}\)
\(\displaystyle \log_5{625} \)
4.
\(\displaystyle \log_4{4}\)
\(\displaystyle \log_6{1} \)
5.
\(\displaystyle \log_3{\sqrt{3}}\)
\(\displaystyle \log_3{\dfrac{1}{3}}\)
6.
\(\displaystyle \log_9{9^{-6}}\)
\(\displaystyle \log_8{8^5}\)
7.
\(\displaystyle \log_{10}{0.1}\)
\(\displaystyle \log_{10}{10,000}\)
8.
\(\displaystyle \log_{10}{0.001}\)
\(\displaystyle \log_{10}{1000}\)
For Problems 9 and 10, without using a calculator, estimate the log between two integers.
9.
\(\displaystyle x=\log_{10}{5678}\)
\(\displaystyle y=\log_{10}{0.25}\)
10.
\(\displaystyle \log_{10}{137,624}\)
\(\displaystyle \log_{10}{0.009}\)
For Problems 11–16, solve. Round your answers to hundredths.
11.
\(10^{-3x}=5\)
12.
\(25 \cdot 10^{0.2x} = 80\)
13.
\(12.2 = 2(10^{1.4x})-11.6\)
14.
\(16.1 = 28.2 - 4 \left(10^{-0.7x}\right)\)
15.
\(3\left(10^{-1.5x}\right)-14.7=17.1 \)
16.
\(80\left(1-10^{-0.2x}\right) =65 \)
For Problems 17 and 18, rewrite each equation in logarithmic form.
17.
\(\displaystyle t^{3/2} = 16\)
\(\displaystyle 0.8^{1.2} = M\)
18.
\(\displaystyle 3.7^{2.5} = Q\)
\(\displaystyle 3^{-0.2t} = 2N_0\)
For Problems 19 and 20, rewrite each equation in exponential form.
19.
\(\displaystyle \log_{16}{256} = w\)
\(\displaystyle \log_b{9} = -2\)
20.
\(\displaystyle \log_{10}{a} = -2.3\)
\(\displaystyle \log_4 {36} = 2q-1\)
21.
Solve each equation, writing your answer as a logarithm. Then use trial and error to approximate the logarithm to tenths.
- \(\displaystyle 4^x = 2.5\)
- \(\displaystyle 2^x = 0.2\)
For Problems 22–24, use a graph to approximate each logarithm to the nearest hundredth. (Hint: Graph an appropriate function \(y=b^x\text{.}\))
22.
\(\log_3 {67.9}\)
23.
\(\log_5{86.3}\)
24.
\(\log_{10}{50}\)
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
- When will Summit City need 10 million kilowatt-hours annually?
- 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. Radium-226 is the most stable isotope of radium and decays according to the formula
where \(t\) is in years.
- How long will it take for one gram of radium-226 to decay to one-half gram?
- What is the annual decay rate for radium-226?
The atmospheric pressure decreases with altitude above the surface of the Earth, according to the function
where \(h\) is altitude given in miles, and \(P\) is atmospheric pressure in inches of mercury. Graph this function in the window
Solve Problems 27 and 28 algebraically, then verify with your graph.
27.
-
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
- 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.
- What is the atmospheric pressure at sea level (\(h=0\))?
- 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
where \(t\) is measured in years since 1950.
What was the population in 2000?
What was the annual percent growth rate from 1950 to 2000?
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
where \(t\) is measured in years since 1970.
What was the population in 1990?
What was the annual percent growth rate from 1970 to 1990?
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.)
Equations Practice: For Problems 31 and 32, solve the equation and check your solutions.
31.
\(\displaystyle x^2=16 \)
\(\displaystyle 2^x = 16\)
\(\displaystyle x^{2/3}=16 \)
\(\displaystyle x^3 = 16\)
32.
\(\displaystyle 2^{3x-2}=16 \)
\(\displaystyle (3x-2)^2 = 16\)
\(\displaystyle x^2-6x = 16 \)
\(\displaystyle x^2-3x = 16\)
33.
-
Complete the table.
\(x\) \(x^2\) \(\log_{10}{x}\) \(\log_{10}{x^2}\) \(1\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(2\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(3\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(4\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(5\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(6\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) - Do you notice a relationship between \(\log_{10}{x}\) and \(\log_{10}{x^2}\text{?}\) State the relationship as an equation.
34.
-
Complete the table.
\(x\) \(\dfrac{1}{x}\) \(\log_{10}{x}\) \(\log_{10}{\dfrac{1}{x}}\) \(1\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(2\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(3\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(4\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(5\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(6\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) - Do you notice a relationship between \(\log_{10}{x}\) and \(\log_{10}{\dfrac{1}{x}}\text{?}\) State the relationship as an equation.