The entire questions goes like this:
Let $(X, \rho)$ be a metric space and suppose $K$ and $F$ are nonempty disjoint subsets of $X$ with $K$ compact and $F$ closed. (a) Prove there is a $\delta >0$ such that $\rho(x,y) \geq \delta$ for all $x \in K$ and $y \in F$. (b) Show that part (a) may fail if $K$ is closed, but not compact.
Part (a) is answered for the most part at the link below:
Show that exists $\delta >0$ such that:$d(x,y)\geq \delta$
I am having difficulty with part (b) though, as I can't seem to come up with any proof or counterexample. Any tips or hints would be greatly appreciated!
