Possible Duplicate:
$x^y = y^x$ for integers $x$ and $y$
I obtained a question asking for how to solve $\large x^y = y^x$. The given restraints was that $x$ and $y$ were both positive integers. By a bit of error an trial we quickly see that $x=2$ and $y=4$ is one solution.
- My question is: How do one show that $(2\,,\,4)$ is the only non trivial, positive solution to the equation?
Now my initial approach was as follows: We have
$$\large x^y = y^x$$
The trivial solution is obviously when $y=x$, so let us focus on when $y \neq x$. Let us make a more general statement. Firstly I take the log of both sides
$$\large y \log x = x \log y $$
Let us divide by x and \log x (We now assume $x\neq 0$ and $x\neq 1$ since 0 is not a positive number, and 1 gives us a trivial solution)
$$\large \frac{y}{x} = \frac{\log y }{\log x}$$
For these sides to be equal, we must remove the logarithms on the right hand side, this is achived if $y$ is on the form $x^a$. Now This gives
$$\large \frac{x^a}{x} = \frac{\log \left(x^a\right) }{\log(x)}$$
$$\large x^{a-1} = a$$
So finaly we obtain that $ \displaystyle \large x=\sqrt[ a-1]{a}$ and $\displaystyle \large y = \sqrt[a-1]{a^a}$
Now setting $a=2$ gives us $x = 2$ and $y=4$ as desired.
My question is, how do we prove that $x=2$ and $y=4$ is the only integer solutions? My thought was to show that $ \displaystyle \large \sqrt[ a-1]{a}$ and $\displaystyle \large \sqrt[a-1]{a^a}$ are both irrational when a>2, but I have not been able to show this.
Any help is greatly appreciated, cheers =)