Introduction to the Law of Cosines
What You'll Learn
You'll discover when the Law of Sines isn't enough and how the Law of Cosines solves triangles in those situations.
When the Law of Sines Falls Short
You've already learned the Law of Sines, which works beautifully for AAS, ASA, and SSA triangle configurations. But what if you know:
- SAS (two sides and the angle between them), or
- SSS (all three sides but no angles)?
In these cases, the Law of Sines won't help because you don't have an angle-side opposite pair to start with. This is where the Law of Cosines comes to the rescue.
The Statement of the Law of Cosines
For any triangle with sides a, b, c opposite to angles A, B, C respectively:
c² = a² + b² − 2ab·cos(C)
You can also write it for the other sides:
- a² = b² + c² − 2bc·cos(A)
- b² = a² + c² − 2ac·cos(B)
Why This Formula Works
Think of it as a generalized Pythagorean Theorem. When angle C is 90°, cos(90°) = 0, and the formula becomes c² = a² + b² — exactly the Pythagorean Theorem! For non-right triangles, the term −2ab·cos(C) adjusts for the angle between the sides, accounting for how "spread out" or "squeezed together" the triangle is.
When to Use It
- SAS: You know two sides and the included angle → find the third side
- SSS: You know all three sides → find any angle (rearrange to solve for the cosine)
Key Takeaway: The Law of Cosines extends the Pythagorean Theorem to all triangles and solves SAS and SSS configurations where the Law of Sines cannot be directly applied.