0.2 Logarithms and exponentials

The exponential is the function of constant relative growth: it multiplies by a fixed factor over each fixed step. Its inverse, the logarithm, turns multiplication into addition and ratios into differences. Together they are the natural language for any quantity that ranges over orders of magnitude — and the bookshelf is full of these. Sound pressures run from a 20μPa20\,\mu\text{Pa} threshold to pain six decades higher; audible frequencies span ten octaves; nerves fire at rates that vary multiplicatively. The decibel, the octave, and the log-frequency axis of every audiogram are all the same idea: measure ratios, and you are measuring with logarithms.

Exponential laws

For a fixed base a>0a > 0, the exponential axa^x obeys

ax+y=axay,axy=axay,(ax)y=axy,a0=1.a^{x+y} = a^x a^y,\qquad a^{x-y} = \frac{a^x}{a^y},\qquad (a^x)^y = a^{xy},\qquad a^0 = 1.

The first law is the whole character of the function: adding in the exponent multiplies the value. It is what forces a0=1a^0 = 1 (so that ax+0=axa^{x+0} = a^x) and what extends the definition from positive-integer powers — where ana^n is aa multiplied nn times — to zero, negative, and fractional exponents by insisting the law keep holding.

From repeated multiplication to fractional exponents Derivation

For positive integers, ana^n means aaaa\cdot a\cdots a (nn factors), and am+n=amana^{m+n} = a^m a^n is just counting factors. To extend to all real exponents we demand that law persist and read off what each new symbol must mean.

  • a0a^0: from an+0=ana0a^{n+0} = a^n a^0 we need a0=1a^0 = 1.
  • ana^{-n}: from anan=a0=1a^{n}a^{-n} = a^{0} = 1 we need an=1/ana^{-n} = 1/a^n.
  • a1/qa^{1/q}: from (a1/q)q=a1=a\bigl(a^{1/q}\bigr)^q = a^{1} = a we need a1/q=aqa^{1/q} = \sqrt[q]{a}, the qq-th root.
  • ap/qa^{p/q}: then ap/q=(aq)pa^{p/q} = \bigl(\sqrt[q]{a}\bigr)^p.

Each extension is forced, not chosen — the single requirement ax+y=axaya^{x+y}=a^x a^y pins down the function on the rationals, and continuity fills in the irrationals. ✓

The natural base ee

Among all bases, one is singled out by calculus rather than convenience. The number

e=limn(1+1n)n=2.71828e = \lim_{n\to\infty}\Bigl(1 + \tfrac1n\Bigr)^n = 2.71828\dots

is the base for which the exponential is its own derivative:

  ddxex=ex.  \boxed{\;\frac{d}{dx}e^x = e^x.\;}

No other base has slope equal to height at every point; for a general base, ddxax=(lna)ax\frac{d}{dx}a^x = (\ln a)\,a^x carries an extra factor lna\ln a, which is 1 exactly when a=ea = e. This is why exe^x — and not 2x2^x or 10x10^x — is the exponential that appears the instant a rate of change is proportional to an amount: radioactive decay, charging capacitors, cooling bodies, the decay of every transient on the bookshelf. The series and the equilibrium-linearisation that make exe^x central are developed in Foundations 1.3 — Taylor series; here it is enough to know that ee is the base in which the calculus is frictionless.

Logarithms as inverses

The logarithm base aa answers the question to what power must I raise aa to get xx:

y=logax    ay=x.y = \log_a x \iff a^y = x.

Because it undoes an exponential, each exponential law becomes a logarithm law — and crucially, the law that turns multiplication into addition:

  loga(xy)=logax+logay,  loga ⁣(xy)=logaxlogay,loga(xp)=plogax.\boxed{\;\log_a(xy) = \log_a x + \log_a y,\;}\qquad \log_a\!\Bigl(\frac{x}{y}\Bigr) = \log_a x - \log_a y,\qquad \log_a(x^p) = p\,\log_a x.

The natural logarithm lnx=logex\ln x = \log_e x is the inverse of exe^x; the common logarithm log10x\log_{10} x is the one in which “an order of magnitude” is one unit, and the one the decibel is built on.

The product law is the exponential law read backwards Derivation

Let u=logaxu = \log_a x and v=logayv = \log_a y, so by definition au=xa^u = x and av=ya^v = y. Multiply:

xy=auav=au+vxy = a^u a^v = a^{u+v}

by the exponential addition law. Taking loga\log_a of both ends — which extracts the exponent — gives loga(xy)=u+v=logax+logay\log_a(xy) = u + v = \log_a x + \log_a y. The logarithm inherits its defining property directly from the exponential it inverts: the exponential adds exponents to multiply, so the logarithm splits products into sums. ✓

Change of base

A logarithm in one base is a logarithm in any other up to a constant factor:

logax=logbxlogba.\log_a x = \frac{\log_b x}{\log_b a}.

The practical consequences are that log2\log_2, ln\ln, and log10\log_{10} differ only by overall scale — lnx=ln(10)log10x2.303log10x\ln x = \ln(10)\,\log_{10}x \approx 2.303\,\log_{10}x — so “logarithmic” is a single shape regardless of base, and a log axis looks the same whether labelled in octaves (log2\log_2), decades (log10\log_{10}), or natural units.

Thinking in decades and decibels

A linear axis cannot show a quantity that spans six orders of magnitude: anything more than a factor of a hundred below the maximum is crushed into the origin. A logarithmic axis spends equal space on equal ratios, so each factor of ten — each decade — gets its own stretch.

Linear axis010⁶Logarithmic axis10⁰10¹10²10³10⁴10⁵10⁶
log₁₀ x = 2.00 ln x = 4.61 10·log₁₀ x = 20.0 dB 20·log₁₀ x = 40.0 dB

Drag the value and watch the two markers. On the linear axis the marker is pinned near zero until xx approaches the top decade; on the log axis it moves smoothly, because the slider controls log10x\log_{10}x directly and equal slider motion is equal ratio. This is the whole reason acoustics measures in decibels. A level in dB is a logarithm of a ratio, rescaled:

L=10log10 ⁣PP0 (power),L=20log10 ⁣AA0 (amplitude),L = 10\log_{10}\!\frac{P}{P_0}\ \text{(power)},\qquad L = 20\log_{10}\!\frac{A}{A_0}\ \text{(amplitude)},

the factor of 20 for amplitude being the factor of 10 for power with the power-law log(A2)=2logA\log(A^2) = 2\log A folded in, since power goes as amplitude squared. A factor of ten in power is 10dB10\,\text{dB}; a doubling is about 3dB3\,\text{dB}. The same instinct names musical pitch: an octave is a doubling of frequency, log2\log_2 of the frequency ratio, and the audiogram’s frequency axis is logarithmic for exactly this reason.

Exponential growth and decay

When a quantity changes at a rate proportional to its current size, it is exponential. Decay is the case the bookshelf meets most:

x(t)=x0et/τ,x(t) = x_0\, e^{-t/\tau},

with time constant τ\tau the time to fall to 1/e37%1/e \approx 37\% of the start. The half-life t1/2=τln20.693τt_{1/2} = \tau\ln 2 \approx 0.693\,\tau is the same fact in base 2. On a log axis an exponential decay is a straight line of slope 1/τ-1/\tau, which is how a ring-down or a reverberation tail is read off in practice. The differential equation behind this, x˙=x/τ\dot x = -x/\tau, is the first one solved in Foundations 5.2 — First-order linear ODEs.

Check yourself

Two uncorrelated sources each produce 60dB60\,\text{dB} SPL at a microphone. What is the combined level, and why is it not 120dB120\,\text{dB}?

Reveal answer

Decibels are logarithms, so they do not add — the underlying powers add. Two equal powers double the total, and 10log1023dB10\log_{10}2 \approx 3\,\text{dB}, so the combined level is about 63dB63\,\text{dB}, not 120120. Adding the dB values would multiply the powers, which is meaningless here. This +3dB+3\,\text{dB}-per-doubling rule is the everyday face of log(2)0.3\log(2)\approx 0.3.

The history — Napier's bones-deep idea, Briggs's base ten, Euler's e

John Napier published the first table of logarithms in 1614 (Napier 1614), with the explicit aim of replacing the multiplication of large numbers — a daily burden in astronomy and navigation — by addition. His logarithms were defined kinematically, by comparing a point moving at constant speed with one moving at speed proportional to its distance remaining, and were not quite our natural logarithm, but the central property, products become sums, was there from the start. Henry Briggs visited Napier and together they recast the tables to base 10 (Briggs 1624), the form that dominated calculation for three centuries through printed tables and the slide rule. The constant ee and the natural logarithm came later, from the calculus: Euler named ee and established its central role in the Introductio (Euler 1748), where the exponential and the trigonometric functions are unified. The decibel is a direct descendant — Bell Labs’ logarithmic unit for ratios of power, named for Alexander Graham Bell.

What we use it for

Logarithms and exponentials run through every book on the shelf:

What’s next

This closes the pre-calculus chapter. With trigonometry and logarithms restored to working order, the single-variable calculus chapter can take them as given — differentiating sinusoids in radians, and treating exe^x as the function equal to its own derivative — and build the derivative, the integral, and the Taylor series on top.