Resources For Teachers For Tutors For Students & Parents Pricing
Algebra Data and statistics

Line of best fit

20 practice questions 2 video lessons Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 2 video(s)
  • Scatter Graphs: Line Of Best Fit Watch
  • Line of Best Fit Equation Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The line of best fit (trend line) is the straight line that stays as close as possible to the data points.

Use it to predict \(y\) from \(x\); its slope is the rate of change.
Line of best fit The line of best fit models the trend and lets you make predictions. line of best fit
A line modeling the trend.
Line of best fit Line of best fit Line of best fit a line that models the trend minimizes distance to the points use it to predict y from x
The line of best fit.

A best-fit model:

\[y=mx+b\]
the line of best fit has the form y equals m x plus b
Predict by substituting an \(x\)-value.

How to use a line of best fit

  1. Draw or compute the trend line.
  2. Read its equation \(y=mx+b\).
  3. Substitute to predict.
  4. Interpret the slope and intercept.
Example 1 β€” Use the model
A best-fit line is \(y=0.9x+1\). Predict \(y\) at \(x=10\).
Solution

Substitute.

\(y\)\(=\)\(0.9(10)+1=10\)
the prediction is 10
Example 2 β€” Slope meaning
In \(y=0.9x+1\), what does \(0.9\) represent?
Solution

The rate of change per unit \(x\).

the rate of change per unit x
Example 3 β€” Fit quality
When does a line fit the data well?
Solution

When the points cluster closely around it.

when points cluster closely around it
Example 4 β€” Interpolate vs extrapolate
Is predicting inside the data range safer?
Solution

Yes β€” interpolation is more reliable than extrapolation.

yes, interpolation is safer

Common pitfalls

Extrapolation is uncertain far from the data.
A trend line is a model, not exact for every point.
Balance the points above and below the line.

Frequently asked questions

What is the line of best fit?

A line that models the trend in scatter data.

What is it used for?

Making predictions from the data.

What does its slope mean?

The rate of change of the trend.

Is prediction outside the data reliable?

Less so β€” extrapolation is uncertain.