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.
Building it step by step
- A = B: both sides 0Necessary condition ✓.
- A = 0, B = π: left = 1 − (−1) = 2Concrete test.
- right = −2 sin(π/2) sin(−π/2) = +2Matches 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.
- simplify
- convert
- solve
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.
| Angle | Left side | Right side | Agree |
|---|---|---|---|
| 0° | 0.012312 | 0.012312 | yes |
| 7.5° | 0.016103 | 0.016103 | yes |
| 15° | 0.007106 | 0.007106 | yes |
| 18° | 0 | 0 | yes |
| 22.5° | -0.014312 | -0.014312 | yes |
| 30° | -0.04752 | -0.04752 | yes |
Neighbouring derivations
- cos A + cos B = 2 cos((A + B)/2) cos((A − B)/2) — Sum to product: cos A + cos B
- sin A − sin B = 2 cos((A + B)/2) sin((A − B)/2) — Sum to product: sin A − sin B
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.