For nonempty , the triangle inequality gives for every . Taking the infimum yields . Interchanging proves
Thus the distance to a set is a Lipschitz function, hence continuous. If and is closed, its open complement contains a ball ; every point of is at least away. Hence for .
For two nonempty disjoint closed sets, let . It is continuous, negative on and positive on . The disjoint open sets and contain them. Empty sets cause no difficulty, using an empty neighborhood for the empty set. This proves every metric space is a normal topological space.
In any normal space, a closed contained in an open can be separated from : choose disjoint open and . Because is closed and contains , . First choose disjoint open around , then apply this argument separately to each pair . It gives , and therefore . This is closed-neighborhood shrinking in a normal space.
For the two specified hyperbola branches, explicit choices are
They are open and contain the branches with products and . Their closures lie respectively in and . Any common point would have , making both product inequalities impossible. Thus their closures are disjoint even though the original branches can approach one another arbitrarily closely at large height.