Cambridge IGCSE · Topic 6.5
IGCSE Maths 0580 / Topic 6 / IGCSE

Pythagoras with a correction.

Extended. When you know two sides and the angle between them, or all three sides, the sine rule is stuck. The cosine rule takes over: it is Pythagoras' theorem plus a term that corrects for the angle not being 90°.

The key idea

\(a^2 = b^2 + c^2 - 2bc\cos A\), where \(A\) is the angle between sides \(b\) and \(c\). To find an angle from three sides, rearrange: \(\cos A = \dfrac{b^2 + c^2 - a^2}{2bc}\). A negative cosine means an obtuse angle.

50° A B C a = ? b = 7 cm c = 9 cm
Fig. 1: two sides and the angle between them, drawn to scale (b = 7 cm, c = 9 cm, A = 50°). The cosine rule gives the third side a = 7.00 cm
Section 01

Two sides and the included angle.

In the lab, set two sides and open or close the angle between them. Watch the third side change, and watch the correction term \(2bc\cos A\) shrink to zero when the angle reaches \(90^\circ\): that is Pythagoras.

Worked example Finding the third side
In Fig. 1, \(b = 7\) cm, \(c = 9\) cm and \(A = 50^\circ\). Find \(a\).
  1. \(A\) is between sides \(b\) and \(c\), so use the cosine rule: \(a^2 = 7^2 + 9^2 - 2 \times 7 \times 9 \times \cos 50^\circ\).
  2. \(a^2 = 49 + 81 - 126\cos 50^\circ = 130 - 80.99\ldots = 49.008\ldots\)
  3. \(a = \sqrt{49.008\ldots} = 7.0006\ldots\)
Answer: \(a = 7.00\) cm (3 s.f.)
Worked example An obtuse included angle
In triangle \(ABC\), \(b = 5\) cm, \(c = 8\) cm and \(A = 120^\circ\). Find \(a\).
  1. \(a^2 = 5^2 + 8^2 - 2 \times 5 \times 8 \times \cos 120^\circ\).
  2. \(\cos 120^\circ = -0.5\), so \(-80 \times (-0.5) = +40\).
  3. \(a^2 = 25 + 64 + 40 = 129\), so \(a = \sqrt{129} = 11.357\ldots\)
Answer: \(a = 11.4\) cm (3 s.f.)
Examiner trap

Typing \(b^2 + c^2 - 2bc\) first and then multiplying by \(\cos A\). For \(p = 8\), \(q = 11\), \(R = 72^\circ\) that gives \(\sqrt{9\cos 72^\circ} = 1.67\) instead of 11.4. The \(\cos A\) multiplies only the \(2bc\) term.

Section 02

Three sides, find an angle.

Rearranged, the cosine rule gives any angle from the three sides. Unlike the sine rule, it is never ambiguous: a negative cosine gives the obtuse angle directly.

Worked example The largest angle
A triangle has sides 5 cm, 7 cm and 9 cm. Find its largest angle.
  1. The largest angle \(C\) is opposite the longest side, 9 cm.
  2. \(\cos C = \dfrac{5^2 + 7^2 - 9^2}{2 \times 5 \times 7} = \dfrac{25 + 49 - 81}{70} = \dfrac{-7}{70} = -0.1\).
  3. \(C = \cos^{-1}(-0.1) = 95.739\ldots^\circ\). The negative cosine tells you the angle is obtuse.
Answer: \(95.7^\circ\) (1 d.p.)
Your turn
Without a calculator, show that the angle opposite the 6 cm side of a triangle with sides 4 cm, 5 cm and 6 cm has cosine \(\dfrac{1}{8}\).
Examiner trap

Subtracting the wrong side. The side you subtract must be the one OPPOSITE the angle you want. Subtracting 5 instead of 9 above gives the smallest angle, not the largest.

Stage 1 · Learn

Check your understanding

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

Which formula is the cosine rule for finding side \(a\)?

Quick check+10 XP

When should you use the cosine rule to find a side?

Quick check+10 XP

In triangle \(ABC\), \(b = 3\), \(c = 5\) and \(A = 60^\circ\). Find \(a\).

Quick check+10 XP

Using the cosine rule, you find \(\cos C = -0.35\). What does this tell you about angle \(C\)?

Section 03

Sine rule or cosine rule?

Look at what you know. Try the 'which rule?' tab of the lab to practise the decision before you calculate.

You knowUse
A side and its opposite angle (a complete pair), plus one more side or angleSine rule
Two sides and the angle BETWEEN themCosine rule for the third side
All three sidesCosine rule for any angle
A right anglePythagoras and SOH CAH TOA are quicker
Worked example A journey with a turn
A boat sails 12 km on a bearing of \(050^\circ\), then 8 km on a bearing of \(170^\circ\). How far is it from its starting point?
  1. At the turning point, the bearing back to the start is \(050^\circ + 180^\circ = 230^\circ\).
  2. The angle inside the triangle at the turn is \(230^\circ - 170^\circ = 60^\circ\), between the two known sides: cosine rule.
  3. \(d^2 = 12^2 + 8^2 - 2 \times 12 \times 8 \times \cos 60^\circ = 144 + 64 - 96 = 112\).
  4. \(d = \sqrt{112} = 10.583\ldots\)
Answer: \(10.6\) km (3 s.f.)
Worked example Cosine rule, then sine rule
In triangle \(ABC\), \(b = 10\) cm, \(c = 13\) cm and \(A = 52^\circ\). Find \(a\), then angle \(B\).
  1. Two sides and the included angle: \(a^2 = 100 + 169 - 260\cos 52^\circ = 108.93\ldots\), so \(a = 10.436\ldots\) cm.
  2. Now \(a\) and \(A\) are a complete pair, so use the sine rule: \(\sin B = \dfrac{10\sin 52^\circ}{10.436\ldots} = 0.7550\ldots\)
  3. \(B = 49.03\ldots^\circ\). It is acute because \(b = 10\) is not the longest side.
Answer: \(a = 10.4\) cm, \(B = 49.0^\circ\)
Examiner trap

Using the rounded \(a = 10.4\) in the sine rule. Keep \(10.436\ldots\) in the calculator, or the angle may come out wrong in the first decimal place.

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to IGCSE Paper 2 and Paper 4 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

In triangle \(PQR\), \(p = 8\) cm, \(q = 11\) cm and \(R = 72^\circ\). Find \(r\).

Exam style+20 XP

A triangle has sides 6 cm, 8 cm and 11 cm. Find its largest angle.

Exam style+20 XP

A boat sails 15 km on a bearing of \(070^\circ\), then 9 km on a bearing of \(150^\circ\). How far is it from its starting point?

Exam style+20 XP

A parallelogram has sides 7 cm and 10 cm, and one angle of \(65^\circ\). Find the length of the longer diagonal.

Skill unlocked

The cosine rule, sorted.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
Finding a side, finding an angle, an obtuse included angle, a cosine-then-sine problem, a non-calculator proof and two hikers on different bearings.