Let $f:R^n\to R$ be a continuous function. Suppose $f(x)\to 0$ whenever $||x||\to\infty$. Show that $f$ is uniformly continuous on $R^n$.
Clearly $f$ is uniformly continuous in the closure of any ball. So it suffices to show it is uniformly continuous in the exterior of some ball.
Since $f\to 0$ as $||x||\to \infty,$ for all $\epsilon$ there is $r=r(\epsilon)$ such that $|x| > r\implies |f(x)|<\epsilon/2$. $f$ is uniformly continuous on $\{x:|x|\le r\}$. To see it's uniformly continuous on $A=\{x: |x| > r\}$, we need to prove that for any $\epsilon$ there is $\delta$ such that for all $x,y\in A$ with $|x-y|<\delta$ we have $|f(x)-f(y)|< \epsilon.$ But if $x,y\in A$, then $|x| > r, |y| > r$ and by the above $|f(x)-f(y)|\le |f(x)|+|f(y)|< \epsilon/2+\epsilon/2=\epsilon$ for all $x,y \in A$, not only for those $x,y\in A$ for which $|x-y| < \delta$ for some $\delta$. Is it sufficient to establish continuity, or do I still have to find that $\delta$?