Lesson 79: Law of Cosines: The Generalized Pythagorean Theorem

The Correction Factor

If you know two sides and the angle between them (SAS), the Law of Sines won't work. We use the Law of Cosines, which is just the Pythagorean Theorem with a correction factor for the non-90-degree angle.

\[c^2 = a^2 + b^2 - 2ab\cos C\]

Worked Examples

Example 1: Finding the Third Side

A triangle has sides of 5 and 8 with a 60-degree angle between them. Find the third side.

Example 2: Finding an Angle from Three Sides

A triangle has sides 3, 4, and 6. Find the largest angle \(C\).

The Bridge to Quantum Mechanics

In Quantum Mechanics, we define the "Distance" between two particles using the Law of Cosines. If Electron 1 is at vector \(\vec{r}_1\) and Electron 2 is at \(\vec{r}_2\), the distance between them (which determines their electrical repulsion) is found using this exact formula. This "Interaction Term" is what makes multi-electron atoms so complicated to solve. The Law of Cosines is the fundamental tool for calculating the potential energy between any two objects in the universe.