Solution:
Key idea: We keep one cosec2x as (minus) the derivative of cotx and write the other as 1+cot2x. Then the substitution t=cotx gives a polynomial in t.
Step 1 — Rewrite the integrand.
We split cosec4x into two factors of cosec2x.
cot3xcosec4x=cot3xcosec2x⋅cosec2x
We use the identity cosec2x=1+cot2x on one factor only.
cot3xcosec2x⋅cosec2x=cot3x(1+cot2x)cosec2x
Step 2 — Substitute.
We put cotx equal to t.
t=cotx
Differentiating both sides gives the new differential.
dt=−cosec2xdx
So the remaining factor with dx is −dt.
cosec2xdx=−dt
Step 3 — Integrate in terms of t.
The integrand becomes −t3(1+t2), which we expand and integrate term by term.
∫cot3xcosec4xdx=−∫t3(1+t2)dt
−∫t3(1+t2)dt=−∫(t3+t5)dt
−∫(t3+t5)dt=−4t4−6t6+C
Step 4 — Return to x.
We put back t=cotx.
−4t4−6t6+C=−41cot4x−61cot6x+C
Therefore, ∫cot3xcosec4xdx=−41cot4x−61cot6x+C.