Solution:
Key idea: The identity sec2x−tan2x=1, by the difference of squares, factorises as (secx−tanx)(secx+tanx)=1. So secx−tanx is the reciprocal of secx+tanx, and y becomes a single power that the chain rule can handle.
Step 1 — Rewrite the numerator.
From the identity, the numerator is
secx−tanx=secx+tanx1
Step 2 — Rewrite y as a power.
Dividing by secx+tanx once more gives
y=(secx+tanx)21
y=(secx+tanx)−2
Step 3 — Apply the chain rule.
The inside secx+tanx has derivative secxtanx+sec2x.
dxdy=−2(secx+tanx)−3(secxtanx+sec2x)
Step 4 — Factorise the derivative of the inside.
We take out secx from the bracket; what is left is secx+tanx again.
dxdy=−2(secx+tanx)−3×secx(secx+tanx)
Step 5 — Cancel.
One factor secx+tanx cancels, leaving the power −2.
dxdy=−2secx(secx+tanx)−2
dxdy=−(secx+tanx)22secx
Hence proved: dxdy=−(secx+tanx)22secx.