Practice free
Unit 3 · Linear equations and functions

Write a linear equation from two points

Grade 8 · AA. Linear equations

How this works

Find the slope from rise and run, then put one point into y = mx + b to find b.

Write equation through (2,5) and (5,14).

Rise
14 − 5 = 9
Run
5 − 2 = 3
Slope = rise ÷ run
9 ÷ 3 = 3
Put (2, 5) into y = 3x + b
5 = 3 × 2 + b
subtract 6 from both sides
b = 5 − 6 = −1
Equation
y = 3x − 1

Answer: y = 3x − 1

Watch out: Stopping at y = 3x and forgetting b. Check with a point: 3 × 2 = 6, not 5, so b = −1 and the line is y = 3x − 1.

More in AA. Linear equations