How does one prove that $$e^x \ge x^e$$ for all $x \ge 0$?
I tried to do this by setting $f(x)=e^x-x^e$
Plotting this function shows this easily, as seen here.
However, when I tried to prove this, it proved quite difficult. It seems to be increasing for $0 \le x \le e$, and seems to be increasing for all $x \ge e$.
I tried to use that $f'(x)=e^x-ex^{e-1}$ but was not able to.
Any help would be appreciated.
Hint Since $x \mapsto \log x$ is a strictly increasing function, applying it to both sides of the inequality gives that it is equivalent to $$x \geq e \log x .$$
There are at least two options here:
(1) Rearrange the inequality as $\frac{\log x}{x} \leq \frac{1}{e}$, and analyze the expression on the l.h.s. of this equality. In particular, show that its maximum value is (at most) $\frac{1}{e}$.
(2) From inspecting the original equation, we know that both sides of the inequality are equal at $x = e$. So, if the inequality holds we must have that the derivatives of both sides of the inequality agree at that point, and indeed, this is straightforward to check. These facts, together with $\frac{d^2}{dx^2} \log x < 0 = \frac{d^2}{dx^2} x$ are sufficient to give the inequality.