Solution:
Key idea: When x and y are mixed in an exponential, taking logarithms first makes the equation simple. Then we differentiate implicitly, treating y as a function of x, and solve for dxdy.
Step 1 — Take logarithms of both sides.
From ex+y=xy (so xy>0; we take x,y>0), the natural logarithm gives logex+y=x+y on the left and logx+logy on the right.
x+y=logx+logy
Step 2 — Differentiate both sides with respect to x.
The derivative of y is dxdy, and by the chain rule the derivative of logy is y1dxdy.
1+dxdy=x1+y1dxdy
Step 3 — Collect the dxdy terms.
We move both dxdy terms to the left and the rest to the right.
dxdy−y1dxdy=x1−1
dxdy⋅yy−1=x1−x
Step 4 — Solve for dxdy.
We multiply both sides by y−1y.
dxdy=x1−x⋅y−1y
dxdy=x(y−1)y(1−x)
Hence, dxdy=x(y−1)y(1−x) is proved.