A subset is an open set if every admits a radius such that the open ballis contained in . A subset is a closed set if its complement is an open set. Equivalently, contains the limit of every convergent sequence of its points.
The distance to a set is nonnegative and finite here: any fixed gives . For every , the triangle inequality givesTaking the infimum over yields . Interchanging and provesThus is a Lipschitz function with Lipschitz constant one, so it is continuous. In the epsilon-delta definition of continuity, choose .
Conversely, if , the definition of the infimum allows a choice with . The sequence is therefore a convergent sequence with limit . Since is a closed set, its limit belongs to . HenceClosedness matters: without it, zero distance to a set characterizes its closure, which can contain additional points.
Put . This is a closed set. First assume is nonempty. The Heine-Borel theorem makes the nonempty bounded closed set a compact set. By the preceding parts, is a continuous function and is strictly positive at every , because .
The extreme value theorem gives attaining its minimum. ThereforeThe equality with the distance between two sets follows by taking the two infima successively. Crucially, compactness supplies a point attaining the minimum; positivity at each point alone would not make an arbitrary infimum positive. This is the principle that a compact subset of an open set has positive distance from its complement.
If , its complement is empty. With the usual extended-real convention , the stated inequality holds in that case too.
Articles by others on the same topic
There are currently no matching articles.