Law of Cosines

Pronunciation: /lɔ ʌv ˈkoʊ saɪnz/ Explain

The law of cosines relates the angles of a triangle to the length of the sides: c2 = a2 + b2 - 2ab cosγ.. The law of cosines is a generalization of the pytagorean theorem. Since cos(90°) is zero, the formula is c2 = a2 + b2 for right triangles.

A geometric equivalent of the law of cosines was described in Euclid's Elements, Book 2, proposition 12 and proposition 13. The law of cosines can also be used to generate the formula for the angle opposite side c, if one knows the lengths of the sides:

gamma = arccosine ( a squared plus b squared minus c squared) / (2ab).

Click on the blue points on the figure and drag them to change the figure.

Manipulative 1 - Law of Cosines Created with GeoGebra.

More Information

  • McAdams, David E.. Triangle. All Math Words Encyclopedia. Life is a Story Problem LLC. 8/31/2018.

Cite this article as:

McAdams, David E. Law of Cosines. 8/31/2018. All Math Words Encyclopedia. Life is a Story Problem LLC.

Image Credits

Revision History

8/31/2018: Removed broken links, updated license, implemented new markup, implemented new Geogebra protocol. (McAdams, David E.)
7/18/2018: Initial version. (McAdams, David E.)

All Math Words Encyclopedia is a service of Life is a Story Problem LLC.
Copyright © 2018 Life is a Story Problem LLC. All rights reserved.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License