Write an expressionQuestion 1 · Recall
Loading…
By the end you can find the equation of a straight line from a point and a gradient or from two points, and move between the three forms Cambridge uses.
A straight line can wear three different equations. Same line, different outfit for different occasions:
| Form | Best for | What you read off |
|---|---|---|
| sketching, comparing gradients | gradient , -intercept | |
| writing the equation | passes through with gradient | |
| final answers ("integers, please") | nothing directly: rearrange first |
The middle one is the workhorse. It's just the gradient formula rearranged: .
One kind of line can't wear the outfit: a vertical line. Every point on it has the same -coordinate, so its equation is , and its gradient is undefined. (A horizontal line is , gradient 0.)
Say a line goes through with gradient 3. Which points are on it?
A point is on the line exactly when the gradient from to it is 3. Using rise ÷ run from to :
Multiply both sides by : . (This multiplied-out form also includes the point itself, where the fraction would have been .) That's the whole formula: here , (the known point) and (the gradient).
Test it on a point you can find by hand. From go 1 across and 3 up to . Put it in: and ✓. Now a point that's not on the line, : but . They don't match, so it isn't on the line ✓.
Tidying up, , so : the same line in form.
Worked example: A point and a gradient
Find the equation of the line through with gradient 4.