Semi-log Plots and Model Validation
AP Precalculus · Logarithmic Functions and Modeling
Why semi-log plots exist
Take an exponential model $y=ab^x$ and apply a logarithm to both sides:
$$\log y=\log a+(\log b)\,x$$In the variables $(x,\log y)$ this is a line with slope $\log b$ and intercept $\log a$. So plotting $\log y$ (or $\ln y$) against $x$ — a semi-log plot — converts the question "is this data exponential?" into the far easier question "is this plot linear?". Conversely, data that is linear on a log-log plot (both axes logged) follows a power model $y=ax^n$.
Reading the plot backwards
From a semi-log line with slope $m$ and intercept $c$ (base-10 axes): $a=10^c$ and $b=10^m$. With natural-log axes, $a=e^c$ and $b=e^m$. Equal steps in $x$ multiplying $y$ by a constant factor — the fingerprint of exponential data in a table — appear on the semi-log plot as equal vertical steps.
Validating a model
A fitted model is checked with residuals: residual $=$ observed $-$ predicted. A good model leaves residuals that are small and patternless, scattered on both sides of zero. A residual plot with a systematic bend (e.g. $+,-,-,-,+$) says the model's shape is wrong no matter how small the errors look — that curved pattern under a linear fit is exactly the signature of underlying exponential growth.
Worked example: build a model from two points on a semi-log plot
On semi-log axes ($\log_{10}y$ against $x$), the data of a bacteria population lie on a line through $(0;\,0.6)$ and $(5;\,2.1)$. Write the model $y=ab^x$.
Solution
Slope: $m=\dfrac{2.1-0.6}{5-0}=0.3$; intercept $c=0.6$.
From $\log y=c+mx$ we get $y=10^{c}\cdot\left(10^{m}\right)^{x}$, that is, $a=10^{0.6}\approx 3.98$ and $b=10^{0.3}\approx 2.0$.
The model: $y\approx 4\cdot 2^x$, a population that doubles every unit of time, starting from about $4$ units. Watch the order: $10^{0.6}$ is the initial coefficient $a$ and $10^{0.3}$ is the base $b$; swapping these two roles produces the classic distractor.