Sum-to-product identities · proof ·what it is and when to use it
Proof: cos A − cos B = −2 sin((A + B)/2) sin((A − B)/2)
Sum to product: cos A − cos B — proved by subtract the cosine expansions. Every line below says which rule it uses, so nothing has to be taken on faith.
cos A − cos B = −2 sin((A + B)/2) sin((A − B)/2)
The proof
Same substitution, subtraction this time.
- cos A − cos B = cos(u + v) − cos(u − v)Substitution.
- = −2 sin u sin vCosine products cancel, sine products double with a minus. · Cosine of a sum, Cosine of a difference
- = −2 sin((A + B)/2) sin((A − B)/2)Return to A and B.
Where the proof stops applying
Both sides are undefined at the same angles — where a denominator in the proof reaches zero (for instance cos x = 0 in a tangent or secant form). Elsewhere the argument above holds for every real angle.
The same claim, checked numerically
A proof is not the same thing as a check, and this page shows both: the reasoning above, and the first few angles fed to the same engine behind the verifier. If they ever disagreed, the data would be broken — the build would fail before publishing (accuracy policy).
| 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 |
Related
- How would I find cos A − cos B = −2 sin((A + B)/2) sin((A − B)/2) myself? — the derivation, which is a different question from the proof.
- Sum to product: cos A − cos B: when to use it — the practical side.
- All sum-to-product identities · proof index