IB Applications and Interpretation SL · Regression and linear correlation · End of topic

IB exam questions for topic 9

45 exercises with solutions · By Álvaro López

Past IB exam questions grouped by type and, within each type, from easiest to hardest. Try each one before opening the solution.

Level
Paper
Solutions

Scatter diagrams and type of correlation

Exercise 1 MediumIB · P1 TZ2 May 2018

The following scatter diagram shows the marks that seven students obtained in a mathematics exam, , and in a physics exam, .

Scatter diagram of the physics exam mark against the mathematics exam mark with seven points: (5, 6), (10, 8), (35, 16), (40, 13), (55, 21), (65, 22) and (70, 24)

The mean, M, for these data is .

a) On the scatter diagram, plot and label the point .

b) On the same scatter diagram, draw by eye the line of best fit.

c) Using this line of best fit, estimate the physics mark that a student with a mark of in the mathematics exam would obtain.

Show answer

Answer: a) M plotted and labelled; b) line by eye through M, from to approx.; c) between and

Show working and answer

a)

  1. The means are and . We plot the point on the diagram and label it "M".

b) 2. The line of best fit drawn by eye should pass through M and have approximately the same number of points above and below it, following the increasing trend of the data. 3. A good choice is the line through M that stays close to the points , and : it runs approximately from to .

Scatter diagram of the physics exam mark against the mathematics exam mark with seven points: (5, 6), (10, 8), (35, 16), (40, 13), (55, 21), (65, 22) and (70, 24). The mean point M (40, 16) is marked, and the line of best fit drawn by eye, passing through M, runs from (0, 5) to (80, 26)

c) 4. Going up from on the horizontal axis to the line and reading the height on the vertical axis gives a value between and . 5. The estimated physics mark is therefore between and (the exact value depends on the line drawn by eye).

Answer: a) M plotted and labelled; b) line by eye through M, from to approx.; c) between and

Exercise 2 MediumIB · P1 TZ0 November 2017

A survey is carried out to investigate the relationship between a person's age in years () and the number of hours per week () that they watch television. The following scatter diagram shows the results of the survey.

Scatter diagram of hours spent watching television against age in years, with twenty-five people; the trend is increasing

The mean of the ages of the people surveyed was .

For these results, the equation of the regression line of on is .

a) Find the mean number of hours per week that the people surveyed watch television.

b) Draw accurately the regression line on the scatter diagram.

c) Determine which of the following statements is true and place a tick () in the corresponding box.

The correlation between and is positive.
The correlation between and is negative.
There is no correlation between and .

d) Diogo is years old. Give a reason why this regression line should not be used to estimate the number of hours per week that Diogo watches television.

Show answer

Answer: a) hours; b) line through and ; c) the correlation is positive; d) years lies outside the range of the data (extrapolation)

Show working and answer

a)

  1. The regression line of on always passes through the mean point . As , we substitute into the equation:
  2. The people surveyed watch television an average of hours per week.

b) 3. We calculate two points on the line: for , ; for , (the mean point). We draw the line through and , and extend it to (where ).

Scatter diagram of hours spent watching television against age in years, with twenty-five people; the trend is increasing, with the line h = 0.22a + 15 drawn as a thick line passing through the point (50, 26)

c) 4. The gradient of the line is positive () and the cloud of points rises from left to right: the older the person, the more hours of television. The correlation is positive.

The correlation between and is positive.
The correlation between and is negative.
There is no correlation between and .

d) 5. The data correspond to ages from to years. Diogo's years lie outside this range, so using the line would be an extrapolation and the estimate would not be reliable.

Answer: a) hours; b) line through and ; c) the correlation is positive; d) years lies outside the range of the data (extrapolation)

Exercise 3 MediumIB · P2 TZ2 May 2008

The following table shows the cost in AUD of seven paperback books chosen at random, together with the number of pages of each book.

Book 1 2 3 4 5 6 7
Number of pages () 50 120 200 330 400 450 630
Cost ( AUD) 6.00 5.40 7.20 4.60 7.60 5.80 5.20

a) Plot these pairs of values on a scatter diagram. Use a scale of cm to represent pages on the horizontal axis and cm to represent AUD on the vertical axis.

b) Write down the value of the linear correlation coefficient, , for the data.

c) Stephen wishes to buy a paperback book that has pages. He plans to draw a line of best fit to determine the price. State whether or not this is an appropriate method in this case, and justify your answer.

Show answer

Answer: a) scatter diagram; b) ; c) not appropriate, because is very close to (almost no linear correlation)

Show working and answer

a) 1. We plot the seven points with cm per pages on the horizontal axis and cm per AUD on the vertical axis.

Scatter diagram of the cost in Australian dollars against the number of pages of seven books: (50; 6), (120; 5.4), (200; 7.2), (330; 4.6), (400; 7.6), (450; 5.8) and (630; 5.2), with no clear pattern

b) 2. Using the GDC, the linear correlation coefficient is .

c) 3. As is very close to , there is almost no linear correlation between the number of pages and the cost: the points do not lie along a line. 4. Moreover, pages is at the extreme end of the range of the data. A line of best fit would not give a reliable estimate, so Stephen's method is not appropriate.

Answer: a) scatter diagram; b) ; c) not appropriate, because is very close to (almost no linear correlation)

Exercise 4 MediumIB · P1 TZ0 May 2000

The table below shows the heights and weights of five 16-year-old boys.

Name Height Weight
Blake 182 cm 73 kg
Jorge 173 cm 68 kg
Chin 162 cm 60 kg
Ravi 178 cm 66 kg
Derek 190 cm 75 kg

a) Calculate

(i) the mean height;

(ii) the mean weight.

b) Plot the above data on the grid below and draw the line of best fit.

Blank grid for plotting points: the horizontal axis is the weight in kilograms with marks at 60, 65, 70 and 75, and the vertical axis is the height in centimetres with marks from 160 to 190 in steps of 5; both axes have a break near the origin

Show answer

Answer: a) (i) cm; (ii) kg; b) scatter diagram with the line of best fit passing through

Show working and answer

a) Each mean is found by adding the data and dividing by .

  1. (i) Mean height:
  2. (ii) Mean weight:

b) On the grid, the weight goes on the horizontal axis and the height on the vertical axis.

  1. We mark with a cross the five points (weight, height): , , , and .
  2. We also mark the mean point , formed by the two means: the line of best fit always passes through it.
  3. We draw an increasing line through the mean point that leaves the points spread on both sides, as close as possible to all of them.

Scatter diagram of height in centimetres against weight in kilograms with five crosses at (73, 182), (68, 173), (60, 162), (66, 178) and (75, 190), the mean point (68.4; 177) and the increasing line of best fit through it, from approximately (58, 160) to (77, 187)

Answer: a) (i) cm; (ii) kg; b) scatter diagram with the line of best fit passing through

Regression line and predictions

Exercise 5 BasicIB · P1 TZ2 May 2009

A shopkeeper recorded the daily sales of ice cream together with the maximum daily temperature °C. The results for one week are shown below.

29 31 34 23 19 20 27
104 92 112 48 56 72 66

a) Write down the equation of the regression line of on .

b) Use your equation to predict the ice cream sales on a day when the maximum temperature is °C. Give your answer correct to the nearest whole number.

Show answer

Answer: a) ; b) ice creams

Show working and answer

a)

  1. Using the graphic display calculator (GDC), we enter the temperatures as the independent variable and the sales as the dependent variable, and perform linear regression of on .
  2. The GDC gives and , so

b) 3. We substitute using the unrounded coefficients: 4. As sales are a whole number of ice creams, we round to the nearest whole number: ice creams.

Answer: a) ; b) ice creams

Exercise 6 BasicIB · P1 TZ1 May 2015

Identical mosquito traps are placed at different distances from a lake. One day, the number of mosquitoes caught in 10 of the traps is recorded.

Distance, m () 8 15 22 30 34 45 50 60 74 82
Number of mosquitoes () 78 75 72 67 66 59 59 53 48 43

It is believed that the number of mosquitoes caught varies linearly with the distance, in metres, of the trap from the lake.

a) Calculate

(i) Pearson's product-moment correlation coefficient, ;

(ii) the equation of the regression line of on .

b) Use the equation of the regression line of on to estimate the number of mosquitoes caught in a trap that is m from the lake.

Show answer

Answer: a) (i) ; (ii) ; b) mosquitoes

Show working and answer

a)

(i) 1. We enter the distances as and the number of mosquitoes as in the graphic display calculator (GDC), and perform linear regression. 2. The GDC gives , that is, . This is very close to : a very strong negative linear correlation (the further from the lake, the fewer mosquitoes).

(ii) 3. From the same calculation, the regression line of on is

b) 4. We substitute using the unrounded coefficients ( and ): 5. About mosquitoes (about ) are estimated. The distance m lies within the range of the data (), so the estimate is reliable.

Answer: a) (i) ; (ii) ; b) mosquitoes

Exercise 7 BasicIB · P1 TZ0 November 2011

The scores obtained by five candidates in the Mathematics and Physics exams are given below.

Mathematics () 62 84 47 55 32
Physics () 80 91 44 48 53

a) Write down the correlation coefficient, , for the exam scores.

b) Write down the equation of the regression line of on for the exam scores of the five candidates.

A sixth candidate obtained in the Mathematics exam.

c) Use the regression line of on to estimate the sixth candidate's score in the Physics exam.

Show answer

Answer: a) ; b) ; c) marks

Show working and answer

a)

  1. Using the graphic display calculator (GDC), we enter the Mathematics scores as the list and the Physics scores as the list .
  2. We perform linear regression of on ; the GDC gives Pearson's correlation coefficient:

b) 3. From the same linear regression, the GDC gives the gradient and the y-intercept:

c) 4. We substitute into the line, using the unrounded values of the coefficients: 5. As lies within the range of the data (), the estimate is an interpolation. The estimated Physics score is about marks.

Answer: a) ; b) ; c) marks

Exercise 8 BasicIB · P1 TZ1 May 2012

The number of calories a person burns during a walk depends on the time they spend walking. The table below shows the number of calories, , burned by a person in relation to the time they spend walking, , in minutes.

Time spent walking () (minutes) 10 15 20 25 30
Calories () 90 125 200 300 375

a) Use your GDC to write down the equation of the regression line of on in the form .

b) Use your equation to estimate the number of calories a person will burn during a walk of minutes.

c) State whether your answer to part b) is reliable. Give a reason for your answer.

Show answer

Answer: a) ; b) calories; c) reliable (very strong correlation and is within the range of data)

Show working and answer

a) Using the GDC, linear regression of on with the five pairs of data: and .

b) We substitute :

c) The estimate is reliable: the correlation coefficient is very high () and minutes is within the range of the data ( to min), so it is an interpolation.

Answer: a) ; b) calories; c) reliable (very strong correlation and is within the range of data)

Exercise 9 BasicIB · P1 TZ0 November 2007

Tania wants to see whether there is any correlation between a person's age and the number of objects on a tray that they can remember after looking at them for a period of time.

She obtains the following table of results.

| Age ( years) | 15 | 21 | 36 | 40 | 44 | 55 | |---|---|---|---|---|---|---|---| | Number of objects remembered () | 17 | 20 | 15 | 16 | 17 | 12 |

a) Use your GDC to find the equation of the regression line of on .

b) Use your equation to estimate the number of objects remembered by a person aged years.

c) Use your GDC to find the correlation coefficient .

d) Comment on the value of .

Show answer

Answer: a) ; b) objects; c) ; d) moderately strong negative correlation

Show working and answer

a) 1. Using the GDC, linear regression of (objects) on (age):

b) 2. We substitute (unrounded values): 3. We estimate about objects (age is within the range –).

c) 4. The GDC gives the correlation coefficient: .

d) 5. The negative sign indicates that as age increases, the number of objects remembered tends to decrease. As is greater than but not very close to , the linear correlation is moderately strong and negative.

Answer: a) ; b) objects; c) ; d) moderately strong negative correlation

Exercise 10 BasicIB · P1 TZ0 May 2002

Eight students in Mr O'Neil's physical education class did press-ups and sit-ups. Their results are shown in the table below.

Students 1 2 3 4 5 6 7 8
Number of press-ups () 24 18 32 51 35 42 45 25
Number of sit-ups () 32 28 38 40 30 52 48 52

The following graph shows the results of the first seven students.

Scatter diagram of the number of press-ups (horizontal axis from 0 to 68) and the number of sit-ups (vertical axis from 0 to 65) of seven students: (24, 32), (18, 28), (32, 38), (51, 40), (35, 30), (42, 52) and (45, 48)

a) Plot the results of the eighth student on the graph.

b) If and , draw a line of best fit on the graph.

c) A student can do press-ups. How many sit-ups can the student be expected to do?

Show answer

Answer: a) point ; b) line through ; c) sit-ups

Show working and answer

a) 1. The eighth student did press-ups and sit-ups (from the table). We plot the point on the diagram.

b) 2. The line of best fit passes through the mean point , which we plot. We draw a line through it that leaves approximately the same number of points above and below it. The data show a gentle upward trend, so the gradient is positive (approximately ).

Scatter diagram of the number of press-ups and sit-ups with the seven points from the statement, the point of the eighth student (25, 52) and the midpoint (34, 40) marked with squares, the line of best fit from (0, 27) to (65, 52) and a dashed vertical line at x = 60

c) 3. From the line we read the -value for : about sit-ups.

Answer: a) point ; b) line through ; c) sit-ups

Exercise 11 BasicIB · P1 TZ0 November 2000

The following figure is a graph of the marks obtained by a group of students in a French examination and in a German examination. The mean mark in the French examination is and the mean mark in the German examination is .

Scatter diagram of the French marks (horizontal axis from 0 to 43) and German marks (vertical axis from 0 to 45) of fifteen students, marked with crosses, showing an increasing trend

a) Describe the relationship between the marks obtained in the two examinations.

b) On the graph, mark the point M which represents the mean of the distribution.

c) Draw a suitable line of best fit.

d) Idris obtained a mark of in the French examination. Use your graph to estimate Idris's mark in the German examination.

Show answer

Answer: a) strong positive correlation; b), c) M and line of best fit through M; d)

Show working and answer

a) 1. As the French mark increases, the German mark also increases, and the points cluster around an upward line. The correlation is strong and positive.

b) 2. The mean point is (the means of the French and German marks). We mark it on the graph.

c) 3. We draw an increasing line through that leaves approximately the same number of points above and below it.

Scatter diagram of the French marks (horizontal) and German marks (vertical) with fifteen crosses, the mean point M with coordinates 29 and 31 and an increasing line of gradient 0.8 passing through M, with auxiliary lines from the point on the line with abscissa 32 to the two axes

d) 4. From on the French axis we move up to the line and read off the German axis: about marks.

Answer: a) strong positive correlation; b), c) M and line of best fit through M; d)

Exercise 12 MediumIB · P1 TZ0 November 2019

Galois Airways operates flights from Hong Kong International Airport to various destinations. The following table shows the distance, kilometres, between Hong Kong and each destination, together with the corresponding flight price, , in Hong Kong dollars (HKD).

Destination Bali, Indonesia Sydney, Australia Bengaluru, India Singapore Auckland, New Zealand Bangkok, Thailand
Distance (km) 3,400 7,400 4,000 2,600 9,200 1,700
Flight price (HKD) 1,550 3,600 2,800 1,300 4,000 1,400

For these data, Pearson's product-moment correlation coefficient is equal to , rounded to three significant figures.

a) Use the graphic display calculator (GDC) to find the equation of the regression line of on .

The distance between Hong Kong and Tokyo is km.

b) Use your regression equation to estimate the price of a Galois Airways flight from Hong Kong to Tokyo.

c) Explain why it is valid to use the regression equation to estimate the price of the flight between Hong Kong and Tokyo.

Show answer

Answer: a) ; b) HKD; c) km lies within the range of the data and the correlation is strong ()

Show working and answer

a)

  1. We enter the distances as the list of the independent variable and the prices as the list of the dependent variable in the graphic display calculator (GDC).
  2. We perform linear regression of on (least squares fit). The GDC gives and , that is,

b) 3. We substitute km (using the unrounded coefficients): 4. The estimated price is about HKD (3 significant figures).

c) 5. The estimate is valid for two reasons:

  • km lies within the range of distances used to calculate the line (), so this is an interpolation.
  • The correlation is linear, positive and strong (, close to ), so the line describes the relationship between distance and price well.

Answer: a) ; b) HKD; c) km lies within the range of the data and the correlation is strong ()

Exercise 13 MediumIB · P1 TZ1 May 2018

A scientist measures the concentration of dissolved oxygen, in milligrams per litre (), in a river. He takes 10 readings at different temperatures, measured in degrees Celsius (). The results are shown in the table.

Temperature, °C () 20 24 25 28 29 32 27 25 23 21
Dissolved oxygen, mg l () 10.9 9.7 9.2 7.6 7.3 6.4 7.9 8.4 9.4 9.9

It is believed that the concentration of dissolved oxygen in the river varies linearly with temperature.

a) For these data, find

(i) Pearson's product-moment correlation coefficient, ;

(ii) the equation of the regression line of on .

b) Using the equation of the regression line, estimate the concentration of dissolved oxygen in the river when the temperature is C.

Show answer

Answer: a) (i) ; (ii) ; b) mg l

Show working and answer

a)

(i) 1. We enter the temperatures as and the oxygen concentrations as in the graphic display calculator (GDC), and request linear regression together with its correlation coefficient. 2. The GDC gives , that is, . This value is close to : a strong negative linear correlation (the higher the temperature, the less dissolved oxygen).

(ii) 3. From the same calculation, the regression line of on is

b) 4. We substitute into the line, using the unrounded coefficients ( and ): 5. The estimated concentration is mg l. As °C lies outside the range of the data (), this is an extrapolation and should be treated with caution.

Answer: a) (i) ; (ii) ; b) mg l

Exercise 14 MediumIB · P1 TZ2 May 2019

Colorado beetles are a pest that can cause significant damage to potato crops. The amount of oxygen (in millilitres [ml]) consumed per day by one of these beetles increases with temperature, as shown in the following table.

Temperature, °C () 10 15 20 25 30
Oxygen consumed, ml () 90 133 230 306 391

This information has been used to draw a scatter diagram.

Scatter diagram of oxygen consumed (ml) against temperature (°C) with five points: (10, 90), (15, 133), (20, 230), (25, 306) and (30, 391)

a) Find the equation of the regression line of on .

The coordinates of the mean are .

b) On the same scatter diagram, draw accurately the regression line of on .

For estimating the amount of oxygen consumed, this regression line is considered reliable for temperatures such that .

c) Write down the values of and .

Show answer

Answer: a) ; b) line through and ; c) ,

Show working and answer

a)

  1. Using the graphic display calculator (GDC), we perform linear regression of on with the five pairs of data. It gives
  2. Check: the line must pass through the mean point , and indeed .

b) 3. To draw the line we need only two points:

  • The -intercept is : the line passes through .
  • It also passes through the mean .
  1. We join both points with a ruler and extend the line across the diagram. It crosses the horizontal axis at , and at it equals , that is, it reaches close to the last point.

Scatter diagram of oxygen consumed against temperature with the five points and the line y = 15.5x − 80, which cuts the vertical axis at −80, passes through (20, 230) and reaches (30, 385)

c) 5. The line is only reliable for estimating within the range of temperatures with which it was obtained, which runs from to °C. Outside this range we do not know whether the relationship remains linear. 6. Therefore and .

Answer: a) ; b) line through and ; c) ,

Exercise 15 MediumIB · P1 TZ2 May 2016

A supermarket records each day the temperature at midday and the number of cold drinks sold that day. The following table shows the data the supermarket has collected over the last 6 days. These data are also shown on a scatter diagram.

Temperature at midday in °C () 7 12 14 15 16 20
Number of cold drinks sold () 280 350 380 420 400 450

Scatter diagram of the number of cold drinks sold against midday temperature in degrees Celsius, with six points: (7, 280), (12, 350), (14, 380), (15, 420), (16, 400) and (20, 450); the vertical axis has a break between 0 and 100

a) Write down

(i) the mean temperature, ;

(ii) the mean number of cold drinks sold, .

b) On the same scatter diagram, draw accurately the line of best fit.

c) Use the line of best fit to estimate the number of cold drinks sold on a day when the midday temperature is C.

Show answer

Answer: a) (i) °C; (ii) drinks; b) ; c) drinks

Show working and answer

a)

  1. (i) Mean temperature:

(ii) Mean number of drinks sold:

b) 2. Using the graphic display calculator (GDC), we perform linear regression of on : 3. We draw the line: it passes through and the mean point , and reaches about . It lies very close to the points.

Scatter diagram of the number of cold drinks sold against midday temperature in degrees Celsius, with six points: (7, 280), (12, 350), (14, 380), (15, 420), (16, 400) and (20, 450), with the regression line y = 13.4x + 192, which starts at (0, 192), passes through (14, 380) and reaches (20, 460); the vertical axis has a break between 0 and 100

c) 4. We substitute using the unrounded coefficients ( and ): 5. About cold drinks are estimated.

Answer: a) (i) °C; (ii) drinks; b) ; c) drinks

Exercise 16 MediumIB · P1 TZ2 May 2014

A survey was carried out to analyse the relationship between the number of cleaners, , and the time, , they take to clean a school.

Number of cleaners, Time, (minutes)
1 193
2 172
3 118
5 112
6 87

a) Use your GDC to write down the equation of the regression line of on .

b) Write down the value of Pearson's product-moment correlation coefficient, .

c) Use the equation of your regression line to find how long 4 cleaners take to clean the school.

Show answer

Answer: a) ; b) ; c) minutes

Show working and answer

a)

  1. Using the GDC, we enter as the independent list and as the dependent list, and carry out linear regression of on :

b) 2. From the same regression, Pearson's correlation coefficient is (strong negative correlation: the more cleaners, the less time).

c) 3. We substitute using the unrounded coefficients ( and ): 4. Four cleaners take approximately minutes.

Answer: a) ; b) ; c) minutes

Exercise 17 MediumIB · P1 TZ2 May 2012

Consider the following values of and and the scatter diagram, which represents the information in the table.

1 1 2 3 3 4 4 6 6 7 7 8 9 9
5 6 4 5 5 6 4 2 3 3 4 2 1 2

Scatter diagram of fifteen points with a decreasing trend, with both axes labelled from 0 to 10

a) Write down the value of

(i) ;

(ii) .

b) The mean of the -values is equal to and the mean of the -values is equal to . On the scatter diagram above, draw accurately the line of best fit.

c) Use your line of best fit to estimate the value of when .

Show answer

Answer: a) (i) ; (ii) ; b) ; c)

Show working and answer

a) The unknown values are read from the diagram, which contains the fifteen points of the table.

  1. The points with are and . In the table one is and the other is , so .
  2. In the table, the point appears between and ; in the diagram the only point with in that area is , so .

Check with the given means: the sum of the values is and the sum of the values is .

Answer: (i) ; (ii)

b) The line of best fit must pass through the mean point and leave approximately the same number of points on each side, following the decreasing trend. A good line is : it cuts the vertical axis at , passes through and reaches close to .

Scatter diagram of fifteen points with a decreasing trend and the line of best fit y = −0.61x + 7.04, which cuts the vertical axis at 7.04, passes through the mean point (5, 4) and ends close to (10, 1)

Answer: decreasing line passing through , for example

c) We read the line at :

Values close to are accepted for a line drawn by hand.

Answer: a) (i) ; (ii) ; b) ; c)

Exercise 18 MediumIB · P1 TZ0 November 2008

The marks obtained by 8 students in their Physics and Chemistry examinations are shown below.

| Physics () | 6 | 8 | 10 | 11 | 10 | 5 | 4 | 12 | |---|---|---|---|---|---|---|---|---|---| | Chemistry () | 8 | 11 | 14 | 13 | 11 | 7 | 5 | 15 |

a) Write down the product-moment correlation coefficient, .

b) Write down, in the form , the equation of the regression line of on for the 8 students.

A ninth student scored in the Physics examination, but then did not sit the Chemistry examination.

c) Use your answer to part (b) to estimate the mark they would have obtained in the Chemistry examination.

d) Justify why it is valid to use this regression line to estimate the mark in the Chemistry examination.

Show answer

Answer: a) ; b) ; c) ; d) lies within the range of the data and is close to

Show working and answer

a) 1. We enter the Physics marks () and Chemistry marks () into the GDC and perform linear regression: .

b) 2. From the same regression, gradient and intercept :

c) 3. We substitute (unrounded values): 4. The estimated mark is about .

d) 5. It is valid because lies within the range of the Physics data (), so this is an interpolation, and because is very close to (strong linear correlation).

Answer: a) ; b) ; c) ; d) lies within the range of the data and is close to

Exercise 19 MediumIB · P1 TZ0 May 2003

A group of 15 students sat a mathematics test. The students then played a computer game. The diagram below shows the scores obtained in the test and in the game.

Scatter diagram of the mathematics score (horizontal axis from 0 to 95) and the game score (vertical axis from 0 to 100) with fifteen points showing a decreasing trend and the point M(56.9; 45.9) marked with a cross

The mean score obtained in the mathematics test was and the mean score obtained in the computer game was . The point M has coordinates .

a) Describe the relationship between the two sets of scores.

A line of best fit passes through the point .

b) Draw this line of best fit on the diagram.

Jane arrived late for the test and scored in mathematics.

c) By means of the graph or otherwise, estimate the score Jane is expected to obtain in the computer game. Give your answer rounded to the nearest integer.

Show answer

Answer: a) negative correlation; b) line through and M; c) points

Show working and answer

a) 1. As the mathematics score increases, the game score tends to decrease, and the points follow a downward trend. There is a negative correlation.

b) 2. A line of best fit passes through the mean point . As the question also gives the point , we draw the line joining the two.

  1. Its gradient is , so it reaches about .

Scatter diagram of the mathematics score and the game score with fifteen points, the line of fit from (0, 69) to (95, 31) passing through M(56.9; 45.9), and dashed lines from the point on the line with abscissa 45 to the two axes, which cut the vertical axis at about 51

c) 4. On the line, with we read off (or calculate): . 5. Rounding to the nearest integer, Jane would obtain about points.

Answer: a) negative correlation; b) line through and M; c) points

Spearman's rank correlation

Exercise 20 MediumIB · IB exam

Find the Spearman rank correlation coefficient for the following data set.

1 2 3 4 5
6 7 8 8 16
Show answer

Answer: (strong positive correlation)

Show working and answer

To find Spearman's coefficient, we first replace the data by their ranks (from smallest to largest).

  1. Ranks of : .
  2. Ranks of : the values have a tie in the two s, which occupy positions and ; they receive the mean rank . Ranks: .
  3. As there are ties, we calculate Pearson's product-moment correlation coefficient of the two sets of ranks (using the GDC):
  4. This is very close to : a strong positive correlation (as increases, increases).

Answer: (strong positive correlation)

Exercise 21 MediumIB · IB exam

A child was asked to rank nine different brands of pizza in order of preference, from the one he liked best to the one he liked least. He gave 1 to the one he liked most and 9 to the one he liked least. These rankings and the prices of the pizzas are given in the table below.

Pizza A B C D E F G H I
Rank of preference 7 3 4 6 1 9 2 5 8
Price, EUR 3.50 7.45 6.50 4.50 8.50 2.65 3.95 4.35 1.45

Find the Spearman rank correlation coefficient for these data and comment on your answer.

Show answer

Answer: (strong positive correlation between the preference rank and the price rank, with rank for the most expensive pizza)

Show working and answer
  1. The preference data are already ranks (1 = the most preferred). We order the prices from highest to lowest, so that rank is the most expensive pizza: ; ; ; ; ; ; ; ; .
  2. Price ranks for A to I: .
  3. Differences between the preference rank and the price rank: , and .
  4. There are no ties, so
  5. Comment: the correlation is strong and positive. As rank is both the most preferred pizza and the most expensive, the pizzas the child likes most tend to be the most expensive ones. (If the prices were ordered from lowest to highest, the sign would be reversed, , with the same strength of relationship.)

Answer: (strong positive correlation between the preference rank and the price rank, with rank for the most expensive pizza)

Exercise 22 MediumIB · IB exam

Brahim belongs to a tennis club. He watched a match played by each of the top eight players and recorded the number of winning aces. The results were:

Ranking of players 1 2 3 4 5 6 7 8
Number of aces 10 7 4 6 5 5 3 1

a) Calculate the Spearman rank correlation coefficient for these data.

b) Interpret the value of and comment on its validity.

Show answer

Answer: a) ; b) strong positive correlation: the better-ranked players win more aces

Show working and answer

a) The rankings of the players are already given (; rank is the best). For the aces we assign ranks from highest to lowest, so that rank is the largest number of aces: ; ; ; (twice, positions and ) ; ; ; . For players to the ranks of the aces are .

There is a tie in the aces, so we calculate Pearson's product-moment correlation coefficient between the two sets of ranks (using the GDC):

b) is close to : a strong positive correlation. As rank corresponds both to the best player and to the player with the most aces, the better the player, the more aces they win. The validity is reasonable but limited: there are only data points (a small sample, one match per player), there is a tie, and a correlation does not prove causation.

Answer: a) ; b) strong positive correlation: the better-ranked players win more aces

Exercise 23 MediumIB · IB exam

Prabu recorded the heights of 12 of his classmates and timed how many seconds it took them to run 100 metres. His data are shown in the table.

Height, cm 151 153 153 154 155 159 162 164 164 168 175 181
Time, s 17.5 18 16.5 16 15.4 13.2 14 13.7 13.2 12.5 12 12

a) Calculate the Spearman rank correlation coefficient for these data.

b) Interpret the value of and comment on its validity.

Show answer

Answer: a) ; b) strong negative correlation: the taller students are the faster ones

Show working and answer

a) We assign ranks from smallest to largest in each variable; repeated values receive the mean rank.

  1. Heights (already in order, with and repeated): .
  2. Times: ; ; ; ; ; (twice, positions and ) ; ; ; ; (twice, positions and ) . Ranks: .
  3. There are ties, so we calculate Pearson's product-moment correlation coefficient between the two sets of ranks (using the GDC):

b) is very close to : a strong negative correlation. Taller students tend to take less time to run the m, that is, they are faster. It is a valid trend in this sample of students, although the sample is small and a correlation does not prove that height is the cause.

Answer: a) ; b) strong negative correlation: the taller students are the faster ones

Exercise 24 MediumIB · IB exam

Eight people of different ages agreed to do a short test to see whether there was any correlation between age and reaction times (expressed in seconds) for the test. The following table shows each of their results.

Age 32 24 85 11 43 66 18 21
Reaction time 0.35 0.20 0.70 0.30 0.25 0.45 0.15 0.20

a) Write down a table of ranks for these data.

b) Calculate the Spearman rank correlation coefficient for these data.

c) Briefly state what this result tells you.

d) If the experiment were repeated, suggest two steps that could be taken to ensure the results obtained were more consistent.

Show answer

Answer: a) ranks of age and of reaction time ; b) ; c) fairly strong positive correlation; d) more participants and repeating the test under identical conditions

Show working and answer

a) Ranks from smallest to largest (repeated values receive the mean rank).

  1. Age: ; ; ; ; ; ; ; .
  2. Reaction time: ; (twice, positions and ) ; ; ; ; ; .
Age 5 4 8 1 6 7 2 3
Reaction time 6 2.5 8 5 4 7 1 2.5

b) With ties, we calculate Pearson's product-moment correlation coefficient of the ranks (using the GDC):

c) is positive and relatively close to : there is a fairly strong positive correlation. In this sample, the older the person, the longer the reaction time (the slower they are).

d) Two possible improvements: (1) increase the number of participants (a sample of is very small); (2) repeat the test several times with each person and use the mean, and/or choose ages spread more evenly with the same number of people in each age band, carrying out the test under identical conditions.

Answer: a) ranks of age and of reaction time ; b) ; c) fairly strong positive correlation; d) more participants and repeating the test under identical conditions

Exercise 25 MediumIB · IB exam

Neeve carries out a test to determine whether there is any correlation between a person's age and the number of hours they spend watching television per week.

Age 8 42 17 81 45 14 39 42 31 40 28 24
Number of hours 20 15 30 2 25 28 19 14 16 21 26 20

a) Write down a table of ranks for these data.

b) Calculate Spearman's rank correlation coefficient.

c) Neeve concludes that age affects how much television is watched per week. Using her calculations, comment on whether Neeve's claim is correct. Suggest what conclusions can be drawn from her calculations.

Show answer

Answer: a) ranks of age and of hours ; b) ; c) the claim is not correct: moderate negative correlation, which does not prove causation

Show working and answer

a) Rank from smallest to largest; repeated values are given the mean rank.

  1. Age: ; ; ; ; ; ; ; ; (appears twice, in positions and ) ; ; .
  2. Hours: ; ; ; ; ; (appears twice, in positions and ) ; ; ; ; ; .
Age 1 9.5 3 12 11 2 7 9.5 6 8 5 4
Number of hours 6.5 3 12 1 9 11 5 2 4 8 10 6.5

b) There are ties, so we calculate Pearson's product-moment correlation coefficient of the ranks (using a graphic display calculator):

c) indicates a moderate negative correlation: in this sample, older people tend to watch less television. However, correlation does not imply causation: we cannot conclude that age causes people to watch less television (other factors may be influential, and the sample is only people). Therefore, Neeve's claim is not justified by these calculations; we can only conclude that there is a moderate negative association between the two variables.

Answer: a) ranks of age and of hours ; b) ; c) the claim is not correct: moderate negative correlation, which does not prove causation

Combined contextual problems

Exercise 26 MediumIB · P2 TZ0 November 2012

The table below shows the scores of golfers in their first two rounds of a local golf tournament.

Round 1 () 71 79 66 73 69 76 68 75 82 67 69 74
Round 2 () 73 81 68 75 70 79 69 77 83 68 72 76

a) (i) Write down the mean score in Round 1.

(ii) Write down the standard deviation of the Round 1 scores.

(iii) Find the number of these golfers who scored more than one standard deviation above the mean in Round 1.

b) Write down the correlation coefficient, .

c) Write down the equation of the regression line of on .

Another golfer scored in Round 1.

d) Calculate an estimate of their score in Round 2.

Another golfer scored in Round 1.

e) Determine whether you can use the equation of the regression line to estimate their score in Round 2. Give a reason for your answer.

Show answer

Answer: a) (i) ; (ii) ; (iii) golfers; b) ; c) ; d) ; e) no, is outside the range of the data

Show working and answer

a) Using the calculator (one-variable statistics) on the Round 1 values:

  1. Mean: .
  2. Standard deviation: (population standard deviation).
  3. We calculate the threshold: . The scores above this value are and , that is, 2 golfers.

Answer: (i) ; (ii) ; (iii) golfers

b) Using the calculator (linear regression of on ): .

Answer:

c) With the same calculations: and .

Answer:

d) We substitute (unrounded coefficients):

Answer:

e) No, it is not appropriate: the score is outside the range of the Round 1 data ( to ), so using the line would be an extrapolation and the estimate would not be reliable.

Answer: a) (i) ; (ii) ; (iii) golfers; b) ; c) ; d) ; e) no, is outside the range of the data

Exercise 27 MediumIB · P2 TZ1 May 2008

The number of bottles of water sold each day at a train station is shown in the table below.

Day 0 1 2 3 4 5 6 7 8 9 10 11 12
Temperature () 21 20.7 20 19 18 17.3 17 17.3 18 19 20 20.7 21
Number of bottles () 150 141 126 125 98 101 93 99 116 121 119 134 141

a) Write down

(i) the mean temperature;

(ii) the standard deviation of the temperatures.

b) Write down the correlation coefficient, , for the variables and .

c) Comment on its value for .

d) The equation of the regression line for on is .

(i) Write down the value of .

(ii) Estimate how many bottles of water will be sold when the temperature is .

e) On a day when the temperature was , Peter calculates that bottles would be sold. Give a reason why his answer might not be reliable.

Show answer

Answer: a) (i) C; (ii) C; b) ; c) strong positive correlation; d) (i) ; (ii) bottles; e) is outside the range of data

Show working and answer

a) Using the calculator (one-variable statistics) on the temperatures:

  1. Mean: (exactly ).
  2. Standard deviation: .

Answer: (i) ; (ii)

b) Using the calculator (linear regression of on ): .

Answer:

c) is positive and close to : strong positive correlation. The higher the temperature, the more bottles are sold.

Answer: strong positive correlation

d)

  1. (i) The calculator gives the line , so .
  2. (ii) For : bottles (with we get ).

Answer: (i) ; (ii) bottles

e) The estimate is not reliable because is far outside the range of temperatures in the data ( to ): it would be an extrapolation.

Answer: a) (i) C; (ii) C; b) ; c) strong positive correlation; d) (i) ; (ii) bottles; e) is outside the range of data

Exercise 28 MediumIB · P2 TZ1 May 2011

The heat output, in heat units, from burning kg of wood changes depending on the percentage moisture content of the wood. The moisture content and the heat output of blocks of the same type of wood, each of mass kg, were measured. The results are shown in the table.

Moisture content % () 8 15 22 30 34 45 50 60 74 82
Heat output () 80 77 74 69 68 61 61 55 50 45

a) Draw a scatter diagram to show the data above. Use a scale of cm to represent on the -axis and a scale of cm to represent heat units on the -axis.

b) Write down

(i) the mean percentage moisture content, ;

(ii) the mean heat output, .

c) Plot the point on your scatter diagram and label this point M.

d) Write down the product-moment correlation coefficient, .

The equation of the regression line of on is .

e) Draw the regression line of on on your scatter diagram.

f) Estimate the heat output in heat units of a kg block of wood that has moisture content.

g) State, with a reason, whether it is appropriate to use the regression line of on to estimate the heat output in part f).

Show answer

Answer: b) (i) ; (ii) ; d) ; f) heat units; g) yes, appropriate (strong correlation and is within the range of data)

Show working and answer

a), c), e) Scatter diagram, mean point and regression line.

  1. We plot the ten points using the scale indicated (2 cm = on ; 2 cm = heat units on ).
  2. We plot and label (part b).
  3. We draw the line : it cuts the vertical axis at and passes through . As a second check, for , .

Scatter diagram of moisture content (%, horizontal axis from 0 to 90) and heat output (vertical axis from 0 to 90) with ten points with a decreasing trend, the regression line y = −0.470x + 83.7 which cuts the vertical axis at 83.7 and passes through the mean point M(42, 64)

Answer: graph with the ten points, and the line

b)

  1. .
  2. heat units.

Answer: (i) ; (ii)

d) Using the calculator (linear regression): . Very strong negative correlation.

Answer:

f) We substitute into the given line:

Answer: heat units

g) Yes, it is appropriate: the correlation is very strong () and is within the range of the data ( to ), so it is a reliable interpolation.

Answer: b) (i) ; (ii) ; d) ; f) heat units; g) yes, appropriate (strong correlation and is within the range of data)

Exercise 29 MediumIB · P2 TZ1 May 2010

In an environmental study of plant diversity around a lake, a biologist collected data on the number of different plant species () growing at different distances () in metres from the lake shore.

Distance () 2 5 8 10 13 17 23 35 40
Plant species () 35 34 30 29 24 19 15 13 8

a) Draw a scatter diagram to show the data. Use a scale of cm to represent metres on the -axis and cm to represent plant species on the -axis.

b) Using your scatter diagram, describe the correlation between the number of different plant species and the distance from the lake shore.

c) Use your graphic display calculator (GDC) to write down

(i) , the mean distance from the lake shore;

(ii) , the mean number of plant species.

d) Plot the point on your scatter diagram. Label this point M.

e) Write down the equation of the regression line on for the above data.

f) Draw the regression line on on your scatter diagram.

g) Estimate the number of plant species growing metres from the lake shore.

Show answer

Answer: a) scatter diagram; b) negative correlation; c) (i) ; (ii) ; d) point ; e) ; f) line through and ; g) species

Show working and answer

a) 1. We plot the nine pairs on axes with cm per m on the horizontal axis and cm per species on the vertical axis.

Scatter diagram of distance (m, horizontal axis from 0 to 45) and number of species (vertical axis from 0 to 40) with nine points showing a decreasing trend, the regression line y = −0.708x + 35 which cuts the vertical axis at 35 and passes through the midpoint M(17, 23)

b) 2. As the distance from the shore increases, the number of species decreases and the points follow a fairly good downward line. The correlation is negative (and strong).

c) 3. We enter the data into the GDC and request one-variable statistics:

(i) m;

(ii) species.

d) 4. We plot on the diagram (figure above). The regression line always passes through this point.

e) 5. Using the GDC, linear regression of on :

f) 6. To draw the line we only need two points: for example and (the line passes through ). Join them and extend the line across the diagram (figure above).

g) 7. We substitute (using the unrounded regression values): 8. As m is within the range of the data (), the estimate is reliable. Rounding to a whole number of species: .

Answer: a) scatter diagram; b) negative correlation; c) (i) ; (ii) ; d) point ; e) ; f) line through and ; g) species

Exercise 30 MediumIB · P2 TZ0 May 2006

Marty asked some of his classmates to rate their stress level on a scale of 1 to 10, where 10 was the highest level. He also asked them to time how many minutes it took them to travel from home to school. A random selection of the results obtained is shown below.

Travel time () 13 24 22 18 36 16 14 20 6 12
Stress level () 3 7 5 4 8 8 4 8 2 6

(i) Write down the value of the (linear) correlation coefficient for this information.

(ii) Explain what a positive value of the correlation coefficient indicates.

(iii) Write down the equation of the regression line of on in the form .

(iv) Use the equation in part (iii) to determine the stress level of a student who travels for three quarters of an hour to get to school.

(v) Can your answer to part (iv) be considered reliable? Explain the reason for your answer.

Show answer

Answer: (i) ; (ii) as the travel time increases, the stress level increases; (iii) ; (iv) level ; (v) not reliable (extrapolation and moderate correlation)

Show working and answer

Using the GDC, we enter the travel times and the stress levels and perform linear regression of on .

(i) The correlation coefficient is .

(ii) A positive correlation coefficient indicates that as one variable increases, the other tends to increase too: the longer the travel time, the higher the stress level.

(iii) The GDC gives gradient and intercept :

(iv) Three quarters of an hour is minutes. We substitute (using unrounded values): As the scale goes up to and the level is a whole number, the estimated stress level is .

(v) It is not reliable, for two reasons:

  1. lies outside the range of the data (): it is an extrapolation.
  2. is not close to : the correlation is only moderate.

Answer: (i) ; (ii) as the travel time increases, the stress level increases; (iii) ; (iv) level ; (v) not reliable (extrapolation and moderate correlation)

Exercise 31 HardIB · P2 TZ1 May 2019

A healthy body temperature is C. Eight people were medically examined and the difference between their body temperature ( C) and C was recorded. Their heart rate (beats per minute) was also recorded.

Temperature difference from C ()
Heart rate () 63 77 70 74 65 78 79 86

a) Draw a scatter diagram for the temperature difference from C () and the heart rate ().

Use a scale of cm for C on the horizontal axis, starting at C.

Use a scale of cm for beats per minute on the vertical axis, starting at beats per minute.

b) Write down, for this data set,

(i) the mean of the temperature difference from C, ;

(ii) the mean heart rate, .

c) Draw and label the point on the scatter diagram.

d) (i) Use your graphic display calculator to find Pearson's product-moment correlation coefficient, .

(ii) Hence, describe the correlation between the temperature difference from C and the heart rate.

e) Use your graphic display calculator to find the equation of the regression line of on .

f) Draw the regression line of on on the scatter diagram.

Show answer

Answer: a) scatter diagram with the 8 points; b) (i) ; (ii) ; c) M on the diagram; d) (i) ; (ii) positive and moderately strong correlation; e) ; f) line drawn through M, from to

Show working and answer

a)

  1. We draw the axes: the horizontal axis (, temperature difference) from to with cm per °C, and the vertical axis (, beats per minute) from upwards with cm per beats.
  2. We plot the eight points: , , , , , , and .

b)

(i) 3. The mean of is the sum of the eight values divided by :

(ii) 4. The mean of :

c) 5. We plot the point on the diagram (almost on the vertical axis, at height ) and label it "M".

d)

(i) 6. Using the graphic display calculator (GDC), in the linear regression calculation, we obtain , that is, .

(ii) 7. As is positive and lies between and , the correlation is positive and moderately strong: the higher the body temperature, the more beats per minute tend to occur.

e) 8. The linear regression of on gives , that is,

f) 9. The line passes through M. We calculate another point to draw it with a ruler: at , ; at , . We join these points, passing through M.

Scatter diagram of heart rate in beats per minute against the difference in temperature from 37 °C, with eight points marked with crosses, the mean point M(0.025; 74) and the regression line y = 22x + 73.5 passing through M

Answer: a) scatter diagram with the 8 points; b) (i) ; (ii) ; c) M on the diagram; d) (i) ; (ii) positive and moderately strong correlation; e) ; f) line drawn through M, from to

Exercise 32 HardIB · P2 TZ0 November 2018

The marks obtained by nine students of Mathematical Studies SL in the project () and in the IB final exam () were collected. These data were used to determine whether the project mark is a good indicator of the exam mark. The results are shown in the following table.

Project mark () 10 18 14 18 10 18 6 18 14
Exam mark () 47 61 61 47 54 68 47 54 47

a) Use the graphic display calculator (GDC) to write down

(i) , the mean of the project marks;

(ii) , the mean of the exam marks;

(iii) , Pearson's product-moment correlation coefficient.

The equation of the regression line of on is .

b) (i) Find the exact values of and for these data.

(ii) Show that the point lies on the regression line of on .

A tenth student, Jerome, obtained a mark of on the project.

c) (i) Use the regression line of on to estimate the mark Jerome will obtain in the exam.

(ii) Justify whether it is valid to use the regression line of on to estimate Jerome's exam mark.

In the IB final exam, Jerome scored .

d) Calculate the percentage error in the estimated exam mark for Jerome.

Show answer

Answer: a) (i) ; (ii) ; (iii) ; b) (i) , ; (ii) ; c) (i) ; (ii) not very valid: is within the range but is low; d)

Show working and answer

a)

(i) 1. We enter the project marks as and the exam marks as in the GDC, and request the two-variable statistics. The mean of the project marks is .

(ii) 2. The mean of the exam marks is .

(iii) 3. Pearson's correlation coefficient is .

b)

(i) 4. The GDC gives the regression line of on with the exact values

(ii) 5. The regression line always passes through the mean point. We check by substituting : 6. As the equality holds, lies on the regression line.

c)

(i) 7. We substitute :

(ii) 8. The value lies within the range of the data (), so this is an interpolation. 9. However, the correlation is low (), that is, only moderate: the line describes the relationship between the two marks poorly. Therefore the estimate is not very reliable and it is not entirely valid to use the line.

d) 10. The percentage error compares the estimated value with the real one:

Answer: a) (i) ; (ii) ; (iii) ; b) (i) , ; (ii) ; c) (i) ; (ii) not very valid: is within the range but is low; d)

Exercise 33 HardIB · P2 TZ1 May 2017

The following table shows the mean body weight, , and the mean brain weight, , of seven mammal species, both measured in kilograms (kg).

Species Mean body weight, (kg) Mean brain weight, (kg)
Cat 3 0.026
Cow 465 0.423
Donkey 187 0.419
Giraffe 529 0.680
Goat 28 0.115
Jaguar 100 0.157
Sheep 56 0.175

a) Find the range of the mean body weights for these seven mammal species.

b) For the data of these seven species,

(i) calculate , Pearson's product-moment correlation coefficient;

(ii) describe the correlation between the mean body weight and the mean brain weight.

c) Write down the equation of the regression line of on , in the form .

The mean body weight of grey wolves is kg.

d) Use your regression line to estimate the mean brain weight of grey wolves.

In fact, the mean brain weight of grey wolves is kg.

e) Find the percentage error in your estimate in part (d).

The mean body weight of mice is kg.

f) State whether it is valid to use the regression line to estimate the mean brain weight of mice. Justify your answer.

Show answer

Answer: a) kg; b) (i) ; (ii) positive and strong; c) ; d) kg; e) ( if starting from ); f) not valid, it lies outside the range of the data

Show working and answer

a)

  1. The range is the difference between the largest and the smallest mean body weights: kg.

b)

(i) 2. We enter the body weights as and the brain weights as in the graphic display calculator (GDC) and perform linear regression. It gives , that is, .

(ii) 3. As is positive and very close to , the correlation is positive and strong: mammals with a greater body weight tend to have a heavier brain.

c) 4. From the same calculation, the GDC gives and :

d) 5. We substitute (using the unrounded values of and ): 6. The estimated brain weight of a grey wolf is kg.

e) 7. The percentage error is calculated from the estimated and the real value: 8. If the estimate already rounded from d), kg, is used, we get . To 3 significant figures, the error is approximately if the estimate is not rounded and if we start from .

f) 9. Not valid. The body weight of a mouse, kg, lies outside the range of the data used to obtain the line (): it would be an extrapolation far beyond the data. Moreover, the line would give kg, a brain heavier than that of the cat ( kg body, kg brain) and greater than the whole body weight of the mouse, which is absurd.

Answer: a) kg; b) (i) ; (ii) positive and strong; c) ; d) kg; e) ( if starting from ); f) not valid, it lies outside the range of the data

Exercise 34 HardIB · P2 TZ2 May 2017

The manager of a folder factory recorded, over six consecutive months, the number of folders produced at the factory that month (in thousands) and the production costs (in thousands of euros).

January February March April May June
Folders produced, (thousands) 10 15 22 30 28 21
Production costs, (thousands of euros) 35 40 60 72 68 55

a) Using these data, draw accurately a scatter diagram. Use the following scale: on the horizontal axis, cm to represent folders, and on the vertical axis, cm to represent euros.

b) Write down, for this data set,

(i) the mean number of folders produced, ;

(ii) the mean production costs, .

c) Label the point on the scatter diagram.

d) Use the graphic display calculator (GDC) to find Pearson's product-moment correlation coefficient, .

e) State a reason that explains why the regression line of on is appropriate for modelling the relationship between these variables.

f) Use the GDC to find the equation of the regression line of on .

g) Draw accurately the regression line of on on the scatter diagram.

Each month, the factory sells all the folders it has produced that month.

Each folder is sold for euros.

h) Use the equation of the regression line to estimate the minimum number of folders the factory must sell in one month in order to exceed the production costs of that month.

Show answer

Answer: b) (i) thousand folders; (ii) thousand euros; d) ; e) very strong linear correlation ( close to ); f) ; h) folders

Show working and answer

a)

  1. We plot the six points : , , , , and . On the horizontal axis, cm represents (thousand folders); on the vertical axis, cm represents (thousand euros).

b) 2. (i) Mean number of folders produced:

(ii) Mean production costs:

c) 3. We mark and label the point on the diagram.

d) 4. Using the GDC, we perform linear regression of on : the correlation coefficient is (exact value ).

e) 5. As is very close to , the positive linear correlation is very strong: the points are almost in a straight line, so a line describes the relationship well.

f) 6. The GDC gives the regression line of on :

g) 7. We draw the line joining, for example, and . It must pass through the mean point .

Scatter diagram of production costs (in thousands of euros) against folders produced (in thousands) with six points and the regression line C = 1.94x + 14.2, running from (0; 14.2) to (30; 72.4) and passing through the mean point M (21, 55)

h) 8. If thousand folders are sold at euros each, the revenue is thousand euros. To exceed the costs: 9. Solving for : 10. That is, more than folders must be sold, so the minimum is folders.

Answer: b) (i) thousand folders; (ii) thousand euros; d) ; e) very strong linear correlation ( close to ); f) ; h) folders

Exercise 35 HardIB · P2 TZ1 May 2016

For an ecological study, Ernesto measured the average concentration () of fine particulate matter, PM10, in the air at different distances () from a power station. His data are represented in the following scatter diagram. The concentration of PM10 is measured in micrograms per cubic metre and the distance is measured in kilometres.

Scatter diagram of ten points with a decreasing trend: y falls from about 128 to about 62 as the distance x increases from 0.6 to 12.2 kilometres

His data are also listed in the following table.

Distance () 0.6 1.2 2.6 5.5 6.2 7.5 8.6 10.5 12.2
PM10 concentration () 128 115 103 89 92 80 72 65 62

a) Use the scatter diagram to find the values of and in the table.

b) Calculate

(i) , the mean distance from the power station;

(ii) , the mean PM10 concentration;

(iii) , Pearson's product-moment correlation coefficient.

c) Write down the equation of the regression line of on .

Ernesto's school is km from the power station. He uses the equation of the regression line to estimate the PM10 concentration in the air at his school.

d) (i) Calculate the value of Ernesto's estimate.

(ii) State whether Ernesto's estimate is reliable. Justify your answer.

Show answer

Answer: a) , ; b) (i) km; (ii) ; (iii) ; c) ; d) (i) ; (ii) not reliable: km lies outside the range of the data

Show working and answer

a)

  1. We read the missing points from the diagram: the fourth point has concentration and is at km, so . The point with km has concentration , so .

b) 2. We enter the ten pairs of data in the graphic display calculator (GDC) and calculate the statistics:

(i) km.

(ii) micrograms per cubic metre.

(iii) With linear regression, (exact value ).

c) 3. The GDC gives the regression line of on :

d) 4. (i) We substitute using the unrounded coefficients ( and ):

(ii) The estimate is not reliable: km lies outside the range of distances in the data ( to km), so it is an extrapolation.

Answer: a) , ; b) (i) km; (ii) ; (iii) ; c) ; d) (i) ; (ii) not reliable: km lies outside the range of the data

Exercise 36 HardIB · P2 TZ0 November 2016

In the month before the IB Diploma examinations, eight male students recorded the number of hours they spent on social media.

The table below shows, for each student, the number of hours they spent on social media () and the number of IB Diploma points they obtained ().

Hours spent on social media () 6 15 26 12 13 40 33 23
IB Diploma points () 43 33 27 36 39 17 20 33

a) On graph paper, draw accurately a scatter diagram to represent these data. Use the following scale: 2 cm to represent 5 hours on the -axis and 2 cm to represent 10 points on the -axis.

b) Use your GDC to find

(i) , the mean number of hours spent on social media;

(ii) , the mean number of IB Diploma points.

c) Plot the point on the scatter diagram and label it with an M.

d) Write down the value of Pearson's product-moment correlation coefficient for these data.

e) Write down the equation of the regression line of on for the data of these eight male students.

f) Draw accurately, on the scatter diagram, the regression line from part e).

Ten female students also recorded the number of hours they spent on social media in the month before the IB Diploma examinations. Each of these students spent between 3 and 30 hours on social media. The equation of the regression line of on for the data of these ten female students is .

An eleventh student states that she spent 34 hours on social media in the month before the IB Diploma examinations.

g) Use the given regression line equation to estimate the number of IB Diploma points obtained by this student.

h) Give a reason why this estimate is not reliable.

Show answer

Answer: b) (i) ; (ii) ; c) ; d) ; e) ; g) points; h) hours is outside the range of the data

Show working and answer

a)

  1. We plot the eight points : , , , , , , and . Scale: cm per hours on the -axis and cm per points on the -axis.

b) 2. Using the graphic display calculator (GDC):

(i) hours.

(ii) points.

c) 3. We plot the point on the diagram and label it with the letter M.

d) 4. Using the linear regression on the GDC, the correlation coefficient is (negative and strong).

e) 5. The GDC gives the regression line of on :

f) 6. We draw the line: it cuts the vertical axis at and passes through ; we draw it from to .

Scatter diagram of eight points with a decreasing trend, the mean point M(21, 31) and the regression line y = −0.761x + 47.0, which cuts the vertical axis at 47.0 and passes through M

g) 7. We use the line for the female students with : 8. An estimate of IB Diploma points is obtained.

h) 9. The line for the female students was obtained from data between and hours; hours is outside this range, so the estimate is an extrapolation and is not reliable.

Answer: b) (i) ; (ii) ; c) ; d) ; e) ; g) points; h) hours is outside the range of the data

Exercise 37 HardIB · P2 TZ2 May 2015

The table below shows the number of bicycles, , produced daily by a factory and its total production cost, , in US dollars (USD).

The table shows the data recorded over seven days.

Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7
Number of bicycles, 12 15 14 17 20 18 21
Production cost, 3,900 4,600 4,100 5,300 6,000 5,400 6,000

a) (i) Write down the Pearson's product-moment correlation coefficient, , for these data.

(ii) Hence, comment on your result.

b) Write down the equation of the regression line of on for these data, in the form .

c) Estimate the total cost, to the nearest US dollar, of producing 13 bicycles on a given day.

All the bicycles produced are sold. The bicycles are sold at 304 USD each.

d) Explain why the factory does not make a profit when it produces 13 bicycles on a given day.

e) (i) Write down an expression for the total selling price of bicycles.

(ii) Write down an expression for the profit the factory makes when it produces bicycles on a given day.

(iii) Find the smallest number of bicycles the factory must produce in one day in order to make a profit.

Show answer

Answer: a) (i) ; (ii) strong positive correlation; b) ; c) USD; d) revenue USD costs USD; e) (i) ; (ii) ; (iii) bicycles

Show working and answer

a)

  1. (i) Using the GDC, we enter the lists and and carry out linear regression: .

(ii) As is very close to , there is a strong positive correlation: the more bicycles produced, the higher the total cost.

b) 2. The GDC gives the regression line of on : (unrounded values: , ).

c) 3. We substitute using the unrounded coefficients: 4. To the nearest dollar, the estimated cost is USD.

d) 5. The revenue from selling bicycles is USD. 6. As , the revenue does not cover the costs and there is no profit.

e) 7. (i) Total selling price of bicycles: .

(ii) Profit = revenue costs:

(iii) There is a profit if , that is, . With the unrounded coefficients we obtain . As is an integer, the minimum is bicycles.

Answer: a) (i) ; (ii) strong positive correlation; b) ; c) USD; d) revenue USD costs USD; e) (i) ; (ii) ; (iii) bicycles

Exercise 38 HardIB · P2 TZ0 November 2015

The table below shows the internal assessment marks and the examination marks of six students.

Internal assessment mark ( points) 4 10 12 16 18 20
Examination mark ( points) 35 45 52 55 65 70

a) On graph paper, draw accurately a scatter diagram to represent the data above. Use the following scale: 1 cm to represent 2 points on the -axis and 1 cm to represent 10 points on the -axis.

b) (i) Write down Pearson's product-moment correlation coefficient, , for these data.

(ii) Describe the correlation between the internal assessment marks and the examination marks.

c) Find

(i) the mean internal assessment mark, ;

(ii) the mean examination mark, .

d) Plot and label the point on the scatter diagram from part a).

e) Write down the equation of the regression line of on .

f) Use the equation obtained in part e) to estimate the examination mark of a student who obtained 8 points in the internal assessment.

g) On the scatter diagram from part a), draw accurately the regression line of on .

A new student obtains 30 points in the internal assessment and uses the data above to estimate that they will obtain 89 points in the examination.

h) State whether or not this estimate is reliable and give a reason to justify your answer.

Show answer

Answer: b) (i) ; (ii) strong positive correlation; c) (i) ; (ii) ; e) ; f) points; h) not reliable: is outside the range of the data

Show working and answer

a)

  1. We plot the six points : , , , , and . Scale: cm per points on the -axis and cm per points on the -axis.

b) 2. (i) Using the GDC, linear regression: .

(ii) As is close to , the correlation is strong and positive: the higher the internal assessment mark, the higher the examination mark.

c) 3. (i) .

(ii) .

d) 4. We plot and label the point .

e) 5. The GDC gives the regression line of on :

f) 6. We substitute using the unrounded coefficients ( and ): 7. An examination mark of approximately points is estimated.

g) 8. We draw the line: it cuts the vertical axis at and passes through ; we draw it from to .

Scatter diagram of six points with an increasing trend, the mean point M(13.3, 53.6) and the regression line y = 2.14x + 25.2, which cuts the vertical axis at 25.2 and passes through M

h) 9. No, it is not reliable. The value is outside the range of the data ( to ), so it is an extrapolation. Moreover, the maximum internal assessment mark is , so points is not a possible mark.

Answer: b) (i) ; (ii) strong positive correlation; c) (i) ; (ii) ; e) ; f) points; h) not reliable: is outside the range of the data

Exercise 39 HardIB · P2 TZ1 May 2014

As part of his IB Biology fieldwork, Barry was asked to measure the circumference of trees, in centimetres, growing at different distances, in metres, from the bank of a river. His results are summarised in the table below.

Distance, (metres) 5 12 17 21 24 30 34 44 47
Circumference, (centimetres) 82 76 70 68 67 60 62 50 50

a) State whether the distance from the river bank is a continuous or a discrete variable.

b) On square grid paper, draw a scatter diagram to show Barry's results. Use a scale of 1 cm to represent 5 m on the -axis and 1 cm to represent 10 cm on the -axis.

c) Write down

(i) the mean distance, , of the trees from the river bank;

(ii) the mean circumference, , of the trees.

d) Draw and label the point on your graph.

e) Write down

(i) Pearson's product-moment correlation coefficient, , for Barry's results;

(ii) the equation of the regression line of on for Barry's results.

f) Draw the regression line of on on your graph.

g) Use the equation of the regression line of on to estimate the circumference of a tree located 40 m from the river bank.

Show answer

Answer: a) continuous variable; c) (i) m; (ii) cm; e) (i) ; (ii) ; g) cm

Show working and answer

a) The distance from the bank is measured and can take any value in an interval (for example m), not only isolated values. It is a continuous variable.

Answer: continuous variable

b), d) and f) Scatter diagram, mean point and regression line.

  1. We plot the nine points of the table using the scale given (1 cm = 5 m on ; 1 cm = 10 cm on ).
  2. We plot and label the point calculated in part c).
  3. The regression line from part e) cuts the vertical axis at and passes through (the regression line always passes through the mean point).

Scatter diagram of circumference against distance with nine points with a decreasing trend, the mean point M(26, 65) circled and the regression line y = −0.756x + 84.7

Answer: graph with the nine points, and the line passing through with y-intercept

c)

  1. Mean distance: m.
  2. Mean circumference: cm.

Answer: (i) m; (ii) cm

e) Using the calculator, in the two-variable statistics menu, enter the data and request linear regression :

  1. Correlation coefficient: . It is a very strong negative correlation.
  2. Regression line: , , that is

Answer: (i) ; (ii)

g) We substitute into the line (with the unrounded coefficients):

The value is within the range of the data ( to ), so the estimate is reasonable.

Answer: a) continuous variable; c) (i) m; (ii) cm; e) (i) ; (ii) ; g) cm

Exercise 40 HardIB · P2 TZ0 November 2014

A biologist studies the relationship between the number of chirps of the Snowy Tree cricket and the air temperature. He records the chirp rate, , of a cricket and the corresponding air temperature, , in degrees Celsius. The table below shows the recorded values.

Chirps per minute, 20 40 60 80 100 120
Temperature, () 8.0 12.8 15.0 18.2 20.0 21.1

a) Draw the scatter diagram for the data above. Use a scale of 2 cm for 20 chirps on the horizontal axis and 2 cm for on the vertical axis.

b) Use your GDC to write down Pearson's product-moment correlation coefficient, , between and .

c) Interpret the relationship between and using your value of .

d) Use your GDC to write down the equation of the regression line of on . Give the equation in the form .

e) Calculate the air temperature when the chirp frequency of the cricket is .

f) Given that , draw the regression line of on on your scatter diagram.

A park ranger uses his own formula to estimate the air temperature. He counts the number of chirps in 15 seconds, , multiplies this number by and then adds .

g) Write down the formula the park ranger uses to estimate the temperature, .

Give the equation in the form .

A cricket makes 20 chirps in 15 seconds.

h) For this chirp frequency

(i) calculate an estimate of the temperature, , using the park ranger's formula;

(ii) determine the actual temperature recorded by the biologist, using the table above;

(iii) calculate the percentage error in the park ranger's estimate of the temperature, compared with the actual temperature recorded by the biologist.

Show answer

Answer: a) and f) graph and line; b) ; c) strong positive correlation; d) ; e) ; g) ; h) (i) ; (ii) ; (iii)

Show working and answer

a) and f) Scatter diagram and regression line.

  1. We plot the six points of the table using the required scale (2 cm = 20 chirps horizontally; 2 cm = vertically).
  2. As , the regression line passes through the mean point , and cuts the vertical axis at (see part d). We draw the line joining both points.

Scatter diagram of T against x with six increasing points, the point M(70; 15.9) and the regression line T = 0.129x + 6.82, which cuts the vertical axis at 6.82 and reaches T ≈ 22.3 at x = 120

Answer: graph with the six points and the line passing through with y-intercept

b) Using the calculator (linear regression with and ): .

Answer:

c) The value is positive and very close to : there is a strong positive correlation. The more chirps per minute, the higher the air temperature.

Answer: strong positive correlation

d) Using the calculator, linear regression of on : and .

Answer:

e) We substitute :

Answer:

g) The park ranger multiplies by and adds :

where is the number of chirps in seconds.

Answer:

h)

  1. (i) With : .
  2. (ii) chirps in s is chirps per minute. In the table, for the temperature is .
  3. (iii) Percentage error:

Answer: a) and f) graph and line; b) ; c) strong positive correlation; d) ; e) ; g) ; h) (i) ; (ii) ; (iii)

Exercise 41 HardIB · P2 TZ2 May 2013

Francesca is the cook at a restaurant. Francesca roasts eight chickens and records the mass of each one and the time it takes to roast. The table below shows the mass (, in kg) of each chicken together with the time (, in minutes) it took to roast.

Mass (kg) 1.5 1.6 1.8 1.9 2.0 2.1 2.1 2.3
Time (minutes) to roast 62 75 82 83 86 87 91 98

a) Draw accurately a scatter diagram showing the relationship between the mass of the chicken and the time it takes to roast. Use cm to represent kg on the horizontal axis, and cm to represent minutes on the vertical axis.

b) Write down, for this set of data

(i) the mean mass, ;

(ii) the mean time taken for a chicken to roast, .

c) Label the point on the scatter diagram.

d) On the scatter diagram, draw accurately the line of best fit.

e) Using your line of best fit, estimate how long, in minutes, it would take to roast a chicken of kg.

f) Write down the Pearson's product-moment correlation coefficient, .

g) Using your value of , comment on the correlation.

An additional chicken of kg is roasted and its roasting time is recorded. If the mass of this chicken and the time it took to roast are included in the data, the correlation is weak.

h) (i) Explain how the time this chicken takes to roast differs from the times of the other eight chickens.

(ii) Explain how a new line of best fit would differ from the line you drew in part d).

Show answer

Answer: b) (i) kg; (ii) min; d) ; e) min; f) ; g) strong positive correlation; h) the new time is far from the others and changes the gradient of the line

Show working and answer

a), c), d) Scatter diagram, mean point and line of best fit.

  1. We plot the eight points using the scale given (2 cm = kg horizontally; 1 cm = min vertically).
  2. We plot and label (part b).
  3. The line of best fit must pass through and leave the points spread evenly on both sides. The regression line is (it cuts the vertical axis at ); we draw this line, which passes through .

Scatter diagram of time t against mass m in kg with eight increasing points, the point M(1.91; 83) and the line of best fit t = 38.5m + 9.32; dashed guides show that for m = 1.7 the line gives t ≈ 74.8

Answer: graph with the eight points, and the line

b)

  1. kg.
  2. min.

Answer: (i) kg; (ii) min

e) We read the line (or substitute) for :

(For a line drawn by hand, values close to this are accepted.)

Answer: min

f) Using the calculator (linear regression): .

Answer:

g) is positive and close to : strong positive correlation. The heavier chickens take longer to roast.

Answer: strong positive correlation

h)

  1. (i) As adding this chicken makes the correlation weak, its point lies far from the cloud. Its roasting time must differ greatly (much above or much below) from that of the other chickens of similar mass, which took between and min.
  2. (ii) This outlying point pulls the line: the new line will have a different gradient (smaller or larger) from that in part d) and a different y-intercept.

Answer: b) (i) kg; (ii) min; d) ; e) min; f) ; g) strong positive correlation; h) the new time is far from the others and changes the gradient of the line

Exercise 42 HardIB · P2 TZ0 November 2013

The table below shows the distance, in km, between eight regional train stations and the terminal station (located in the city centre). It also shows the price, in $, of a return ticket from each regional station to the terminal station.

Distance in km () 3 15 23 42 56 62 74 93
Price in $ () 5 24 43 56 68 74 86 100

a) Using these data, draw accurately a scatter diagram. Use the following scale: cm to represent km along the -axis, and cm to represent $10 on the -axis.

b) Use your GDC to find:

(i) , the mean distance;

(ii) , the mean price.

c) Plot and label the point on the scatter diagram.

d) Use your GDC to find:

(i) the Pearson's product-moment correlation coefficient, ;

(ii) the equation of the regression line of on .

e) Draw accurately the regression line of on on the scatter diagram.

There is a ninth regional station located km from the terminal station in the city centre.

f) Use the equation of the regression line to estimate the price of a return ticket from this regional station to the terminal station in the city centre. Give your answer rounded to the nearest whole $.

g) Give a reason why it is valid to use the regression line to estimate the price of this return ticket.

The actual price of this return ticket is $80.

h) Using your answer to part f), calculate the percentage error in the estimated ticket price.

Show answer

Answer: b) (i) km; (ii) $; d) (i) ; (ii) ; f) $87; g) is within the range of data and the correlation is strong; h)

Show working and answer

a), c), e) Scatter diagram, mean point and regression line.

  1. We plot the eight points using the given scale (1 cm = km; 1 cm = $10).
  2. We plot and label .
  3. We draw the regression line : it passes through and cuts the vertical axis at .

Scatter diagram of price in dollars against distance in km with eight increasing points, the point M(46, 57) and the regression line y = 1.01x + 10.3, which cuts the vertical axis at 10.3

Answer: graph with the eight points, and the regression line passing through with y-intercept

b) Using the calculator (one-variable statistics) or by hand:

  1. km.
  2. $.

Answer: (i) km; (ii) $

d) Using the calculator (linear regression of on ):

  1. .
  2. (with and ).

Answer: (i) ; (ii)

f) We substitute into the line, without rounding the coefficients:

Answer: $87

g) km is within the range of the data ( to km) and the correlation is very strong (, close to ), so the estimate is reliable (interpolation).

Answer: is within the range of the data and the correlation is strong

h) With the estimated value from part f) () and the actual value ():

Answer: b) (i) km; (ii) $; d) (i) ; (ii) ; f) $87; g) is within the range of data and the correlation is strong; h)

Exercise 43 HardIB · P2 TZ0 November 2009

In a mountainous region there appears to be a relationship between the number of trees growing in the region and the depth of the snow cover in winter. Ten areas of this region are chosen, and in each area the number of trees is counted and the depth of the snow cover is measured.

The results are shown in the following table.

Number of trees () 45 75 66 27 44 28 60 35 73 47
Depth of snow cover, in cm () 30 50 40 25 30 5 35 20 45 25

a) Use your GDC to find

(i) the mean number of trees;

(ii) the standard deviation of the number of trees;

(iii) the mean depth of the snow cover;

(iv) the standard deviation of the depth of the snow cover.

b) Write down the value of the product-moment correlation coefficient, .

c) Write down the equation of the regression line of on .

d) If the number of trees in one of the areas is equal to , estimate the depth of the snow cover in that area.

e) (i) Use the equation of the regression line to estimate the depth of the snow cover in an area where there are trees.

(ii) Decide whether the answer given in part (e)(i) is a valid estimate of the depth of the snow cover in that area. Give a reasoned answer.

Show answer

Answer: a) (i) ; (ii) ; (iii) ; (iv) ; b) ; c) ; d) cm; e) (i) cm; (ii) not valid (extrapolation)

Show working and answer

a) 1. We enter the two lists into the GDC and obtain the one-variable statistics for each (population standard deviation ):

(i) mean number of trees: ;

(ii) standard deviation: trees;

(iii) mean depth: cm;

(iv) standard deviation: cm.

b) 2. In linear regression, the GDC gives the product-moment correlation coefficient: .

c) 3. Linear regression of on :

d) 4. We substitute (unrounded values):

e) (i) 5. We substitute :

(ii) 6. trees is outside the range of the data (): this is an extrapolation, and we do not know whether the linear relationship holds there. Therefore, it is not a valid estimate.

Answer: a) (i) ; (ii) ; (iii) ; (iv) ; b) ; c) ; d) cm; e) (i) cm; (ii) not valid (extrapolation)

Exercise 44 HardIB · P2 TZ0 November 2006

In an experiment, a vertical spring was fixed at its upper end. Different weights were hung from its lower end to stretch it. The length of the spring was then measured.

The following readings were obtained.

Weight (kg) 0 1 2 3 4 5 6 7 8
Length (cm) 23.5 25 26.5 27 28.5 31.5 34.5 36 37.5

a) Plot these pairs of values on a scatter diagram, taking cm to represent kg on the horizontal axis and cm to represent cm on the vertical axis.

b) (i) Write down the mean load ().

(ii) Write down the standard deviation of the load.

(iii) Write down the mean length ().

(iv) Write down the standard deviation of the length.

c) Plot the mean point on the scatter diagram. Label it L.

d) (i) Write down the correlation coefficient, , for these readings.

(ii) Comment on this result.

e) Find the equation of the regression line of on .

f) Draw the regression line on the scatter diagram.

g) (i) Using your diagram or otherwise, estimate the length of the spring when a load of kg is applied.

(ii) Malcolm uses the equation to claim that a weight of kg would result in a length of cm. Comment on his claim.

Show answer

Answer: a), c), f) diagram, point L and line; b) (i) ; (ii) ; (iii) ; (iv) ; d) (i) ; (ii) strong positive correlation; e) ; g) (i) cm; (ii) not reliable (extrapolation)

Show working and answer

a) 1. We plot the nine points with cm per kg on the horizontal axis and cm per cm of length on the vertical axis.

b) 2. Using the one-variable statistics of the GDC:

(i) kg;

(ii) kg;

(iii) cm;

(iv) cm.

c) 3. We plot the point on the diagram.

d) (i) 4. Using linear regression: .

(ii) 5. is very close to : a strong positive correlation; the length of the spring increases almost linearly with the weight.

e) 6. Linear regression of on :

f) 7. We draw the line through two points, for example and ; it also passes through .

Scatter diagram of weight (kg, from 0 to 8) and length (cm, from 22 to 38) with nine almost aligned points, the regression line y = 1.83x + 22.7 drawn from (0; 22.7) to (8; 37.3) and the midpoint L(4; 30) marked with a cross on the line

g) (i) 8. We substitute (unrounded values: ):

(ii) 9. With , the equation gives cm, and not cm, so Malcolm's calculation does not correspond to this equation. Moreover, kg is far outside the range of the data (): this is an extrapolation, and a real spring does not follow a straight line for such large loads. The claim is not reliable.

Answer: a), c), f) diagram, point L and line; b) (i) ; (ii) ; (iii) ; (iv) ; d) (i) ; (ii) strong positive correlation; e) ; g) (i) cm; (ii) not reliable (extrapolation)

Exercise 45 HardIB · P2 TZ1 May 2013

George leaves a cup of hot coffee to cool and measures its temperature every minute. His results are shown in the table below.

Time, minutes 0 1 2 3 4 5 6
Temperature, (C) 94 54 34 24 16.5 15.25

a) Write down the decrease in the temperature of the coffee

(i) during the first minute (between and );

(ii) during the second minute;

(iii) during the third minute.

b) Assuming that the pattern of the answers in part (a) continues, show that .

c) Use the seven results in the table to draw a graph showing how the temperature of the coffee changes during the first six minutes.

Use a scale of cm to represent minute on the horizontal axis and cm to represent C on the vertical axis.

The function that models the change in temperature of the coffee is .

d) (i) Use the values and to form an equation in and .

(ii) Use the values and to form a second equation in and .

e) Solve the equations found in part (d) to find the value of and the value of .

The graph of this function has a horizontal asymptote.

f) Write down the equation of this asymptote.

George decides to model the change in temperature of the coffee with a linear function, using correlation and linear regression.

g) Use the seven results in the table to write down

(i) the correlation coefficient;

(ii) the equation of the regression line of on .

h) Use the equation of the regression line to estimate the temperature of the coffee when .

(i) Find the percentage error in this estimate of the temperature of the coffee when .

Show answer

Answer: a) (i) °C; (ii) °C; (iii) °C; b) ; c) graph; d) (i) ; (ii) ; e) , ; f) ; g) (i) ; (ii) ; h) °C; i)

Show working and answer

a) We subtract consecutive temperatures.

  1. (i) First minute: , so the temperature decreases by .
  2. (ii) Second minute: , so it decreases by .
  3. (iii) Third minute: , so it decreases by .

b) The decreases are halved each minute.

  1. The decrease during the fourth minute (from to ) will be .
  2. Therefore .
  3. Check against the rest of the table: the next decrease would be , and ; then , and . The pattern is consistent with the table data, so .

c) We plot the seven points , , , , , , using the required scale ( cm per minute on the horizontal axis and cm per on the vertical axis) and join them with a smooth curve. The curve falls quickly at first and levels off, approaching about .

Graph of the temperature of the coffee in degrees Celsius against time in minutes: a decreasing curve passing through (0, 94), (1, 54), (2, 34), (3, 24), (4, 19), (5, 16.5) and (6, 15.25), falling quickly at first and levelling off near 15 degrees

d) We substitute each pair into .

  1. (i) With , : , so
  2. (ii) With , : , so

e) We solve the system.

  1. Subtract the second equation from the first: , that is .
  2. Therefore .
  3. From we obtain .

f) As increases, , so . The horizontal asymptote is

g) Using the GDC, we enter as the independent list and as the dependent list (the seven pairs of data, with ) and perform linear regression.

  1. (i) Correlation coefficient: (strong negative correlation).
  2. (ii) Regression line of on :

h) We substitute into the line (using the unrounded values of the gradient and intercept):

i) The actual value at is . The percentage error is

Answer: a) (i) °C; (ii) °C; (iii) °C; b) ; c) graph; d) (i) ; (ii) ; e) , ; f) ; g) (i) ; (ii) ; h) °C; i)

Maths classes in Aldaia and online

Want to work on it together?

Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.

Message us on WhatsApp