The interior of a subset of a topological space is the union of all open sets contained in , equivalently the largest open subset of . A point lies in exactly when it has an open neighbourhood contained in . In a metric space, this says that some open ball , with , is contained in . The interior therefore identifies the points with room to move locally while staying in . [ref]
For the half-open interval in the real line, . Every point strictly between the endpoints has a sufficiently small open ball inside , but every open ball about zero also contains negative points. Although , it is not in the interior; it is a boundary point instead. Together, the interior and closure bracket the original subset: .
The ambient topological space matters: for with its subspace topology, , whereas . The diagram accompanying boundary of a set illustrates the relative open ball at zero. A subset is open exactly when , and taking the interior twice has the same effect as taking it once. The complement identity links interior directly to closure.