How is Euclidâs general result for triangles related to the law of cosines?
The law of cosines is a modern generalization of the Pythagorean theorem that relates the lengths of the sides of any triangle. While the modern formula uses trigonometric notation, its geometric foundation is rooted in the work of the Greek mathematician Euclid.12
In his seminal work, Elements, Euclid presented propositions that are mathematically equivalent to the law of cosines. Because the cosine function had not yet been developed in his time, Euclid expressed these relationships through geometric constructions rather than algebraic equations. His propositions addressed the properties of both acute and obtuse triangles, providing the necessary geometric framework that would later be formalized as the law of cosines by mathematicians such as JamshÄ«d al-KÄshÄ« in the 15th century.12