Equilateral triangle
a = b = 5, C = 60°
The three sides are equal and each angle is 60°.
Drag the vertices of a triangle to compare the included angle and its opposite side. Follow a signed projection to derive the law of cosines.
Drag a vertex or focus it and press the arrow keys.
a = b = 5, C = 60°
The three sides are equal and each angle is 60°.
a = 3, b = 4, C = 90°
The cosine term vanishes and the formula becomes the Pythagorean theorem.
a = 3, b = 5, C = 120°
For this obtuse C, cos(C) is negative. Subtracting the cosine term increases c².
a = 5, b = 8, C = 60°
Two sides and their included angle determine the opposite side c.
a = 5, b = 6, c = 7
The three sides determine cos(C), from which you can find C.