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.
A common trap
Students often plug values into cosA=2bcb2+c2−a2 but mix up which side is "a" (opposite A) versus which two are the "legs" b,c — since the rule is not symmetric in which side plays the role of a, getting this wrong silently computes the wrong angle. It helps to always read the rule as "(sum of squares of the two sides forming the angle) minus (square of the side facing the angle), over twice their product."
Worked micro-example
For a=7,b=8,c=9: cosA=14464+81−49=14496=32≈0.667, so A≈48.19∘ — a genuinely acute angle, as expected since a is the smallest side.