Statistics · Topic 2 of 2
Line of Best Fit
One lesson video covers all of Statistics, so it opens at 11:27 for this topic — not from the beginning.
Theory
A scattergraph plots data points to show the relationship between two variables. You must be able to draw a straight "line of best fit" through the data.
Determining the Equation
To find the equation of your line of best fit, you select two points that lie exactly on the line (not necessarily data points). You then calculate the gradient () and use to find the equation in terms of the variables on the axes.
Estimating
Once you have the linear model (the equation), you must be able to use it to estimate a -value for a given -value (or use transposition to find given ).
The Golden Rule: pick two points that lie exactly on the line (not raw data points), find the gradient, then use — and rename and to the letters on the axes. To estimate, substitute into the finished equation; to reverse it, substitute and rearrange.
⚠️ Common Examiner Traps
- Points on the line: read the two points off the drawn line where it crosses grid corners — do not use scattered data points.
- Rename the variables: the answer must be in the question's letters (e.g. and ), not and .
- Negative gradient: a downward line has a negative gradient — keep the sign through the working.
- Simplest form: tidy the equation fully; often the constant cancels to give a clean result.
Worked examples
Example 1
A scattergraph shows the relationship between temperature ( in °C) and ice cream sales ( in £). A line of best fit is drawn, passing exactly through the points (10, 150) and (20, 300). Find the equation of the line of best fit in terms of and .
Step 1: Find the gradient ():
Step 2: Substitute and the point (10, 150) into . Remember to use instead of and instead of :
Step 3: Expand and simplify:
Answer: .
Example 2
Using the equation derived above (), estimate the ice cream sales on a day when the temperature is 25°C.
Step 1: Substitute into the equation:
Step 2: Calculate the result:
Answer: Estimated sales are £375.
Example 3
A scattergraph shows the relationship between the age of a car ( in years) and its value ( in £). A line of best fit passes exactly through the points (2, 8000) and (5, 3500). Find the equation of the line of best fit in terms of and .
Step 1: Find the gradient ():
Step 2: Substitute and the point (2, 8000) into the straight line equation. Use for and for :
Step 3: Expand and simplify:
Answer: .
Example 4
🔗 Bringing it together (reverse estimate)
Using the equation from above, estimate the age of a car whose value is £5000.
Step 1: This time the value is known, so substitute and solve for :
Step 2: Rearrange — subtract 11000 from both sides:
Step 3: Divide by :
Answer: the car is estimated to be 4 years old.