We previously used the sine rule to help us find information in non-right-angled triangles. By relating sides and their opposite angles, we were able to find an unknown side or angle.
But there are situations where the sine rule is not useful:
In these situations, we will instead use the cosine rule.
If the three side lengths in a triangle are a, b and c, with an angle C opposite the side with length c, then c^2=a^2+b^2-2ab\cos C.
The cosine rule is demonstrated in the following applet.
We can use the cosine rule to find an unknown side of any triangle in which we know the lengths of the two other sides and the size of the opposite angle.
The cosine rule relates the lengths of all three sides in a triangle and the cosine of one of its angles. Therefore, the cosine rule will help us to find:
the third side of a triangle when you know two sides and the included angle (the angle between the two known sides)
the angles of a triangle when you know all three sides
This rule can be proven using Pythagoras' theorem and right-angled trigonometry.
What happens when the angle C is 90\degree? This means the triangle is right-angled, and the side c is the hypotenuse. Putting this into the cosine rule, we get:
\displaystyle c^2 | \displaystyle = | \displaystyle a^2+b^2-2ab\cos C |
\displaystyle = | \displaystyle a^2+b^2-2ab\cos \left(90^\circ \right) | |
\displaystyle = | \displaystyle a^2+b^2-2ab\times 0 | |
\displaystyle = | \displaystyle a^2+b^2 |
which is Pythagoras' theorem. This is why we say that the cosine rule is a generalisation of Pythagoras' theorem.
Note: The formula can be written in terms of any of the sides or angles, familiarise yourself with the forms below and note the pattern. If a triangle is labelled differently we can adapt the rule using the pattern.
The actual letters used in the formula do not have to be the same as the triangle. The convention is that the lengths of sides are given in lowercase letters a,b,c,q,u,v,s,t and the size of the angles given in capital letters A,B,C,Q,U,V,S,T. \begin{aligned} c^2&=a^2+b^2-2ab\cos C\\ v^2&=s^2+t^2-2st\cos V\\ w^2&=u^2+v^2-2uv\cos W \end{aligned}
If we have a problem involving 3 side lengths and one angle of a non-right angled triangle, we can use the cosine rule to find the unknown side length:
To find a missing angle using the cosine rule, we need to know all three side lengths.
When looking to solve for an unknown angle, the equation can also be rearranged and written as \cos C=\dfrac{a^2+b^2-c^2}{2ab}.
Find the value of angle w using the cosine rule. Write your answer correct to two decimal places.
If we have a problem involving 3 side lengths and one angle of a non-right angled triangle, we can use the cosine rule to find the unknown angle: