Numbers & Functions · 5 Exponentials and Logarithms

5.6 Running it backwards: logarithms

Every interesting machine makes us ask the Chapter 3 question: can we undo it? For the exponential, the undo button is so important it gets its own name. The doubling machine takes a number of doublings and gives the result: 3 7→8. The reverse question is: “I’m looking at 8 — how many doublings produced it?” The answer is 3. That reverse machine is the logarithm: log2(8) = 3, asking “2 raised to what gives 8?′′ A logarithm is, quite simply, an exponent in disguise. These two machines are perfect inverses: 23 = 8 ⇐⇒ log2(8) = 3.

This is the moment a thread from Chapter 3 pays off. We found the rule for when a machine can be run backwards: only if it never sends two different inputs to the same output. The squaring machine failed that test. But the exponential’s graph only ever climbs — it never repeats an output — so it passes perfectly. That is the deep reason the logarithm exists as a clean, single-valued undo button while the square root couldn’t.

And here’s why logarithms matter beyond being a tidy inverse: they turn multiplication into addition. The rule 2a · 2b = 2a+b, read through the logarithm, becomes log(xy) = log(x) + log(y). For three centuries, before calculators, scientists multiplied enormous numbers by adding their logarithms. Logarithms are also why we measure earthquakes (Richter), loudness (decibels), and acidity (pH) the way we do — each compresses a range spanning factors of billions into a friendly little number.

x y 2x log2 x y = x (3, 8) (8, 3) the log is the exponential reflected across y = x Figure 5.6. Exponential and logarithm are mirror inverses, reflected across the line y = x. The twin points (3, 8) and (8, 3) swap across the mirror.

5.7 The laws of logarithms (the exponent laws in a mirror)

Every log law is an exponent law seen through the inverse. A logarithm is an exponent, so everything drops down one level: multiplication becomes addition, powers become multiplication.

♦Why it’s true — skip on a first read, but the real brain-training Write x = ap and y = aq, so p = loga x and q = loga y.

Law 1 — Product becomes sum: loga(xy) = loga x + loga y. Why: xy = ap · aq = ap+q, so the exponent producing xy is p + q.

Law 2 — Quotient becomes difference: loga  x y  = loga x −loga y.

Why: x y = ap−q.

Law 3 — Power becomes multiplier: loga(xk) = k loga x.

Why: xk = (ap)k = apk. The most useful law in practice — it pulls an exponent down into an ordinary multiplier, which is how logs tame equations where the unknown is stuck up in an exponent.

Law 4 — Anchors: loga 1 = 0 and loga a = 1. Why: just a0 = 1 and a1 = a read backwards.

Exponentials and Logarithms The one idea to carry: a logarithm knocks every operation down a rung. Multiplication →addition. Division →subtraction. Powers → multiplication. Remember that, and you can regenerate the whole table. There’s one more law, the practical one, because real calculators only carry log10 and ln (base e). To compute log2 50 with no base-2 button, you change the base: loga x = logb x logb a. So log2 50 is just ln 50 ln 2 on a calculator.

All 8 chapters of Numbers & Functions · Foundations · All courses