Let $f: \mathbb{R}^{m}\to \mathbb{R}^{n}$ be a continuous function. Prove that the following statements are equivalents:
(i) $\displaystyle\lim_{x \to \infty}f(x)=\infty$;
(ii) $f^{-1}(K)$ is compact for every compact $K \subset \mathbb{R}^{n}$.
My attempt.
(i) $\Longrightarrow$ (ii): If $K \subset \mathbb{R}^{n}$ is compact, $f^{-1}(K)$ is closed, since $f$ is continuous. If $f^{-1}(K)$ is unbounded, there is a sequence $(x_{n}) \subset f^{-1}(K)$ such that $x_{n} \to \infty$.
I want to conclude that $f(x_{n}) \to \infty$. How can I ensure it?
(ii) $\Longrightarrow$ (i): I dont have a good idea. Can someone help me? I want just a hint, not a solution.
To complete your argument for $(i)$ $\|x_n\|\rightarrow \infty$ implies that $f(x_n)\rightarrow \infty$ by hypothesis.
ii) implies i)Suppose that there exists a sequence $x_n$ such that $lim_n\|x_n\|=\infty$ and $f(x_n)$ is bounded, $f(x_n)$ is contained in a closed ball $B$ which is compact, so $f^{-1}(B)=C$ is compact, and bounded by hypothesis, but $x_n\in C$ contradiction since $x_n$ is not bounded.