Cosine Rule
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:
- \(a = \sqrt{b^2 + c^2 – 2~b~c~ cos x}\)
- \(b = \sqrt{a^2 + c^2 – 2~a~c~ cos y}\)
- \(c = \sqrt{a^2 + b^2 – 2~a~b~cos z}\)
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)