Equation of a line through two points, lines parallel and perpendicular to a given line, and the angle of inclination θ where m = tanθ.
1The Grade 10 toolkit, revised
m = (y₂ − y₁)/(x₂ − x₁) (x₂ ≠ x₁; a vertical line has no gradient)
M = ( (x₁ + x₂)/2 ; (y₁ + y₂)/2 )
2Equation of a line
- 1m = (10 − 2)/(3 − (−1)) = 8/4 = 2.Gradient first, always.
- 2y − 2 = 2(x − (−1)).Substitute either point — A is used here.
- 3y − 2 = 2x + 2.
- 4y = 2x + 4.Check with B: 2(3) + 4 = 10 ✓
3Parallel and perpendicular
Perpendicular: m₁ × m₂ = −1
Vertical lines are the exception. A vertical line has no gradient, so the product rule cannot be used for it: a line perpendicular to a vertical line is horizontal (gradient 0), and the other way round. For two non-vertical lines, perpendicular means m₁ × m₂ = −1.
- 1m of the given line = 2.The coefficient of x.
- 2Perpendicular gradient: 2 × m = −1 → m = −1/2.The negative reciprocal — flip it and change the sign.
- 3y − 5 = −1/2(x − 2).
- 4y = −1/2x + 6.
4Angle of inclination
θ is the angle the line makes with the positive x-axis, measured anticlockwise.
- 1tanθ = 2.The gradient is the tangent of the inclination.
- 2θ = tan−1(2) = 63,43°.
- 3θ ≈ 63,4°.Positive gradient ⇒ acute angle. Sensible.
- 1tanθ = −1 gives ref = 45°.Take tan−1 of the positive value.
- 2A negative gradient means θ is obtuse.The line slopes down to the right.
- 3θ = 180° − 45° = 135°.
A calculator gives tan−1(−1) = −45°. That is not an angle of inclination — θ must lie in [0° ; 180°), so add 180° to get 135°.
Practice exercises
Work each one out, then click to reveal the answer.
- 1Determine the gradient of the line through A(−1 ; 2) and B(3 ; 10).
Show answer ▾Hide answer ▴
(10 − 2)/(3 + 1) = 2 - 2Determine the equation of the line through A(−1 ; 2) and B(3 ; 10).
Show answer ▾Hide answer ▴
y = 2x + 4 - 3Determine the length of AB where A(−1 ; 2) and B(3 ; 10).
Show answer ▾Hide answer ▴
√(4² + 8²) = √80 = 4√5 ≈ 8,94 - 4Determine the midpoint of AB where A(−1 ; 2) and B(3 ; 10).
Show answer ▾Hide answer ▴
(1 ; 6) - 5Determine the equation of the line through (2 ; 5) perpendicular to y = 2x + 4.
Show answer ▾Hide answer ▴
m = −1/2 → y = −1/2x + 6 - 6Determine the equation of the line through (0 ; 1) parallel to y = 2x + 4.
Show answer ▾Hide answer ▴
y = 2x + 1 - 7Determine the angle of inclination of y = 2x + 4 (one decimal).
Show answer ▾Hide answer ▴
tanθ = 2 → θ ≈ 63,4° - 8Determine the angle of inclination of a line with gradient −1.
Show answer ▾Hide answer ▴
ref = 45°, obtuse → θ = 135°
Quick Quiz
5 quick questions on what you just read. Take it when you feel ready.
Now practise it
Download Grade 11 past papers and worksheets on this topic.