Showing posts with label law of cosines. Show all posts
Showing posts with label law of cosines. Show all posts

Wednesday, July 18

Law of Cosines Explained

Trigonometry Law of cosines:
Trigonometry is a field of study relating the angles and sides of a triangle. However, the fundamental ratios are derived easily from a right-angled triangle and are as identified Pythagorean ratios, yet the definite correspondence between the sides and angles can be established using the law of cosines. It is the relation between the sides and cosine of angle.


Convention:
All the angles are depicts upper case letters and sides are depicted by lower case letters. The side opposite to a vertex is represented by the corresponding lower case letter. In a triangle ABC, the side AB= c, BC = a, and AC = b.


Trigonometry law of cosines:
a^2= b^2+c^2 - 2bc cos (A)
b^2 = a^2 +c^2 – 2ac cos (B)
c^2 = a^2 + b^2 – 2ab cos (C)


Law of cosines Example Problems: 
For example, let us consider a triangle ABC, in which a= 3, b= 4 and c= 5.
To evaluate the angle C,
Substitute the values of a, b and c in
c^2 = a^2 + b^2 – 2ab cos (C)
5^2 = 3^2 + 4^2 – 2(3) (4) cos (C)
25= 9+16 – 24 cos(C)
25 = 25 – 24 cos(C)
Solving for cos (C), we get cos(C) =0. Hence, C = 90?.


Prove Law of Cosines:
We always rely on the principles of geometrical principles to prove the laws in trigonometry. To prove the law of cosines we use Pythagorean principle.

 In the above figure, CP is perpendicular to AC extended to P. Hence, BP = a sin(C) and CP = a cos(C).
Applying Pythagoras theorem in the right-angled triangle APB we get,
(AP)^2 + (BP)^2 = (AB)^2
(b – a sin(c))^2 + (a sin(C))^2 = c^2
Expanding        b^2 -2ab cos(C) + b^2 cos2(C) + b^2sin2(C) = c^2
b^2 +a^2 – 2ab cos(C) = c^2


Law of Cosines Problems
Law of cosines, in Physical sciences and technology, has very wide applications. The law of cosine gives us the magnitude of the difference of two vectors acting at an angle. For example, to evaluate the magnitude of the difference of two vectors of magnitude 100 units each acting at an angle of 120?, we get
c^2= 1002+1002 – 2(100) (100) cos (120)
c^2= 1002+1002 -1002
Solving for c, we get c= 100 units.

Derive Law of Cosines
Though there are so many methods by which one can prove the law of cosines, we stick to the use of Pythagorean principles.

In the above figure we have, when CP is perpendicular to AB,
c= a cos (B) + b cos (A)
c^2= ac cos (B) +bc cos (A)
Similarly
b^2=bc cos (A) + ba cos(C)
a^2= ab cos(C) + ac cos (B)
Adding the above two equations we have
b^2 + a^2 = ac cos (B) + bc cos (A) + 2 ab cos(C)
Comparing the above equation with (1), we get
b^2 + a^2 = c^2 + 2ab cos(C)
b^2 + a^2 -  2ab cos(C) = c^2