trigidentity.com

Sum-to-product identities · derivation ·proof

Where cos A − cos B = −2 sin((A + B)/2) sin((A − B)/2) comes from

Sanity-check with A = B. When A = B the left side is 0 and the right side is 0 because sin 0 = 0 — consistent. Then one numeric test fixes the overall sign.

cos A − cos B = −2 sin((A + B)/2) sin((A − B)/2)

Building it step by step

  1. A = B: both sides 0
    Necessary condition ✓.
  2. A = 0, B = π: left = 1 − (−1) = 2
    Concrete test.
  3. right = −2 sin(π/2) sin(−π/2) = +2
    Matches only with the leading minus.

Where this route is used

Differences of cosines — and the only sum-to-product formula with a leading minus sign. Forgetting that minus is the single most common error in this group.

Checked at these angles

Deriving a formula and testing it are different things; this table is the test. The numbers come from the same engine as the verifier, computed when the site was built.

Both sides evaluated at the same angles — left side cos(A) - cos(B), right side -2 sin((A+B)/2) sin((A-B)/2).
AngleLeft sideRight sideAgree
0°0.0123120.012312yes
7.5°0.0161030.016103yes
15°0.0071060.007106yes
18°00yes
22.5°-0.014312-0.014312yes
30°-0.04752-0.04752yes

Neighbouring derivations

How to recall it under pressure

Re-derive it from the first line rather than searching memory: start from cos(a) - cos(b) and do the one algebraic move the derivation above makes. If you need the statement itself, it is on the sum to product: cos a − cos b page.

sampled at 800 random anglesSource: OpenStax Precalculus, Ch. 7.2–7.3 · Paul's Online Math Notes · revised 2026-09-26 ·how we check ·accuracy policy ·report an error