Resources For Teachers For Tutors For Students & Parents Pricing
Year 12 Maths Standard 1 (2027) Bivariate data analysis

Making Predictions

20 practice questions 0 video lessons Theory + worked examples

Learn to make predictions from bivariate data for NSW Year 12 Mathematics Standard 1 (NESA outcome MST-12-S1-06). Once a line of best fit is drawn, you can use it or its equation to estimate a value that was never measured.

You will substitute into the line’s equation, work backwards from a given value, and see the limits of interpolation (inside the data, more reliable) and extrapolation (outside the data, less reliable) — so you can judge whether a prediction, such as a household’s next electricity bill, really makes sense.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

To make a prediction, substitute a value into the equation of the line of best fit. This Year 12 Standard 1 (NSW) guide shows how to predict \(y\) from \(x\), work backwards from \(y\), and decide whether a prediction is interpolation (inside the data, more reliable) or extrapolation (outside the data, less reliable).

A prediction uses the equation of the line of best fit. Given \(x\), substitute and work it out, e.g. \(y=4x+10\) at \(x=5\) gives \(y=4(5)+10=30\). Given \(y\), substitute, take away the constant, then divide by the gradient.

Interpolation is a prediction inside the data range (between the smallest and largest data values) — it is more reliable.

Extrapolation is a prediction outside the data range — it is less reliable, because the linear pattern may not continue. Give every answer in context with units.

Interpolation and extrapolationData collected for x from 2 to 8 is shaded. A prediction at x = 5 is interpolation; one at x = 11 is extrapolation. 2 4 6 8 10 12 10 20 30 40 50 60 x y data range interpolation extrapolation
Data was collected for \(2\le x\le 8\) (shaded). \(x=5\) is interpolation; \(x=11\) is extrapolation.
Extrapolation can failModel B = 100 - 7.5h from data for 1 to 10 hours; extended to 16 hours it predicts -20 percent, which is impossible. 2 4 6 8 10 12 14 16 0 20 40 60 80 100 Hours h Battery B (%) -20%? 0%
Extended to \(16\) hours, \(B=100-7.5h\) gives \(-20\%\) — impossible.

Predict \(y\) by substituting \(x\) into the line of best fit:

\[y = mx + c\]
y=mx+c

Work backwards from a given \(y\): subtract \(c\), then divide by \(m\):

\[x = \dfrac{y - c}{m}\]
x=(y-c)/m
Check the range. Inside the data range is interpolation (more reliable); outside is extrapolation (less reliable).

How to make and judge a prediction

  1. Substitute the known value into the equation of the line.
  2. Solve: given \(x\), evaluate; given \(y\), subtract the constant then divide by the gradient.
  3. Compare the value with the data range: inside is interpolation, outside is extrapolation.
  4. State the answer in context with units, and comment if it is not sensible.
Example 1 — Predict a value
A household’s quarterly electricity bill is modelled by \(B=0.3u+20\), where \(B\) is the bill (\(\$\)) and \(u\) is the usage (kWh). The data covered \(100\le u\le 800\). Predict the bill for \(450\) kWh.
Solution

Substitute \(u=450\), then check the data range.

\(B\)\(=\)\(0.3u+20\)
\(B\)\(=\)\(0.3(450)+20\)
\(B\)\(=\)\(135+20\)
\(B\)\(=\)\(155\)
B=0.3(450)+20=155

\(100\le 450\le 800\) so this is interpolation (reliable). The predicted bill is \(\$155.00\).

Example 2 — Work backwards from y
A courier uses the line of best fit \(C=12d+35\), where \(C\) is the charge (\(\$\)) and \(d\) is the distance (km). A delivery cost \(\$131\). Predict the distance.
Solution

Substitute \(C=131\), subtract the constant, then divide by the gradient.

\(131\)\(=\)\(12d+35\)
\(131-35\)\(=\)\(12d\)
\(96\)\(=\)\(12d\)
\(d\)\(=\)\(\dfrac{96}{12} = 8\)
131=12d+35;d=96/12=8

Check: \(12(8)+35=131\) \(\checkmark\). The delivery was about 8 km.

Example 3 — When extrapolation fails
A phone’s battery level \(B\) (%) after \(h\) hours of video is modelled by \(B=100-7.5h\), from data for \(1\le h\le 10\). (i) Predict \(B\) at \(h=6\). (ii) Predict \(B\) at \(h=16\) and comment.
Solution

Substitute each value, then compare it with the data range.

\(\text{(i) } B\)\(=\)\(100-7.5(6) = 100-45 = 55\)
\(1\le 6\le 10\)\(\Rightarrow\)\(\text{interpolation}\)
\(\text{(ii) } B\)\(=\)\(100-7.5(16) = 100-120 = -20\)
\(16>10\)\(\Rightarrow\)\(\text{extrapolation}\)
B=100-7.5(6)=55;B=100-7.5(16)=-20

(i) 55%. (ii) −20%: a battery cannot be below 0%, so the model breaks down outside the data.

Example 4 — Hours and minutes
An electrician’s charges fit the line \(C=75h+120\) (\(C\) in \(\$\), \(h\) in hours), from jobs of \(1\) to \(8\) hours. A job cost \(\$615\). Predict the time worked, in hours and minutes, and classify the prediction.
Solution

Solve for \(h\), then change the decimal part to minutes.

\(615\)\(=\)\(75h+120\)
\(495\)\(=\)\(75h\)
\(h\)\(=\)\(\dfrac{495}{75} = 6.6\)
\(0.6 \text{ h}\)\(=\)\(0.6\times 60 = 36 \text{ min}\)
h=495/75=6.6;0.6×60=36

\(1\le 6.6\le 8\) so this is interpolation. About 6 h 36 min.

Common pitfalls

Check the data range. Compare the value with the data range before saying how reliable a prediction is — extrapolation can give silly answers, such as a negative price.
Subtract first, then divide. When you are given \(y\), solve in order: subtract the constant first, then divide by the gradient.
Decimal hours are not minutes. \(6.6\) h \(=6\) h \(+\,0.6\times60\) min \(=6\) h \(36\) min (not \(6\) h \(60\) min).

Frequently asked questions

How do you make a prediction from a line of best fit?

Substitute the known value into the equation of the line and work out the other value. For example, y = 4x + 10 at x = 5 gives y = 4 times 5 plus 10 = 30.

What is the difference between interpolation and extrapolation?

Interpolation predicts a value inside the range of the collected data, so it is more reliable. Extrapolation predicts outside the data range, so it is less reliable because the pattern may not continue.

Why is extrapolation less reliable?

Outside the data range nobody has checked that the straight-line pattern continues. Extrapolating can give silly answers, such as a negative battery level or a negative price.

How do you find x when you are given y?

Substitute the y-value into the equation, subtract the constant first, then divide by the gradient. For C = 12d + 35 and C = 131: 131 - 35 = 96, and 96 divided by 12 = 8.

How do you change a decimal number of hours into hours and minutes?

Keep the whole hours and multiply the decimal part by 60. For example, 6.6 hours is 6 hours plus 0.6 times 60 = 36 minutes, so 6 hours 36 minutes.