IB Maths AA HL Topic 3 — Geometry & Trigonometry Paper 1 & 2 ~7 min read HL only

Angle Between Two Vectors & Perpendicular Vectors

Rearrange the scalar product formula and you get the angle between any two vectors: cos θ = (v · w) / (|v| |w|). The cleanest case is perpendicular: v · w = 0 ⟺ they meet at 90°.

📘 What you need to know

The angle formula

Angle between two vectors cos θ  =  v · w|v| |w|

This comes from rearranging v · w = |v||w| cos θ. Compute the three numbers on the right, divide, then take arccos.

Sign of dot product reveals the angle: v·w > 0 → acute (θ < 90°); = 0 → right angle (θ = 90°); < 0 → obtuse (θ > 90°). Quick classifier without arccos.

The perpendicular condition

Perpendicular ⟺ dot product is zero vw  ⟺  v · w = 0  (neither is 0)

The angle between perpendicular vectors is 90°, and cos 90° = 0. So the dot product collapses to zero exactly when the two vectors meet at right angles.

“Perpendicular” in a question = “set the dot product to zero”. It’s the most common move to find an unknown component when two vectors are guaranteed to meet at right angles.

🧭 Recipe — find the angle between two vectors

  1. Compute the scalar product using the component formula.
  2. Compute each magnitude, |v| and |w|.
  3. Plug into cos θ = (v·w) / (|v||w|).
  4. Take arccos to get θ.
  5. Round to 3 s.f. in degrees, or give the exact angle if cos θ is a special value (1/2, √2/2, etc.).

Worked examples

WE 1

Find the angle between two column vectors

Find the angle between a = (1, 2, −2) and b = (3, 0, 4). Give your answer to 3 s.f.

Step 1: Scalar product a · b = (1)(3) + (2)(0) + (−2)(4) = 3 + 0 − 8 = −5 Step 2: Magnitudes |a| = √(1 + 4 + 4) = √9 = 3 |b| = √(9 + 0 + 16) = √25 = 5 Step 3: Apply the formula cos θ = −5 / (3 × 5) = −1/3 θ = arccos(−1/3) ≈ 109.471° θ ≈ 109° (3 s.f.) negative cos → obtuse angle, just as expected
WE 2

Angle with mixed notation

Find the angle between u = 2i + 4j + 4k and v = (−1, 2, 2). Give your answer to 3 s.f.

Step 1: Scalar product (treat both as columns) u · v = (2)(−1) + (4)(2) + (4)(2) = −2 + 8 + 8 = 14 Step 2: Magnitudes |u| = √(4 + 16 + 16) = √36 = 6 |v| = √(1 + 4 + 4) = √9 = 3 Step 3: Apply the formula cos θ = 14 / (6 × 3) = 14/18 = 7/9 θ = arccos(7/9) ≈ 38.942° θ ≈ 38.9° (3 s.f.)
WE 3

Test if two vectors are perpendicular

Determine whether a = (3, 5, −1) and b = (2, −1, 1) are perpendicular.

Compute the scalar product — if it’s zero, they’re perpendicular a · b = (3)(2) + (5)(−1) + (−1)(1) = 6 − 5 − 1 = 0 a · b = 0 → a and b are perpendicular ✓ no need to compute angles or magnitudes — zero dot product seals it
WE 4

Find unknown given perpendicularity

Given that a = (2, k, 3) and b = (4, −1, 2) are perpendicular, find the value of k.

Step 1: Set the scalar product to zero a · b = (2)(4) + (k)(−1) + (3)(2) = 0 Step 2: Simplify and solve 8 − k + 6 = 0 14 − k = 0 k = 14 “perpendicular” in the question → set dot product = 0, then solve
WE 5

Find an exact angle

Find the exact angle between a = i + j and b = i + k.

Step 1: Scalar product a · b = (1)(1) + (1)(0) + (0)(1) = 1 Step 2: Magnitudes |a| = √(1 + 1 + 0) = √2; |b| = √(1 + 0 + 1) = √2 Step 3: Apply the formula cos θ = 1 / (√2 × √2) = 1/2 θ = arccos(1/2) θ = 60°  (or π/3) cos θ = 1/2 is an exact value — give the angle exactly, not as a decimal
WE 6

Find an angle in a triangle

The points A, B, and C have coordinates (1, 2, 3), (3, 4, 4), and (2, 1, 5). Find the angle BAC, giving your answer to 3 s.f.

Step 1: Form vectors from A — AB and AC AB = B − A = (2, 2, 1) AC = C − A = (1, −1, 2) Step 2: Scalar product AB · AC = (2)(1) + (2)(−1) + (1)(2) = 2 − 2 + 2 = 2 Step 3: Magnitudes |AB| = √(4 + 4 + 1) = √9 = 3 |AC| = √(1 + 1 + 4) = √6 Step 4: Apply the formula cos(BAC) = 2 / (3√6) BAC = arccos(2/(3√6)) ≈ 74.207° angle BAC ≈ 74.2° (3 s.f.) always form vectors emanating FROM the vertex named in the angle (BAC = vectors from A)

💡 Top tips

⚠ Common mistakes

Next note: The Vector Product. Multiplying two vectors to give another vector (not a scalar) — perpendicular to both inputs and useful for normals, areas, and 3D geometry.

Need help with Vector Angles?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session →