For right-angled triangles we have Pythagoras’ theorem. But what happens in a general triangle? The answer is the law of cosines.
Theorem — The law of cosines
In a general triangle with sides , , opposite the vertices , we have: (And likewise for and , by cyclic permutation.)
The theorem generalises Pythagoras’: if , then and the formula reduces to . The “correction term” measures how much the angle differs from a right angle.
Links
Topics: Triangle trigonometry
Concepts: Solving triangles · The law of cosines · Carnot’s theorem · Pythagoras’ theorem
Functions: Cosine
Methods: Solving triangles
Skills: Using formulae