Subsection Introduction
Because logarithmic functions grow very slowly, they are useful for modeling phenomena that take on a very wide range of values. For example, biologists study how metabolic functions such as heart rate are related to an animalβs weight, or mass. The table shows the mass in kilograms of several mammals.
| Animal |
Shrew |
Cat |
Wolf |
Horse |
Elephant |
Whale |
| Mass, kg |
\(0.004\) |
\(4\) |
\(80\) |
\(300\) |
\(5400\) |
\(70,000\) |
Imagine trying to scale the
\(x\)-axis to show all of these values. If we set tick marks at intervals of
\(10,000\) kg, as shown below, we can plot the mass of the whale, and maybe the elephant, but the dots for the smaller animals will be indistinguishable.
On the other hand, we can plot the mass of the cat if we set tick marks at intervals of
\(1\) kg, but the axis will have to be extremely long to include even the wolf. We cannot show the masses of all these animals on the same scale
To get around this problem, weβll compute the the log of each mass, and use the logs on a new scale. The table below shows the base 10 log of each animalβs mass, rounded to
\(2\) decimal places.
| Animal |
Shrew |
Cat |
Wolf |
Horse |
Elephant |
Whale |
| Mass, kg |
\(0.004\) |
\(4\) |
\(80\) |
\(300\) |
\(5400\) |
\(70,000\) |
| Log (mass) |
\(-2.40\) |
\(0.60\) |
\(1.90\) |
\(2.48\) |
\(3.73\) |
\(4.85\) |
The logs of the masses range from
\(-2.40\) to
\(4.85\text{.}\) We can easily plot these values on a single scale, as shown below.
Weβd need to keep in mind that we are plotting the logs of the animalsβ masses, and not the actual masses. However, remember that a logarithm is really an exponent! For example, the mass of the horse is 300 kg, and
\begin{equation*}
\text{since} ~~~\log_{10}(300) = {\blert{2.48}}, ~~~\text{then} ~~~ 10^{\blert{2.48}} = 300
\end{equation*}
So instead of plotting the logs from the table, we will plot powers of 10 that give the actual masses of the animals, like this:
Compare this new scale to the previous one. It looks almost the same, except that the number line is labeled with powers of 10. Even though we computed the log of each mass, we still plotted the actual mass of each animal, in its form as a power of 10. It is the scale on the number line that has changed.
A scale labeled with powers of 10 is called a
logarithmic scale, or log scale. The powers of 10 on a log scale are evenly spaced, so that the actual values at the tick marks look like this.
We can see right away that the increments between tick marks on a log scale are not equal, as they are on a usual linear scale. The increments get larger as we move from left to right on the scale. However, when we are plotting powers of 10 we use the exponents to place the data points on the scale.
For example, you can check that the mass of the horse, at
\(10^{2.48} = 300\) kg, is plotted about half-way between
\(10^2 = 100\) and
\(10^3 = 1000\) on the log scale, because 2.48 is about half-way between 2 and 3. Similarly, the mass of the cat, at
\(10^{0.60} = 4\) kg, is plotted between
\(10^0 = 1\) and
\(10^1 = 10\) on the log scale.
Example 5.92.
Plot the values on a log scale.
| \(x\) |
\(0.0007\) |
\(0.2\) |
\(3.5\) |
\(1600\) |
\(72,000\) |
\(4 \times 10^8\) |
Solution.
We first compute the base
\(10\) logarithm of each number.
| \(x\) |
\(0.0007\) |
\(0.2\) |
\(3.5\) |
\(1600\) |
\(72,000\) |
\(4 \times 10^8\) |
| \(\log (x)\) |
\(-3.15\) |
\(-0.70\) |
\(0.54\) |
\(3.20\) |
\(4.86\) |
\(8.60\) |
Thus, for example, we see that
\(0.0007 = 10^{-3.15}\text{.}\) Then we use the logs to plot each number as a power of 10, estimating its position between integer powers of 10. For example, we plot the first value,
\(10^{-3.15}\text{,}\) closer to
\(10^{-3}\) than to
\(10^{-4}\text{.}\) The finished plot is shown below.
Checkpoint 5.93 QuickCheck 1.
A value of 5682.7 would be plotted between which two integers on a log scale?
Checkpoint 5.94 Practice 1.
Complete the table by estimating the logarithm of each point plotted on the log scale below. Then use a calculator to give a decimal value for each point.
| \(\log (x)\) |
\(\hphantom{0000}\) |
\(\hphantom{0000}\) |
\(\hphantom{0000}\) |
\(\hphantom{0000}\) |
| \(x\) |
|
|
|
|
Solution.
| \(\log (x)\) |
\(-4\) |
\(-2.5\) |
\(1.5\) |
\(4.25\) |
| \(x\) |
\(0.0001\) |
\(0.00316\) |
\(31.6\) |
\(17,782.8\) |
Checkpoint 5.95 QuickCheck 2.
What is a log scale used for?
-
To find the logarithm of a number.
-
To plot data that covers a wide range of values.
-
To highlight the curvature in the graph of an exponential function.
-
To convert logarithms to base 10.
Solution.
To plot data that covers a wide range of values.
Subsection Using Log Scales
By now, you have noticed that the values represented by points on a log scale increase rapidly as we move to the right along the scale. Also notice that
\(10^0 = 1\text{,}\) so the "middle" of a log scale represents
\(1\) (not zero, as on a linear scale).
Points to the left of
\(10^0\) represent fractions between
\(0\) and
\(1\text{,}\) because powers of
\(10\) with negative exponents are numbers less than
\(1\text{.}\) Their values decrease toward
\(0\) as we move to the left, but they never become negative.
We cannot plot negative numbers or zero on a log scale, because the log of a negative number or zero is undefined.
Example 5.96.
The figure shows a timeline for life on Earth, in units of Mya (million years ago).
Approximately how long ago did each of the following events occur?
-
Formation of Earth
-
Dinosaurs became extinct
-
The last ice age
-
The Crusades
Solution.
-
We read from the timeline that the Earth was formed between \(10^3\) and \(10^4\text{,}\) or between \(1000\) and \(10,000\) million years ago. We estimate that Earth formed \(5000\) million years ago.
-
The extinction of the dinosaurs is plotted between \(10^1\) and \(10^2\text{,}\) or between \(10\) and \(100\) million years ago. Because the point is closer to \(10^2\text{,}\) we estimate their extinction at \(70\) million years ago.
-
The last ice age is plotted just after \(10^{-2}\text{,}\) or \(0.01\) million years ago. One-hundredth of a million is \(10,000\text{,}\) so we estimate that the ice age occurred a little more than \(10,000\) years ago.
-
The Crusades occurred about \(10^{-3}\text{,}\) or about \(0.001\) million years ago. One-thousandth of a million is \(1000\text{,}\) so the Crusades occurred about \(1000\) years ago, or about \(1000\) A.D.
Checkpoint 5.97 Practice 2.
Plot the following dollar values on a log scale.
| Postage stamp |
\(0.47\) |
| Notebook computer |
\(679\) |
| One year at Harvard |
\(88,600\) |
| 2016 Lamborghini |
\(530,075\) |
| Kobe Bryant salary |
\(25,000,000\) |
| Bill Gates financial worth |
\(79,400,000,000\) |
| U.S. National debt |
\(19,341,810,000,000\) |
Checkpoint 5.98 Pause and Reflect.
How does a log scale differ from a linear scale?
Subsection Equal Increments on a Log Scale
Log scales allow us to plot a wide range of values, but there is a trade-off. Equal increments on a log scale do not correspond to equal differences in value, as they do on a linear scale. You can see this more clearly if we label the tick marks with their integer values, as well as powers of 10. The difference between
\(10^1\) and
\(10^0\) is
\(10 - 1 = 9\text{,}\) but the difference between
\(10^2\) and
\(10^1\) is
\(100 - 10 = 90\text{.}\)
If we include tick marks for intermediate values on the log scale, they look like this.
Once again, the difference between, say,
\(10^{0.1}\) and
\(10^{0.2}\) is not the same as the difference between
\(10^{0.2}\) and
\(10^{0.3}\text{.}\) The decimal values of the powers
\(10^{0.1}\) through
\(10^{0.9}\text{,}\) rounded to two places, are shown below.
As we move from left to right on this scale, we multiply the value at the previous tick mark by \(10^{0.1}\text{,}\) or about \(1.258\text{.}\) For example,
\begin{equation*}
\begin{aligned}[t]
10^{0.2} \amp = 1.258 \times 10^{0.1} = 1.585\\
10^{0.3} \amp = 1.585 \times 10^{0.1} = 1.995
\end{aligned}
\end{equation*}
and so on. Moving up by equal increments on a log scale does not add equal amounts to the values plotted; it multiplies the values by equal factors.
Checkpoint 5.99 QuickCheck 3.
Which statement is false?
-
We use log scales to graph a variable that has a wide range of values.
-
On a log scale, we actually plot exponents.
-
Values less than one appear as negative numbers on a log scale.
-
Equal increments on a log scale correspond to equal differences in value.
Solution.
"Equal increments on a log scale correspond to equal differences in value" is a false statement.
Example 5.100.
What number is halfway between
\(10\) and
\(100\) on a log scale?
Solution.
On a log scale, the number
\(10^{1.5}\) is halfway between
\(10^1\) and
\(10^2\text{,}\) as shown below.
Now, \(10^{1.5} = 10\sqrt{10}\text{,}\) or approximately \(31.62\text{.}\) Note how equal increments of \(0.5\) on the log scale correspond to equal factors of \(10^{0.5}\) in the values plotted:
\begin{equation*}
\begin{aligned}[t]
10 \times 3.162 \amp = 31.62~~~~ \text{ and }~~~~ 31.62 \times 3.162 = 100\\
10^1 \times 10^{0.5} \amp = 101.5~~~~ \text{ and }~~~~ 101.5 \times 10^{0.5} = 10^2
\end{aligned}
\end{equation*}
Checkpoint 5.101 Practice 3.
What number is halfway between
\(10^{1.5}\) and
\(10^2\) on a log scale?
If we would like to label the log scale with integers, we get a very different-looking scale, one in which the tick marks are not evenly spaced.
Example 5.102.
Plot the integer values 2 through 9 and 20 through 90 on a log scale.
Solution.
We compute the logarithm of each integer value.
| \(x\) |
\(2\) |
\(3\) |
\(4\) |
\(5\) |
\(6\) |
\(7\) |
\(8\) |
\(9\) |
| \(\log (x)\) |
\(0.301\) |
\(0.477\) |
\(0.602\) |
\(0.699\) |
\(0.778\) |
\(0.845\) |
\(0.903\) |
\(0.954\) |
| \(x\) |
\(20\) |
\(30\) |
\(40\) |
\(50\) |
\(60\) |
\(70\) |
\(80\) |
\(90\) |
| \(\log (x)\) |
\(1.301\) |
\(1.477\) |
\(1.602\) |
\(1.699\) |
\(1.778\) |
\(1.845\) |
\(1.903\) |
\(1.954\) |
We plot on a log scale, as shown below.
On the log scale in
ExampleΒ 5.102, notice how the integer values are spaced: They get closer together as they approach the next power of
\(10\text{.}\) You will often see log scales labeled not with powers of
\(10\text{,}\) but with integer values, like this:
In fact,
log-log graph paper scales both axes with logarithmic scales.
Checkpoint 5.103 Practice 4.
The opening page of
ChapterΒ 3 shows the "mouse-to-elephant" curve, a graph of the metabolic rate of mammals as a function of their mass. Here it is again.
(The elephant does not appear on that graph, because its mass is too big.) The figure below shows the same function, graphed on log-log paper.
Use this graph to estimate the mass and metabolic rate for the following animals, labeled on the graph.
| Animal |
Mouse |
Dog |
Sheep |
Cow |
Elephant |
| Mass (kg) |
|
|
|
|
|
| Metabolic rate (kcal/day) |
|
|
|
|
|
Solution.
| Animal |
Mouse |
Dog |
Sheep |
Cow |
Elephant |
| Mass (kg) |
\(0.02\) |
\(15\) |
\(50\) |
\(500\) |
\(4000\) |
| Metabolic rate (kcal/day) |
\(3.5\) |
\(500\) |
\(1500\) |
\(6000\) |
\(50,000\) |
Checkpoint 5.104 Pause and Reflect.
If
\(B=100A\text{,}\) the difference between
\(A\) and
\(B\) on a log scale is 2 units. Use the properties of logarithms to explain why this is true.
Subsection Acidity and the pH Scale
You may have already encountered log scales in some everyday applications. A simple example is the pH scale, used by chemists to measure the acidity of a substance or chemical compound. This scale is based on the concentration of hydrogen ions in the substance, denoted by \([H^+]\text{.}\) The pH value is defined by the formula
\begin{equation*}
\text{pH}=-\log_{10}\left([H^+]\right)
\end{equation*}
Values for pH fall between \(0\) and \(14\text{,}\) with \(7\) indicating a neutral solution. The lower the pH value, the more acidic the substance. Some common substances and their pH values are shown in the table.
| Substance |
pH |
\([H^+]\) |
| Battery acid |
\(1\) |
\(0.1\) |
| Lemon juice |
\(2\) |
\(0.01\) |
| Vinegar |
\(3\) |
\(0.001\) |
| Milk |
\(6.4\) |
\(10^{-6.4}\) |
| Baking soda |
\(8.4\) |
\(10^{-8.4}\) |
| Milk of magnesia |
\(10.5\) |
\(10^{-10.5}\) |
| Lye |
\(13\) |
\(10^{-13}\) |
Example 5.105.
-
Calculate the pH of a solution with a hydrogen ion concentration of \(3.98 \times 10^{-5}\text{.}\)
-
The water in a swimming pool should be maintained at a pH of \(7.5\text{.}\) What is the hydrogen ion concentration of the water?
Solution.
-
We use a calculator to evaluate the pH formula with
\([H^+] = 3.98\times10^{-5}\text{.}\)
\begin{equation*}
\text{pH} = -\log_{10}{(3.98 \times 10^{-5})} \approx 4.4
\end{equation*}
-
We solve the equation
\begin{equation*}
7.5 = -\log_{10}\left([H^+]\right)
\end{equation*}
for \([H^+]\text{.}\) First, we write
\begin{equation*}
-7.5 = \log_{10}\left([H^+]\right)
\end{equation*}
Then we convert the equation to exponential form to get
\begin{equation*}
[H^+] = 10^{-7.5}\approx 3.2 \times 10^{-8}
\end{equation*}
The hydrogen ion concentration of the water is \(3.2 \times 10^{-8}\text{.}\)
Checkpoint 5.106 Practice 5.
The pH of the water in a tide pool is
\(8.3\text{.}\) What is the hydrogen ion concentration of the water?
Solution.
\(10^{-8.3}\approx 5.01\times 10^{-9}\)
A decrease of
\(1\) on the pH scale corresponds to an increase in acidity by a factor of
\(10\text{.}\) Thus, lemon juice is
\(10\) times more acidic than vinegar, and battery acid is
\(100\) times more acidic than vinegar.
Subsection Decibels
The decibel scale, used to measure the loudness or intensity of a sound, is another example of a logarithmic scale. The loudness of a sound is measured in decibels, \(D, \) by
\begin{equation*}
D=10 \log_{10}\left(\frac{I}{10^{-12}}\right)
\end{equation*}
where \(I\) is the intensity of its sound waves (in watts per square meter). The table below shows the intensity of some common sounds, measured in watts per square meter.
| Sound |
Intensity (watts/m\(^2\)) |
Decibels |
| Whisper |
\(10^{-10}\) |
\(20\) |
| Background music |
\(10^{-8}\) |
\(40\) |
| Loud conversation |
\(10^{-6}\) |
\(60\) |
| Heavy traffic |
\(10^{-4}\) |
\(80\) |
| Jet airplane |
\(10^{-2}\) |
\(100\) |
| Thunder |
\(10^{-1}\) |
\(110\) |
Consider the ratio of the intensity of thunder to that of a whisper:
\begin{equation*}
\frac{\text{Intensity of thunder}}{\text{Intensity of a whisper}}
= \frac{10^{-1}}{10^{-10}}= 10^9
\end{equation*}
Thunder is \(10^9\text{,}\) or one billion times more intense than a whisper. It would be impossible to show such a wide range of values on a graph. When we use a log scale, however, there is a difference of only 90 decibels between a whisper and thunder.
Example 5.107.
-
Normal breathing generates about \(10^{-11}\) watts per square meter at a distance of \(3\) feet. Find the number of decibels for a breath \(3\) feet away.
-
Normal conversation registers at about \(40\) decibels. How many times more intense than breathing is normal conversation?
Solution.
-
We evaluate the decibel formula with
\(I = \alert{10^{-11}}\) to find
\begin{equation*}
\begin{aligned}[t]
D \amp = 10 \log_{10}\left(\frac{\alert{10^{-11}}} {10^{-12}}\right)
= 10 \log_{10} {(10^1)}\\
\amp = 10(1) = 10 \text{ decibels}
\end{aligned}
\end{equation*}
-
We let
\(I_b\) stand for the sound intensity of breathing, and
\(I_c\) stand for the intensity of normal conversation. We are looking for the ratio
\(I_c/I_b\text{.}\) From part (a), we know that
\begin{equation*}
I_w = 10^{-11}
\end{equation*}
and from the formula for decibels, we have
\begin{equation*}
40 = 10 \log_{10}\left(\frac{I_c}{10^{-12}}\right)
\end{equation*}
which we can solve for
\(I_c\text{.}\) Dividing both sides of the equation by
\(10\) and rewriting in exponential form, we have
\begin{equation*}
\begin{aligned}[t]
\dfrac{I_c}{10^{-12}} \amp = 10^4\amp\amp \blert{\text{Multiply both sides by }10^{-12}.}\\
I_c \amp = 10^4(10^{-12}) = 10^{-8}
\end{aligned}
\end{equation*}
Finally, we compute the ratio
\(\dfrac{I_c}{I_b}\text{:}\)
\begin{equation*}
\frac{I_c}{I_b}= \frac{10^{-8}}{10^{-11}}= 10^3
\end{equation*}
Normal conversation is
\(1000\) times more intense than breathing.
Checkpoint 5.108 Practice 6.
The noise of city traffic registers at about
\(70\) decibels.
-
What is the intensity of traffic noise, in watts per square meter?
-
How many times more intense is traffic noise than conversation?
Solution.
-
\(I = 10^{-5}\) watts/m
\(^2\)
-