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:
- Square each side length.
- AB · AC = (AB² + AC² − BC²) ÷ 2 = (4 + 9 − 9) ÷ 2.
- The dot product is 2.
- Triangle ABC with its three sides.
- AB² = 4, AC² = 9, BC² = 9.
- (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:
- P is 1 part from A and 2 parts from B, out of 3. So P is nearer to A.
- Check: the shares 2/3 and 1/3 add to 1.
- P is nearer to A, so the share of a is bigger.
- So OP = 2/3 a + 1/3 b.
- P is a third of the way from A to B.
- m = 1 and n = 2, so s = 2/3 and t = 1/3.
- 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:
- Put A at the origin. E is straight up from A. F is straight up from B.
- AE · AF = 0 × 3 + 0 × 0 + 3 × 3 = 9.
- The dot product is 9.
- The cube with the corners A, E and F marked.
- A = (0, 0, 0), E = (0, 0, 3), F = (3, 0, 3).
- AE · AF = 0 × 3 + 0 × 0 + 3 × 3 = 9.
AE · AF = 9
Try it
Show answer
0Show answer
6Show answer
(3/5, 2/5)Show answer
0Show answer
16Show answer
4Common 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