A relation $R$ is defined as $(x,y)\in R \implies x^y=y^x$ for $x,y\in\mathbb{I}-\{0\}$, where $\mathbb{I}$ is the set of integers. Find whether the relation $R$ is transitive or not.
Let $x^y=y^x$ and $y^z=z^y$
We have to prove that $x^z=z^x$
Now, $y\ln x=x \ln y$ and $z\ln y=y \ln z$
$\implies y \ln x=\frac{y\ln z}{z}\cdot x$ or $z \ln x=x \ln z$ or $x^z=z^x$
So it seems that this relation is transitive. Here's the catch, I can't find even one triplet where this transitive relation holds. And here's another proof which claims that the relation is not transitive.
Since $x^y=y^x$ we can say that $y=x^{\frac{y}{x}}$
$\implies (x^{\frac{y}{x}})^z=z^y$ or $x^{yz}=z^{xy}$ which says that it isn't transitive.
Which one is correct and why$?$
Any help is greatly appreciated.
Edited. Sorry for the typo.