Solveeit Logo

Question

Question: How do you derive the law of cosines?...

How do you derive the law of cosines?

Explanation

Solution

This problem deals with the derivation of the law of cosines. The law of cosines is for calculating one side of a triangle when the angle is opposite and the other two sides which are known. Here let the unknown side be cc, and the angle opposite angle to this side is α\alpha , and the other two sides are aa and bb, from here we can derive the law of cosines.

Complete Step by Step Solution:
In trigonometry, the law of cosines relates the lengths of the sides of a triangle to the cosine of one of its angles. Using the notations as given in the above hint, the law of cosines states where α\alpha denotes the angle contained between sides of lengths aa and bb and the opposite side of length cc.

Then the law of cosines is given by:
c2=a2+b22abcosα\Rightarrow {c^2} = {a^2} + {b^2} - 2ab\cos \alpha
Here a,ba,b and cc are the sides of the triangle and α\alpha is the angle between the sides bband cc.
This can be applied to any triangle.
If the unknown side is aa and the angle opposite to this side is the angle is β\beta , where the other two sides are known bb and cc. Then using the law of cosines, the side aa is given by:
a2=b2+c22bccosβ\Rightarrow {a^2} = {b^2} + {c^2} - 2bc\cos \beta
If the unknown side is bb and the angle opposite to this side is the angle is γ\gamma , where the other two sides are known aa and cc. Then using the law of cosines, the side bb is given by:
b2=a2+c22accosγ\Rightarrow {b^2} = {a^2} + {c^2} - 2ac\cos \gamma

Note: Please note that the law of cosines is used here to find the unknown side of a triangle, this can be used to find the unknown angle which is given by:
cosα=a2+b2c22ab\Rightarrow \cos \alpha = \dfrac{{{a^2} + {b^2} - {c^2}}}{{2ab}}
Law of sines is used to find all the sides of the triangle and all the angles of the triangle, given by:
asinβ=bsinγ=csinα\Rightarrow \dfrac{a}{{\sin \beta }} = \dfrac{b}{{\sin \gamma }} = \dfrac{c}{{\sin \alpha }}