trigidentity.com

Sum-to-product identities · trigonometric identity

cos A + cos B = 2 cos((A + B)/2) cos((A − B)/2) — Sum to product: cos A + cos B

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

When to use it

Sums of two cosines, commonly when combining two waves of similar frequency: the product form makes the amplitude modulation visible.

Why it is true

Add the two cosine expansions with the u, v substitution: the sin u sin v terms cancel and 2 cos u cos v remain.

The full line-by-line version is on the proof page for sum to product: cos a + cos b; the “how would I find this myself” version is in the derivation.

Where it comes from

Both cosines, both stay cosines. Mnemonic: with a sum of cosines, nothing changes function; with a difference of cosines, everything does.

  1. cos + cos → cos·cos
    Pattern.
  2. cos − cos → sin·sin with a minus
    The companion formula. · Sum to product: cos A − cos B

Worked examples

No worked example is written for this identity yet —the examples index lists what is covered, and the pattern below shows the identity working at real angles.

Checked at these angles

Two sides of the identity evaluated with the same engine that runs the verifier. A single line disagreeing would break the build.

Both sides evaluated at the same angles — left side cos(A) + cos(B), right side 2 cos((A+B)/2) cos((A-B)/2).
AngleLeft sideRight sideAgree
0°1.9876881.987688yes
7.5°1.9667871.966787yes
15°1.9247461.924746yes
18°1.9021131.902113yes
22.5°1.8620711.862071yes
30°1.7795711.779571yes
37°1.6856461.685646yes
45°1.5597471.559747yes
53°1.4159311.415931yes
60°1.2771461.277146yes
67.5°1.1170061.117006yes
75°0.9471740.947174yes
90°0.5877850.587785yes
120°-0.141632-0.141632yes
135°-0.473661-0.473661yes
150°-0.761497-0.761497yes
180°-1.156434-1.156434yes
210°-1.272762-1.272762yes
240°-1.12932-1.12932yes
270°-0.809017-0.809017yes
300°-0.43358-0.43358yes
330°-0.128496-0.128496yes
360°0.0123120.012312yes

The mistake students make

Reaching for a sine factor. Cosine plus cosine gives cosine times cosine — both functions stay cosines.

Try it

Category hub: Sum-to-product identities · all identities: /identities

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