In trigonometry, the Cosine Rule says that the square of the length of any side of a given triangle is equal to the sum of the squares of the length of the other sides minus twice the product of the other two sides multiplied by the cosine of angle included between them. Cosine rule is also called law of cosinesĀ orĀ Cosine Formula.
Suppose, a, b and c areĀ lengths of the side of a triangle ABC, then;
|
whereĀ ā x,Ā ā y andĀ ā z are the angles between the sides of the triangle.Ā
The cosine rule relates to the lengths of the sides of a triangle with any of its angles being a cosine angle. With the help of this rule, we can calculate the length of the side of a triangle or can find the measure of the angle between the sides.
What are the Laws of Cosine?
As per the diagram, Cosine rules to find the length of the sides a, b & c of the triangle ABC is given by;
- a2 = b2 + c2 ā 2bc cosĀ x
- b2 = a2 + c2 ā 2ac cos y
- c2 = a2 + b2 ā 2ab cos z
Similarly, to find the angles x, y and z, these formulae can be re-written as :
- cos x = (b2 + c2 -a2)/2bc
- cos y =Ā (a2 + c2 -b2)/2ac
- cos z =Ā (a2 + b2 ā c2)/2ab
Also, read:
Proof
The law of cosine states that for any given triangle say ABC, with sides a, b and c, we have;
c2 = a2 + b2 ā 2ab cos C
Now let us prove this law.
Suppose a triangle ABC is given to us here. From the vertex of angle B, we draw a perpendicular touching the side AC at point D. This is the height of the triangle denoted by h.
Now in triangle BCD, as per the trigonometry ratio, we know;
cos C = CD/aĀ Ā Ā Ā [cos Īø = Base/Hypotenuse]
or we can write;
CD = a cos C ā¦ā¦ā¦ā¦ (1)
Subtracting equation 1 from side b on both the sides, we get;
b ā CD = b ā a cos C
or
DA = b ā a cos C
Again, in triangle BCD, as per the trigonometry ratio, we know;
sin C = BD/aĀ Ā Ā [sin Īø = Perpendicular/Hypotenuse]
or we can write;
BD = a sin C ā¦ā¦ā¦.(2)
Now using Pythagoras theorem in triangle ADB, we get;
c2 = BD2 + DA2Ā Ā Ā Ā [Hypotenuse2 = Perpendicular2 + Base2 ]
Substituting the value of DA and BD from equation 1 and 2, we get;
c2 = (a sin C)2 + (b ā a cos C)2
c2 = a2 sin2CĀ + b2 ā 2ab cos C + a2 cos2 C
c2 = a2Ā (sin2CĀ + cos2 C)Ā + b2 ā 2ab cos C
By trigonometric identities, we know;
sin2Īø+ cos2Īø = 1
Therefore,
c2 = a2Ā Ā + b2 ā 2ab cos C
Hence, proved.
Cosine Formula
The formula to find the sides of the triangle using cosine rule is given below:
- \(\begin{array}{l}a = \sqrt{b^2 + c^2 ā 2~b~c~ cos x}\end{array} \)
- \(\begin{array}{l}b = \sqrt{a^2 + c^2 ā 2~a~c~ cos y}\end{array} \)
- \(\begin{array}{l}c = \sqrt{a^2 + b^2 ā 2~a~b~cos z}\end{array} \)
Sine Formula
As per sine law,Ā
a / Sin A= b/ Sin B= c / Sin C
Where a,b and c are the sides of a triangle and A, B and C are the respective angles.Ā
Also, we can write:
a: b: c = Sin A: Sin B: Sin C
Solved Example
Find the length of x in the following figure.
Solution: By applying the Cosine rule, we get:
x2 = 222 +282 ā 2 x 22 x 28 cos 97
x2 = 1418.143
x = ā 1418.143
Learn more about different Math topics with BYJUāS ā The Learning App
Frequently Asked Questions ā FAQs
What is the cosine rule for a triangle?
a2 = b2 + c2 ā 2bc cos x
When can we use the cosine rule?
Either, when all three sides of the triangle are given and we need to find all the angles
Or, to find the third side of the triangle when two sides and the angle between them are known.
How to find angles using the cosine rule?
Cos C = (a2 + b2 ā c2)/2ab
Where a,b and c are the sides of the triangle.
What is the cosine formula?
c = ā[a2 + b2 ā 2ab cos C] Where a,b and c are the sides of the triangle.
What is the sine rule formula?
(a/sin A) = (b/sin B) = (c/ sin C)
Comments