Law of Cosines. The relationship among the side lengths of a triangle. For right triangles, it becomes the Pythagorean Theorem.