Solution:
Key idea: Rewrite the integrand with secx=cosx1 and cosecx=sinx1. The quotient becomes tan2x, and the identity tan2x=sec2x−1 turns it into two standard integrals.
Step 1 — Simplify the integrand.
We write both functions in terms of sinx and cosx.
cosec2xsec2x=1/sin2x1/cos2x
cosec2xsec2x=cos2xsin2x
cosec2xsec2x=tan2x
Step 2 — Use the identity for tan² x.
There is no direct formula for ∫tan2xdx, so we replace tan2x by sec2x−1.
I=∫(sec2x−1)dx
Step 3 — Integrate the standard forms.
We use ∫sec2xdx=tanx and ∫1dx=x.
I=tanx−x+C
Therefore, ∫cosec2xsec2xdx=tanx−x+C.