I need to prove that for every $x>0$ $$\frac{\ln x}{x} \leq\frac{1}{e}$$
I tried to show that when the limit goes to $+\infty$ the function $\frac{\ln x}{x} -\frac{1}{e}$ goes to $-1/e$ but that of course doesn't guarantee it won't suddenly “jump” far and beyond somewhere along the way and then come back.
When I take the derivative I get that for some of the range the function is going up rather than down, so that it being smaller than $0$ cannot be guaranteed. As a result don't I know how to prove this.