Law of cosines
Statement
In any triangle with side lengths , , and interior angle opposite the side of length , .
Why is it true?
The law of cosines is the Pythagorean theorem with a correction term that accounts for how far the angle departs from a right angle. When , and the formula reduces to ; opening into an obtuse angle makes so exceeds , while closing into an acute angle makes and pulls the opposite side shorter.
Proof sketch
Drop the altitude from the vertex opposite side onto the line containing side . In terms of the angle , this altitude has length and meets the line of side at signed distance from the vertex of , leaving a segment of length to the other endpoint. Applying the Pythagorean theorem to the right triangle with legs and and hypotenuse gives .
Proved by
Topics that use this theorem
Related theorems
Step-by-step proofs
No step-by-step proof yet for this theorem.
References
- Euclid (translated by Thomas L. Heath) (1956). The Thirteen Books of Euclid's Elements, Vol. 1 (Book II, Propositions 12–13)
- Glen Van Brummelen (2009). The Mathematics of the Heavens and the Earth: The Early History of Trigonometry