Let .
- A point is interior to when is a neighborhood of ; the interior is the set of interior points.
- A point is adherent to when every neighborhood of meets ; the closure is the set of adherent points.
- The boundary is .
Then .
Examples
Example 12.12
; ; . For : , , . For : by density (Theorem 10.14) every real is adherent to , so while (every interval contains irrationals): the boundary of is all of .
Example 12.13 (A full anatomy)
Let . We compute the three sets of Definition 12.10, piece by piece.
Interior. A point of has a whole interval inside : interior. The point : every interval around it leaks right of , where has nothing until : not interior. No point of is interior (every interval contains irrationals, Theorem 10.14); neither is the isolated . So .
Closure. Limits of points of : all of ( with ); all of (every real there is a limit of rationals of the interval, density again); and . Nothing else: a point outside has positive distance to that closed set. So .
Boundary. .
The closing insight: the three operations act locally — each piece of contributes according to its own nature (a solid interval keeps its inside, a dense-but-porous piece turns entirely into boundary, an isolated point is pure boundary), and a two-line drawing of predicts every answer before any proof is written.
Example 12.15 (A closure computed exactly)
Let (from Example 12.7). Claim:
() and : adherent by the sequential characterization. () Let ; order each pair so that . If is unbounded, a subsequence has , hence too and . Otherwise takes finitely many values, one of them, say , infinitely often; along that subsequence : if is bounded it takes some value infinitely often and ; if not, . Every case lands in the announced set. The closing insight: computing a closure is a compactness-style case analysis on indices — bounded index means finitely many values (pigeonhole), unbounded index means a limit escapes — and the answer displays the typical two-layer structure of limit points: the set, its first-generation limits, and their limit .