View as PDF

MATHEMATICS · GRADES 10-12

Linear regression

Difficulty level: Advanced

Mathematics: Grades 10-12

This document was made by AI and there may be mistakes. If a question or answer looks wrong, use the Flag a mistake button to let Brett know so he can fix it.

Overview of the concept

This is how you draw the best straight line through scattered points to make a prediction, like guessing a house price from its size. Real data never sits in a perfect line, it scatters around one, and regression finds the line that fits best through the middle of that scatter. You use it to predict a house price from its size, to guess a test score from hours studied, or to see whether two things are really linked before you bet money on it.

Worked examples

Example 1

Points (0, 1) and (2, 5) lie exactly on a line. Find the regression line.

Solution

Slope = (5 - 1)(2 - 0) = 2

Intercept: at x = 0, y = 1.

Regression line: y = 2x + 1

Example 2

Use y = 2x + 1 to predict y when x = 4.

Solution

Put x = 4 into the line: y = 2 × 4 + 1.

2 × 4 + 1 = 8 + 1 = 9

Predicted y = 9

Practice questions

1

Points (0, 2) and (2, 6) lie exactly on a line. Find the regression line.

2

Points (0, 4) and (1, 6) lie exactly on a line. Find the regression line.

3

Points (0, 5) and (2, 9) lie exactly on a line. Find the regression line.

4

Points (1, 3) and (3, 9) lie exactly on a line. Find the regression line.

5

Use the regression line y = 3x + 2 to predict y when x = 7.

6

Use the regression line y = 2x + 10 to predict y when x = 3.

7

Use y = 2x + 1 to predict y when x = 8.

8

Use the regression line y = 4x to predict y when x = 3.5.

9

Use y = 2x + 3 to predict y when x = 9.

10

Use the regression line y = 5x + 1 to predict y when x = 10.

ANSWER KEY

1. y = 2x + 2

2. y = 2x + 4

3. y = 2x + 5

4. y = 3x

5. 23

6. 16

7. 17

8. 14

9. 21

10. 51