Lines of Best Fit (Cambridge (CIE) IGCSE International Maths)

Revision Note

Line of Best Fit

What is a line of best fit?

  • If a scatter graph suggests that there is a positive or negative correlation

    • a line of best fit can be drawn on the scatter graph

      • This can then be used to make predictions

How do I find the coordinates of the mean point?

  • You need to be able to find the mean point, open parentheses x with bar on top comma space y with bar on top close parentheses to draw a line of best fit

    • Calculate the mean of the x values for all data points, this is x with bar on top

    • Calculate the mean of the y values for all data points, this is y with bar on top

  • The line of best fit must pass through the mean point

How do I draw a line of best fit?

  • To draw a line of best fit:

    • Find the coordinates of the mean point, open parentheses x with bar on top comma space y with bar on top close parentheses

    • Plot the mean point on the graph with all of the other data values

    • Draw a single-ruled straight line through the mean point

      • It must extend across the full data set

      • Adjust the angle of the line to try and get roughly the same number of data points on either side of the line along its whole length

  • If there is one extreme value (outlier) that does not fit the general pattern

    • then ignore this point when drawing a line of best fit

How do I use a line of best fit?

  • Once the line of best fit is drawn, you can use it to predict values

    • E.g. to estimate y when x = 5

      • Use the line to read off the y value when x is 5

  • It is best to use your line to predict values that lie within the region covered by the data points

    • This is called interpolation

  • Be careful: if you extend your line too far away from the data points and try to predict values, those parts of the line are unreliable!

    • This is called extrapolation

Exam Tip

  • Placing a ruler so that it goes through the mean point and tilting it forwards and backwards can help to find the right position for the line of best fit!

Worked Example

Sophie wants to know if the price of a computer is related to the speed of the computer.
She tests 8 computers by running the same program on each, measuring how many seconds it takes to finish.
Sophie's results are shown in the table below.

Price (£)

320

300

400

650

250

380

900

700

Time (secs)

3.2

5.4

4.1

2.8

5.1

4.3

2.6

3.7

(a) Draw a scatter diagram, showing the results on the axes below.

Plot each point carefully using crosses 

A scatter diagram for time against price

 (b) Write down the type of correlation shown and use it to form a suitable conclusion. 

The shape formed by the points goes from top left to bottom right (a negative gradient)
This is a negative correlation
As one quantity increases (price), the other decreases (time)

The graph shows a negative correlation
This means that the more a computer costs, the quicker it is at running the program

(c) Use a line of best fit to estimate the price of a computer that completes the task in 3.4 seconds.

Find the mean point, open parentheses x with bar on top comma space y with bar on top close parentheses

x with bar on top equals fraction numerator 320 plus 300 plus 400 plus 650 plus 250 plus 380 plus 900 plus 700 over denominator 8 end fraction equals 487.5

y with bar on top equals fraction numerator 3.2 plus 5.4 plus 4.1 plus 2.8 plus 5.1 plus 4.3 plus 2.6 plus 3.7 over denominator 8 end fraction equals 3.9

open parentheses x with bar on top comma space y with bar on top close parentheses equals open parentheses 487.5 comma space 3.9 close parentheses

Plot open parentheses x with bar on top comma space y with bar on top close parentheses on the graph
Draw a line of best fit that goes through it

Then draw a horizontal line from 3.4 seconds to the line of best fit
Draw a vertical line down to read off the price 

A line of best fit drawn on a scatter diagram.

A computer that takes 3.4 seconds to run the program should cost around £620
A range of different answers will be accepted,
depending on the line of best fit

You've read 0 of your 10 free revision notes

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Did this page help you?

Mark Curtis

Author: Mark Curtis

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.