2

This is a problem form Topology by Munkres:

Let $X$ be a metric space with metric $d$ and $A$ is a nonempty subset of $X$. Show that $d(x,A)=0$ if and only if $x$ is in the closure of $A$.

I think this problem is quite easy to understand emotionally but I don't know how to express the proof in standard math language. Thanks in advance!

1 Answers1

17

We prove the result by equivalence: $x\in cl(A)\iff \forall \epsilon>0\ B(x,\epsilon)\cap A\not=\emptyset\iff\forall\epsilon>0\ \exists a\in A: d(x,a)<\epsilon\iff \inf_{a\in A}d(x,a)=0\iff d(x,A)=0$