doPhysics.in
All chapters

The Logarithm Undoes the Exponential

15 min read3 ideas5 checks1 figure to playBy Asheshanand Acharya
What you will learn 0 / 3
The logarithm undoes the exponential
Maths you need
Look around
How old is the hearth?

At Rakhigarhi in Haryana, archaeologists dig out a Harappan layer with the charcoal of an old hearth. The charcoal gives \(8.9\) carbon-14 decays per minute for each gram of carbon. Living wood gives \(15.3\). The chapter Radioactivity says the activity falls as \(A = A_0e^{-\lambda t}\). The age \(t\) is the unknown, and it sits in the power. No amount of dividing or multiplying can free it from the power.

you will read the age of the hearth from its carbon-14 activity, by freeing the time from the power.

The question "to what power?"

Ask a simple question: \(10\) to what power gives \(1000\)? The answer is \(3\). We write \(\log_{10}1000 = 3\). In the same way \(2\) to the power \(5\) is \(32\), so \(\log_2 32 = 5\). The logarithm of a number to a base \(b\) is the power to which \(b\) must be raised to give that number.

definition 9.4
Logarithm

For a base \(b > 0\), \(b \neq 1\), and a number \(y > 0\), the logarithm \(\log_b y\) is the number \(x\) for which \(b^x = y\). The natural logarithm \(\ln y\) has the base \(e = 2.718\). The common logarithm \(\log y\) has the base 10.

RememberThe logarithm undoes the exponential
\[ \begin{gathered} b^x = y \iff x = \log_b y \\ e^{-t/\tau} = f \iff t = \tau\ln\dfrac1f \end{gathered} \]
Holds whenfor \(y > 0\) and \(0 < f \le 1\); the logarithm of zero or of a negative number does not exist.
Symbols\(b\) the base, \(x\) the power, \(y\) the number, \(f\) the fraction left, \(\tau\) the time constant
Units\(x\) and \(f\) are pure numbers; \(t\) has the unit of \(\tau\)

The logarithm undoes the exponential, just as a square root undoes a square. Applied to \(e^{-t/\tau} = f\), it gives \(-t/\tau = \ln f\), so \(t = \tau\ln(1/f)\). With \(f = 1/2\) this is the half-life, \(\tau\ln 2\). With \(f = 1/10\) it is \(\tau\ln 10 = 2.3\tau\), the time to fall to a tenth.

Checkpoint · numericUnanswered

Fresh wood gives \(15.3\) carbon-14 decays per minute per gram of carbon, and an old wooden bowl gives \(5.1\). The age is \(t = 8270\,\text{y} \times \ln(A_0/A)\). Find the age, in years. Take \(\ln 3 = 1.099\).

years± 2 %
Rules of logarithms

Products become sums

A logarithm is a power, and powers obey the rule \(e^pe^q = e^{p + q}\). So the logarithm of a product is the sum of the logarithms. Three rules follow from this one fact. They are the reason logarithms were invented: they turn multiplication into addition.

Deriving \(\ln(ab) = \ln a + \ln b, \quad \ln a^n = n\ln a\) step 1 of 4
1

\[ a = e^p, \quad b = e^q \]

Why. write each positive number as a power of \(e\); then \(p = \ln a\) and \(q = \ln b\).

RememberRules of logarithms
\[ \begin{gathered} \ln(ab) = \ln a + \ln b \\ \ln\dfrac{a}{b} = \ln a - \ln b \\ \ln a^n = n\ln a \end{gathered} \]
Holds whenfor positive numbers \(a\) and \(b\) and any real \(n\); the same rules hold for logarithms to any base.
Symbols\(a\), \(b\) positive numbers, \(n\) any real number
Unitspure numbers

Before calculators, engineers multiplied with a slide rule. Its scales are marked so that the number \(k\) stands at a distance proportional to \(\log k\). Sliding one scale along the other adds two lengths. Adding \(\log a\) and \(\log b\) gives \(\log ab\), so the product can be read off the scale.

A slide rule multiplies by adding lengthsTwo scales of a slide rule, C above and D below. On each, the number k is marked at a distance proportional to log k from the left end, so 1 is at the end, 2 at 0.301 of the length, 3 at 0.477 and 10 at the far end. Press play: scale C slides to the right until its 1 stands over a on scale D. A dashed pointer then drops from b on scale C to scale D, where it meets the product a times b. Two arrows below show the lengths log a and log b laid end to end. The chips give 2 times 3 = 6, 2 times 4 = 8, 1.5 times 4 = 6 and 2 times 2.5 = 5. 1 2 3 4 5 6 8 10 1 2 3 4 5 6 8 10 C D slide scale C along by log 2
Fig 4.1The two scales of a slide rule. Press play: scale C slides until its 1 stands over \(a\) on scale D. Under \(b\) on scale C, scale D then reads \(a \times b\). The arrows below are the lengths \(\log a\) and \(\log b\), laid end to end. Try all four chips.
CheckpointUnanswered

Which of these equals \(\ln 2 + \ln 3\)?

Natural and common logarithms

Two bases, one conversion

Physics meets two bases. Exponential laws in \(e^{-t/\tau}\) call for the natural logarithm. Scales that count powers of ten, such as the decibel, call for the common logarithm. The two are always in the same ratio. From \(x = b^{\log_b x}\), take the natural logarithm of both sides: \(\ln x = \log_b x \times \ln b\).

So \(\log_b x = \ln x/\ln b\), the change of base. With \(b = 10\), \(\ln x = \ln 10 \times \log x = 2.303\log x\). A few values are worth knowing by heart: \(\ln 2 = 0.693\), \(\ln 3 = 1.099\), \(\ln 10 = 2.303\), \(\log 2 = 0.301\) and \(\log 3 = 0.477\).

The exponential and the logarithm are mirror imagesThe curves y = e to the power x and y = ln x, with the dashed line y = x between them. A slider sets a number a from minus 2 to 1.6. The point P at (a, e to the a) sits on the exponential curve and the point Q at (e to the a, a) on the logarithm curve; a dashed segment joins them across the line y = x, which is the mirror. The readout says that e to the a is some number and that ln of that number is a again. With a = 0.7, e to the 0.7 is 2.01 and ln 2.01 = 0.70. With a = 0, P and Q meet the axes at (0, 1) and (1, 0).1234567−1−212345−1−2Oxy y = eˣ y = ln x y = x P Q eᵃ = 2.01 and ln 2.01 = 0.70 = a
SimThe curves \(y = e^x\) and \(y = \ln x\). Move the slider for the number \(a\). The point P sits at \((a, e^a)\) on the exponential, and the point Q at \((e^a, a)\) on the logarithm. The dashed line \(y = x\) is a mirror between them: the logarithm curve is the exponential curve with its two axes swapped.

Move the slider in the figure above. The logarithm curve crosses zero at \(x = 1\), because \(e^0 = 1\). It is negative for every number between \(0\) and \(1\), since those need a negative power of \(e\). And it has no value at all for zero or for a negative number, because no power of \(e\) is zero or negative.

Checkpoint · numericUnanswered

A sound level needs \(\log(5.0 \times 10^9)\), the common logarithm. Find it, to two decimal places. Take \(\log 5 = 0.70\).

± 1 %
Checkpoint · numericUnanswered

Two moles of an ideal gas at \(300\,\text{K}\) are compressed isothermally from \(20\,\text{L}\) to \(5\,\text{L}\). The work done by the gas is \(W = nRT\ln(V_2/V_1)\), with \(R = 8.31\,\text{J/(mol K)}\). How much heat does the gas give out, in joules? Take \(\ln 4 = 1.3863\).

J± 2 %
ExampleThis is the worked example of Radioactivity, lesson 6, done with the tool

A rock holds three uranium-238 atoms for every lead-206 atom. Assuming it formed with no lead-206, find its age. Take \(T_{1/2} = 4.47 \times 10^9\) years, \(\ln 2 = 0.693\) and \(\ln(4/3) = 0.288\).

Reveal one step at a time and finish the rest yourself.

Now the hearth. The fraction left is \(A/A_0 = 8.9/15.3\), so \(t = (1/\lambda)\ln(A_0/A)\). For carbon-14, \(1/\lambda = 5730/0.693 = 8270\) years. Then \(\ln(15.3/8.9) = \ln 1.72 = 0.54\), and \(t = 8270 \times 0.54 = 4500\) years, to two figures. The logarithm freed the time from the power.

Checkpoint · numericUnanswered

An iodine-131 source, half-life 8 days, has an activity of \(3200\,\text{Bq}\). After how many days is its activity \(100\,\text{Bq}\)? The number of half-lives is \(\log_2(3200/100)\).

days± 2 %
Common mistake

A logarithm exists only for a positive pure number. So always take the logarithm of a ratio, such as \(A_0/A\) or \(V_2/V_1\), in which the units cancel. The logarithm of zero does not exist: a decaying sample never reaches zero, and no time makes \(e^{-t/\tau} = 0\). There is also no rule for \(\ln(a + b)\); only products and quotients become sums and differences.

In the world
Where this tool works in physics

The logarithm dates rocks and charcoal in the chapter Radioactivity, and gives the half-life from the decay constant there. It gives the work and the heat of an isothermal process, \(nRT\ln(V_2/V_1)\), and the entropy changes of the chapter on the second law. It measures sound in decibels, and it gives the logarithmic decrement of a damped oscillator. It sets the number of generations a chain reaction needs, and the rocket equation carries it too.

Exam traps
  1. Taking the logarithm of a difference, such as \(\ln(15.3 - 5.1)\).
    The decay law gives a ratio. Take \(\ln(A_0/A)\).
  2. Writing \(\ln(a + b) = \ln a + \ln b\).
    The sum rule is for products: \(\ln(ab) = \ln a + \ln b\). A sum inside a logarithm cannot be split.
  3. Mixing \(\ln\) and \(\log\).
    \(\ln\) is base \(e\), \(\log\) is base 10, and \(\ln x = 2.303\log x\). Keep to one per calculation.

Where this tool works in the book

The physics that leans on this lesson. Each card opens the topic where the tool is at work.

Heat Engines, the Second Law and Entropy
Lesson 3 · The Carnot CycleFour legs of the carnot cycleA Carnot cycle is an isothermal expansion at \(T_H\), an adiabatic expansion to \(T_C\), an isothermal compression at \(T_C\) and an adiabatic compression back to \(T_H\); for 1 mol of air between 500 K and 300 K with a volume ratio of 2, \(Q_H = 2880\,\text{J}\), \(Q_C = 1728\,\text{J}\) and \(W = 1152\,\text{J}\).Lesson 3 · The Carnot CycleCarnot efficiencyThe two adiabats give \(V_B/V_A = V_C/V_D\), so \(Q_C/Q_H = T_C/T_H\) and the Carnot efficiency is \(\eta = 1 - T_C/T_H\), with both temperatures in kelvin.Lesson 5 · EntropyEntropy of melting and heatingA body melting at temperature \(T\) gains \(\Delta S = mL/T\) (1 kg of ice: 1223 J/K); a body warmed from \(T_1\) to \(T_2\) gains \(\Delta S = mc\ln(T_2/T_1)\), because each small step \(dQ = mc\,dT\) is taken in at its own \(T\).Lesson 5 · EntropyEntropy change of an ideal gasFor \(n\) moles of ideal gas, \(\Delta S = nC_v\ln(T_2/T_1) + nR\ln(V_2/V_1)\); it is \(nR\ln(V_2/V_1)\) on an isotherm (5.76 J/K for 1 mol doubling its volume) and zero on a reversible adiabat, which is therefore isentropic.Lesson 6 · Entropy, Irreversibility and T-S DiagramsEntropy grows in irreversible changeIn every irreversible process the total entropy of a system and its surroundings grows: heat of 1000 J from 400 K to 300 K gives +0.83 J/K, free expansion of 1 mol to twice the volume +5.76 J/K, and mixing 1 kg of water at 80 °C with 1 kg at 20 °C +36.4 J/K.