The law of cosines is Pythagoras with a correction term: . Use it when you know two sides and the angle between them, or all three sides.
| Step | On , , (SSS) | |
|---|---|---|
| 1 | Identify the case. SAS: the side form. SSS: the angle form. | SSS |
| 2 | Find the largest angle first. It sits opposite the longest side; the cosine sign tells whether it is obtuse. | |
| 3 | Find a second angle. Law of cosines again (or the law of sines, now that a complete pair exists). | |
| 4 | Finish with the angle sum. |