top of page

9.1 The Cosine Rule

A-level Maths Year 1 (AS) · Edexcel 9MA0 · Chapter 9: Trigonometric Ratios

A free A-level Maths Year 1 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: finding a missing side or a missing angle in any triangle. 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

  • Label a triangle with sides a, b, c opposite angles A, B, C
  • Use the cosine rule to find a side when you know two sides and the angle between them
  • Rearrange the cosine rule to find an angle when you know all three sides
  • Recognise an obtuse angle from a negative cosine and give exact answers where possible
  • Form and solve equations using the cosine rule

Key words

  • Included angle: The angle between two given sides, where the two sides meet.
  • Opposite side: The side that does not touch a given angle. Side a is opposite angle A.
  • Cosine rule: a² = b² + c² − 2bc cos A, true in every triangle.
  • Obtuse angle: An angle between 90° and 180°. Its cosine is negative.
  • Oblique triangle: A triangle with no 90° angle, so SOH CAH TOA cannot be used directly.

Labelling a triangle and the rule

SOH CAH TOA only works in right-angled triangles. The cosine rule works in every triangle. Use capital letters for the angles at the vertices and the matching lower-case letter for the side opposite each angle.

The cosine rule: a² = b² + c² − 2bc cos A Use it when you know two sides and the included angle, or all three sides.

The rule can be written for any angle: b² = a² + c² − 2ac cos B and c² = a² + b² − 2ab cos C. The side on the left is always opposite the angle in the cosine. If the angle is 90°, then cos 90° = 0 and the rule becomes Pythagoras’ theorem.

Worked example: choosing the right version

In triangle PQR, angle Q = 90°. Write down the cosine rule for side q, and simplify it.
Side q is opposite angle Q, so q² = p² + r² − 2pr cos Q
cos 90° = 0, so the last term disappears.

Answer: q² = p² + r², which is Pythagoras’ theorem with hypotenuse q

Finding a missing side

On your calculator, work out 126 cos 48° first, or type the whole line exactly as written. A common slip is to work out (130 − 126) cos 48°. Keep the unrounded value of a² and only round at the end.

Finding a missing angle

Rearrange the rule to make the cosine the subject. You need all three sides.

Angle form: cos A = (b² + c² − a²)/2bc

Worked example: three sides known

A triangle has sides 5 cm, 8 cm and 10 cm. Find its largest angle.
The largest angle is opposite the longest side, so let a = 10, b = 5, c = 8.
cos A = (5² + 8² − 10²)/(2 × 5 × 8) = (−11)/80 = −0.1375
A = cos ⁻¹(−0.1375) = 97.903...°

Answer: A = 97.9° (1 d.p.)

A negative cosine is not an error: it tells you the angle is obtuse. Because cos ⁻¹ gives an answer between 0° and 180°, there is never any doubt about which angle the cosine rule gives.

Exact answers and equations

Some angles have exact cosines: cos 60° = 1/2, cos 90° = 0 and cos 120° = −1/2. With these you can give exact answers without a calculator.

Worked example: an exact side

Two sides of a triangle are 3 cm and 5 cm and the angle between them is 120°. Find the third side.
x² = 3² + 5² − 2 × 3 × 5 × cos 120° = 9 + 25 − 30 × (−1/2)
x² = 34 + 15 = 49

Answer: x = 7 cm exactly

Worked example: forming a quadratic

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) × 1/2 = x² + x² + 6x + 9 − x² − 3x
49 = x² + 3x + 9, so x² + 3x − 40 = 0, giving (x + 8)(x − 5) = 0
x = −8 is impossible for a length.

Answer: x = 5, so the sides are 5 cm, 8 cm and 7 cm

Common mistakes

  • Using an angle that is not between the two known sides. The angle in a² = b² + c² − 2bc cos A must be the included angle.
  • Working out (b² + c² − 2bc) cos A. Multiply 2bc cos A first, then subtract.
  • Forgetting to square root at the end when finding a side.
  • Leaving the calculator in radians. Check that it shows D or DEG.
  • Rounding a² or cos A early, which makes the final answer inaccurate.

Revision questions

Try these, then check your answers below each one.

Question 1. In triangle ABC, AB = 8 cm, AC = 5 cm and angle BAC = 40°. Find the length of BC in cm, to 1 decimal place.

Answer: 5.3 cm

Working: BC² = 5² + 8² − 2 × 5 × 8 cos 40° = 89 − 80 cos 40° = 27.716..., so BC = 5.26... ≈ 5.3 cm.

Question 2. A triangle has sides 6 cm, 7 cm and 9 cm. Find its largest angle in degrees, to 1 decimal place.

Answer: 87.3 °

Working: cos θ = (36 + 49 − 81)/(2 × 6 × 7) = 4/84, so θ = 87.27...° ≈ 87.3°.

Question 3. Which formula gives angle B in triangle ABC, where side b is opposite angle B? (Choose from: cos B = (a² + c² − b²)/2ac; cos B = (a² + b² − c²)/2ab; cos B = (b² + c² − a²)/2bc; cos B = (a² + c² + b²)/2ac.)

Answer: cos B = (a² + c² − b²)/2ac

Working: From b² = a² + c² − 2ac cos B, rearrange: cos B = (a² + c² − b²)/2ac.

Related lessons

Continue in the full course

This lesson is section 9.1 of our free 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. Go to the full A-level Maths Year 1 (AS) course.

 

 

 

 

 

 

 

bottom of page