Solution:
Key idea: A product of a sine and a cosine can be turned into a sum with the formula 2sinAcosB=sin(A+B)+sin(A−B). A sum of sines is easier to differentiate than a product. (The product rule gives the same answer.)
Step 1 — Turn the product into a sum.
We use the formula with A=3x and B=5x, so A+B=8x and A−B=−2x.
y=21[sin8x+sin(−2x)]
Since sin(−θ)=−sinθ, this becomes
y=21(sin8x−sin2x)
Step 2 — Differentiate.
By the chain rule, sin8x gives 8cos8x and sin2x gives 2cos2x.
dxdy=21(8cos8x−2cos2x)
dxdy=4cos8x−cos2x
Step 3 — Check with the product rule.
Directly, the product rule gives the derivative in another form.
dxdy=3cos3xcos5x−5sin3xsin5x
At x=0 this form gives 3×1×1−0 and our answer gives 4−1; both equal 3, so the two forms agree.
Therefore, dxdy=4cos8x−cos2x.