Law of Cosines

Law of Cosines in Trigonometry is the fundamental law of mathematics used to find the angle of the triangle when all three sides of the triangle are given. This law is also called the Cosine Rule Or the Cosine Formula. If in a triangle the sides are a, b, and c, then law of cosine for angle A is given as:

a2 = b2 + c2 – 2bc cos A

Similarly, all other angles B and C are given. In this article, we will learn about, the Law of Cosines, the Law of Cosines formula, examples, and others in detail.

Table of Content

  • What is Law of Cosines?
  • Law of Cosines Formula
  • Law of Cosines Proof
  • How to Find Angle using Law of Cosines
  • Sine Formula
  • Examples Using Law of Cosines

What is Law of Cosines?

Law of cosine is the fundamental law of trigonometry the law of cosine is used to find the relation between sides and the angles of the triangle, suppose we are given sides of the triangle and then the angle of the triangle is found. This formula is used to find the unknown angle of the triangle when all sides are given.

Law of Cosines Definition

Law of cosine is defined as the law which gives the relation between sides and angles of the triangle. Three laws of cosine are,

  • a2 = b2 + c2 – 2bc cosA
  • b2 = c2 + a2 – 2ca cosB
  • c2 = a2 + b2 – 2ab cosC

where a, b, and c are the sides of the triangle and A, B, and C are the angles of the triangle.

Law of Cosines Formula

Cosine Formula is the formula that gives the relation between the sides and the angles of the triangle. Suppose we are given a triangle in which the sides a, b, and c are given and A, B, and C are angles of the triangle respectively. Then the law of cosine formulas is,

  • a2 = b2 + c2 – 2bc cos A
  • b2 = a2 + c2 – 2ac cos B
  • c2 = b2 + a2 – 2ba cos C

We can also find the angles of the triangle by the formulas,

  • cos A = [b2 + c2 – a2]/2bc
  • cos B = [a2 + c2 – b2]/2ac
  • cos C = [b2 + a2 – c2]/2ab

Law of Cosines Proof

Law of cosine is proved using trigonometric identities. Suppose we are given a triangle ABC and BM is the altitude of the triangle and its height is h and AM is equal to r. Also, sides of the triangle a, b, and c, the image for the same is added below,

In Ξ”ABM,

sin A = BM/AB = h/c . . . (i)

cos A = AM/AB = r/c . . . (ii)

From equation (i) and (ii),

  • h = c(sin A)
  • r = c(cos A)

By Pythagoras Theorem in Ξ”BMC,

a2 = h2 + (b – r)2

Then,

Using h = c(sin A), r = c(cos A) in above equation

β‡’ a2 = {c(sinA)}2 + {b – c(cosA)}2

β‡’ a2 = c2sin2A + b2 + c2cos2A – 2bc cosA

β‡’ a2 = c2(sin2A + cos2A) + b2 – 2bc cosA

β‡’ a2 = c2 + b2 – 2bc cosA

This is the cosine formula.

Similarly other two formulas are also proved,

  • b2 = c2 + a2 – 2ca cosB
  • c2 = a2 + b2 – 2ab cosC

Read More about:

How to Find Angle using Law of Cosines

Law of Cosine is used to find the angles of the triangle when all three sides of the triangle are given. Suppose we are given a triangle with sides a, b, and c and angles of triangle are A, B, and C then angles of the triangle are calculated using the formula,

  • cos A = [b2 + c2 – a2]/2bc
  • cos B = [a2 + c2 – b2]/2ac
  • cos C = [b2 + a2 – c2]/2ab

Example, Find ∠A of triangle ABC, where sides of triangles, a, b, and c, are 1 cm, 1 cm, and √2 cm.

Using cosine rule,

cos A = [b2 + c2 – a2]/2bc

β‡’ cos A = {(1)2 + (√2)2 – (1)2}/2(1)(√2) = 2/2√(2)

β‡’ cos A = 1/√(2)

β‡’ A = cos-1(1/√(2)) = 45Β°

Sine and Cosine Rule

For a triangle with sides a, b, and c and angles A, B, and C then the Sine Law Formula is,

a / Sin A = b/ Sin B = c / Sin C

Common difference between sine and cosine rule are:

Feature

Law of Cosines

Law of Sines

Applicability

Suitable for solving triangles where you know: 2 sides and the included angle OR 3 sides.

Suitable for solving triangles where you know: 2 angles and 1 side OR 2 sides and the included angle.

Formula

  • a2 = b2 + c2 – 2bc cosA
  • b2 = c2 + a2 – 2ca cosB
  • c2 = a2 + b2 – 2ab cosC

a / Sin A = b/ Sin B = c / Sin C

OR

a : b : c = Sin A : Sin B : Sin C

Also, Check

Examples Using Law of Cosines

Example 1: If two sides of the triangle are 12 cm and 16 cm and the angle between them is 30Β° then find the third side of the triangle.

Solution:

Given,

  • b = 12 cm
  • c = 16 cm
  • ∠A = 30Β°

Law of Cosines Formula,

a2 = b2 + c2 – 2bcΒ·cosA

β‡’ a2 = (12)2 + (16)2 – 2(12)(16)cos30Β°

β‡’ a2 = 144 + 256 – (384)(1/2) = 208

β‡’ a = 14.4 cm

Thus, the third side of the triangle is 14.4 cm

Example 2: If two sides of the triangle are 8 cm, 10 cm, and 6 cm then find the angle β€˜A’ of the triangle.

Solution:

Given,

  • a = 8 cm
  • b = 10 cm
  • c = 6 cm

Using Cosines Law,

a2 = b2 + c2 – 2bc cos(A)

β‡’ cos A = (b2 + c2 – a2)/2bc

Substituting the given value,

cos(A) = (102 + 62 – 82)/(2 Γ— 10 Γ— 6)

β‡’ cos(A) = (100 + 36 – 64)/120 = 72/120 = 3/5

β‡’ A = cos-1 (3/5)

Law of Cosines Practice Problems

Probelm 1: If two sides of the triangle are 20 cm and 22 cm and the angle between them is 45Β° then find the third side of the triangle.

Probelm 2: If two sides of the triangle are 3 cm, 4 cm, and 5 cm then find the angle β€˜A’ of the triangle.

Probelm 3: If two sides of the triangle are 8 cm and 12 cm and the angle between them is 60Β° then find the third side of the triangle.

Probelm 4: If two sides of the triangle are 12 cm, 18 cm, and 16 cm then find the angle β€˜A’ of the triangle.

Law of Cosines – FAQs

What is Law of Cosine in Trigonometry?

Law of Cosine in Trigonometry is the fundamental law of trigonometry that is used to find the angle of the triangle when all three sides of the triangle are given.

What of Law of Cosine Formula?

Law of Cosine formula is,

  • a2 = b2 + c2 – 2bcΒ·cos A
  • b2 = c2 + a2 – 2caΒ·cos B
  • c2 = a2 + b2 – 2abΒ·cos C

What is Law of Cosine class 11?

Law of Cosine class 11 is the fundamental law of mathematics that is used to find the angle of the triangle when all three sides of the triangle are given.

Does Law of Cosines work for All Triangles?

Yes. Law of Cosine work for all triangles and it is used for finding angles of the triangle when all its sides are given.

When to Use Law of Cosines?

Cosine rule or cosine formula is used when all three sides of triangle are given and angle of triangle is found.

How to Find Angles Using Cosine Rule?

If in a triangle where a, b and c are the sides of the triangle and C is the angle included between sides, a and b then angle C is calculated as,

Cos C = (a2 + b2 – c2)/2ab

What is Sine Rule Formula?

As per the sine rule, if a, b, and c are the length of sides of a triangle and A, B, and C are the angles, then,

a/sin A = b/sin B = c/ sin C

How is the Law of Cosines different from the Law of Sines?

Law of Cosines applies to all triangles, involving side lengths and angles, while the Law of Sines applies to triangles with known angles and opposite side lengths.



Contact Us