NIMCET, GATE, CUET & CBSE test series are live — start practicing free
syllabuzAI

Product-to-Sum and Sum-to-Product Formulas | NIMCET

Learn the trigonometric transformation formulas that turn products into sums and sums into products, with worked NIMCET examples such as cos 20° cos 40° cos 80°.

5 min read

SP

SHIVAM PRADHAN

Updated 25 October 2026

On this page

Quick answer: Products of sines and cosines can be written as sums, for example 2sin⁡Acos⁡B=sin⁡(A+B)+sin⁡(A−B)2\sin A\cos B = \sin(A + B) + \sin(A - B). Sums can be written as products, for example sin⁡C+sin⁡D=2sin⁡C+D2cos⁡C−D2\sin C + \sin D = 2\sin\frac{C + D}{2}\cos\frac{C - D}{2}. These transformation formulas make products easy to integrate or sum, and turn sums into products that can be cancelled or set to zero.

Both sets of formulas come from adding and subtracting the compound angle formulas. Knowing that link means you only need to remember the method, not eight separate results.

Product to sum

Add sin⁡(A+B)=sin⁡Acos⁡B+cos⁡Asin⁡B\sin(A + B) = \sin A\cos B + \cos A\sin B and sin⁡(A−B)=sin⁡Acos⁡B−cos⁡Asin⁡B\sin(A - B) = \sin A\cos B - \cos A\sin B:

2sin⁡Acos⁡B=sin⁡(A+B)+sin⁡(A−B)2\sin A\cos B = \sin(A + B) + \sin(A - B)

The other three come the same way:

ProductSum form
2sin⁡Acos⁡B2\sin A\cos Bsin⁡(A+B)+sin⁡(A−B)\sin(A + B) + \sin(A - B)
2cos⁡Asin⁡B2\cos A\sin Bsin⁡(A+B)−sin⁡(A−B)\sin(A + B) - \sin(A - B)
2cos⁡Acos⁡B2\cos A\cos Bcos⁡(A+B)+cos⁡(A−B)\cos(A + B) + \cos(A - B)
2sin⁡Asin⁡B2\sin A\sin Bcos⁡(A−B)−cos⁡(A+B)\cos(A - B) - \cos(A + B)

Watch the last one: for 2sin⁡Asin⁡B2\sin A\sin B, the difference angle comes first.

Sum to product

Put A+B=CA + B = C and A−B=DA - B = D, so A=C+D2A = \frac{C + D}{2} and B=C−D2B = \frac{C - D}{2}:

SumProduct form
sin⁡C+sin⁡D\sin C + \sin D2sin⁡C+D2cos⁡C−D22\sin\frac{C + D}{2}\cos\frac{C - D}{2}
sin⁡C−sin⁡D\sin C - \sin D2cos⁡C+D2sin⁡C−D22\cos\frac{C + D}{2}\sin\frac{C - D}{2}
cos⁡C+cos⁡D\cos C + \cos D2cos⁡C+D2cos⁡C−D22\cos\frac{C + D}{2}\cos\frac{C - D}{2}
cos⁡C−cos⁡D\cos C - \cos D−2sin⁡C+D2sin⁡C−D2-2\sin\frac{C + D}{2}\sin\frac{C - D}{2}

The minus sign in the last row is the one students most often forget. An equivalent form is cos⁡C−cos⁡D=2sin⁡C+D2sin⁡D−C2\cos C - \cos D = 2\sin\frac{C + D}{2}\sin\frac{D - C}{2}.

Worked examples

Example 1: simplifying a ratio

Simplify sin⁡5x+sin⁡3xcos⁡5x+cos⁡3x\frac{\sin 5x + \sin 3x}{\cos 5x + \cos 3x}.

Step 1: Numerator: 2sin⁡4xcos⁡x2\sin 4x\cos x.

Step 2: Denominator: 2cos⁡4xcos⁡x2\cos 4x\cos x.

Step 3: Cancel 2cos⁡x2\cos x (assuming cos⁡x≠0\cos x \ne 0):

sin⁡5x+sin⁡3xcos⁡5x+cos⁡3x=tan⁡4x\frac{\sin 5x + \sin 3x}{\cos 5x + \cos 3x} = \tan 4x

Example 2: cos 20° cos 40° cos 80°

Step 1: Multiply and divide by 2sin⁡20∘2\sin 20^\circ, and use 2sin⁡θcos⁡θ=sin⁡2θ2\sin\theta\cos\theta = \sin 2\theta repeatedly:

2sin⁡20∘cos⁡20∘cos⁡40∘cos⁡80∘2sin⁡20∘=sin⁡40∘cos⁡40∘cos⁡80∘2sin⁡20∘\frac{2\sin 20^\circ\cos 20^\circ\cos 40^\circ\cos 80^\circ}{2\sin 20^\circ} = \frac{\sin 40^\circ\cos 40^\circ\cos 80^\circ}{2\sin 20^\circ}

Step 2: Repeat twice more:

=sin⁡80∘cos⁡80∘4sin⁡20∘=sin⁡160∘8sin⁡20∘= \frac{\sin 80^\circ\cos 80^\circ}{4\sin 20^\circ} = \frac{\sin 160^\circ}{8\sin 20^\circ}

Step 3: sin⁡160∘=sin⁡20∘\sin 160^\circ = \sin 20^\circ, so the product is 18\frac{1}{8}.

The general pattern: cos⁡θcos⁡2θcos⁡4θ⋯cos⁡2n−1θ=sin⁡2nθ2nsin⁡θ\cos\theta\cos 2\theta\cos 4\theta \cdots \cos 2^{n-1}\theta = \frac{\sin 2^n\theta}{2^n\sin\theta}.

Example 3: the sin 60° − θ identity

Show that sin⁡θsin⁡(60∘−θ)sin⁡(60∘+θ)=14sin⁡3θ\sin\theta\sin(60^\circ - \theta)\sin(60^\circ + \theta) = \frac{1}{4}\sin 3\theta.

Step 1: Product to sum on the last two factors:

sin⁡(60∘−θ)sin⁡(60∘+θ)=sin⁡260∘−sin⁡2θ=34−sin⁡2θ\sin(60^\circ - \theta)\sin(60^\circ + \theta) = \sin^2 60^\circ - \sin^2\theta = \frac{3}{4} - \sin^2\theta

Step 2: Multiply by sin⁡θ\sin\theta:

sin⁡θ(34−sin⁡2θ)=3sin⁡θ−4sin⁡3θ4=sin⁡3θ4\sin\theta\left(\frac{3}{4} - \sin^2\theta\right) = \frac{3\sin\theta - 4\sin^3\theta}{4} = \frac{\sin 3\theta}{4}

The cosine version, cos⁡θcos⁡(60∘−θ)cos⁡(60∘+θ)=14cos⁡3θ\cos\theta\cos(60^\circ - \theta)\cos(60^\circ + \theta) = \frac{1}{4}\cos 3\theta, works the same way. With θ=20∘\theta = 20^\circ it gives cos⁡20∘cos⁡40∘cos⁡80∘=14cos⁡60∘=18\cos 20^\circ\cos 40^\circ\cos 80^\circ = \frac{1}{4}\cos 60^\circ = \frac{1}{8} — a quick check on Example 2.

Example 4: solving with sum to product

Solve sin⁡x+sin⁡3x=0\sin x + \sin 3x = 0.

Step 1: 2sin⁡2xcos⁡x=02\sin 2x\cos x = 0.

Step 2: Either sin⁡2x=0\sin 2x = 0, so x=nπ2x = \frac{n\pi}{2}, or cos⁡x=0\cos x = 0, so x=(2n+1)π2x = (2n + 1)\frac{\pi}{2}. The second set is contained in the first, so the solution is x=nπ2x = \frac{n\pi}{2}, n∈Zn \in \mathbb{Z}.

Summary table

WantUse
Product → sum2sin⁡Acos⁡B=sin⁡(A+B)+sin⁡(A−B)2\sin A\cos B = \sin(A + B) + \sin(A - B) and the related forms
Sum → productsin⁡C+sin⁡D=2sin⁡C+D2cos⁡C−D2\sin C + \sin D = 2\sin\frac{C + D}{2}\cos\frac{C - D}{2} and the related forms
Chain of cosines with doubling anglesMultiply by 2sin⁡θ2\sin\theta and use sin⁡2θ\sin 2\theta repeatedly
sin⁡θsin⁡(60∘±θ)\sin\theta\sin(60^\circ \pm \theta)14sin⁡3θ\frac{1}{4}\sin 3\theta
cos⁡θcos⁡(60∘±θ)\cos\theta\cos(60^\circ \pm \theta)14cos⁡3θ\frac{1}{4}\cos 3\theta

Exam tips

  • Pair terms whose angles add or subtract to something useful (often a common factor appears).
  • For a product of cosines whose angles double, multiply by 2sin⁡(smallest angle)2\sin(\text{smallest angle}).
  • Recognise 20∘20^\circ, 40∘40^\circ, 80∘80^\circ as θ\theta, 60∘−θ60^\circ - \theta, 60∘+θ60^\circ + \theta with θ=20∘\theta = 20^\circ.
  • When solving equations, change sums into products so that each factor can be set to zero.

Related: compound angle formulas and the NIMCET Trigonometry chapter.

Common mistakes

  • Forgetting the negative sign in cos⁡C−cos⁡D\cos C - \cos D.
  • Putting the angles in the wrong order in 2sin⁡Asin⁡B=cos⁡(A−B)−cos⁡(A+B)2\sin A\sin B = \cos(A - B) - \cos(A + B).
  • Dividing by a factor such as cos⁡x\cos x when solving an equation, which loses solutions.
  • Forgetting the factor 2 on the product side of every formula.

Frequently Asked Questions

What is the formula for sin C + sin D?

sin C + sin D = 2 sin((C + D)/2) cos((C − D)/2).

What is 2 sin A sin B equal to?

2 sin A sin B = cos(A − B) − cos(A + B).

What is the value of cos 20° cos 40° cos 80°?

It is 1/8. Multiply and divide by 2 sin 20° and use the double angle formula three times.

Why are these called transformation formulas?

They transform a product of trigonometric functions into a sum, or a sum into a product, which makes simplifying, solving and integrating easier.

What is cos C − cos D?

cos C − cos D = −2 sin((C + D)/2) sin((C − D)/2).

Concept Check

MEDIUM

A train travels a distance of 480 km480\text{ km} at a uniform speed. If its speed had been 8 km/h8\text{ km/h} slower, it would have taken 3 hours3\text{ hours} longer to cover the same distance. What is the original uniform speed of the train?

Suggested for you