law of cosines noun1 •A generalization of the Pythagorean theorem that relates the lengths of the sides of a triangle to the cosine of one of its angles.