Finding the derivative $\frac{dy}{dx}$ for $x^y=y^x$, I noticed that in this question it took the log of both sides and then it implicitly differentiates, thus we have: $$y\ln(x) = x \ln(y).$$ But isn't that wrong since we are changing the function to something different?
Wouldn't the correct step be to take the log and exponential since that would not change the function to a different one, i.e. $$e^{y \ln (x)}= e^{x \ln (y)}.$$
The exponential function is one-to -one. Hence there is no difference between $e^{y\ln x }=e^{x \ln y}$ and $y \ln x=x \ln y$.