One idea, 4 fields

Logarithms & Exponential Growth

The unifying principle

Compounding is the statement that the rate of change of a quantity is proportional to the quantity itself:

dNdt=rN\frac{dN}{dt} = rN

Integrating gives the continuous form:

N(t)=N0ertN(t) = N_0 \, e^{rt}

and the discrete (per-step) form, when growth happens nn times with factor (1+r/n)(1+r/n):

N(t)=N0(1+rn)ntnN0ertN(t) = N_0\left(1 + \frac{r}{n}\right)^{nt} \xrightarrow{n\to\infty} N_0 e^{rt}

The logarithm is the exact inverse: it recovers the number of compounding steps (time, doublings, digits) from the result.

t=1rln ⁣N(t)N0t = \frac{1}{r}\ln\!\frac{N(t)}{N_0}

Two invariants recur everywhere:

  • Doubling time: t2=ln2rt_2 = \frac{\ln 2}{r} — the time to multiply by 2, independent of starting size.
  • Log-linearity: plotting lnN\ln N against tt gives a straight line of slope rr. Exponential curves become lines under logs; that's why we can see compounding.

How it shows up in each field

Biology — bacterial growth

In exponential phase, each cell divides on a fixed schedule, so population size obeys N(t)=N02t/gN(t)=N_0\,2^{t/g} where gg is the generation (doubling) time. Equivalently N(t)=N0ertN(t)=N_0 e^{rt} with r=ln2gr=\frac{\ln 2}{g}.

Why it's the same idea: division rate is proportional to the number of cells present → dN/dt=rNdN/dt = rN.

Stock-Market — compound interest

An investment reinvesting its returns grows by a fixed fraction each period:

A=P(1+rn)ntPertA = P\left(1+\frac{r}{n}\right)^{nt} \to P e^{rt}

Why it's the same idea: interest is earned on the whole current balance, so dA/dt=rAdA/dt = rA. Log returns ln(At/At1)\ln(A_t/A_{t-1}) are used precisely because they add across periods where percentage returns multiply.

Coding/CS — Moore's Law & algorithmic complexity

Two faces of the same math:

Moore's Law: transistor count doubles ~every 2 years: T(t)=T02t/2T(t)=T_0\,2^{t/2} — pure exponential growth.

Algorithmic complexity: logarithms measure how many times you can halve a problem.

Why it's the same idea: divide-and-conquer compounds a factor of 12\tfrac12 per step; log\log counts the steps.

Why this bridge matters

  • Doubling-time intuition transfers everywhere. A biologist's feel for "how many generations?" is identical to an investor's "Rule of 72" and a programmer's log2n\log_2 n depth. Learn it once, use it four times.
  • Log-scale is the universal linearizer. Bacterial growth curves, stock charts, and Moore's-Law plots are all drawn on log axes because compounding becomes a readable straight line — slope = growth rate.
  • Small rates, huge outcomes. Intuition from finance (a 1% edge, compounded, dominates long-run) explains why a slightly faster-dividing microbe outcompetes rivals and why an O(logn)O(\log n) algorithm crushes O(n)O(n) at scale.
  • The inverse is the insight. In every field the exponential is the phenomenon and the logarithm is the analytical tool: recovering time, doublings, or steps from the outcome.

Connections

#bridge

log-linearity

Rule of 72

halving = log

doubling time

exp scaling

Compounding
dN/dt = rN → N₀eʳᵗ
inverse: logarithm

Maths
eˣ, ln x, doubling time

Biology
N₀·2^(t/g), generations

Stock-Market
P(1+r/n)^nt, log returns

Coding/CS
Moore's Law 2^(t/2)
Big-O log₂n

Connected notes