Distance between two compact sets

978 Views Asked by At

Let's say we have E and F, two compact sets in a metric space (X,d). We remember that the distance between two sets is :

dist(E,F) = inf { d(x,y) | x belongs to E , y belongs to F }

Show that dist (E,F) > 0 if and only if the intersection between E and F is an empty set.

**I feel like I am able to prove this without using the fact that these are compact sets... Am I missing something ?

2

There are 2 best solutions below

0
On

Show that $\operatorname{dist} (E,F) > 0$ if and only if the intersection between $E$ and $F$ is an empty set.

If $\operatorname{dist} (E,F) > 0$ then $E$ and $F$ have no common points. Conversely, assume that $E$ and $F$ have no common points. Then $\operatorname{dist}|E\times F\to\Bbb R$, $(x,y)\mapsto \operatorname{dist}(x,y)$ is a continuous map of a compact set $E\times F$. So its image is a compact $K$ not containing the zero. Since $K$ is closed, the distance (in $\Bbb R$) between $K$ and the zero is bigger than $0$. And this distance is $\operatorname{dist} (E,F)$.

0
On

inf { d(x,y) | x belongs to E , y belongs to F } >0 zero means there is now x in E and y in F such that d(x,y)=0. if x was in E and Y (meaning non empty intersection), then you would have d(x,x)=0, which was against the assumption, so the intersection is empty. (didnt make use of compact set)

Now, if they have an empty intersection, you could map see the distance as a continious function from E x F (which is compact) to the (positive) real line. And because of the intersection being empty, no pair of points is mapped to zero, furthermore the image is a compact set in the real line (continuous image of compact set). This set is closed, and it's infinum is contained in the set. So 0 is not in the set, meaning it could not be the infinum. Therefore the infinum is bigger than zero, meaning dist(E,F) >0.