Let $f : \mathbb{R}^n \to \mathbb{R}^m$ be a continuous function. We suppose that there exist $c \in \mathbb{R}^m$ such that $$\lim_{\|x\| \to \infty} f(x) = c.$$ Show that $f$ is uniformly continuous.
We know that if $\forall \epsilon_1 > 0$, $\exists M > 0$ such that $\forall x \in \mathbb{R}^n\setminus B(0,M) $, we have $\|f(x) - c\| < \epsilon_1$.
We want to show that $\forall \epsilon_2 > 0$, $\exists \delta > 0$ such that $\forall x,\bar{x} \in \mathbb{R^n} $, we have $\|f(x) - f(\bar{x})\| < \epsilon_2$ as long as $\|x-\bar{x}\|<\delta$.
Let $x,\bar{x} \in \mathbb{R^n} $ and $\|x-\bar{x}\|<\delta$.
Take $\epsilon_1 = \frac{\epsilon_2}{2} $
$\implies \|f(x) - c\| < \frac{\epsilon_2}{2}$ as long as $\|x\|\geq M$ and $\|f(\bar{x}) - c\| < \frac{\epsilon_2}{2}$ as long as $\|\bar{x}\|\geq M$
I am stuck on this point. Which $\delta$ could I take to prove the uniform continuity of $f$?