1. The equation of a straight line
A straight line has a gradient m and a y-intercept c. Its equation is y = mx + c.
Given the gradient and one point on the line, use y - y₁ = m(x - x₁). Given two points, find the gradient first.
A line written as ax + by = k must be rearranged to y = mx + c before its gradient is read off.
y = mx + c
m = (y₂ - y₁)/(x₂ - x₁)
y - y₁ = m(x - x₁)
Examiner insight
Worked example 13 marks
Find the equation of the line through the points P(-1, 7) and Q(3, -5). Give your answer in the form y = mx + c.
- 1
gradient m = (-5 - 7)/(3 - (-1)) = (-12)/4 = -3 [1]
- 2
y - 7 = -3(x + 1) [1]
- 3
y = -3x + 4 [1]