The Law of Cosines Calculator applies the Cosine Rule to determine missing sides or angles in a triangle. It’s particularly useful for solving triangles that don’t have a right angle, where other trigonometric methods like the Pythagorean theorem won’t work. This tool automatically applies the formula for you, saving time and reducing the chance for errors.
Law of Cosines (Cosine Rule)
The Law of Cosines relates the sides of a triangle to the cosine of one of its angles. The formula is essential for solving non-right triangles where either two sides and the included angle (SAS) or all three sides (SSS) are known.
c² = a² + b² − 2ab · cos(C)
Where:
a
and
b
are the lengths of the sides adjacent to angle
C
c
is the side opposite to angle
C
This equation helps calculate the length of the unknown side or angle in a triangle.
Law of Cosines Formula (Highlighted):
c² = a² + b² − 2ab · cos(C)
This formula allows you to find the unknown side or angle in a triangle when given specific known values.
Alternatively, for finding angles:
C = cos⁻¹((a² + b² − c²) / 2ab)
Where:
C
is the angle opposite side
c
a, b, and c
are the sides of the triangle
Problem: In a triangle, a = 8, b = 6, and C = 60°. Find the length of side c.
Step 1: Write the Law of Cosines equation
c² = a² + b² − 2ab · cos(C)
Step 2: Substitute known values
c² = 8² + 6² − 2(8)(6) · cos(60°)
Step 3: Calculate
c² = 64 + 36 − 96 · 0.5
c² = 64 + 36 − 48 = 52
c = √52 ≈ 7.21
Answer: The length of side c is approximately 7.21.