Geometry & measures · Trigonometry (sine & cosine rules)
1 / 8
The cosine rule
Why a² = b² + c² − 2bc cos A is Pythagoras with a correction term, when to choose it over the sine rule, and the rearrangement that finds an angle from three sides.
Geometry & measures · Trigonometry (sine & cosine rules)
The cosine rule
Why a² = b² + c² − 2bc cos A is Pythagoras with a correction term, when to choose it over the sine rule, and the rearrangement that finds an angle from three sides.
Why it works
It is Pythagoras with a correction term. For a triangle with sides , , and the angle opposite :When , and the correction vanishes, leaving — ordinary Pythagoras. When is acute, , so we subtract something and comes out shorter than Pythagoras would predict; when is obtuse, is negative, the correction adds, and comes out longer. That built-in sign behaviour is why the rule handles obtuse triangles without any special case — unlike the sine rule.
Choose it when the sine rule can't start. Use the cosine rule when you have either
- two sides and the angle between them (SAS) → find the third side, or
- all three sides (SSS) → find any angle.
Keep the letters consistent. The side you are finding, , must be the one opposite the angle that you use — the two "wrapping" sides and are the ones enclosing that angle. Label the diagram first.
Rearranged for an angle:
Then . This form is safe for obtuse angles: if the fraction comes out negative, the inverse cosine returns an angle over automatically — no ambiguity to resolve, which is a real advantage over the sine rule.
Order of operations bites here. means "work out as one quantity, then subtract". Don't compute and then multiply by . And don't square-root until the very end.