It can be shown $\forall x \in \Bbb{R}^+ \exists \{y_1, y_2\} : x^y = y^x.$, and the first of these two numbers is trivial, $y_1 = x$. The second is nontrivial, and I cannot find a closed form for all the nontrivial solutions. I have found a good approximation, $y_2$ ~ $\frac{(e-1)^2}{x-1} +1$. Is there a function for all the values of $y_2$, or can it be shown $y_2$ is or is not a rational function?
An example solution is $2^4 = 4^2$, the only integer solution.
Note: A Google search for "rational solutions to x^y = y^x" came up with, among others, this: http://www.maa.org/programs/faculty-and-departments/classroom-capsules-and-notes/on-the-rational-solutions-of-xy-yx
Summary: "The author provides a new way of finding all rational solutions of $x^y=y^x$ as well as a historical survey of this problem."
Here is the history, from the article (equation (1) is $x^y = y^x$):
In a letter by Daniel Bernoulli to Goldbach (1728) [l], equation (1) is mentioned with the statement that (x, y) = (2,4) (or (4,2)) is the only integer solution. In his answer Goldbach gives the general solution of (1) by writing $y =ax$, hence, $x^ {ax} = ( ax)^x$ and after simplification, and ignoring the trivial case when $a = 1$, $x=a^{1/(a-1)}$ and $y=a^{a/(a-1)}$
Equation (1) is also discussed in some detail by Euler in [2].
"REFERENCES"
"1. Correspondence Math. Phys. (edited by Fuss), Vol. 2, pp. 262 and 280."
"2. Leonhard Euler, lntroductio in analysin infinitorum, Tom II, Cap. 21 §519."
"3. L. E. Dickson, History of the Theory of Numbers, New York, Vol. II, Geneva and Lausanne, 1748, p.687."
"4. E. J. Moulton, The real function defined by $X^y=Y^x$, Amer. Math. Monthly 23 (1916), 233-237."
"5. A. Hausner, Algebraic number fields and the Diophantine equation $m^n = n^m$, Amer. Math. Monthly 68 (1961), 856-861."
My favorite parameterization:
Let $y = rx$. Then
$\begin{array}\\ x^y = y^x \iff &x^{rx} = (rx)^x\\ \iff &x^{r} = rx \qquad\text{(take the x-th root)}\\ \iff &x^{r-1} = r \qquad\text{(divide by x)}\\ \iff &x = r^{1/(r-1)} \qquad\text{(take the r-1th root)}\\ \text{and} &y = rx = r^{r/(r-1)}\\ \end{array} $