Let, $f:\mathbb R\to \mathbb R$ be a continuous function such that $\lim_{|x|\to {\infty}}f(x)=0.$ Then prove or disprove that $f$ is uniformly continuous.
I tried through the formal definition of uniform continuity but I could not proceed further.
Is it directly follow from definition or any other property about continuity to prove this?
Please help....
Hint: To show that, first fix $\epsilon >0$, then your assumption imply that there is $M>0$ so that
$$|f(x)| < \frac{\epsilon}{2}$$
when $|x| >M$. What can you say about
$$|f(x) - f(y)|$$
when $|x|, |y| >M$? And what about $f$ on $[-(M+1), M+1]$?