University Mathematics · Real analysis
Topology of the real line
The Cantor set, open and closed sets, limit points and closure, compact sets, perfect and connected sets, Baire's theorem.
90 min 8 questions
01The Cantor set
Start with and remove the open middle third : . Then remove the middle third of each remaining interval, and so on. consists of intervals of length , with total length . The Cantor set is .
The removed intervals have total length , so has "length" zero. Yet is uncountable: its points are exactly the numbers with a base-3 expansion using only the digits 0 and 2, and these expansions are in bijection with binary sequences. is closed, compact and perfect, and contains no interval.
02Open and closed sets
The $\varepsilon$-neighborhood of is . is open if every has a neighborhood . E.g. and are open; is not (no neighborhood of 0 fits).
Any union of open sets is open, and a finite intersection of open sets is open. An infinite intersection need not be open: .
is a limit point of if every neighborhood of contains a point of other than . Equivalently, there are , , with . A point of that is not a limit point is isolated.
is closed if it contains all its limit points. The closure ( the limit points) is the smallest closed set containing . E.g. .
Key link: is closed is open. Careful: a set can be both (, ) or neither (, ).
03Compact sets
is compact if every sequence in has a subsequence converging to a point of .
Heine–Borel Theorem: for the following are equivalent: 1) is compact; 2) is closed and bounded; 3) every open cover of has a finite subcover.
Examples: , any finite set, and the Cantor set are compact. is not (not closed: ), is not (not bounded).
Why compactness matters: it lets us pass from an infinite situation to a finite one. For example, a nested sequence of nonempty compact sets has nonempty intersection.
04Perfect and connected sets
A closed set is perfect if it has no isolated points (e.g. , the Cantor set). Theorem: a nonempty perfect set is uncountable.
and are separated if . A set is connected if it cannot be written as the union of two nonempty separated sets. Theorem: is connected exactly when it is an interval: and imply .
For example is not connected: . Connectedness is what lies behind the Intermediate Value Theorem.
05Baire's theorem
is nowhere dense if the interior of its closure is empty, i.e. contains no open interval (e.g. , , the Cantor set).
Baire's Theorem: cannot be written as a countable union of nowhere-dense sets. Equivalent form: a countable intersection of dense open sets is dense.
Consequences: is a countable union of singletons (nowhere dense), while and are not. Baire's theorem gives a topological notion of size: a countable union of nowhere-dense sets is "small", its complement "large".
Key formulas
-neighborhood
De Morgan: is closed is open
Closure
Length removed in the Cantor construction
Heine–Borel: compact closed and bounded
Worked examples
Example 1
Find the limit points of .
Example 2
Show that the cover of has no finite subcover. What does this mean?
Which set is open?
Sample content: questions and lessons are illustrative and are not taken from official exams.
