The Law of Cosines for Triangles on Plane Surface (also known as Euclidean Surface) states that for any triangle \(\vartriangle ABC\) (for e.g. the one given in the figure above)
through 3 given points A, B and C having lengths of sides \(a\), \(b\) and \(c\)
opposite to \(\angle A\), \(\angle B\) and \(\angle C\) respectively and \(i\), \(j\) and \(k\) the length of the perpendicular drawn from points A, B and C to sides with length
\(a\),\(b\) and \(c\) respectively at points P, Q and R respectively, the following relations hold true
\(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)\)
The following gives the derivation of the Law of Cosines for Triangles on Plane Surface for the following
\(b^2= a^2 + c^2 - 2ac \cos(B)\)
As per Pythagoras Theorem for Right Triangles in the Figure given above
The Law of Cosines can be used to Find out the Remaining Sides and Angles of a Triangle when
Two Sides and an Angle Between the Two Sides are given
The Law of Cosines can be used to Find out the Length of the Diagonal when
Two Adjacent Sides and the Angle Between the Two Adjacent Sides are given for a Parallelogram as follows
Length of Diagonal AC \(= \sqrt{a^2 + b^2 + 2ab \cos(\theta)}\)