Exponential and Log Models
The world's growth and decay stories all wear the same two outfits. A bacterial colony
doubling in a petri dish, savings quietly compounding in an account, a radioactive sample
ticking down atom by atom, a cup of coffee losing its heat to the room — wildly different
stories, identical mathematical wardrobe. Whenever the change in a quantity is
proportional to the quantity itself — the more you have, the faster it grows (or shrinks) —
the quantity follows an exponential model. And whenever you turn the
question around and ask "how long until…?" — how long until the money doubles, the
caffeine wears off, the sample halves — you need the exponential's inverse: a
logarithm.
Modelling, then, is a two-step craft: choose the outfit (spot that the
situation is exponential), and fit the buttons (pin down the two numbers
that tailor the general formula to your story). This page teaches both — and how
logs pull the unknown down out of the exponent
when the question is about time.
The model, and how to read it
Many real-world quantities change by the same factor in every equal step of time:
a population multiplies, savings earn interest, a radioactive sample halves. Each is an
exponential model:
y = A \cdot k^{\,t}
Here A is the starting amount (the value when
t = 0), k is the
growth or decay factor per unit of time, and t
is the time. This is the same multiply-by-a-constant pattern you have seen in
,
now read off a smooth curve instead of a list of terms.
Two numbers tell the whole story. Set t = 0: since
k^0 = 1, the value is A — the
starting amount. Then each extra unit of time multiplies by k:
y(0) = A, \qquad y(1) = A\,k, \qquad y(2) = A\,k^2, \qquad y(3) = A\,k^3.
The whole drama of "growth versus decay" lives in a single comparison — k against 1:
- Growth when k > 1 — the value rises, and rises ever faster (a doubling population has k = 2).
- Decay when 0 < k < 1 — the value falls, but never quite reaches zero (a sample that halves has k = \tfrac{1}{2}).
- At exactly k = 1 nothing happens at all: y = A forever. The boundary between the two worlds is perfectly flat.
A percentage rate folds neatly into k. Growing by 5% a year
means "keep your 100% and add 5%", so k = 1 + 0.05 = 1.05.
Losing 5% a year means "keep 95%", so k = 1 - 0.05 = 0.95. This
translation — rate to factor — is the single most common button-fitting move in
the whole subject, and it is where these
become a formula you can compute with.
See it: growth versus decay
Slide A to set where the curve starts, and slide
k across 1. Above
1 the curve climbs — gently at first, then steeply, because
each step multiplies an ever-larger amount. Below 1 it sinks
toward zero without ever touching it — each step removes the same fraction, but a
fraction of a shrinking amount is a shrinking removal. At exactly 1
it is flat. Time only runs forward here, so t \ge 0.
Try this: set k = 2 and pick any starting height on the curve.
However high or low you start, the curve takes exactly one unit of time to double
from there. That is the exponential's signature — a constant doubling time
for growth, a constant half-life for decay — and it is precisely the
property that a straight line does not have. If a data set doubles in equal time steps, it
is wearing the exponential outfit.
Using logs to find the time
Evaluating a model is easy: plug in t, get
y. The interesting questions run the other way — you know the
target value and want the time. Now t sits up in the
exponent, and the tool that reaches up and pulls it down is the logarithm. To find when a
colony of A = 200 bacteria that doubles each hour
(k = 2) reaches 1600:
200 \cdot 2^{\,t} = 1600 \;\Longrightarrow\; 2^{\,t} = 8 \;\Longrightarrow\; t = \log_2 8 = 3 \text{ hours.}
The recipe is always the same three moves: divide by the starting amount
to isolate k^t, take a log of both sides to
bring the exponent down, then divide by \log k.
In general:
A\,k^{\,t} = T \;\Longrightarrow\; k^{\,t} = \frac{T}{A} \;\Longrightarrow\; t = \frac{\log\!\left(T/A\right)}{\log k}.
Any log base works — \log_{10}, \ln,
your calculator's choice — because the base cancels in the ratio. The same recipe finds a
half-life, a doubling time, or how long savings take to reach a goal. Let's use it on real
money.
Worked example: when does money double?
You invest P pounds at 5% compound interest per
year. First, fit the buttons: 5% growth per year means the factor is
k = 1.05, and the starting amount is
P, so the model is
A(t) = P \cdot 1.05^{\,t}.
Question: how long until the money doubles? We want the time
t when A(t) = 2P. Follow the recipe,
step by step:
P \cdot 1.05^{\,t} = 2P
Step 1 — divide by the starting amount. The P cancels completely — the doubling time doesn't depend on how much you invested:
1.05^{\,t} = 2
Step 2 — take a log of both sides and use the power rule \log(1.05^{\,t}) = t\log 1.05:
t \log 1.05 = \log 2
Step 3 — divide to leave t alone:
t = \frac{\log 2}{\log 1.05} = \frac{0.30103\ldots}{0.02119\ldots} \approx 14.2 \text{ years.}
So at 5% a year, money doubles in a little over 14 years — whether you started with £10 or
£10 million. Notice the shape of the answer:
t = \log 2 / \log k is the doubling-time formula, and
swapping the 2 for \tfrac{1}{2} (or
3, or 10) gives the half-life,
tripling time, or ten-folding time the same way. Bankers, incidentally, get to roughly the
same 14.2 without a calculator — see the vignette below.
Long before calculators, money-lenders needed doubling times in their heads, and they used
the rule of 72: at r\% interest, money doubles
in roughly 72 / r years. At 6%: about 12 years. At 8%: about 9.
At 5%: 72/5 = 14.4 — impressively close to the exact
14.2 we computed above.
Where does 72 come from? The exact doubling time is
t = \ln 2 / \ln(1 + r/100), and for smallish rates
\ln(1 + x) \approx x, which gives
t \approx \frac{100 \ln 2}{r} = \frac{69.3}{r}. So the
"honest" rule is a rule of 69.3 — and for continuous compounding it is exact. But 69.3 is a
miserable number to divide by in your head, while 72 is a divisibility jackpot:
it splits cleanly by 1, 2, 3, 4, 6, 8, 9 and 12 — exactly the interest rates people actually
meet. Nudging 69.3 up to 72 also quietly compensates for the approximation error at typical
rates, so the rule lands remarkably close across the whole 4%–12% range. A deliberate,
practical inaccuracy — the first recorded mention is in Luca Pacioli's 1494 arithmetic text,
the same book that taught Europe double-entry bookkeeping.
Worked example: the caffeine clock
Decay models often come pre-buttoned in half-life form. Caffeine leaves the
body with a half-life of roughly 6 hours: whatever amount is in your blood
now, half of it will be gone 6 hours from now. A cup of coffee delivering
C_0 = 80 mg is modelled by
C(t) = C_0 \left(\tfrac{1}{2}\right)^{t/6}
Read the exponent carefully: t/6 counts how many half-lives
have passed. At t = 6 the exponent is 1 (one halving); at
t = 12 it is 2 (two halvings, a quarter left). Writing the model
this way saves you converting the half-life into a per-hour factor — though you could:
k = (1/2)^{1/6} \approx 0.891, an 11% loss per hour.
Question: how much caffeine is left 15 hours after an 80 mg coffee?
Fifteen hours is 15/6 = 2.5 half-lives:
C(15) = 80 \left(\tfrac{1}{2}\right)^{15/6} = 80 \cdot 2^{-2.5} = \frac{80}{\sqrt{2^5}} = \frac{80}{\sqrt{32}} \approx 14.1 \text{ mg.}
About 14 mg — an evening espresso is still very much on duty at 4 a.m. And the inverse
question uses the same log recipe as the money example: "when is only 10 mg left?" means
(1/2)^{t/6} = 10/80 = 1/8 = (1/2)^3, so
t/6 = 3 and t = 18 hours. When the
numbers are less friendly, t = 6\log(C/C_0)/\log(1/2) does the
job.
Worked example: fitting the model to data
So far the buttons were handed to us. In real modelling you get data and
must find A and k yourself. Two data
points are exactly enough, because there are exactly two unknowns.
A biologist counts a bacterial culture twice:
N(0) = 500 cells at the start, and
N(3) = 4000 cells three hours later. Fit
N(t) = A\,k^{\,t}.
Step 1 — the starting value gives A for free:
N(0) = A\,k^0 = A = 500.
Step 2 — substitute the second point and solve for k:
500\,k^{3} = 4000 \;\Longrightarrow\; k^{3} = 8 \;\Longrightarrow\; k = \sqrt[3]{8} = 2.
Notice the division in the middle: k^3 = N(3)/N(0). The starting
amount always cancels out of the ratio, so the factor comes purely from how much
the quantity multiplied between the two measurements. The fitted model is
N(t) = 500 \cdot 2^{\,t} — the culture doubles every hour.
If the ratio hadn't been a friendly perfect cube — say
k^3 = 5 — the root is still routine:
k = 5^{1/3} \approx 1.710, or with logs,
\log k = \tfrac{1}{3}\log 5. The general recipe for two points
(0, N_0) and (T, N_T):
A = N_0, \qquad k = \left(\frac{N_T}{N_0}\right)^{1/T}.
And that is the whole craft in one line: one measurement pins the start, the ratio of two
measurements pins the factor, and logs answer every "when?" that follows.
An exponential model is a claim — "the change is proportional to the amount" — and
every claim has a domain of validity. Three traps to check before you trust an answer:
-
Nothing grows exponentially forever. Bacteria run out of nutrients,
populations hit a carrying capacity, viral videos run out of humans to reach.
The exponential fits the early phase beautifully and then fails — real growth
curves bend over into an S-shape. If your model predicts more rabbits than atoms in the
universe, the model has left its domain, not mathematics.
-
Money doesn't compound cleanly. P \cdot 1.05^{\,t}
ignores fees, tax, withdrawals and rates that change — a real account is a staircase of
adjustments, and the smooth curve is an idealisation. Good modelling states its
assumptions out loud so you know when they break.
-
A log of zero or a negative number does not exist — no power of a
positive k can output 0 or a
negative value. So if solving a model asks you for \log(-3) or
\log 0 — "when does the caffeine reach exactly zero?", "when is
the account worth −£50?" — that is not a calculator failure but a modelling
signal: the target is outside what the model can ever produce. Decay approaches zero
asymptotically and never arrives; growth from a positive start never goes negative.
Every living thing carries a fixed, tiny proportion of radioactive carbon-14, constantly
topped up from the atmosphere by eating and breathing. The moment it dies, the top-up stops
— and the carbon-14 begins to decay with a half-life of about 5,730 years.
The remaining amount follows exactly our caffeine formula:
C(t) = C_0 (1/2)^{t/5730}.
Archaeologists run the model backwards. Measure what fraction of the original
carbon-14 remains in a bone or a scroll, then solve for t with a
log: a sample with a quarter left has sat through two half-lives —
t \approx 11{,}460 years; one with 60% left gives
t = 5730 \cdot \log(0.6)/\log(0.5) \approx 4{,}200 years. This
one exponential-decay clock dated the Dead Sea Scrolls, Ötzi the Iceman, and the charcoal in
the painted caves of Lascaux — and won Willard Libby the 1960 Nobel Prize in Chemistry.
Past about ten half-lives (~60,000 years) too little carbon-14 survives to measure, so
dinosaurs are out of range: the model's domain of validity, again.
Khan Academy works through exponential model word problems here: