Convergence and closed sets
Read convergence as an eventual neighborhood condition and characterize closed sets by the limits of their sequences.
On this page
The question for today
What you’ll understand
- State metric convergence with the correct order of quantifiers.
- Prove uniqueness of a metric limit using the triangle inequality.
- Distinguish closedness in an ambient space from closedness in a subspace.
A sequence converges when its entire sufficiently late tail fits inside every requested neighborhood of a point. A few near misses do not matter, but infinitely many late escapes do. Closed sets describe a related promise: taking a convergent sequence of points in the set cannot lead outside it, provided convergence is measured in the stated ambient space. This lesson makes that promise exact and shows why naming the ambient space is part of the answer.
A limit controls the whole tail
The error tolerance is chosen first, then a cutoff index may be selected in response. Beyond that cutoff every term must satisfy the same tolerance. The cutoff can depend on the tolerance, but it cannot be chosen separately for each late term. For x_n=1/n in the real line, choosing an integer N larger than 1/epsilon gives the required bound for every n at least N. Alternating signs do not prevent convergence when the magnitude tends to zero; the distance, not the direction of approach, decides the question.
A sequence may enter a small ball infinitely often without converging to its center. Alternating between zero and one repeatedly visits every neighborhood of zero but also repeatedly leaves neighborhoods of radius less than one. Such a sequence has a subsequence converging to zero, which is a weaker claim. Convergence also implies boundedness: a late tail lies in a unit ball around its limit, and the finitely many earlier distances have a finite maximum. This implication is useful, but boundedness alone cannot force convergence.
Distance makes limits unique
Suppose the same sequence converges to two points x and y. The triangle inequality bounds their fixed distance by the sum of the two distances from a sufficiently late term. Each summand can be made arbitrarily small, so the fixed distance must be zero. The metric's identity-of-indiscernibles condition then gives x=y. This argument explains why that condition matters: in a pseudometric, distinct zero-distance points can both serve as limits of the same sequence.
A set is closed when its complement is open. In a metric space this is equivalent to containing every ambient limit of its own convergent sequences. For one direction, an excluded limit would have a ball in the open complement, contradicting eventual membership in that ball. For the reverse direction, if the complement is not open at an outside point, choose a set point within 1/n of that point for every n. The chosen sequence converges outside and violates the proposed sequential condition.
Ambient space changes what can be excluded
The interval (0,1) is not closed in the real line because 1/n, for n at least two, converges to the missing point zero. Yet the whole space X=(0,1) is closed in itself: its relative complement is empty and hence open. There is no contradiction, because zero is not an available ambient limit in X. Likewise, the rational numbers are closed as a subset of themselves even though rational sequences can approach irrational numbers in the real line. Closedness never replaces a statement of the ambient space.
The closure of a set consists of points whose every positive-radius ball meets that set. In metric spaces these are exactly limits of sequences selected from the set, allowing constant sequences for points already present. Closure adds all missing accessible limits at once; it does not require a particular generating sequence. Open and closed are also not logical opposites: a set may be both, such as the whole space, or neither. In the discrete metric every set is both open and closed, because each point is isolated.
Work it through
Prove a closed set by passing an inequality to the limit
Let F be the set of real x with x at least 2. Show directly from sequences that F is closed.
Take any sequence x_n in F that converges in the real line to x. Every term satisfies x_n at least 2.
Assume instead that x is less than 2. Choose the positive tolerance (2−x)/2. Eventually x_n is less than x+(2−x)/2, which is strictly less than 2.
This contradicts membership of the tail in F. Therefore x is at least 2, so every convergent sequence in F has its limit in F.
F is closed in the real line by the sequential characterization. The proof uses convergence of an arbitrary sequence, not only a convenient example.
The living notebook
Explore the model
Interactive lab · optimization
A sequence can oscillate while converging
The lab iterates . Set a nonzero initial value and compare step sizes 0.5, 1.5, and 2. Predict whether the entire tail enters a small neighborhood of zero before playback. This is one explicit sequence family, not a test for closedness of arbitrary sets.
- Position x0
- 2
- Objective x²/2
- 2
- Iteration behavior
- Stable step
Gradient descent on f(x) = x²/2: xₙ = (1 − η)ⁿx₀. Playback advances two discrete iterations per second. Values outside |x| ≤ 4 are explicitly reported. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forConvergence controls distance eventually; monotone motion is unnecessary.
Pause & reason
Check your understanding
Your turn
Try it yourself
Is F=(0,1/2] closed in the subspace X=(0,1) with usual distance? Is it closed in the real line? Justify both answers.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Compute the relative complement first. Then look for an ambient sequence approaching zero.
Compare with the solution
In X the complement is (1/2,1), which is relatively open, so F is closed in X. In the real line, the sequence 1/(n+2) belongs to F and converges to zero, which is outside F, so F is not closed there. The missing zero causes failure only when the real line is the ambient space. This illustrates why closedness and completeness require different arguments.
Keep the idea
Take it with you
- Convergence requires every sufficiently late term to satisfy the chosen tolerance.
- Metric limits are unique because arbitrarily small distance forces equality.
- Closedness is always relative to an ambient space and does not assert that limits exist.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.