Suppose that we have a function, $f$, that is continuous on $\mathbb{R}$ and $$\lim_{x \to \pm\infty} f(x) = 0$$ We want to show that $f$ is uniformly continuous.
So, since $\lim_{x \to +\infty} f(x) = 0$, for every $\epsilon > 0$, $\exists a > 0$ such that $x > a$ implies $|f(x)| < \epsilon$. Since $\lim_{x \to -\infty} f(x) = 0$, for every $\epsilon > 0$, $\exists b < 0$ such that $x < b$ implies $|f(x)| < \epsilon$.
So let $\epsilon > 0$. We need to show that $\exists \delta > 0$ such that $\forall x, y \in \mathbb{R}$, if $|x - y| < \delta$, then $|f(x) - f(y)| = \epsilon$.
I got to the point where $|f(x) - f(y)| < \epsilon$ for all $x, y > N_\epsilon$. But I am having a trouble connecting this fact to "$|x - y| < \delta$".
Also, since this function is not explicitly defined, it is very hard to connect between $|x-y|$ and $|f(x) - f(y)|$. I need some help at this moment.