Solution:
Key idea: We write the numerator 1 as sin2x+cos2x and split the fraction. The first part is tanxsec2x (substitute t=tanx); the second part is sinxcosx1, which we integrate as tanxsec2x.
Step 1 — Replace 1 by sin2x+cos2x.
We use the identity sin2x+cos2x=1 in the numerator.
sinxcos3x1=sinxcos3xsin2x+cos2x
Step 2 — Split the fraction.
We divide each term of the numerator by sinxcos3x and cancel.
sinxcos3xsin2x+cos2x=cos3xsinx+sinxcosx1
We rewrite each part in terms of tanx and sec2x. In the second part we divide the numerator and the denominator by cos2x.
cos3xsinx=tanxsec2x
sinxcosx1=tanxsec2x
Step 3 — Substitute.
Both parts contain sec2x, so we put tanx equal to t.
t=tanx
Differentiating both sides gives the new differential.
dt=sec2xdx
Step 4 — Integrate in terms of t.
The integral becomes ∫(t+t1)dt.
∫(tanxsec2x+tanxsec2x)dx=∫(t+t1)dt
∫(t+t1)dt=2t2+log∣t∣+C
Step 5 — Return to x.
We put back t=tanx.
2t2+log∣t∣+C=21tan2x+log∣tanx∣+C
Therefore, ∫sinxcos3xdx=21tan2x+log∣tanx∣+C.