Category: Differential Equations Level: 301
y = y0 ekt ⇔ ln y = ln y0 + kt
Take the logarithm of an exponential and it turns into a straight line. The slope of that line is the rate constant k.
Weigh the sample every 2 hours: 80, 40, 20, 10, 5 grams. Each reading is half the one before.
y: 80, 40, 20, 10, 5
Joined up, the readings make a curve that keeps flattening. The slope changes everywhere, so k is hard to read off by eye.
y = 80 ekt
Plot ln y instead of y. Halving always subtracts the same amount, ln 2 ≈ 0.693, so the dots fall in equal steps.
ln 80 ≈ 4.38, ln 40 ≈ 3.69, ln 20 ≈ 3.00, ...
The dots lie on a straight line. Its slope is −0.693/2 = −0.347, which is k, and it crosses the axis at ln 80. Straight lines are much easier to read than curves.
ln y = ln 80 + kt, k = -0.693/2 ≈ −0.347
cd svg-generator python3 -m svgmath render exponential-log-scale --out /tmp/exponential-log-scale
Source: svgmath/diagrams/first_order_odes.py