Understanding topology in ℝ through visualization
A set S ⊆ ℝ is open if for every point x ∈ S, there exists ε > 0 such that (x - ε, x + ε) ⊂ S.
A set S ⊆ ℝ is closed if it contains all its accumulation points. Equivalently, its complement ℝ \ S is open.
Hollow circles
Endpoints excluded
Filled circles
Endpoints included
Open: every point has ε-neighborhood
Closed: contains all accumulation points
Open and closed are not opposites! A set can be both (ℝ, ∅), neither ([0, 1)), or just one. Think of "open" as having wiggle room around every point, and "closed" as containing all the points you can reach by taking limits.