Solution:
Concept: Taking logarithms turns a power into a product: log(xy)=ylogx, and logek=k. Then we make y the subject and use the quotient rule (vu)′=v2u′v−uv′.
Step 1 — Take logarithms of both sides.
Applying log to both sides of xy=ex−y:
ylogx=x−y
Step 2 — Make y the subject.
We gather the y terms on the left and factor:
ylogx+y=x
y(1+logx)=x
y=1+logxx
Step 3 — Differentiate by the quotient rule.
We take u=x, so u′=1; we take v=1+logx, so v′=x1:
dxdy=(1+logx)2(1+logx)⋅1−x⋅x1
Step 4 — Simplify the numerator.
The term x⋅x1 is 1, which cancels the 1 in 1+logx:
dxdy=(1+logx)2logx
Therefore, dxdy=(1+logx)2logx.