Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

The problem is finding all possible solutions to $$x^y=y^x$$ where $x, y \in \mathbb{N}$ and $y>x$.

If it's transformed $x^y$ into $x^{y-x}x^x$ then you can say that $y^x=xy^x$. Then, if I was able to prove that $y=kx$ I got the solution (in fact, there`s a unique solution $x=2, y=4$). But I'm not sure of the implication $$y^x=qx^x \rightarrow y=kx$$ with $x, y, k, q \in \mathbb{N}$

If x is proportional to y, then, from the first equation we obtain $$x={k}^{\frac {1} {k-1}}$$ If we analize this function we see that there is a natural pair $(2,2)$ and for bigger $x$ the function tends asintotically to 1, then that´s the unique solution. But the problem is to see if k is natural or simply rational, and if there is a rational pair for k.

What can be the way to solve this?

share|cite|improve this question

marked as duplicate by TZakrevskiy, Daniel Fischer, ncmathsadist, Yiorgos S. Smyrlis, Michael Hoppe Feb 14 '14 at 13:53

This question was marked as an exact duplicate of an existing question.

Is this the same question? – David Feb 14 '14 at 12:59

$x^y=y^x\iff\sqrt[x]x=\sqrt[y]y\iff\dfrac{\ln x}x=\dfrac{\ln y}y$ . Now, plot the graphic of the function $f(t)=\sqrt[t]t$ or $g(t)=\dfrac{\ln t}t$ , and tell me what you notice. :-)

share|cite|improve this answer
That tends asintotically to 1 and that there is no integer pair? – Mario Ibáñez Feb 14 '14 at 14:04
@MarioIbáñez: Notice how the graphic resembles the form of a hill, whose the top is at $t=e<2.72$. So the only possible solutions are for $x\leqslant2.72$. Obviously, $x=0$ and $x=1$ are easily excludable, since $0^y=y^0\iff 0=1$, which is absurd, and $1^y=y^1\iff y=1\iff x=y=1$, which contradicts $y>x$. Finally, $2^4=4^2$ is the only natural solution to our equation. – Lucian Feb 14 '14 at 14:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.