xy=ex−y
Taking logs on both sides, we have
log(xy)=log(ex−y)
⇒logx+logy=(x−y)loge
Since loge=1,
⇒logx+logy=x−y
Differentiating both sides w.r.t. x, we have
dxd(logx)+dxd(logy)=dxd(x)−dxd(y)
The middle term needs the chain rule, because y is a function of x:
⇒x1+y1dxdy=1−dxdy
Collecting the dxdy terms on one side:
⇒y1dxdy+dxdy=1−x1
⇒(y1+y)dxdy=xx−1
Therefore
dxdy=x(1+y)y(x−1)
Check. At the point x=1 the relation gives y=e1−y, and the formula returns dxdy=0 — which is right, because x−1 vanishes there while nothing in the denominator does.