Open Mathhh

Vector methods in triangles and cubes

Vectors · worksheets 91 to 100 · 4 min read

I can

  • find AB · AC in a triangle from the three side lengths
  • write OP = sa + tb for a point P on a line AB
  • find inner products of edges and diagonals of a cube

Key idea

In triangle ABC, BC = AC − AB. Squaring gives BC² = AB² + AC² − 2 AB · AC, so AB · AC = (AB² + AC² − BC²) ÷ 2.

If OA = a, OB = b and P is on AB with AP : PB = m : n, then OP = (n × a + m × b) ÷ (m + n). So s = n/(m + n) and t = m/(m + n), and s + t = 1.

For a cube, put A at the origin with edge length e. Then B = (e, 0, 0), D = (0, e, 0), E = (0, 0, e). Also C = (e, e, 0), F = (e, 0, e), G = (e, e, e), H = (0, e, e). Find each vector as end minus start, then use the dot product.

Worked examples

Example 1: In triangle ABC, AB = 2, AC = 3, BC = 3. Find AB · AC.

Watch it: triangle ABC with AB = 2, AC = 3, BC = 3: AB · AC, step by step:

  1. Square each side length.
  2. AB · AC = (AB² + AC² − BC²) ÷ 2 = (4 + 9 − 9) ÷ 2.
  3. The dot product is 2.
  4. Triangle ABC with its three sides.
  1. AB² = 4, AC² = 9, BC² = 9.
  2. (4 + 9 − 9) ÷ 2 = 2.

AB · AC = 2

Example 2: OA = a, OB = b. P lies on AB with AP : PB = 1 : 2. Write OP = sa + tb.

Watch it: OA = a, OB = b: P on AB with AP : PB = 1 : 2, OP = sa + tb, step by step:

  1. P is 1 part from A and 2 parts from B, out of 3. So P is nearer to A.
  2. Check: the shares 2/3 and 1/3 add to 1.
  3. P is nearer to A, so the share of a is bigger.
  4. So OP = 2/3 a + 1/3 b.
  5. P is a third of the way from A to B.
  1. m = 1 and n = 2, so s = 2/3 and t = 1/3.
  2. Check: 2/3 + 1/3 = 1, and P is nearer to A, so a has the bigger share.

(s, t) = (2/3, 1/3)

Example 3: Cube of edge 3. Find AE · AF.

Watch it: a cube of edge 3: AE · AF, step by step:

  1. Put A at the origin. E is straight up from A. F is straight up from B.
  2. AE · AF = 0 × 3 + 0 × 0 + 3 × 3 = 9.
  3. The dot product is 9.
  4. The cube with the corners A, E and F marked.
  1. A = (0, 0, 0), E = (0, 0, 3), F = (3, 0, 3).
  2. AE · AF = 0 × 3 + 0 × 0 + 3 × 3 = 9.

AE · AF = 9

Try it

In triangle ABC, AB = 3, AC = 4, BC = 5. Find AB · AC.
Show answer0
In triangle ABC, AB = 5, AC = 6, BC = 7. Find AB · AC.
Show answer6
OA = a, OB = b. P lies on AB with AP : PB = 2 : 3. Write OP = sa + tb. Find (s, t).
Show answer(3/5, 2/5)
ABCDEFGH is a cube of edge 5 (ABCD is the base, E is above A, F above B, G above C, H above D). Find GH · GB.
Show answer0
ABCDEFGH is a cube of edge 4 (ABCD is the base, E is above A, F above B, G above C, H above D). Find HG · HB.
Show answer16
ABCDEFGH is a cube of edge 2 (ABCD is the base, E is above A, F above B, G above C, H above D). Find AG · AD.
Show answer4

Common mistakes

  • Using the wrong sign in the formula. It is AB² + AC² − BC², with BC subtracted.
  • Swapping the ratio for OP. The point nearer A has the bigger share of a.
  • Mixing start and end points. GB = B − G, not G − B.

Remember

  • AB · AC = (AB² + AC² − BC²) ÷ 2.
  • s + t = 1 when P is on the line AB.
  • For a cube, use coordinates with A at the origin.

Practise this

Worksheets 91 to 100 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