Let $X$ be a compact metric space and let $f: X \rightarrow \mathbb{R}^{p}$ be a continuous aplication such that $f(x) \neq 0$ for every $x \in X$. Prove that there exists $\epsilon >0$ such that $\left \|f(x) \right \| \geq \epsilon$ for every $x \in X$.
My attempt
I guess that the best way to prove that is by contradiction. So the statement would be "Prove that there exists $\epsilon >0$ such that $\left \|f(x) \right \| < \epsilon$ for every $x \in X$"
But I don't know what else to do. Any suggestion?
Let $m=\inf_{k\in K}\|f(x)\|$. Then there is a minimizing sequence $x_k$ such that $\|f(x_k)\|<m+\frac1k$. Now that sequence contains a convergent subsequence by compactness, and $f$ is continuous, and the value at the limit point is non-zero,...