Open Mathhh

Angles, lengths and perpendicular vectors

Vectors · worksheets 71 to 80 · 3 min read

I can

  • find the angle between two vectors
  • find the length of a + b when I know lengths and a · b
  • find t so that a + tb is perpendicular to a

Key idea

The angle θ between a and b satisfies cos θ = (a · b) ÷ (length of a × length of b). Useful values: cos 60° = 1/2, cos 45° = 1/√2, cos 90° = 0, cos 120° = −1/2.

For lengths, use (length of a + b)² = (a + b) · (a + b) = (length of a)² + 2 a · b + (length of b)². For a − b, the middle term is −2 a · b. For a + 3b the middle term is 6 a · b and the last term is 9 times (length of b)².

Two vectors are perpendicular when their inner product is 0. To find t with (a + tb) perpendicular to a, write a · a + t (a · b) = 0, so t = −(a · a) ÷ (a · b).

Worked examples

Example 1: Lengths 2 and 3, a · b = 3. Find the angle between a and b.

Watch it: lengths 2 and 3, a · b = 3: the angle between a and b, step by step:

  1. The dot product gives the cosine of the angle.
  2. cos θ = 3 ÷ (2 × 3) = 1/2.
  3. From the special triangle, cos 60° = 1/2.
  4. The angle is 60 degrees.
  5. a has length 2 and b has length 3. The angle between them is 60°.
  1. cos θ = 3 ÷ (2 × 3) = 1/2.
  2. The angle with cosine 1/2 is 60°.

The angle is 60 degrees.

Example 2: Lengths 2 and 3, a · b = 1. Find the length of a + b.

Watch it: lengths 2 and 3, a · b = 1: the length of a + b, step by step:

  1. Square the length of a + b and expand.
  2. |a|² = 4, 2 a · b = 2 and |b|² = 9. They add to 15.
  3. The length is the square root of 15.
  4. a, b and the diagonal a + b of the parallelogram.
  1. (length)² = 4 + 2 × 1 + 9 = 15.
  2. The length is the square root of 15.

The length of a + b is √15.

Example 3: a = (2, 1), b = (1, 3). Find t so that a + tb is perpendicular to a.

Watch it: a = (2, 1), b = (1, 3): t so that a + tb ⟂ a, step by step:

  1. a · a = 2 × 2 + 1 × 1 = 5.
  2. a · b = 2 × 1 + 1 × 3 = 5.
  3. For a perpendicular pair, the dot product is 0.
  4. Put in a · a = 5 and a · b = 5.
  5. t = −5 ÷ 5 = −1.
  6. Check: a + tb = (1, −2), and (1, −2) · (2, 1) = 2 − 2 = 0.
  7. a = (2, 1) and a + tb = (1, −2) meet at a right angle.
  1. a · a = 4 + 1 = 5.
  2. a · b = 2 + 3 = 5.
  3. t = −5 ÷ 5 = −1.
  4. Check: a + tb = (1, −2), and (1, −2) · (2, 1) = 0.

t = −1

Try it

a = (3, 0), b = (0, −5). Find the angle between a and b, in degrees.
Show answer90
The lengths of a and b are 1 and 2, and a · b = 1. Find the angle between a and b, in degrees.
Show answer60
a = (2, 0), b = (3, 3). Find the angle between a and b, in degrees.
Show answer45
The lengths of a and b are 2 and 2, and a · b = −2. Find the angle between a and b, in degrees.
Show answer120
The lengths of a and b are 3 and 4, and a · b = 0. Find the length of a + b.
Show answer5
a = (3, 1), b = (1, 2). Find t such that a + tb is perpendicular to a.
Show answer-2

Common mistakes

  • Forgetting to divide by both lengths when finding cos θ.
  • Writing (length of a + b)² as a² + b². The middle term 2 a · b is needed.
  • Wrong sign for t. The formula has a minus sign: t = −(a · a) ÷ (a · b).

Remember

  • cos θ = (a · b) ÷ (product of the lengths).
  • Perpendicular means inner product 0.
  • Square both sides to get the length of a sum.

Practise this

Worksheets 71 to 80 of Vectors practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.

Open Mathhh

More Vectors notes

Keep learning

All Vectors notes · All study notes