Solution:
Key idea: The angle in the numerator is the difference of the two angles in the denominator, 2x=5x−3x. Expanding sin(5x−3x) splits the fraction into two cotangents, and ∫cotkxdx=k1log∣sinkx∣+C.
Step 1 — Write the numerator using the two denominator angles.
We write 2x as 5x−3x and expand with sin(A−B)=sinAcosB−cosAsinB.
sin2x=sin(5x−3x)
sin2x=sin5xcos3x−cos5xsin3x
Step 2 — Split the fraction into two terms.
We divide each term of the numerator by sin5xsin3x and cancel the common factor in each term.
sin5xsin3xsin2x=sin5xsin3xsin5xcos3x−sin5xsin3xcos5xsin3x
sin5xsin3xsin2x=sin3xcos3x−sin5xcos5x
sin5xsin3xsin2x=cot3x−cot5x
Step 3 — Integrate each cotangent.
We use ∫cotkxdx=k1log∣sinkx∣, with k=3 and then with k=5.
I=∫cot3xdx−∫cot5xdx
I=31log∣sin3x∣−51log∣sin5x∣+C
Step 4 — Check by differentiating.
Differentiating the answer must give back cot3x−cot5x, which is the integrand.
dxd[31log∣sin3x∣−51log∣sin5x∣]=3sin3x3cos3x−5sin5x5cos5x
Therefore, ∫sin5xsin3xsin2xdx=31log∣sin3x∣−51log∣sin5x∣+C, wherever sin3x=0 and sin5x=0.