Let $A, B$ be two disjoint closed subsets of a certain metric space $(M,d)$.
Show that there exist disjoint open subsets $U, V \subseteq M$ such that $A\subseteq U, B\subseteq V$.
Give an example which shows that $d(A,B) := \inf_{x\in A, y\in B}d(x,y)>0$ is not necessarly true.
A hint is given for 1.
Cover $A$ and $B$ with open balls for a certain radius.
But how do I find this radius?
For 2. I was thinking of the following:
Let $$A=\left\{\frac{1}{2n}: n\in \mathbb{N} \right\}\qquad B=\left\{\frac{1}{2n+1}: n\in \mathbb{N} \right\}$$
However, these sets are not closed. Since $\mathbb{R}\setminus A$ is not open (I can't find an neighbourhood of the point $0$ as it is a limit point)