A topic in the Open Knowledge Graph — a free, open map of 15,495 topics and the order to learn them in.

Open and Closed Sets on the Real Line

Graduate Depth 66 in the knowledge graph ☐ I know this ☆ Set as goal
306topics build on this
241prerequisites beneath it
See this on the map →
Sequences: Epsilon-N Convergence→→Compact Sets and the Heine-Borel TheoremConnected Sets+2 more
open-sets closed-sets topology real-line

Core Idea

A set U is open if for every point x in U, there exists an open interval (a, b) containing x that lies entirely in U. A set F is closed if its complement is open, equivalently if it contains all its limit points. Open and closed sets form the foundation of topology on ℝ.

How It's Best Learned

Write explicit radii. For x in (0, 1), the radius δ = min(x, 1 − x) works, and checking it makes the definition concrete. Then test the set rules on examples. A union of open sets is open, because each point keeps its own interval. The intersection of (−1/n, 1/n) over all n is {0}, which is not open. Finally, show [0, 1] is closed by using that limits preserve 0 ≤ xₙ ≤ 1.

Common Misconceptions

Explainer

From your work with epsilon-N convergence, you already think carefully about what it means to be "close" to a point — every point within ε of a limit eventually gets captured by a sequence. Open and closed sets formalize this intuition by asking: for each point in a set, how much "breathing room" does it have within that set? This question turns out to encode a surprising amount of structure.

A set U is open if every point has an open interval around it that stays inside U. The open interval (0, 1) is the canonical example: pick any point x in (0, 1), and there is always a small interval (x − δ, x + δ) that fits inside (0, 1), as long as δ is small enough. The point 0 is not in (0, 1), and this is why: any interval around 0 reaches into negative numbers, which are outside the set. Open sets are the sets where no point sits at the edge — every point is strictly interior. A closed set, by contrast, contains all its limit points: if a sequence in the set converges, its limit is also in the set. The closed interval [0, 1] is closed because any sequence of points in [0, 1] that converges must converge to something in [0, 1].

The complementary definition is equally useful: a set is closed if and only if its complement is open. This duality means that working with closed sets is just as clean as working with open sets — you can always translate between them. But resist the temptation to think "open" and "closed" are opposites in the everyday sense. A set can be neither open nor closed: the half-open interval [0, 1) contains its left endpoint 0 (so it has a boundary point, failing openness) but not its right limit point 1 (so it fails closedness). More surprisingly, a set can be both open and closed — the empty set ∅ and the entire real line ℝ are "clopen," satisfying both definitions vacuously.

The equivalent characterization of closed sets via limit points is especially powerful for analysis. It says that closed sets are precisely the sets that are stable under limits: you cannot escape a closed set by converging. This is why theorems about sequences (continuous functions, convergence, Cauchy sequences) often conclude "the limit lies in F" — being closed guarantees it. The Heine-Borel theorem, which you will encounter next, adds compactness to this picture: a subset of ℝ is compact if and only if it is both closed and bounded, and compact sets have the strongest sequential stability properties of all.

Open and closed sets are not merely technical definitions — they are the language in which continuity, limits, and convergence are expressed most cleanly. When you study epsilon-delta continuity in real analysis, you will see that a function is continuous if and only if preimages of open sets are open (equivalently, preimages of closed sets are closed). This rephrasing lifts continuity from a local epsilon-delta condition into a global statement about set structure, and it generalizes directly to arbitrary topological spaces where there is no notion of distance at all.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → One-to-One Correspondence → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Combining Small Groups Within 5 → Addition Within 10 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts Through 10 → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Properties of Operations → Ordered Field Axioms of the Real Numbers → The Completeness Axiom (Least Upper Bound Property) → Supremum and Infimum → Sequences: Epsilon-N Convergence → Open and Closed Sets on the Real Line

Longest path: 67 steps · 241 total prerequisite topics

Prerequisites (1)

Leads To (4)