The Law of Cosines

Also known as Cosine Rule

History

“The laws of nature are but the mathematical thoughts of God.”

- Euclid

Even though the cosine did not yet exist in his time, Euclid’s ‘Elements’, dating back to the 3rd century BC, contained an early geometric theorem equivalent to the law of cosines. In the 10th century, Persian astronomer and mathematician Al-Battani generalized Euclid’s result to spherical geometry, which permitted him to calculate the angular distances between stars. In the 15th century, Al-Kashi in Samarqand provided the first explicit statement of the law of cosines in a form suitable for triangulation.


Description

What is it used for?

The cosine rule is useful for finding:

Equations:
  • a² = b² + c² – 2bc cos A is used for finding the missing side
  • is used for finding angles
  • In this example, a,b,c are used to represent the sides of a triangle, while A is used to represent the angle.


Application

Problem: An architect is trying to determine the pitch (angle) of a roof. The known measurements are the lengths and widths of the building, and the desired length of each side of the roof.

For this problem, the formula: will be used.

Therefore, the pitch of the roof is 97.9 degree.