Q.Integrate the following function: sin4xsin8x
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 10-day free trial to unlock the full solution →Concept understanding — Product To Sum Identity
Why turn a product into a sum?
Products of trig functions are messy — they don't integrate nicely and are hard to simplify. Sums are clean: you can separate and integrate them term-by-term. The Product-to-Sum identities convert a product of sines and cosines into a sum (or difference), turning something like sin3xcos5x into 21[sin8x+sin(−2x)].
The core idea in one sentence
Any product of two sines and/or cosines can be rewritten as half the sum (or difference) of two sine/cosine functions whose arguments are the sum and difference of the original angles.
The four identities
For any two angles A and B:
sinAcosBcosAsinBcosAcosBsinAsinB=21[sin(A+B)+sin(A−B)]=21[sin(A+B)−sin(A−B)]=21[cos(A+B)+cos(A−B)]=21[cos(A−B)−cos(A+B)]
The pattern:
- Same functions (coscos or sinsin) → result uses cosines.
- Different functions (sincos or cossin) → result uses sines.
- The sinsin case has a minus before cos(A+B) — the one that trips people up.
Where they come from (the derivation)
They follow directly from the sum and difference formulas:
sin(A+B)sin(A−B)cos(A+B)cos(A−B)=sinAcosB+cosAsinB=sinAcosB−cosAsinB=cosAcosB−sinAsinB=cosAcosB+sinAsinB
Add the first two: sin(A+B)+sin(A−B)=2sinAcosB. Divide by 2 → the first identity. Subtract them → the second. Add/subtract the cosine formulas → the other two.
If you forget an identity, derive it in 10 seconds from the sum/difference formulas.
Worked examples
Simplify sin5xcos2x. With A=5x, B=2x (first identity):
sin5xcos2x=21[sin7x+sin3x]
Simplify sin4xsinx. With A=4x, B=x (fourth identity):
sin4xsinx=21[cos3x−cos5x]
The sinsin identity has a minus between the two cosines, with cos(A−B) first. Writing 21[cos(A+B)−cos(A−B)] is wrong.
--- …
The key idea is to use the Product-to-Sum identity to rewrite the product of sines as a sum of cosines, which is straightforward to integrate.
Step 1: Recall the identity:
sinAsinB=21[cos(A−B)−cos(A+B)]
Step 2: Apply it with A=4x and B=8x:
sin4xsin8x=21[cos(4x−8x)−cos(4x+8x)]=21[cos(−4x)−cos(12x)]
Step 3: Since cos(−4x)=cos4x, the expression simplifies to:
sin4xsin8x=21(cos4x−cos12x) …
The integral of sin4xsin8x is solved by converting the product into a sum using the cosine difference identity, then integrating term by term. The final result is 81sin4x−241sin12x+C.
When you see a product of two sine functions (or sine and cosine), the direct approach — trying to guess a reverse chain rule — fails because the angles are different. The trick is to rewrite the product as a sum or difference of cosines. This is one of the Product-to-Sum identities, and it exists precisely to turn multiplication (hard to integrate) into addition (easy to integrate).
The identity we need is:
sinAsinB=21[cos(A−B)−cos(A+B)]
Why does this work? Because the derivative of sin is cos, and the derivative of cos is −sin — so integrating a cosine is straightforward. By converting the product into a combination of cosines, each term becomes a basic integral.
Let’s apply it step by step.
- Identify A and B. Here, A=4x and B=8x. Plug into the identity:
sin4xsin8x=21[cos(4x−8x)−cos(4x+8x)]
- Simplify the angles inside the cosines. 4x−8x=−4x, and cos(−4x)=cos4x because cosine is an even function. 4x+8x=12x. So:
sin4xsin8x=21[cos4x−cos12x]
- Set up the integral.
∫sin4xsin8xdx=21∫(cos4x−cos12x)dx
-
Integrate each cosine term separately.
Recall: ∫cos(kx)dx=k1sin(kx)+C.
So:
- ∫cos4xdx=41sin4x
- ∫cos12xdx=121sin12x
Therefore: …
Method: Product-to-sum for sin(ax)sin(bx)
Convert a product of two sines into a difference of cosines, then integrate term by term.
Steps
Step 1: Apply the sine-sine identity.
sinAsinB=21[cos(A−B)−cos(A+B)]
Match A and B to the two angles.
Step 2: Simplify negative angles.
Cosine is even, so cos(A−B)=cos(B−A) — a negative angle inside the cosine can be flipped without a sign change.
Step 3: Integrate each cosine. …
Common Mistakes
Mistake 1: Dropping the 21 factor from the product-to-sum identity.
Why it's wrong: sin4xsin8x=21[cos4x−cos12x]; omitting the 21 doubles every term of the answer. Correct approach: carry the 21 through, giving 81sin4x−241sin12x+C.
Mistake 2: Writing the identity with a plus instead of a minus between the cosines. …
- JEE Main 2026Set 2026-04-05-s24 marksQ.If S = {θ ∈ [-π, π] : cosθ cos(5θ/2) = cos7θ cos(7θ/2)}, then n(S) is equal to __________.
›Reveal solutionSolution
Product-to-sum identities reduce both sides to cos23θ=cos221θ, which splits into two arithmetic-progression families of solutions that overlap in 3 places, giving 19 distinct values in [−π,π].
Any equation pitting a product of cosines against another product of cosines is almost always begging for the product-to-sum identity cosAcosB=21[cos(A+B)+cos(A−B)] — it's the move that turns a tangled trig equation into something linear in θ inside a cosine.
- On the left,
cosθcos25θ=21[cos(θ+25θ)+cos(θ−25θ)]=21[cos27θ+cos23θ].
- On the right,
cos7θcos27θ=21[cos221θ+cos27θ].
- Setting the two equal and cancelling the shared cos27θ term:
cos23θ=cos221θ.
cosA=cosB⟺A=2kπ±B for some integer k.
- Case 1 (A−B form): 221θ−23θ=2kπ⇒9θ=2kπ⇒θ=92kπ. For θ∈[−π,π], k ranges over −4,…,4 — 9 values. …
- JEE Main 2026Set 2026-01-22-s24 marksQ.Let cos(α+β) = −1/10 and sin(α−β) = 3/8, where 0 < α < π/3 and 0 < β < π/4. If tan 2α = 3(1 − r√5) / (√11(s + √5)), r, s ∈ N, then r + s is equal to _____.
›Reveal solutionSolution
Building 2α=(α+β)+(α−β) from the given data and simplifying gives r=11,s=9, so r+s=20.
- cos(α+β)=−101 (obtuse, since α+β<7π/12) ⇒sin(α+β)=10311 (positive); tan(α+β)=−311.
- sin(α−β)=83⇒cos(α−β)=855 (positive, acute); tan(α−β)=553.
tan2α=1−tan(α+β)tan(α−β)tan(α+β)+tan(α−β) …
- JEE Main 2025Set 2025-01-28-s24 marksMCQQ.If ∑r=113{sin(4π+(r−1)6π)sin(4π+6rπ)1}=a3+b, a,b∈Z, then a2+b2 is equal to : (A) 10 (B) 4 (C) 8 (D) 2
›Reveal solutionSolution
A product of two sines whose angles differ by a constant telescopes via the cotangent-difference identity; only the first and last terms survive.
- Let θr=4π+(r−1)6π for r=1,…,14, so the r-th term of the sum is sinθrsinθr+11.
- Since θr+1−θr=π/6, use cotθr−cotθr+1=sinθrsinθr+1sin(θr+1−θr)=sinθrsinθr+1sin(π/6)=sinθrsinθr+11/2.
- So sinθrsinθr+11=2(cotθr−cotθr+1), and summing r=1 to 13 telescopes: ∑r=113(⋅)=2(cotθ1−cotθ14). …
- JEE Main 2025Set 2025-04-07-s24 marksMCQQ.The number of solutions of the equation cos 2θ cos(θ/2) + cos(5θ/2) = 2 cos^3(5θ/2) in [−π/2, π/2] is : (A) 5 (B) 7 (C) 6 (D) 9
›Reveal solutionSolution
With x=θ/2, the equation reduces to cos3x=cos15x; combining the two resulting families of solutions inside x∈[−π/4,π/4] gives 7 distinct solutions.
The three angles 2θ, θ/2, 5θ/2 are related (2θ=25θ−2θ), so expressing everything in terms of x=θ/2 and using the cosine subtraction formula turns a mixed-angle equation into one with a single simplifiable structure.
- Let x=θ/2; the equation becomes cos4xcosx+cos5x=2cos35x.
- Use cos5x=cos(4x+x)=cos4xcosx−sin4xsinx⇒cos4xcosx=cos5x+sin4xsinx.
- Substitute: cos5x+sin4xsinx+cos5x=2cos35x⇒2cos5x+sin4xsinx=2cos35x.
- Rearrange: sin4xsinx=2cos35x−2cos5x=2cos5x(cos25x−1)=−2cos5xsin25x.
- Write 2cos5xsin25x=sin5x⋅(2sin5xcos5x)=sin5xsin10x, so sin4xsinx+sin5xsin10x=0. …
- JEE Main 2023Set 2023-04-10-s14 marksMCQQ.96 \cos(\pi/33) \cos(2\pi/33) \cos(4\pi/33) \cos(8\pi/33) \cos(16\pi/33) is equal to: (A) 4 (B) 2 (C) 3 (D) 1
›Reveal solutionSolution
The repeated-doubling-angle product telescopes via sinθ⋅2ncosθcos2θ⋯cos(2n−1θ)=sin(2nθ), collapsing the whole product to 321.
- Let θ=33π. The product has 5 cosine factors with angles doubling each time: θ,2θ,4θ,8θ,16θ.
- Use the standard identity cosθcos2θcos4θ⋯cos(2n−1θ)=2nsinθsin(2nθ), derived by repeatedly multiplying and dividing by 2sinθ (each step uses 2sinxcosx=sin2x).
- Here n=5, so cosθcos2θcos4θcos8θcos16θ=32sinθsin(32θ). …
- JEE Main 2023Set 2023-01-25-s24 marksQ.If m and n respectively are the numbers of positive and negative values of \theta in the interval [-\pi, \pi] that satisfy the equation \cos 2\theta \cos(\theta/2) = \cos 3\theta \cos(9\theta/2), then mn is equal to _____.
›Reveal solutionSolution
Convert both sides to sums of cosines using product-to-sum identities, solve the resulting cos X = cos Y equation, then count positive and negative solutions in [-pi,pi].
- cos(2theta)cos(theta/2) = (1/2)[cos(3theta/2)+cos(5theta/2)].
- cos(3theta)cos(9theta/2) = (1/2)[cos(3theta/2)+cos(15theta/2)] (using cos(3theta-9theta/2)=cos(-3theta/2)=cos(3theta/2)).
- Equating: cos(5theta/2)=cos(15theta/2). …
- JEE Main 2022Set 2022-06-24-s24 marksMCQQ.The number of solutions of the equation cos(x+π/3)·cos(π/3−x) = (1/4)cos²2x, x ∈ [−3π, 3π] is: (A) 8 (B) 5 (C) 6 (D) 7
›Reveal solutionSolution
The equation collapses to the single condition cos2x=1, which has exactly 7 solutions in [−3π,3π].
- cos(x+π/3)cos(π/3−x)=21[cos((x+π/3)−(π/3−x))+cos((x+π/3)+(π/3−x))]=21[cos2x+cos(2π/3)]=21cos2x−41.
- Setting equal to 41cos22x: 21c−41=41c2 where c=cos2x, giving 2c−1=c2⇒c2−2c+1=0⇒(c−1)2=0⇒c=1. …
- JEE Main 2022Set 2022-06-26-s14 marksQ.If sin²(10°)sin(20°)sin(40°)sin(50°)sin(70°) = α – (1/16)sin(10°), then 16 + α⁻¹ is equal to ______.
›Reveal solutionSolution
Simplifying the trigonometric product shows α=1/64, giving 16+α⁻¹ = 80.
- Using the identity sinθ·sin(60°−θ)·sin(60°+θ) = (1/4)sin3θ with θ=10°: sin10°sin50°sin70° = (1/4)sin30° = 1/8.
- The given product sin²10°sin20°sin40°sin50°sin70° = sin10°·[sin10°sin50°sin70°]·sin20°sin40° = sin10°·(1/8)·sin20°sin40°.
- Using product-to-sum: sin20°sin40° = (1/2)[cos20° − cos60°] = (1/2)[cos20° − 1/2]. …
- JEE Main 2022Set 2022-07-25-s24 marksMCQQ.2sin(π/22)sin(3π/22)sin(5π/22)sin(7π/22)sin(9π/22) is equal to (A) 3/16 (B) 1/16 (C) 1/32 (D) 9/32
›Reveal solutionSolution
The standard product identity ∏k=1nsin4n+2(2k−1)π=2n1 (with n=5) gives the product 321, so doubling gives 161.
- The five sine factors sin22π,sin223π,sin225π,sin227π,sin229π have odd numerators 1,3,5,7,9 over denominator 22, matching the pattern 4n+2(2k−1)π for k=1,…,5 with 4n+2=22⇒n=5.
- The classical identity states k=1∏nsin4n+2(2k−1)π=2n1.
- With n=5: the product of the five sines =251=321. …
- JEE Main 2021Set 2021-07-25-s14 marksMCQQ.The sum of all values of x in [0, 2π], for which sinx + sin2x + sin3x + sin4x = 0, is equal to: (A) 8π (B) 11π (C) 12π (D) 9π
›Reveal solutionSolution
Pairing terms and applying sum-to-product identities factors the quartic trig sum into a clean product, whose zero-sets combine to give 9 distinct solutions summing to 9π.
- Group as (sinx+sin4x)+(sin2x+sin3x)=2sin(5x/2)cos(3x/2)+2sin(5x/2)cos(x/2)=2sin(5x/2)[cos(3x/2)+cos(x/2)].
- cos(3x/2)+cos(x/2)=2cosxcos(x/2) (sum-to-product), so the equation is 4sin(5x/2)cosxcos(x/2)=0.
- sin(5x/2)=0⇒x=2kπ/5 for k=0,…,5: {0,52π,54π,56π,58π,2π} — 6 values. …
- JEE Main 2021Set 2021-08-26-s24 marksMCQQ.The value of 2 sin(π/8) sin(2π/8) sin(3π/8) sin(5π/8) sin(6π/8) sin(7π/8) is: (A) 1/(4√2) (B) 1/4 (C) 1/8 (D) 1/(8√2)
›Reveal solutionSolution
Pairing each angle beyond π/2 with its supplement reduces the product to sin2(π/8)cos2(π/8), which equals 1/8.
- Using sin(π−θ)=sinθ: sin(5π/8)=sin(3π/8), sin(6π/8)=sin(2π/8)=sin(π/4), and sin(7π/8)=sin(π/8).
- The product becomes 2sin(π/8)sin(π/4)sin(3π/8)sin(3π/8)sin(π/4)sin(π/8)=2sin2(π/8)sin2(3π/8)sin2(π/4). …
- JEE Main 2021Set 2021-09-01-s14 marksMCQQ.If n is the number of solutions of the equation 2cos x (4 sin(π/4 + x) sin(π/4 − x) − 1) = 1, x ∈ [0, π], and S is the sum of all these solutions, then the ordered pair (n, S) is: (A) (3, 13π/9) (B) (2, 2π/3) (C) (2, 8π/9) (D) (3, 5π/3)
›Reveal solutionSolution
The product-to-sum identity collapses the equation to cos3x=21, with exactly 3 roots in [0,π] summing to 13π/9.
- sin(π/4+x)sin(π/4−x)=sin2(π/4)−sin2x=21−sin2x.
- 4(21−sin2x)−1=1−4sin2x=4cos2x−3.
- 2cosx(4cos2x−3)=1⇒8cos3x−6cosx=1⇒2(4cos3x−3cosx)=1⇒2cos3x=1⇒cos3x=1/2. …
🎓Unlock everything free for 10 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 10 days. No credit card required.