0

Im trying to understand the proofs of this question or this.

Let $(E,d)$ be a metric space. Let $A$, $B$ be two disjoint non-empty subsets of $E$ with $A$ compact and $B$ closed. Show that $dist(A,B):=\inf\{d(x,y): x\in A, y\in B\}>0$

Poof begins supposing $dist(A,B)=0$. Then it implies that there are of sequences $\{a_n\}$ in A and $\{b_n\}$ in B, with $d(a_n,b_n) \rightarrow 0$.

I really don't understand why is that. Could someone explain to me?

1 Answers1

1

hint

Let $E=\{d(a,b) \; : \; (a,b)\in A\times B\}$.

then $d(A,B)=\inf E$.

the characterisation of the infimum gives

$$\forall \epsilon>0 \;\; \exists e\in E \; : \; d(A,B)\le e<d(A,B)+\epsilon$$

$$\iff$$ $$\forall n\in \Bbb N \; \exists e_n\in E \; : \; 0\le e_n< \frac{1}{n+1}$$

thus $$\lim_{n\to+\infty}e_n=0$$ but the existence of $e_n$ is equivalent to the existence of $(a_n,b_n)\in A\times B$ such that $e_n=d(a_n,b_n)$.