Solution:
Key idea: We find dxdy, square both y and dxdy, and add. The middle terms ±2absinxcosx cancel, and sin2x+cos2x=1 finishes the proof (a and b are constants).
Step 1 — Differentiate y.
The term asinx gives acosx, and bcosx gives −bsinx.
dxdy=acosx−bsinx
Step 2 — Square y.
We expand (asinx+bcosx)2.
y2=a2sin2x+2absinxcosx+b2cos2x
Step 3 — Square dxdy.
We expand (acosx−bsinx)2.
(dxdy)2=a2cos2x−2absinxcosx+b2sin2x
Step 4 — Add the two squares.
The 2absinxcosx terms cancel. We group the a2 terms and the b2 terms.
y2+(dxdy)2=a2(sin2x+cos2x)+b2(cos2x+sin2x)
Step 5 — Use sin2x+cos2x=1.
Each bracket equals 1.
y2+(dxdy)2=a2+b2
Hence proved: y2+(dxdy)2=a2+b2.