trigonometry

Definition

Cosine Law

The Cosine Law is a generalisation of the Pythagorean theorem that relates the lengths of the sides of a triangle to the cosine of one of its interior angles. For a triangle with sides and corresponding opposite angles , the law provides three equivalent identities:

Structural Symmetry

The formula exhibits cyclic symmetry across the vertices of the triangle. Each side can be expressed as the square root of the sum of the squares of the remaining two sides minus twice their product scaled by the cosine of the included angle. This pattern ensures that the relationship holds regardless of the chosen orientation or labelling of the triangle’s components.

Generalisation of Pythagoras

The Cosine Law encompasses the Pythagorean theorem as a special case. When the angle is a right angle ( or ), the term becomes zero, and the equation simplifies to . This demonstrates that the law provides the necessary correction for non-orthogonal triangle configurations.

Vector Interpretation

In the context of vector algebra, the sides of the triangle can be represented as vectors and meeting at an origin . The third side is then given by the vector difference . The square of the length of is derived from the dot product:

Substituting the geometric definition of the dot product:

yields the standard scalar form of the law.