Category: Differential Equations Level: 301
dy/dt = ky ⇒ y = y0 ekt, half-life T = ln 2/|k|
When something shrinks at a rate proportional to how much is left, it loses the same fraction in every equal stretch of time. The time to lose half is the half-life.
Start with 80 grams of a substance that decays with k = −0.347 per hour. The rate dy/dt = ky is steep when there is a lot and gentle when there is little.
at y = 80: dy/dt ≈ −27.7; at y = 20: dy/dt ≈ −6.9
The curve y = 80 e(−0.347t) has exactly those slopes. It drops fast at first and then slows, but never quite reaches zero.
y = 80 e−0.347 t
Ask when 80 grams becomes 40. Solve e(kT) = 1/2 to get T = ln 2/0.347 = 2 hours.
T = ln 2/|k| = 0.693/0.347 = 2
Every 2 hours the amount halves: 40, then 20, then 10, then 5. The same time always cuts the same fraction, no matter how much is left.
80 → 40 → 20 → 10 → 5 at t = 0, 2, 4, 6, 8
With k = +0.347 the same equation describes growth: 10 grams of yeast doubles every 2 hours, 10, 20, 40, 80. Decay is growth running backward in time.
k > 0: doubling time = ln 2/k = 2
cd svg-generator python3 -m svgmath render exponential-decay --out /tmp/exponential-decay
Source: svgmath/diagrams/first_order_odes.py