I'm stuck on this problem:
Let $C\subset \mathbb{R}^n$ be closed and unbounded.
Suppose $f:C\to\mathbb{R}^m$ is continuous and such that $\lim_{x\to\infty} f(x)$ exists and is finite.
Show that $f$ is uniformly continuous on $C$.
I tried to prove it using the definition of limit and continuity but it didn't get me anywhere. I appreciate any advice.
Let $\epsilon > 0$ and $L$ be the limit of $f$ at $\infty$. Choose $M$ so that $|x| > M \Rightarrow |f(x) - L| <\epsilon$. Notice that $\{x\in C| |x|\le M\}$ is compact so $f$ is uniformly continous there. Can you do the rest?