Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

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

A product of two trig functions equals half the sum (or difference) of two functions of A+BA + B and A−BA - B. Products are hard to integrate or evaluate; sums are easy.

Recognize the task

Two trig functions with different angles multiplied: sin⁡5xcos⁡3x\sin 5x\cos 3x, cos⁡75∘cos⁡15∘\cos 75^\circ\cos 15^\circ, sin⁡3xsin⁡x\sin 3x\sin x, often inside an integral.
The formulas are in product-to-sum identities; they come from adding two sum and difference formulas.

The formulas

The three formulaspick by the functions
sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]sin⁡Asin⁡B=12[cos⁡(A−B)−cos⁡(A+B)]\sin A\cos B = \tfrac{1}{2}[\sin(A + B) + \sin(A - B)] \quad \cos A\cos B = \tfrac{1}{2}[\cos(A - B) + \cos(A + B)] \quad \sin A\sin B = \tfrac{1}{2}[\cos(A - B) - \cos(A + B)]

Steps

StepOn sin⁡5xcos⁡3x\sin 5x\cos 3x
1Identify the pair of functions. Sine–cosine, cosine–cosine or sine–sine.sine–cosine, A=5xA = 5x, B=3xB = 3x
2Compute A + B and A − B.8x8x and 2x2x
3Substitute into the formula.Sum and difference identities ↗12(sin⁡8x+sin⁡2x)\tfrac{1}{2}(\sin 8x + \sin 2x)
4Simplify negative angles if any. sin⁡(−u)=−sin⁡u\sin(-u) = -\sin u, cos⁡(−u)=cos⁡u\cos(-u) = \cos u (even-odd).none here

Worked examples

Example 1 · an exact value

cosine–cosine
cos⁡75∘cos⁡15∘=12(cos⁡60∘+cos⁡90∘)\cos 75^\circ\cos 15^\circ = \tfrac{1}{2}(\cos 60^\circ + \cos 90^\circ)
=12(12+0)=14= \tfrac{1}{2}\left(\tfrac{1}{2} + 0\right) = \tfrac{1}{4}

Example 2 · sine–sine

difference
sin⁡3xsin⁡x=12(cos⁡2x−cos⁡4x)\sin 3x\sin x = \tfrac{1}{2}(\cos 2x - \cos 4x)
ready to integrate term by term

Example 3 · the trace

sine–cosine
sin⁡5xcos⁡3x\sin 5x\cos 3x
12(sin⁡8x+sin⁡2x)\tfrac{1}{2}(\sin 8x + \sin 2x)

See it happen

Multiply a fast wave by a slow one and you hear a beat: two notes, one at the sum and one at the difference of the frequencies. The product-to-sum formulas are that observation written as an identity.

Common mistakes

Forgetting the ½

✗ sin⁡5xcos⁡3x=sin⁡8x+sin⁡2x\sin 5x\cos 3x = \sin 8x + \sin 2x
✓ 12(sin⁡8x+sin⁡2x)\tfrac{1}{2}(\sin 8x + \sin 2x)

Wrong sign for sine–sine

✗ sin⁡Asin⁡B=12[cos⁡(A+B)−cos⁡(A−B)]\sin A\sin B = \tfrac{1}{2}[\cos(A + B) - \cos(A - B)]
✓ 12[cos⁡(A−B)−cos⁡(A+B)]\tfrac{1}{2}[\cos(A - B) - \cos(A + B)]

Multiplying the angles

✗ sin⁡5xcos⁡3x=sin⁡15x2\sin 5x\cos 3x = \sin 15x^2
✓ angles add and subtract, they never multiply