Cosine Rule
The sine rule needs at least one known angle paired with its opposite side to get started. But two very common situations don't offer that: you might know two sides and the angle between them (SAS), or all three sides (SSS) with no angle at all. The Cosine Rule is built exactly for these cases:
cosA=2bcb2+c2−a2,a2=b2+c2−2bccosA,
and cyclically for B and C. Think of it as a generalisation of the Pythagorean theorem: when A=90∘, cosA=0 and the formula collapses to a2=b2+c2 exactly.
Where it comes from
Placing A at the origin with B along the x-axis, the third vertex C sits at (bcosA,bsinA) purely from the definition of angle A and the length AC=b. The distance formula between B=(c,0) and C then expands, via cos2A+sin2A=1, straight into a2=b2+c2−2bccosA — no trigonometric identity beyond the Pythagorean one is needed.
How it is used
- SAS → third side: given b,c,A, compute a directly, then use the sine rule to find B or C (picking the smaller of the two unknown angles avoids the ambiguous-angle trap).
- SSS → any angle: solve the rearranged form for cosA (or B, or C) using all three known sides, then take cos−1.
- A building block: the half-angle formulas, and Heron's formula, are both derived from the cosine rule by combining it with the double-angle identities cosA=1−2sin22A=2cos22A−1. …