Take logs: $\log y = \log k + x\log a$
Compare with $Y = mX + c$: plot $\log y$ against $x$
| Straight-line part | What it means |
|---|---|
| $Y$-axis | $\log y$ |
| $X$-axis | $x$ โ not transformed |
| Gradient $m$ | $\log a$, so $a = 10^m$ |
| Intercept $c$ | $\log k$, so $k = 10^c$ |
Plotting $\log y$ against $x$ gives a straight line of gradient $0.3$ and intercept $0.7$. Find $k$ and $a$, and write down the model.
The following data is believed to fit $y = ka^x$. Confirm this and find $k$ and $a$.
| $x$ | $1$ | $2$ | $3$ | $4$ |
|---|---|---|---|---|
| $y$ | $6$ | $18$ | $54$ | $162$ |
| $\log y$ | $0.778$ | $1.255$ | $1.732$ | $2.210$ |
Take logs: $\log y = \log k + n\log x$
Compare with $Y = mX + c$: plot $\log y$ against $\log x$
| Straight-line part | What it means |
|---|---|
| $Y$-axis | $\log y$ |
| $X$-axis | $\log x$ โ also transformed |
| Gradient $m$ | $n$ directly โ no undoing needed |
| Intercept $c$ | $\log k$, so $k = 10^c$ |
Power $kx^n$: plot $\log y$ against $\log x$; the gradient is $n$
Plotting $\log y$ against $\log x$ gives a straight line of gradient $1.5$ and intercept $0.6$. Find $n$ and $k$.
A pendulum's period $T$ seconds is measured against its length $L$ metres. Test the model $T = kL^n$ and find $k$ and $n$.
| $L$ | $0.25$ | $1$ | $4$ |
|---|---|---|---|
| $T$ | $1.00$ | $2.00$ | $4.00$ |
| $\log L$ | $-0.602$ | $0$ | $0.602$ |
| $\log T$ | $0$ | $0.301$ | $0.602$ |
- Tabulate $x$, $y$, $\log x$ and $\log y$.
- Check whether $\log y$ against $x$ looks straight โ if so, the model is exponential.
- Check whether $\log y$ against $\log x$ looks straight โ if so, the model is a power law.
- Fit the straight line, read the gradient and intercept, and convert back.
- Test the model against a data point you did not use.
For each set of data, decide whether the relationship is exponential or a power law.
Target
$Y = mX + c$.
$y = ka^x$
$\log y = \log k + x\log a$.
Plot
$\log y$ against $x$.
Then
$a = 10^{\text{gradient}}$, $k = 10^{\text{intercept}}$.
$y = kx^n$
$\log y = \log k + n\log x$.
Plot
$\log y$ against $\log x$.
Then
$n = $ gradient directly; $k = 10^{\text{intercept}}$.
The key difference
Power: gradient needs no undoing.
Verifying
Constant differences in $\log y$ $\Rightarrow$ exponential.
Always
Test the model on an unused point.
What should be plotted against what to linearise $y = ka^x$?
โถ Show solution
Plot $\log y$ (vertical) against $x$ (horizontal).
Only $y$ is transformed.
What should be plotted against what to linearise $y = kx^n$?
โถ Show solution
Plot $\log y$ against $\log x$ โ both variables are transformed.
Plotting $\log y$ against $x$ gives gradient $0.5$ and intercept $1$. Find $k$ and $a$.
โถ Show solution
$a = 10^{0.5} = 3.16$ (3 s.f.)
$k = 10^1 = 10$
$y = 10 \times 3.16^x$
Plotting $\log y$ against $\log x$ gives gradient $2$ and intercept $0.48$. Find $k$ and $n$.
โถ Show solution
$n = 2$ (the gradient directly).
$k = 10^{0.48} = 3.02$ (3 s.f.)
$y \approx 3x^2$
Write $y = 5 \times 4^x$ in linear form.
โถ Show solution
$\log y = \log 5 + x\log 4$
$= 0.699 + 0.602x$
A straight line of gradient $0.602$ and intercept $0.699$ when $\log y$ is plotted against $x$.
Write $y = 3x^4$ in linear form.
โถ Show solution
$\log y = \log 3 + 4\log x$
$= 0.477 + 4\log x$
Gradient $4$, intercept $0.477$, plotting $\log y$ against $\log x$.
A logโlog plot has gradient $0.5$. What does this tell you about the relationship?
โถ Show solution
$n = 0.5$, so $y = kx^{0.5} = k\sqrt{x}$.
The relationship is a square-root law: quadrupling $x$ doubles $y$.
Data gives $\log y$ values of $0.5$, $0.8$, $1.1$, $1.4$ at $x = 1, 2, 3, 4$. Find the model.
โถ Show solution
Differences in $\log y$ are all $0.3$, so plotting against $x$ gives a straight line of gradient $0.3$ โ an exponential model.
$a = 10^{0.3} = 2.00$
Intercept: from $(1, 0.5)$ back to $x=0$ gives $c = 0.5 - 0.3 = 0.2$, so $k = 10^{0.2} = 1.58$.
$y \approx 1.58 \times 2^x$
Explain why plotting $\log y$ against $x$ for a power-law relationship would not give a straight line.
โถ Show solution
For $y = kx^n$, taking logarithms gives $\log y = \log k + n\log x$.
The right-hand side involves $\log x$, not $x$. Plotting against $x$ would therefore graph $\log k + n\log x$ against $x$, which is still a curve (a logarithmic one).
Only plotting against $\log x$ makes the right-hand side linear in the horizontal variable.
The braking distance $d$ metres of a car at speed $v$ mph is recorded:
| $v$ | $20$ | $40$ | $60$ | $80$ |
|---|---|---|---|---|
| $d$ | $6.0$ | $24.0$ | $54.0$ | $96.0$ |
(a) Explain why a power model $d = kv^n$ is more likely than an exponential one. (b) Complete a table of $\log v$ and $\log d$, and find $n$ and $k$. (c) State the model and check it against a data point. (d) Use it to predict the braking distance at $70$ mph, and comment on the reliability of that prediction.
โถ Show solution
(a) Doubling $v$ from $20$ to $40$ multiplies $d$ by $4$; doubling again from $40$ to $80$ multiplies $d$ by $4$ once more ($24 \to 96$).
A constant factor for a constant ratio of $v$ is the signature of a power law. An exponential would need a constant factor for a constant difference in $v$, and here the step from $20$ to $40$ ($\times 4$) differs from $40$ to $60$ ($\times 2.25$).
(b)
| $v$ | $20$ | $40$ | $60$ | $80$ |
|---|---|---|---|---|
| $\log v$ | $1.301$ | $1.602$ | $1.778$ | $1.903$ |
| $\log d$ | $0.778$ | $1.380$ | $1.732$ | $1.982$ |
Gradient, using the first and last points:
$n = \dfrac{1.982 - 0.778}{1.903 - 1.301} = \dfrac{1.204}{0.602} = 2.00$
Intercept: from $(1.301, 0.778)$ with gradient $2$:
$c = 0.778 - 2(1.301) = 0.778 - 2.602 = -1.824$
$k = 10^{-1.824} = 0.0150$
(c) $d = 0.015\,v^2$
Check at $v = 60$ (a point not used for the gradient): $0.015 \times 3600 = 54.0$ โ โ exactly the recorded value.
(d) At $v = 70$: $d = 0.015 \times 4900 = 73.5$ m.
Reliability: this is an interpolation โ $70$ mph lies between the data values $60$ and $80$ โ and the model fitted every recorded point exactly. So the prediction is well founded.
Extrapolating far beyond the data would be much less safe: at $150$ mph the model gives $337$ m, but tyre and brake behaviour changes at high speed, so the simple $v^2$ law may no longer hold. Predictions inside the range of the data are always more trustworthy than those outside it.