π
∞
∑
∫
θ
E = mc²
y = mx+b
√
Δ
φ
∇
λ
Home›Lessons›Grade 11
Grade 11 · Analytical Geometry · 11 min read

Analytical Geometry: Lines & Inclination (Grade 11)

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

d = √((x₂ − x₁)² + (y₂ − y₁)²)
m = (y₂ − y₁)/(x₂ − x₁)  (x₂ ≠ x₁; a vertical line has no gradient)
M = ( (x₁ + x₂)/2 ; (y₁ + y₂)/2 )

2Equation of a line

y − y₁ = m(x − x₁)
Worked ExampleFind the equation of the line through A(−1 ; 2) and B(3 ; 10)
xy4OA(−1 ; 2)B(3 ; 10)
  1. 1
    m = (10 − 2)/(3 − (−1)) = 8/4 = 2.
    Gradient first, always.
  2. 2
    y − 2 = 2(x − (−1)).
    Substitute either point — A is used here.
  3. 3
    y − 2 = 2x + 2.
  4. 4
    y = 2x + 4.
    Check with B: 2(3) + 4 = 10 ✓

3Parallel and perpendicular

Parallel: m₁ = m₂
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.

Worked ExampleFind the line through (2 ; 5) perpendicular to y = 2x + 4
xy46Oy = 2x + 4(2 ; 5)
  1. 1
    m of the given line = 2.
    The coefficient of x.
  2. 2
    Perpendicular gradient: 2 × m = −1 → m = −1/2.
    The negative reciprocal — flip it and change the sign.
  3. 3
    y − 5 = −1/2(x − 2).
  4. 4
    y = −1/2x + 6.

4Angle of inclination

m = tanθ   where 0° ≤ θ < 180°

θ is the angle the line makes with the positive x-axis, measured anticlockwise.

Worked ExampleDetermine the angle of inclination of y = 2x + 4
xy−24Oθ
  1. 1
    tanθ = 2.
    The gradient is the tangent of the inclination.
  2. 2
    θ = tan−1(2) = 63,43°.
  3. 3
    θ ≈ 63,4°.
    Positive gradient ⇒ acute angle. Sensible.
Worked ExampleDetermine the angle of inclination of a line with m = −1
xy22Oθ45°m = −1
  1. 1
    tanθ = −1 gives ref = 45°.
    Take tan−1 of the positive value.
  2. 2
    A negative gradient means θ is obtuse.
    The line slopes down to the right.
  3. 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.

  1. 1
    Determine the gradient of the line through A(−1 ; 2) and B(3 ; 10).
    Show answer ▾
    (10 − 2)/(3 + 1) = 2
  2. 2
    Determine the equation of the line through A(−1 ; 2) and B(3 ; 10).
    Show answer ▾
    y = 2x + 4
  3. 3
    Determine the length of AB where A(−1 ; 2) and B(3 ; 10).
    Show answer ▾
    √(4² + 8²) = √80 = 4√5 ≈ 8,94
  4. 4
    Determine the midpoint of AB where A(−1 ; 2) and B(3 ; 10).
    Show answer ▾
    (1 ; 6)
  5. 5
    Determine the equation of the line through (2 ; 5) perpendicular to y = 2x + 4.
    Show answer ▾
    m = −1/2 → y = −1/2x + 6
  6. 6
    Determine the equation of the line through (0 ; 1) parallel to y = 2x + 4.
    Show answer ▾
    y = 2x + 1
  7. 7
    Determine the angle of inclination of y = 2x + 4 (one decimal).
    Show answer ▾
    tanθ = 2 → θ ≈ 63,4°
  8. 8
    Determine the angle of inclination of a line with gradient −1.
    Show 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.

Go to Grade 11 papers →