Law of cosines: Pythagoras generalized to any triangle
Any triangle: $a^2 = b^2 + c^2 - 2bc\cos(A)$. The formula that replaces Pythagoras when the triangle isn't right.
The formula
In triangle (any triangle):
with (opposite ), , .
Similarly for :
Special case:
, so:
Pythagoras! Cosine rule contains Pythagoras.
Two uses
Use 1: find a side from two sides and the included angle
, , . Find .
.
Use 2: find an angle from 3 sides
Isolate :
Example: . Find .
.
Common mistakes
- Confusing angle and side: side is opposite to angle .
- Forgetting the sign in "".
- Using Pythagoras on a non-right triangle.
Triangle with b = 3, c = 4, angle A = 90°. Find a.
Mini-quiz
Question 1 / 3Triangle b = 5, c = 8, angle A = 60°. What is a²?
