All revision notes topics

Scatter graphs and correlationIB MYP Maths Standard: Revision notes

Section 1

Scatter graphs

A scatter graph shows two variables for the same people or objects, with one point for each pair of values. Put the variable you think causes or controls the other (the independent variable) on the horizontal axis, and the other on the vertical axis. Example: temperature xx and drinks sold yy give points such as (18,40)(18,40) and (33,115)(33,115). Choose scales that fit all the data, label both axes with units, and plot each point as a small cross.

Key termsscatter graphvariable
Exam tip

Check that every pair of values becomes exactly one point. Count your points against the table.

Section 2

Types of correlation

Correlation describes the relationship between the two variables.

  • Positive correlation: as xx increases, yy increases (points slope up to the right).
  • Negative correlation: as xx increases, yy decreases (points slope down to the right).
  • No correlation: no pattern, the points are scattered. The correlation is strong when the points lie close to a straight line, and weak when they are more spread out. Always describe it in context, for example 'the hotter the day, the more drinks are sold'.
Key termscorrelationpositive correlationnegative correlationno correlation
Common mistake

Saying 'positive' just because the numbers are positive. Positive correlation means both variables increase together.

Section 3

Drawing a line of best fit

A line of best fit is a straight line that follows the trend of the points. Draw it with a ruler so that:

  • it passes through the middle of the points, with about the same number above and below the line
  • it is a single straight line, not joined dot to dot
  • it goes through the mean point (mean of xx, mean of yy) if you have worked it out. Example: for the speeds 20,30,…,7020,30,\dots,70 and braking distances 8,14,19,25,30,368,14,19,25,30,36 the mean point is (45,22)(45,22). The line does not have to go through the origin, and an outlier (a point far from the pattern) can be ignored when drawing the line.
Key termsline of best fitmean pointoutlier

Section 4

Using the line to predict

To predict yy for a given xx, go up from xx to the line, then across to the yy-axis and read the value. You can also use the equation of the line, y=mx+cy=mx+c. Example: the line passes through (20,45)(20,45) and (30,100)(30,100). Gradient =100−4530−20=5.5=\frac{100-45}{30-20}=5.5, so each extra 1 °C gives about 5.5 more drinks. At 26 °C: 45+6×5.5=7845+6\times5.5=78 drinks. A prediction inside the range of the data (interpolation) is usually reliable. A prediction outside the range (extrapolation) is unreliable because the trend may not continue.

Key termsinterpolationextrapolationgradient
Common mistake

Using the line to predict far outside the data. Say the prediction is unreliable and give the reason.

Section 5

Correlation and cause

Correlation shows that two variables are related, but it does not prove that one causes the other. Ice cream sales and sunburn cases are positively correlated because both rise in hot weather, not because ice cream causes sunburn. A small sample and an outlier can also make a relationship look stronger or weaker than it is. When you evaluate a claim, mention causation, the range of the data and the sample size.

Key termscausation

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Scatter graphs and correlation

  1. A café in Cape Town records the maximum temperature xx (in °C) and the number yy of cold drinks sold on six days: (18,40)(18,40), (21,55)(21,55), (24,68)(24,68), (27,85)(27,85), (30,98)(30,98), (33,115)(33,115). A line of best fit for the data passes through (20,45)(20,45) and (30,100)(30,100).
    Find the gradient of the line of best fit and explain what it means in this context.2 marks
  2. Eight students record the hours xx of revision they did before a test and the number yy of mistakes they made: (1,19)(1,19), (2,16)(2,16), (3,14)(3,14), (4,13)(4,13), (5,10)(5,10), (6,8)(6,8), (7,7)(7,7), (8,4)(8,4). A line of best fit for the data passes through (2,16)(2,16) and (6,8)(6,8).
    Use the line of best fit to estimate the number of mistakes made by a student who revises for 5.5 hours.2 marks
  3. A road-safety team in Dubai records the speed xx (in km/h) and the braking distance yy (in metres) of a car in six trials: (20,8)(20,8), (30,14)(30,14), (40,19)(40,19), (50,25)(50,25), (60,30)(60,30), (70,36)(70,36). A line of best fit for the data passes through (20,8)(20,8) and (70,36)(70,36).
    Find the mean speed and the mean braking distance, and write down the coordinates of the mean point, through which a line of best fit should pass.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).