Hersi Maths WhatsApp me

Understand · explore · practise

Logarithmic graphs for modelling

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

Write the transformed equation before naming the gradient.

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

The exponent is the slope on a log–log graph.

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

The slope is the logarithm of the multiplier.

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

The base changes which inverse operation recovers a constant.

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

A suitable transformation straightens the relationship.

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.

Choose axes for the same dataMove at your pace
Choose axes for the same datay = 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.y = 2x²00.20.40.600.511.52Horizontal: log₁₀x Vertical: log₁₀yThe transformed points lie on a straight line.Gradient = 2; intercept = 0.301

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.

Watch a power relationship become a straight line on logarithmic axes

Pause, replay or seek freely. The notes explain the same idea and stay in view.

06 / Recover parameters from a straight line

Use two points in the plotted coordinates.

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.

An exponential graph instead

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

Use the trend, not a chain joining every point.

The table is synthetic classroom data for a population measured over eight hours. The slight variation makes the fitted model an estimate.

Synthetic population observations
t / hNlog₁₀N
0501.6990
2611.7853
4771.8865
6941.9731
81182.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.

Five synthetic observations of log10 population versus time in hours, with their least-squares straight line. The points are near but not exactly on the fitted line.Synthetic observations and a fitted line024681.71.81.922.1Horizontal: t / hours Vertical: log₁₀Nlog₁₀N ≈ 0.0466811t + 1.6964357Fit the trend; do not join every observation.

08 / What if the logarithmic axes are reversed?

Rearrange again; do not relabel the old gradient.

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

Scaling can identify a relationship without uniquely identifying a shape.

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.

Does slope 2 prove a particular shape?

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

Transform the actual quantities you intend to model.

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

A straight-looking plot is evidence, not a guarantee.

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

Read both axes before identifying the parameters.

Here log means base 10. Preserve exact powers when possible.

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.

02 · An exponential line

log y = 0.2x + 1. Write y = ABˣ.

Hint

A = 10¹ and B = 100.2.

Worked solution

y = 10(100.2)ˣ.

03 · Natural-log axes

ln y = −0.3x + ln 8. Find y.

Hint

Undo ln using e.

Worked solution

y = 8e−0.3x.

04 · Identify slope and intercept

For y = 5x⁻², what are the gradient and intercept on a plot of log y against log x?

Hint

Take logs of the power model.

Worked solution

Gradient −2; vertical intercept log 5.

05 · Reversed axes

A line has equation log x = 0.5log y − 0.3. Find y in terms of x.

Hint

Rearrange for log y first.

Worked solution

log y = 2log x + 0.6
y = 100.6x².

06 · Two log–log points

The line on a plot of log y against log x passes through (1,2) and (3,5). Find the model.

Hint

The slope is 3/2; then find the intercept.

Worked solution

log y = 1.5log x + 0.5
y = √10 · x3/2.

07 · Two natural-log points

On a plot of ln y against x, a line passes through (0,ln 6) and (4,ln 24). Find y.

Hint

The slope is ln(4)/4 = ln(2)/2.

Worked solution

y = 6e(ln 2)x/2 = 6(√2)ˣ.

08 · A zero measurement

Can a point with x = 0 be used on a log x horizontal axis?

Hint

Check the log input.

Worked solution

No. log(0) is not defined. It can still be used on an untransformed x-axis if its y-value has a valid logarithm.

09 · Similar solids

S = AV2/3, with A > 0. What is the slope of log V against log S?

Hint

Rearrange the equation for the plotted vertical variable.

Worked solution

3/2.

10 · Change of units

y is multiplied by 100 while x is unchanged. What happens to a base-10 log–log line?

Hint

log(100y) = 2 + log y.

Worked solution

The vertical intercept increases by 2 and the gradient stays the same.

11 · Identify an exact model

At x = 0,1,2,3, the y-values are 64,48,36,27. Find a simple exponential formula.

Hint

Successive outputs have a common ratio.

Worked solution

y = 64(3/4)ˣ.

12 · A negative intercept

ln y = 2x − 1. Is the multiplier A in Ae2x negative?

Hint

A = e to the intercept.

Worked solution

No. A = e⁻¹ > 0.

13 · Extrapolation

A population model fits eight hours of data. Does that establish a reliable prediction ten years later?

Hint

Consider what would have to stay unchanged.

Worked solution

No. Conditions, resources and the rate may change. A short-range fit alone does not justify such distant extrapolation.

13 / Recap

The plotted equation tells you what the line means.

  • Power model: log y against log x; slope is the exponent.
  • Exponential model: log y against x; slope is the log of the multiplier.
  • Undo a log₁₀ intercept with 10ᶜ and an ln intercept with eᶜ.
  • Reversed axes require rearranging the equation again.
  • Use positive inputs, stated units and an explicit time origin.
  • Treat fitted constants and predictions as estimates when the data are noisy.

Return to exponentials and logarithms →

Section 1 of 13 · Choose the axes that give a straight line