Let $t = p/q$. Then $t^t = p^{t-1}$ with $p = tq$, so $t^t = t^{t-1} q^{t-1}$, which gives $t = q^{t-1}$, that is $p = q^{t} = q^{p/q}$. Raising both sides to the power $q$ gives $p^q = q^p$.
More Quantitative Aptitude: Algebra, Geometry and Mensuration questions
GATE 2024 BM Q7– Three distinct sets of indistinguishable twins are to be seated at a circular table that…
GATE 2024 BM Q10– During a half-moon phase, the Earth-Moon-Sun form a right triangle. If the Moon-Earth-Sun…