Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Rewrite a Sum of Sines or Cosines as a Product

A sum of two sines (or two cosines) is a product of a sine and a cosine at the half-sum and half-difference of the angles. A product equal to zero splits into two easy equations, which is the main use.

Recognize the task

Two sines or two cosines with different angles added or subtracted: sin⁡5x+sin⁡3x\sin 5x + \sin 3x, cos⁡75∘+cos⁡15∘\cos 75^\circ + \cos 15^\circ, an equation sin⁡3x+sin⁡x=0\sin 3x + \sin x = 0.
The formulas are in sum-to-product identities; they are the product-to-sum formulas read backwards.

The formulas

The four formulashalf-sum and half-difference
sin⁡A+sin⁡B=2sin⁡A+B2cos⁡A−B2cos⁡A+cos⁡B=2cos⁡A+B2cos⁡A−B2\sin A + \sin B = 2\sin\tfrac{A + B}{2}\cos\tfrac{A - B}{2} \qquad \cos A + \cos B = 2\cos\tfrac{A + B}{2}\cos\tfrac{A - B}{2}
With minus signs, see the difference of sines and the difference of cosines; the second has a leading minus: cos⁡A−cos⁡B=−2sin⁡A+B2sin⁡A−B2\cos A - \cos B = -2\sin\frac{A+B}{2}\sin\frac{A-B}{2}.

Steps

StepOn sin⁡5x+sin⁡3x\sin 5x + \sin 3x
1Identify the pattern and the angles.sin⁡A+sin⁡B\sin A + \sin B, A=5xA = 5x, B=3xB = 3x
2Compute the half-sum and half-difference.A+B2=4x\frac{A + B}{2} = 4x, A−B2=x\frac{A - B}{2} = x
3Apply the formula. Sine sum to product.2sin⁡4xcos⁡x2\sin 4x\cos x
4Use the product. Set factors to zero in an equation, or evaluate exact values.product form

Worked examples

Example 1 · an exact value

cosine sum
cos⁡75∘+cos⁡15∘=2cos⁡45∘cos⁡30∘\cos 75^\circ + \cos 15^\circ = 2\cos 45^\circ\cos 30^\circ
=2⋅22⋅32=62= 2\cdot\frac{\sqrt{2}}{2}\cdot\frac{\sqrt{3}}{2} = \frac{\sqrt{6}}{2}

Example 2 · an equation

product = 0
sin⁡3x+sin⁡x=0\sin 3x + \sin x = 0 on [0,π)[0, \pi): 2sin⁡2xcos⁡x=02\sin 2x\cos x = 0
sin⁡2x=0\sin 2x = 0: x=0,π2x = 0, \frac{\pi}{2}; cos⁡x=0\cos x = 0: x=π2x = \frac{\pi}{2}
x=0,π2x = 0, \frac{\pi}{2}

Example 3 · the trace

sine sum
sin⁡5x+sin⁡3x\sin 5x + \sin 3x
2sin⁡4xcos⁡x2\sin 4x\cos x

See it happen

Add two waves of nearly equal frequency and the result swells and fades: a fast wave at the average frequency inside a slow envelope at half the difference. That is 2sin⁡A+B2cos⁡A−B22\sin\frac{A + B}{2}\cos\frac{A - B}{2} drawn.

Common mistakes

Full sum instead of half

✗ sin⁡5x+sin⁡3x=2sin⁡8xcos⁡2x\sin 5x + \sin 3x = 2\sin 8x\cos 2x
✓ halve both: 2sin⁡4xcos⁡x2\sin 4x\cos x

Missing minus in cos A − cos B

✗ cos⁡A−cos⁡B=2sin⁡A+B2sin⁡A−B2\cos A - \cos B = 2\sin\frac{A + B}{2}\sin\frac{A - B}{2}
✓ there is a leading minus: −2sin⁡…sin⁡…-2\sin\ldots\sin\ldots

Adding the functions directly

✗ sin⁡5x+sin⁡3x=sin⁡8x\sin 5x + \sin 3x = \sin 8x
✓ a sum of sines is not the sine of the sum