$x^y = e^{x-y}$. Prove that $\dfrac{dy}{dx}=\dfrac{\log x}{(1+\log x)^2}$.
I have tried to solve the problem by taking log no both sides and then: $y \log x = x-y$. Then i differentiated both sides w.r.t $x$ and ended up with a term which has both $x$ and $y$.
$$y\log x=(x-y)$$ $$y(1+\log x)=x$$ $$y=\frac{x}{1+\log x}$$ we know that $$(\frac{f(x)}{g(x)})'=\frac{f'(x)g(x)-f(x)g'(x)}{g(x)^2}$$ so $$y'=\frac{1(1+\log x)-x(\frac{1}{x})}{(1+\log x)^2}=\frac{\log x}{(1+\log x)^2}$$