For a nonempty subset of a metric space, the distance to a set is . The triangle inequality gives ; swapping proves . Thus it is one-Lipschitz. Its zero set is exactly the closure of : every neighbourhood of meets precisely when this infimum vanishes. For a closed set, zero distance therefore implies membership. When the empty set is allowed, use the convention ; the finite-valued Lipschitz assertion applies to nonempty sets.
The set distance is the infimum of pairwise metric distances. Two nonempty disjoint compact sets have positive set distance: continuity attains the minimum on their Cartesian product, and a zero minimum would give a common point. Disjoint closed sets without compactness need not have positive separation.
In a metric space , let the nonempty compact set lie in the open set . If is nonempty, the distance to a set is a continuous function of : the triangle inequality gives . Since is a closed set, this distance is strictly positive on . The extreme value theorem attains its minimum on , soIf is empty, the extended-real convention gives . This result provides a single positive neighbourhood radius that stays inside at every point of . Compactness is essential: in the real line has zero distance between two sets from , although each point of has positive distance to a set from that complement.
Articles by others on the same topic
There are currently no matching articles.