Earlier, I was using the Desmos Graphing Calculator, and I wanted to remind myself of what the graph of the function $x^y = y^x$ looked like.
If you have never seen what it looks like before, it is similar to the shape of the Greek letter, psi (ψ); composed of two graphs:
- $y = x$
- I am unsure as to what the equation of this graph is equal to, but I would say that it is similar in shape to the graph of $y = \frac{1}{x}$, but much steeper.
However, what I do know is that these two graphs intercept each other at the point $(e, e)$, where $e$ is Euler's number.
Please, if you could, check it out for yourself, but my question is, why is Euler's number related to this graph?
Edit: I believe, upon further inspection, that it is related to Euler's number due to the fact that $x^y = e^{x \ln y}$, and, therefore, $y^x = e^{y \ln x}$.
Due to this fact, we can take the natural logarithm of both sides of the equation $e^{x \ln y} = e^{y \ln x}$, in order to get that $x \ln y = y \ln x$.
I do not know how to continue with this explanation, but my new question is, what is the equation of the graph that I could not work out?
Thank you, and good luck!




Any equation which can be written $$A+Bx+C\log(D+Ex)=0$$ has solutions expressed in terms of Lambert function.
In the case of $x^y=y^x$, this writes $$y = -\frac{x}{\log x}\,W\left(-\frac{\log x}{x}\right)$$ and what Lambert and Euler showed is that, in the real domain, the function $W(z)$ exists if $z\geq -\frac 1e$. So, for the argument $-\frac{\log x}{x}\geq -\frac 1e$, this implies $x \geq e$. This corresponds to the second branch of the curve (after $y=x$). At $x=e$, the slope of the curve is $-1$.