Sum-to-product identities · proof ·what it is and when to use it
Proof: cos A + cos B = 2 cos((A + B)/2) cos((A − B)/2)
Sum to product: cos A + cos B — proved by add the cosine expansions. Every line below says which rule it uses, so nothing has to be taken on faith.
cos A + cos B = 2 cos((A + B)/2) cos((A − B)/2)
The proof
u = (A + B)/2, v = (A − B)/2 again.
- cos A + cos B = cos(u + v) + cos(u − v)Substitution.
- = (cos u cos v − sin u sin v) + (cos u cos v + sin u sin v)Cosine sum and difference. · Cosine of a sum, Cosine of a difference
- = 2 cos u cos vSine products cancel.
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° | 1.987688 | 1.987688 | yes |
| 7.5° | 1.966787 | 1.966787 | yes |
| 15° | 1.924746 | 1.924746 | yes |
| 18° | 1.902113 | 1.902113 | yes |
| 22.5° | 1.862071 | 1.862071 | yes |
| 30° | 1.779571 | 1.779571 | yes |
Related
- How would I find cos A + cos B = 2 cos((A + B)/2) cos((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