Solution:
Key idea: We differentiate y with the quotient rule (vu)′=v2vu′−uv′. The numerator then turns into a sum of two squares, which splits the fraction into 1 plus the square of y itself.
Step 1 — Name the top and the bottom.
We let u=sinx−cosx and v=sinx+cosx, so that y=vu. Their derivatives are
u′=cosx+sinx
v′=cosx−sinx
Step 2 — Apply the quotient rule.
We substitute u, v, u′ and v′ into the quotient rule.
dxdy=(sinx+cosx)2(sinx+cosx)(cosx+sinx)−(sinx−cosx)(cosx−sinx)
Step 3 — Write the numerator as two squares.
The first product is (sinx+cosx)2. In the second product, cosx−sinx=−(sinx−cosx), so the second product is −(sinx−cosx)2. Subtracting it turns the minus into a plus.
dxdy=(sinx+cosx)2(sinx+cosx)2+(sinx−cosx)2
Step 4 — Split the fraction.
We divide each square in the numerator by the denominator separately.
dxdy=1+(sinx+cosx)2(sinx−cosx)2
dxdy=1+(sinx+cosxsinx−cosx)2
Step 5 — Recognise y.
The fraction inside the bracket is exactly the given y, so the bracket squared is y2.
dxdy=1+y2
Hence proved: dxdy=1+y2.