Pure · Coordinate geometry
1 / 9
Straight lines
The gradient of a line as a constant rate of change, the three forms of a line's equation — y = mx + c, y − y₁ = m(x − x₁), and ax + by + c = 0 — and how to move between them.
Pure · Coordinate geometry
Straight lines
The gradient of a line as a constant rate of change, the three forms of a line's equation — y = mx + c, y − y₁ = m(x − x₁), and ax + by + c = 0 — and how to move between them.
Why it works
A line is straight precisely because its steepness never changes. Pick any two points on it, and , and the gradient comes out the same every time. That single number — change in per unit change in — is the line. Get the order consistent: whichever point's you put first on top, its must go first on the bottom.Once you have a gradient and one point, the line is pinned down. The cleanest way to write it is point–gradient form: This is just the gradient definition rearranged: any other point on the line satisfies , and multiplying up gives the form above. It works from any point on the line — you don't need the -intercept.
Tidy it and you get , where is the -intercept (the value at ). Multiply out and collect everything on one side and you get the general form with integer coefficients — the form exam mark schemes usually want, and the only one that can describe a vertical line (), which has no gradient and so no "".
To read the gradient straight off , rearrange to : the gradient is , not . A horizontal line has gradient ; a vertical line has an undefined gradient (the run is zero, so you'd divide by ).