Law of cosines

First taught in High school geometry · also in Pre-calculus

Definition

The law of cosines relates the three sides of any triangle to one of its angles. It extends the Pythagorean theorem to triangles without a right angle.

ABCcab
Angle C is between sides a and b.
Advertisement

Use it when you know two sides and the angle between them, or all three sides.

Example: , , : , so .

If , and it becomes .

Advertisement