11.2 The Cosine Rule
OCR A-level Maths Year 1 (AS) · H240 · Chapter 11: Triangle Geometry
What is in the full lesson (14 activities)
Every item below opens free in the course.
- Video: The Cosine Rule Introduction
- Video: The Cosine Rule: example 1
- Video: The Cosine Rule: example 2
- Video: The Cosine Rule: example 3
- Video: The Cosine Rule: example 4
- Video: The Cosine Rule: example 5
- Video: The Cosine Rule: example 6
- Video: The Cosine Rule: example 7
- Notes: Lesson notes: The Cosine Rule
- Interactive lesson: Interactive lesson: Cosine Rule Triangle Lab
- Interactive lesson: Interactive practice: The Cosine Rule Practice
- Practice questions: Practice questions (7 questions, 13 marks)
- Worksheet: Worksheet: The Cosine Rule
- Answers: Answers and mark scheme of the Worksheet: The Cosine Rule
A free OCR A-level Maths Year 1 lesson for OCR A Level Mathematics A (H240) from OBA School: finding a side from two sides and the included angle, and an angle from three sides (OCR H240: 1.05b). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Use the cosine rule to find the third side when two sides and the included angle are known
- Rearrange the cosine rule to find any angle when three sides are known
- Decide whether a problem needs the sine rule or the cosine rule, and combine them
- Solve problems with bearings, unknown lengths and exact values, and prove the cosine rule
Key words
- Included angle: The angle between two given sides.
- Cosine rule: a² = b² + c² − 2bc cos A in any triangle.
- Largest angle: The angle opposite the longest side. If it is obtuse, its cosine is negative.
- Pythagoras: The special case A = 90°, where cos A = 0.
Finding a side
If you know two sides and the angle between them, there is no opposite pair, so the sine rule cannot start. Use the cosine rule instead.
Cosine rule: a² = b² + c² − 2bc cos A (the side on the left is opposite the angle on the right)
Worked example: exact values
Two sides of a triangle are 3 cm and 5 cm, and the angle between them is 120°. Find the exact length of the third side.
x² = 9 + 25 − 30 cos 120° = 34 − 30(−1/2) = 49
Answer: 7 cm
Finding an angle
Angles: cos A = (b² + c² − a²)/2bc
Worked example: three sides
A triangle has sides 5 cm, 8 cm and 11 cm. Find its largest angle θ.
cos θ = (5² + 8² − 11²)/(2 × 5 × 8) = (−32)/80 = −0.4
θ = cos ⁻¹(−0.4) = 113.578...°
Answer: θ = 113.6° (obtuse, because the cosine is negative)
Unlike sin ⁻¹, the inverse cosine gives angles from 0° to 180°, so there is no ambiguous case: the cosine rule always gives the right angle.
Worked example: an unknown length
A triangle has sides x cm and (x + 3) cm with an included angle of 60°. The third side is 7 cm. Find x.
49 = x² + (x + 3)² − 2x(x + 3) cos 60° = x² + (x + 3)² − x(x + 3)
49 = x² + 3x + 9, so x² + 3x − 40 = 0 and (x + 8)(x − 5) = 0
Answer: x = 5 (a length cannot be negative)
Which rule?
- two sides and the included angle; You want the third side; Use cosine rule
- three sides; You want an angle; Use cosine rule (rearranged)
- a side and its opposite angle, plus one more side or angle; You want another side or angle; Use sine rule
- two angles and any side; You want another side; Use sine rule (third angle first)
Worked example: bearings with both rules
Ship A is 14 km from port P on a bearing of 030°. Ship B is 9 km from P on a bearing of 115°. Find the distance AB and the bearing of B from A.
Angle APB = 115° − 30° = 85°, so AB² = 14² + 9² − 2 × 14 × 9 cos 85° = 255.03..., AB = 15.969...
cos PAB = (14² + 15.969...² − 9²)/(2 × 14 × 15.969...), so angle PAB = 34.15...°
The bearing of P from A is 030° + 180° = 210°, so the bearing of B from A is 210° − 34.15° = 175.8°
Answer: AB = 16.0 km, bearing 176° (to the nearest degree)
Proof of the cosine rule
Worked example: proof with coordinates
Put A at the origin and B at (c, 0). Then C is (b cos A, b sin A).
a² = BC² = (b cos A − c)² + (b sin A)² = b²cos ² A − 2bc cos A + c² + b²sin ² A
= b²(cos ² A + sin ² A) + c² − 2bc cos A, and cos ² A + sin ² A = 1
Answer: a² = b² + c² − 2bc cos A (this works for an obtuse angle A too)
Common mistakes
- Working out b² + c² − 2bc first and then multiplying by cos A. Calculate 2bc cos A first, then subtract.
- Using an angle that is not between the two known sides.
- Putting the wrong side on top when finding an angle: the side opposite the angle you want is the one subtracted.
- Forgetting to square root at the end when finding a side.
- Measuring a bearing anticlockwise or from the wrong north line.
Revision questions
Try these, then check your answers below each one.
Question 1. In triangle ABC, b = 5 cm, c = 8 cm and angle A = 60°. Find the exact length a in cm.
Answer: 7 cm
Working: a² = 25 + 64 − 80 × 1/2 = 49, so a = 7 cm.
Question 2. A triangle has sides 4 cm, 6 cm and 7 cm. Find its largest angle in degrees, to 1 decimal place.
Answer: 86.4 °
Working: cos θ = (16 + 36 − 49)/(2 × 4 × 6) = 3/48, θ = 86.41...° ≈ 86.4°.
Question 3. In triangle ABC, b = 9 cm, c = 12 cm and angle A = 110°. Find a in cm, to 1 decimal place.
Answer: 17.3 cm
Working: a² = 81 + 144 − 216 cos 110° = 298.87..., a = 17.28... ≈ 17.3 cm.
Related lessons
- Previous lesson: 11.1 The Sine Rule
- Next lesson: 11.3 Area of a Triangle
Continue in the full course
This lesson is section 11.2 of our free OCR A-level Maths Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.
Continue lesson 11.2 in the free course →