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.

x ln y 1,10 1,79 2,48 3,17 0 1 2 3 4 y = 3·2ˣ → ln y = ln 3 + (ln 2)x each step x = 1, ln y adds a steady ln 2 ≈ 0.69
An exponential curve straightens out when the vertical axis is changed to $\ln y$. The data $y=3\cdot 2^x$ grow multiplicatively, but $\ln y$ grows additively: each step $x=1$ adds exactly $\ln 2\approx 0.69$. The slope of the line gives back $\ln b$ and the intercept gives back $\ln a$, so the whole model can be read from two numbers of the line. If the points on a semi-log plot still curve, conclude immediately: the data are not exponential.

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.

Common mistake

On semi-log axes, the slope is $\log b$ and not $b$. Forgetting the step of raising $10^m$ (or $e^m$) is the most common mistake of the whole topic. A second trap: small residuals do not mean the model is right; you must look at the pattern. Residuals that curve consistently mean the model has the wrong shape, even if each individual number looks harmless.

Key takeaway

Exponential ⇔ straight on semi-log; power ⇔ straight on log-log. Read backward: $a=10^{\text{intercept}}$, $b=10^{\text{slope}}$. Check a model with residuals: they need to have no pattern, not merely be small.

← Logarithmic Properties and Equations · All AP Precalculus lessons · Practice AP Precalculus questions (free, instant scoring) · Periodic Phenomena and Angle Measure →