01 · A power line
log y = 3log x + 0.7. Find y in terms of x.
Hint
The exponent is 3; undo the intercept with a power of 10.
Worked solution
y = 100.7x³, x > 0.
Understand · explore · practise
Linearise power and exponential relationships using logarithms. Read transformed axes, recover constants, fit original data and interpret reversed axes and modelling limits.
Before you startLog laws, straight-line gradients and intercepts, and exponential models
01 / Choose the axes that give a straight line
A curved relationship can sometimes become linear after a logarithmic transformation. The two common forms need different horizontal axes:
y = Axⁿ: plot log(y) against log(x)
y = ABˣ: plot log(y) against x
Here log means base 10 unless stated otherwise. A graph of “Y against X” puts X horizontally and Y vertically. Always read the actual labels: the same plotted gradient does not mean the same model parameter on different axes.
02 / Linearise a power relationship
For y = Axⁿ with A > 0 and x > 0:
log y = log A + n log x
Y = nX + c, where X = log x,
Y = log y and c = log A
Gradient = n
Vertical intercept = log A
A = 10intercept
The vertical intercept occurs at log x = 0, meaning x = 1. It does not represent x = 0. At that point y = A; whether the original formula is also defined at zero is a separate question.
03 / Linearise an exponential relationship
For y = ABˣ, with A,B > 0:
log y = log A + x log B
Y = mx + c, where m = log B,
c = log A
A = 10ᶜ
B = 10ᵐ
A positive m gives B > 1 and growth; a negative m gives 0 < B < 1 and decay. If m = 0, B = 1 and the model is constant. Unlike the power graph, the horizontal variable is the original x, so zero can be included.
04 / Use natural logs consistently
y = Aekx ⇒ ln y = ln A + kx
y = Axⁿ ⇒ ln y = ln A + n ln x
For ln(y) against x in the first model, the gradient is k and A = eintercept. For ln(y) against ln(x) in the second, the gradient is n.
Using the same new base on both axes of an exact power relationship preserves its exponent. For an exponential model, the slope is ln B on a natural-log vertical axis and log₁₀B on a base-10 vertical axis. Do not use 10ᶜ to undo an ln intercept.
05 / Try different axes on the same data
Choose one of the two exact classroom datasets, then choose the axes. The power dataset follows y = 2x²; the exponential dataset follows y = 3 · 2ˣ. All shown x and y values are positive.
The correct transformed view places the points on one straight line. The wrong transformation generally leaves a curve. Read the displayed horizontal and vertical labels before interpreting its slope.
y = 2x². Horizontal axis: log₁₀x; vertical axis: log₁₀y. This is a straight line with gradient 2 and vertical intercept 0.301. The five gold points come from x = 1,2,3,4,5 in the original dataset. Decimal log values are rounded to four places.
Pause, replay or seek freely. The notes explain the same idea and stay in view.
06 / Recover parameters from a straight line
A plot of log y against log x passes through (0,1.2) and (2,4.2):
n = (4.2 − 1.2)/(2 − 0) = 1.5
log A = 1.2 ⇒ A = 101.2
y = 101.2x1.5
At x = 4, this gives y = 8 · 101.2. The coordinates supplied by the graph were logarithms, not the original x and y values.
A plot of log y against t passes through (0,1.4) and (5,2). Its equation is log y = 0.12t + 1.4. Thus y = 101.4(100.12)ᵗ. At t = 10, y = 102.6 ≈ 398.1. Keep the exact power form during prediction instead of prematurely rounding its multiplier.
07 / Fit a line to measured-style data
The table is synthetic classroom data for a population measured over eight hours. The slight variation makes the fitted model an estimate.
| t / h | N | log₁₀N |
|---|---|---|
| 0 | 50 | 1.6990 |
| 2 | 61 | 1.7853 |
| 4 | 77 | 1.8865 |
| 6 | 94 | 1.9731 |
| 8 | 118 | 2.0719 |
Plot log₁₀N vertically against t horizontally. Draw a straight line through the overall trend, leaving points on both sides where appropriate. Choose well-separated points on your fitted line to estimate its gradient; they need not be original data points.
One fit using all five points:
log₁₀N ≈ 0.0466811t + 1.6964357
N ≈ 49.7091(1.1134766)ᵗ
These displayed coefficients are rounded from a least-squares line in the transformed coordinates; a reasonable hand-drawn line gives slightly different estimates. Keeping the unrounded fit predicts about 146 individuals at t = 10 hours. The prediction lies beyond the observed 0–8 hour interval.
08 / What if the logarithmic axes are reversed?
If y = Axⁿ with n ≠ 0, but the vertical axis is log x and the horizontal axis is log y, then:
log x = (1/n)log y − (log A)/n
The slope is now 1/n. If the displayed line is log x = m log y + c, then n = 1/m and log A = −c/m.
y = 4x³ ⇒ log x = ⅓log y − ⅓log 4
This reciprocal relationship describes the same exact line. Separately fitting noisy data with the two regression directions need not give reciprocal slopes, because the fitting errors are measured in different directions.
09 / Interpret a power in a geometry model
For cubes of edge length L, surface area S = 6L² and volume V = L³. Eliminating L gives S = 6V2/3.
log S = log 6 + (2/3)log V
log V = (3/2)log S − (3/2)log 6
The first plot’s slope is 2/3; the reversed plot’s slope is 3/2. Neither changes the exponent in the original formula S = 6V2/3.
If log A = 2log w + log(0.4), then A = 0.4w². A rectangle of width w and height 0.4w has this area, but so does a triangle with base w and height 0.8w. The relationship supports area scaling with the square of a length; more information is needed to identify the shape uniquely.
10 / Check domains, units and the time origin
You cannot take a real logarithm of zero or a negative measured value. Adding 1 to make an input positive changes the proposed model and needs justification; it is not a harmless plotting shortcut. Values between 0 and 1 are allowed and produce negative logarithms.
Use numerical values in stated, consistent units. Converting a length y from metres to centimetres multiplies it by 100 and adds 2 to log₁₀y. If x stays unchanged, a log–log slope is unchanged but the intercept and multiplier change.
For time models, specify the origin and unit. A constant k per day becomes k/24 per hour. On a power plot, log x = 0 means x = 1; on an exponential time plot, t = 0 is the chosen starting time.
11 / Choose and assess the model
Compare the transformed plots and the context. For exact evenly spaced x-values, a constant ratio in y suggests an exponential model; a power relationship instead has a constant proportional response to multiplying x.
Real data may only approximately follow either pattern. Check how the fitted model compares with the observations. Investigate unusual points rather than removing them simply to improve a line. Extrapolation needs a reason to expect the same mechanism and rate to continue.
12 / Your turn
Here log means base 10. Preserve exact powers when possible.
log y = 3log x + 0.7. Find y in terms of x.
The exponent is 3; undo the intercept with a power of 10.
y = 100.7x³, x > 0.
log y = 0.2x + 1. Write y = ABˣ.
A = 10¹ and B = 100.2.
y = 10(100.2)ˣ.
ln y = −0.3x + ln 8. Find y.
Undo ln using e.
y = 8e−0.3x.
For y = 5x⁻², what are the gradient and intercept on a plot of log y against log x?
Take logs of the power model.
Gradient −2; vertical intercept log 5.
A line has equation log x = 0.5log y − 0.3. Find y in terms of x.
Rearrange for log y first.
log y = 2log x + 0.6
y = 100.6x².
The line on a plot of log y against log x passes through (1,2) and (3,5). Find the model.
The slope is 3/2; then find the intercept.
log y = 1.5log x + 0.5
y = √10 · x3/2.
On a plot of ln y against x, a line passes through (0,ln 6) and (4,ln 24). Find y.
The slope is ln(4)/4 = ln(2)/2.
y = 6e(ln 2)x/2 = 6(√2)ˣ.
Can a point with x = 0 be used on a log x horizontal axis?
Check the log input.
No. log(0) is not defined. It can still be used on an untransformed x-axis if its y-value has a valid logarithm.
S = AV2/3, with A > 0. What is the slope of log V against log S?
Rearrange the equation for the plotted vertical variable.
3/2.
y is multiplied by 100 while x is unchanged. What happens to a base-10 log–log line?
log(100y) = 2 + log y.
The vertical intercept increases by 2 and the gradient stays the same.
At x = 0,1,2,3, the y-values are 64,48,36,27. Find a simple exponential formula.
Successive outputs have a common ratio.
y = 64(3/4)ˣ.
ln y = 2x − 1. Is the multiplier A in Ae2x negative?
A = e to the intercept.
No. A = e⁻¹ > 0.
A population model fits eight hours of data. Does that establish a reliable prediction ten years later?
Consider what would have to stay unchanged.
No. Conditions, resources and the rate may change. A short-range fit alone does not justify such distant extrapolation.
13 / Recap
Section 1 of 13 · Choose the axes that give a straight line