Logarithms — Exponentiation in Reverse
The inverse of exponential growth
This concept builds on Slope — Rise Over Run: Finding the Slope of a Line, Quadratic Equations — The Parabola Up Close. Consider exploring them first for the best experience.
Exponential Growth
Watch the orange curve y = bˣ sweep across the grid. Each step to the right multiplies its height by the same factor b, so it creeps along just above zero and then shoots upward. Exponential growth is repeated multiplication, not repeated addition.
The Inverse: Reflect Over y = x
The dashed line y = x is a mirror. Reflect the orange exponential across it and you get the blue logarithm: every point (a, b) becomes (b, a). So log_b(x) answers the reverse question — b raised to what power gives x?
Three Bases, One Anchor
Now log₂, ln and log₁₀ are drawn together. Every curve passes through (1, 0), because any base to the power 0 is 1. Each one reaches height 1 at its own base: x = 2, x = e ≈ 2.718 and x = 10. Choose base '2', 'e' or '10' to move the highlighted (b, 1) point.
Worked Example: log₂ 8 = 3
Choose base '2', then move the 'x value' slider to 8. The yellow points climb (2, 1), (4, 2), (8, 3): every doubling adds 1, and the readout shows log₂(8.0) = 3.00 because 2 × 2 × 2 = 8. Base 10 works the same way: 10 × 10 × 10 = 1000, so log₁₀ 1000 = 3.
Product and Power Rules
Logarithms turn multiplication into addition. The red bar at x = 2 and the green bar at x = 4 stack exactly into the bar at x = 8, because 2 · 4 = 8: log₂ 8 = log₂ 2 + log₂ 4 = 1 + 2. The power rule follows: log(xⁿ) = n · log x.
Log Scales: pH, Decibels, Richter
On the ruler, 1, 10, 100, 1000 and 10 000 sit equally spaced: each step is another factor of 10. A solution at pH 4 has ten times the hydrogen ions of one at pH 5. Every +10 decibels is ten times the sound intensity. Each Richter step is ten times the wave amplitude and about 32 times the energy.
How It Works — Step by Step
-
1
Exponential Growth
Watch the orange curve y = bˣ sweep across the grid. Each step to the right multiplies its height by the same factor b, so it creeps along just above zero and then shoots upward. Exponential growth is repeated multiplication, not repeated addition.
-
2
The Inverse: Reflect Over y = x
The dashed line y = x is a mirror. Reflect the orange exponential across it and you get the blue logarithm: every point (a, b) becomes (b, a). So log_b(x) answers the reverse question — b raised to what power gives x?
-
3
Three Bases, One Anchor
Now log₂, ln and log₁₀ are drawn together. Every curve passes through (1, 0), because any base to the power 0 is 1. Each one reaches height 1 at its own base: x = 2, x = e ≈ 2.718 and x = 10. Choose base '2', 'e' or '10' to move the highlighted (b, 1) point.
-
4
Worked Example: log₂ 8 = 3
Choose base '2', then move the 'x value' slider to 8. The yellow points climb (2, 1), (4, 2), (8, 3): every doubling adds 1, and the readout shows log₂(8.0) = 3.00 because 2 × 2 × 2 = 8. Base 10 works the same way: 10 × 10 × 10 = 1000, so log₁₀ 1000 = 3.
-
5
Product and Power Rules
Logarithms turn multiplication into addition. The red bar at x = 2 and the green bar at x = 4 stack exactly into the bar at x = 8, because 2 · 4 = 8: log₂ 8 = log₂ 2 + log₂ 4 = 1 + 2. The power rule follows: log(xⁿ) = n · log x.
-
6
Log Scales: pH, Decibels, Richter
On the ruler, 1, 10, 100, 1000 and 10 000 sit equally spaced: each step is another factor of 10. A solution at pH 4 has ten times the hydrogen ions of one at pH 5. Every +10 decibels is ten times the sound intensity. Each Richter step is ten times the wave amplitude and about 32 times the energy.
Key Takeaways
log_b(x) asks: b to what power gives x?
log₂(8) = 3 because 2³ = 8. The logarithm is simply exponentiation run in reverse.
Every log curve passes through (1, 0)
For any valid base b, log_b(1) = 0 because b⁰ = 1. The point (1, 0) is the universal anchor of all logarithms.
Logs turn products into sums
log(a·b) = log a + log b and log(xⁿ) = n·log x. That is why a log scale such as pH, decibels or the Richter scale turns every factor of 10 into one equal step.
Natural log uses base e ≈ 2.718
ln(x) is the special case that appears naturally in calculus: its derivative is exactly 1/x, and it describes continuous growth and decay.
Connected Concepts
Derivative
The derivative of ln(x) is 1/x — one of the most elegant results in calculus.
Euler's Formula
Euler's number e is the natural base of logarithms: ln(e) = 1.
Beer–Lambert Law
Chemists measure light absorption as a logarithm: absorbance A = −log₁₀(I / I₀) grows in a straight line with concentration.
Limits
Logarithms tame exponential growth and appear in limit definitions of e itself.
Benford's Law
In many real data sets the share of numbers with leading digit d is log₁₀(1 + 1/d), so about 30.1% start with a 1 and only 4.6% with a 9.
Updated
- — Added a connection to Benford's law, where leading-digit shares come from log10(1 + 1/d)
- — Six held steps with the product and power rules, pH/decibel/Richter log scales and a worked log₂ 8 = 3