Let $V$ be a normed vector space and $U \subseteq V$. Assume $f: U \rightarrow V$ is continuous and $U$ is compact. I am trying to show that $||f(x)-x||$ achieves a minimum value for some $x \in U$, but am a bit stuck.
I tried creating a convergent subsequence for $x_n$ and $f(x_n)$, but the intersection of these two subsequences is not guaranteed to be a subsequence, so I couldn't proceed there.
Any help/hints would be greatly appreciated!
I assume $U \subset V$ are subsets of a normed space. Since $U \ni x \mapsto x \in V$ is continuous, so is $x \mapsto \|f(x) - x\|$ (because $x \mapsto \|x\|$ is continuous as well by the triangular inequality and adding preserves continuity). Since $U$ is also compact, the result follows immediately.