All courses › Mathematics 1T › The cosine rule

The cosine rule

The cosine rule extends Pythagoras to every triangle. It is used when you know two sides and the angle between them, or all three sides. If the angle is 90circ90^circ, cosA=0cos A = 0 and the formula becomes Pythagoras' theorem.

a2=b2+c2−2bccos⁡Aa^2 = b^2 + c^2 - 2bc\cos Athe cosine rule

Symbols

aaside opposite angle A
b, cb,\ csides forming angle A

Example

b=5b = 5, c=7c = 7 and A=60∘A = 60^\circ: a2=25+49−70⋅0.5=39a^2 = 25 + 49 - 70\cdot 0.5 = 39, so a≈6.24a \approx 6.24.

Use the cosine rule first when all three sides are known to avoid ambiguity.
Practise trigonometry for free →

← The sine rule · The area rule →

Part of Mathematics 1T: Trigonometry.