Possible Duplicate:
If $A$ is compact and $B$ is closed, show $d(A,B)$ is achieved
Define the distance between two nonempty subsets $A$ and $B$ of $R^n$ by
$dist(A,B):=inf${$||x-y||:x∈A$ and $y∈B$}. Prove that if $A$ and $B$ are compact sets which satisfy $A∩B=∅$, then $dist(A,B)>0$.
(Is it obvious since $A∩B=∅$, then $inf${$||x-y||:x∈A$ and $y∈B$} must$>0$ since $x≠y$?)