Show that $e^x\ge x^e$ for all $x\ge0.$
I was playing around with splitting a number into parts (that add to the original number) and then multiplying the parts to get the result, and I found that the product is highest when the parts tended towards $e$. This inequality is a consequence of that. Is there a proof or intuitive explanation for this?
It suffices to prove for all $x\neq 0$ $$f(x)=x-e\log x\ge 0$$ $$f'(x)=0\to 1-\frac{e}{x}=0\to x=e$$ also here`$f''(e)>0$ so $$f(x)\ge f(e)=0$$ note that $$\lim_{x\to 0^+}f(x),\lim_{x\to \infty} f(x)>0$$