TITLE: How to prove $\sqrt[\pi]{e} < \sqrt[\pi]{\pi}<\sqrt[e]{e}< \sqrt[e]{\pi}$
QUESTION [16 upvotes]: I was given a challenge of sorting the following numbers. $\Large\sqrt[\pi]{e} < \sqrt[\pi]{\pi}<\sqrt[e]{e}< \sqrt[e]{\pi}$. After some work I was able to figure out the order. How can one prove this by hand?

REPLY [2 votes]: Clearly, $\sqrt[\pi]e<\sqrt[\pi]\pi$, and $\sqrt[e]e<\sqrt[e]\pi$. (That's because $e<\pi$.)
The only hard part is showing that $\sqrt[\pi]\pi<\sqrt[e]e$.
I'm going to do this by using my favorite inequality involving $e$:
$$e^x\ge x+1$$
with equality iff $x=0$. (Look at a graph to see why this is. It's basically another way of saying that the derivative of $e^x$ at $0$ is $1$.)
Substitute in $x=\frac\pi e-1$. You'll see why I'm using this particular value in a moment.
\begin{align}
e^{\pi/e-1}&>\left(\frac\pi e-1\right)+1\\
e^{\pi/e-1}&>\frac\pi e\\
e^{\pi/e}&>\pi\\
e^{1/e}&>\pi^{1/\pi}\\
\sqrt[e]e&>\sqrt[\pi]{\pi}\tag*{$\blacksquare$}
\end{align}
You might have noticed that, in the above argument, there's nothing special about $\pi$. In fact, the above argument can be modified to show that $\sqrt[x]x\le\sqrt[e]e$ for any $x$ (with equality iff $x=e$). In other words, the maximum of $\sqrt[x]x$ is at $x=e$.