This topic is in the H2 syllabus.

Key ideas

  • Magnitude: |a| = √(a₁² + a₂² + a₃²). Unit vector: â = a/|a|.
  • Position vectors: AB = OB − OA.
  • Scalar (dot) product: a·b = a₁b₁ + a₂b₂ + a₃b₃ = |a||b| cos θ.
  • a·b = 0 ⇔ a and b are perpendicular.
  • Line: r = a + λd (a point on the line, d a direction vector).
  • Foot of perpendicular from P to a line: find F on the line such that PF · d = 0.

Worked example: angle between vectors

a = (1, 2, 2), b = (2, −1, 2). |a| = 3, |b| = 3, a·b = 2 − 2 + 4 = 4 cos θ = 4 ÷ 9 → θ ≈ 63.6°

Worked example: line through two points

A(1, 0, 2), B(3, 4, 0). AB = (2, 4, −2).
Line: r = (1, 0, 2) + λ(2, 4, −2), or using direction (1, 2, −1).

Common mistakes

  • Using a position vector as a direction vector.
  • Forgetting that the angle between lines is acute (take |cos θ|).

Try these

  1. Find the unit vector in the direction of (3, 0, 4).
  2. Are (2, 1, −1) and (1, −1, 1) perpendicular?
  3. Find the angle between (1, 1, 0) and (0, 1, 1).
Show answers
  1. (3/5, 0, 4/5)
  2. Dot product = 2 − 1 − 1 = 0, so yes
  3. cos θ = 1/2, θ = 60°