Mathematics/Lessons/Straight Lines/Modelling with Straight Lines
Pure · Straight Lines · Year 1

Modelling with Straight Lines

Real situations that change at a constant rate — cost, distance, temperature, depreciation — are straight lines wearing different clothes. The gradient and intercept just need a context to mean something.

9 min read 5 worked examples

From context to $y = mx + c$

Whenever a quantity changes by the same fixed amount for every unit increase in another, the relationship between them is linear — and everything from the previous lesson (gradient, intercept, point–gradient form) applies directly, once you've translated the words into variables.

What gradient and intercept mean in a model

In a linear model $y = mx + c$: the gradient $m$ is the rate of change — how much $y$ increases (or decreases, if $m<0$) each time $x$ increases by $1$. The intercept $c$ is the starting value — the value of $y$ when $x=0$, often a fixed cost, an initial amount, or a starting time. Reading a modelling question is really just identifying which number in the text is the rate and which is the starting value.

A straight line graph on axes labelled t and C, rising from a marked starting point c on the vertical axis at a constant slope, with a small right-angled triangle on the line labelled m to show the gradient.
A linear model y = mx + c: the intercept c is the starting value, and the gradient m is the rate of change.

Direct proportion: models through the origin

Some quantities aren't just linear — they're directly proportional, written $y \propto x$, meaning $y = kx$ for some constant $k$. This is the special case of a linear model where $c=0$: the line passes exactly through the origin, so $y$ doubles when $x$ doubles, and $y=0$ whenever $x=0$.

Recognising direct proportion in context

A model is one of direct proportion whenever the quantity is genuinely zero when the input is zero — with no fixed starting amount to account for. The circumference of a circle, $C = 2\pi r$, is direct proportion ($k=2\pi$): no radius means no circumference. By contrast, the plumber's call-out fee in the next example is not proportion, because a job of zero hours still costs £40 — the model needs a nonzero intercept.

Building a model from data

Often you're not told $m$ and $c$ directly — you're given two data points (two values of the quantity at two known inputs) and have to find the line through them, exactly as in the previous lesson. The only new step is translating the answer back into the context, and using it to predict values you weren't given.

Interpolation vs extrapolation

Using a model to predict a value within the range of the data you were given is called interpolation, and is usually safe. Predicting beyond that range is extrapolation — the model might still be a good fit outside the data, but there's no guarantee, since real quantities often stop increasing at a constant rate eventually. Good modelling answers flag this limitation rather than trusting extrapolated predictions blindly.

Worked example 1

Forming a model from a word problem
A plumber charges a fixed call-out fee plus an hourly rate. A 2-hour job costs £110, and a 5-hour job costs £215. Find a linear model for the cost $C$ (in pounds) of a job lasting $t$ hours, and interpret the gradient and intercept.
MethodTreat the two jobs as coordinate points, then find the line
1
Write the information as two points $(t, C)$: $(2, 110)$ and $(5, 215)$.
Time is the input, cost is the output.
2
Gradient: $m = \dfrac{215-110}{5-2} = \dfrac{105}{3} = 35$.
The rate the cost changes with time.
3
Point–gradient form using $(2,110)$: $C - 110 = 35(t-2)$, so $C = 35t + 40$.
Expand and simplify.
4
Interpret: the gradient $35$ is the hourly rate (£35 per hour); the intercept $40$ is the call-out fee (£40, charged even for a job lasting no time).
Match each constant to its real-world meaning.
▪ modelled
Examiner's eye

State units for both constants — "£35 per hour" and "£40 fixed fee" — not just the bare numbers. Modelling marks are frequently awarded specifically for interpretation, not just for finding the equation.

Worked example 2

Using a model to predict
A candle is $18\ \text{cm}$ tall when lit, and burns down at a constant rate. After $3$ hours it is $13.5\ \text{cm}$ tall. Using a linear model, predict the candle's height after $5$ hours, and estimate how long the candle takes to burn out completely.
MethodFind the model, then substitute or solve as needed
1
The intercept is given directly: height $=18$ at time $t=0$, so $c=18$.
"When lit" means at t=0.
2
Gradient: height falls from $18$ to $13.5$ over $3$ hours, so $m = \dfrac{13.5-18}{3-0} = \dfrac{-4.5}{3} = -1.5$.
Negative, since height is decreasing.
3
Model: $h = 18 - 1.5t$.
Combine gradient and intercept.
4
At $t=5$: $h = 18 - 1.5(5) = 18-7.5 = 10.5\ \text{cm}$.
Substitute to predict.
5
Burnt out means $h=0$: $0 = 18-1.5t \Rightarrow t=12$ hours.
Solve for t when height is zero.
▪ solved
The key insight

Predicting the height at $t=5$ is interpolation-adjacent (close to the known data), and reasonably safe. But predicting the burn-out time at $t=12$ is a much larger extrapolation — real candles often burn at a slightly different rate as they near the end, so this is a genuine model limitation worth stating in an exam answer.

Worked example 3

Discussing the limits of a model
A gardener models the height $h$ (cm) of a sunflower $t$ days after planting as $h = 2.5t + 4$, based on measurements taken between day 5 and day 20. State one limitation of using this model to predict the height on day 90.

Not every worked example needs heavy algebra — sometimes the skill being tested is recognising where a linear model breaks down.

MethodCompare the prediction point to the range the model was built from
1
The model was fitted using data from day $5$ to day $20$ only — a range of 15 days.
This is the model's valid range.
2
Day $90$ is far outside that range — this is significant extrapolation.
70 days beyond the data used.
3
Real plant growth is rarely constant indefinitely — sunflowers slow down and stop growing once mature, so the linear model likely overestimates the height by day 90.
A physical reason the constant-rate assumption fails.
▪ discussed
Common mistake

A vague answer like "the model might not be accurate" earns little credit. State which assumption breaks down (constant growth rate) and why it's unreasonable in context (growth naturally slows and stops) — modelling-limitation marks require this level of specificity.

Worked example 4

Comparing two linear models · Challenge
Two phone plans are modelled by their monthly cost in pounds for $x$ gigabytes of data used: Plan A costs $C_A = 15 + 2x$, and Plan B costs $C_B = 25 + 0.5x$. Find the number of gigabytes at which the two plans cost the same, and determine which plan is cheaper for a user who typically uses $10\ \text{GB}$ per month.

"Cost the same" means the two linear models intersect — solve them as simultaneous equations, exactly as with any pair of lines.

MethodSet the two models equal, solve, then compare at the given value
1
Set $C_A = C_B$: $15 + 2x = 25 + 0.5x$.
The break-even point.
2
Rearrange: $2x - 0.5x = 25 - 15 \Rightarrow 1.5x = 10$.
Collect x terms on one side, numbers on the other.
3
Solve: $x = \dfrac{10}{1.5} = 6.\overline{6}\ \text{GB}$.
The plans cost the same at about 6.67 GB.
4
At $x=10$: $C_A = 15+2(10)=35$; $C_B = 25+0.5(10)=30$.
Substitute the given usage into both models.
5
Since $30 < 35$, Plan B is cheaper for a user on $10\ \text{GB}$ per month.
Compare the two costs directly.
▪ solved
Look deeper — the break-even point is where gradients decide the outcome

Plan B has the smaller gradient ($0.5$ vs $2$), so although it starts more expensive (larger intercept), it becomes cheaper for high enough usage. Any two linear models with different gradients cross exactly once — below that crossing point the steeper line is cheaper, above it the shallower line is cheaper. Spotting which side of the break-even point you're on is often the entire point of the question.

Worked example 5

Setting up a model of direct proportion
The perimeter $P$ of a semicircular flowerbed is directly proportional to its radius $r$. A flowerbed with radius $4\ \text{m}$ has a curved edge of length $4\pi\ \text{m}$. Find the constant of proportionality relating $P$ (the curved edge only) to $r$, and use it to find the curved edge length when $r = 7\ \text{m}$.
MethodUse P = kr, find k from the given pair, then substitute
1
Since $P \propto r$, write $P = kr$ — no constant term, since $r=0$ must give $P=0$.
Direct proportion always passes through the origin.
2
Substitute the given pair $r=4$, $P=4\pi$: $4\pi = k(4)$.
One data point is enough to find k, since c is already known to be 0.
3
Solve: $k = \pi$.
Divide both sides by 4.
4
Model: $P = \pi r$. At $r=7$: $P = 7\pi \approx 22.0\ \text{m}$.
Substitute the new radius.
▪ modelled
The key insight

Because a proportional model has only one unknown constant ($k$, since $c=0$ is already fixed), a single data point pins down the whole model — unlike the general linear case, which needs two points to find both $m$ and $c$. Always check first whether a context implies $c=0$; it can save half the work.

Common mistake

Mixing up which variable is the input ($x$) and which is the output ($y$) leads to a model with the gradient and intercept swapped or inverted. Always state clearly what each letter represents before setting up the equation, and check the finished model against the original data as a sanity check.

Check yourself

A tank contains $200$ litres of water and drains at a constant rate. After $8$ minutes it contains $120$ litres. Form a linear model for the volume $V$ litres after $t$ minutes, and use it to predict how long the tank takes to empty completely.
(Hint: the intercept is the starting volume; find the gradient from the one data point given, then solve V = 0.)

Method
1
Intercept: $V=200$ at $t=0$.
2
Gradient: $m = \dfrac{120-200}{8-0} = \dfrac{-80}{8} = -10$.
3
Model: $V = 200 - 10t$.
4
Empty means $V=0$: $0=200-10t \Rightarrow t=20$ minutes.
Solve for t.
▪ solved