is dense in when — equivalently, every nonempty open interval meets ; equivalently (by Proposition 12.11 (3)), every real is a limit of elements of . Examples: , , the dyadics (Exercise 10.8), dense subgroups (Exercise 10.9).
Examples
Example 12.17 (Density is relative)
“Dense” as defined here means dense in ; a set can instead be dense in a part of the line only. The dyadics of , i.e. (Exercise 10.8), meet every open interval included in but of course miss entirely: they are dense in , meaning . The general phrase “ is dense in ” abbreviates — always name the ambient set, since the weekend problem’s endpoints are dense in the Cantor set while being nowhere dense in : the same set, two truthful and opposite-sounding descriptions.
Example 12.18 (Handling density)
Three quick moves that recur constantly. Enlarging: if is dense and , then is dense (every interval already meets ). Transporting: if is dense, so is for — an interval meets iff the interval meets ; thus the odd multiples of , say, are dense. Intersecting fails: two dense sets can miss each other entirely ( and ): density survives unions and affine maps, never intersections.
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 .