The law of cosines is a fundamental relationship in trigonometry that connects the lengths of the sides of any triangle to the cosine of one of its angles. It helps to find the length of unknown sides or angles of a triangle when certain information is given, such as two sides and the included angle, or all three sides.
The law of cosines, also known as the cosine rule, highlights the relationship between the angle and the three sides of the triangle. It states that;
“The square of any one side of a triangle is equal to the difference between the sum of the other two sides’ squares and twice their product and the cosine angle between them.”
For example, in the triangle ABC given below, with the sides of length a,b, and c, the cosine rule is given as;
It means that if two sides (b and c) and a corresponding angle (cos A) of a triangle (SAS triangle) are given, we can find the length of the third side (a) of the triangle.
The cosine law formulas are the formulas used to find the missing sides or angles of a triangle, provided that the lengths and angles of the other sides are given. We will understand it with the help of an example.
Let’s consider a triangle ABC with the sides a, b, c, and corresponding angles , , as shown below.
Based on the above triangle, the formulas to find the length of the sides of the triangle are given as;
In the same way, we can find the missing angles if the three sides of a triangle are given. The formula to find each angle is given as;
So, by using the above formulas, we can find the unknown sides and angles of the triangle.
The cosine rule can be proved in many ways. We will prove it with the help of trigonometry.
Let’s consider a triangle ΔABC. It is a non-right triangle (oblique).
In triangle ABD,
We will apply Pythagoras' theorem in ΔCBD. So we have,
Substitute the values of h and r from equations (i) and (ii).
Hence, the cosine law is proved using Pythagoras' theorem.
The other side can also be found using this method.
Using the cosine rule, we can easily find the missing angle and the length of the side of the triangle. Let’s look at some examples of solving law of cosines problems.
First, we will find an angle given 3 sides. Let’s consider a triangle with the sides 4 cm, 6cm, and 8 cm. Find the measure of angle A.
To find the angle of a triangle with the given 3 sides, we will use the formula.
Putting the values in the formula.
Now we will learn how to find Side with Angle and Sides. Let us consider a triangle whose two sides and one angle are given (SAS triangle).
Consider a triangle XYZ with two sides of 6 cm and 9 cm, and an angle between them is 131 degrees as shown below. Find the length of the missing sides.
To find the missing side, we will use the law of cosines SAS.
Law of Cosines and Pythagoras' Theorem
The Pythagorean theorem is a special case of the law of cosines. The cosine law is applied to all types of triangles, while Pythagoras' theorem is only applicable to the right triangle.
The Pythagorean theorem is a² = b² + c² and the cosine rule is a² = b² + c² - 2bc cos A.
When the angle in the cosine rule is a right angle (90 degrees), the cosine of that angle is 0. This causes the term "- 2bc cos A" in the law of cosines to disappear, leaving only a² = b² + c², which is the Pythagorean theorem.
Let’s look at the proof.
The cosine law is expressed as;
When the angle is 90, then,
which is Pythagoras’ theorem.
Hence, proved that the Pythagorean theorem is a special case of the cosine law.
Conclusion
The law of cosines relates the relation between the length of sides of any triangle the the measurement of its angle. It is usefu to find the missing sides or angles of a triangle when specific sides and angles are known. The Pythagorean theorem is a special case of the cosine rule.
Are your kids struggling with Math? Don’t worry. We have a solution for you. We have expert online math tutors who make math fun for students. You will get personalized live classes and overcome your grey areas.