The Law of Cosines
The law of cosines or cosine rule is the relationship between the length of the sides of a triangle and the cosine of the angle formed by the triangle. Here, we will review the law of cosines.

The law of cosines describes the relationship between the length of the sides of a triangle and the cosine of the angle formed by the triangle. It is often referred to as the cosine rule.
Related Topics
- The Law of Sines
- How to Find Missing Sides and Angles of a Right Triangle
- How to Evaluate Trigonometric Function
- How to Solve Angles and Angle Measure
A step-by-step guide to the law of cosines
If the angles of an oblique triangle are measured by A, B, and C and a, b, and c are the lengths of the sides opposite the corresponding angles, then the square of one side of a triangle is equal to the total of the squares of the other two sides minus twice the product of the two sides plus the cosine of the included angle.
a2=b2+c2−2bc.cosA
b2=a2+c2−2ac.cosB
c2=a2+b2−2ab.cosC
Solving for the cosines gives the equivalent formulas:
cosA=b2+c2−a22bc
cosB=c2+a2−b22ca
cosC=a2+b2−c22ab
The Law of Cosines – Example 1:
In the ABC triangle, find the remaining side.

To find side c use the law of cosines: c2=a2+b2−2ab.cosC
a=14,b=5,C=20
c2=142+52−2(14)(5)(cos20)=(196+25)−(140×cos20)=221−(140×0.94)=221−131.6=89.4
c2=89.4 → c=√89.44=9.45
The Law of Cosines – Example 2:
Find the angle B in the ABC triangle.

To find angle B use the law of cosines: cosB=c2+a2−b22ca
b=20,a=8,c=14
cosB=142+82−2022(14)(8)=196+64–400176=−140224=−0.625
Since cosB is negative, B is an obtuse angle.
B≅128.69∘
Exercises for the Law of Cosines
In the ABC triangle, find the side of c.
1.

2.

3.


- 31.12
- 44.68
- 21.49
Related to This Article
More math articles
- How to Find The Slope of Roots: Derivative of Radicals
- Top 10 ISEE Middle Level Prep Books (Our 2023 Favorite Picks)
- Algebra Puzzle – Challenge 46
- Perimeters and Areas of Rectangles
- Cracking the Code: How Math is Empowering Students to Solve Real-World Problems in the Digital Age
- How to Work with the Intermediate Value Theorem?
- 6th Grade Wisconsin Forward Math Worksheets: FREE & Printable
- Top 10 ASVAB Math Prep Books (Our 2023 Favorite Picks)
- Journey to the Land of Proportions: How to Write and Solve Equations Utilizing Proportional Relationships
- Overview of the ALEKS Mathematics Test
What people say about "The Law of Cosines - Effortless Math: We Help Students Learn to LOVE Mathematics"?
No one replied yet.