we take natural logs of both sides and simplify:ln(xy)=ln(yx)→yln(x)=xln(y)
use implicit differentiation, taking derivatives of both sides with respect to x:
y′ln(x)+y⋅1x=1⋅ln(y)+x⋅y′y
Solving for y′
y′ln(x)−xy′y=ln(y)−yx
Implies that:
y′=ln(y)−yxln(x)−xy=xyln(y)−y2xyln(x)−x2