How to solve the equation $$a^b = b^a$$ if $a ≠ b$. It doesn't have any whole solutions, but are there no solutions at all? And how to prove that?
Any help is appreciated.
Edit: Thanks to Henry & Bernard. It is correct that (2,4) is a solution, but is it the only one? Irracional solutions maybe?
$a^b = b^a$ for positive real numbers if and only if $\dfrac{\log a}{a}=\dfrac{\log b}{b}$
$f(x)= \dfrac{\log x}{x}$ is a decreasing function of $x$ when $x \gt e \approx 2.7183$ and an increasing function when $0 \lt x \lt e$ - consider the derivative
So the only times $a^b = b^a$ can be possible for distinct positive integers is when one of $a$ or $b$ is $1$ or $2$ and the other is above $e$
so the only solution in distinct positive integers is $(2,4)$ or $(4,2)$