Sequential Characterization of Continuity
Suppose you want to check that a function is continuous at a point. But the - definition feels too rigid to work with directly. A natural alternative idea presents itself: continuity should mean that whenever inputs drift toward , the outputs drift toward . This is exactly the content of the Sequential Characterization of Continuity. It is one of the most useful bridges in analysis. It connects the topological world of - statements to the combinatorial world of sequences. This theorem matters because sequences are often far easier to manipulate than quantifier-laden inequalities. Many properties of continuous functions become almost immediate once continuity is restated in terms of sequences. These include that they preserve limits, that compositions of continuous functions are continuous, and that continuous images of compact sets are compact. It also gives the cleanest possible tool for proving discontinuity. To show fails to be continuous at , it suffices to exhibit a single sequence . This sequence must satisfy . The big picture is a duality that runs throughout analysis. Local behavior of a function near a point can be probed two ways. One way is by shrinking neighborhoods (-). The other is by testing along paths of points approaching that point (sequences). These two descriptions turn out to be logically equivalent. This is precisely because , and more generally any metric space, has a well-behaved notion of distance. This distance lets sequences "see" every neighborhood. This article states the precise definition of continuity at a point. It proves the equivalence with sequential preservation of limits in both directions. It illustrates the idea with a number-line picture. It works through two asymmetric examples, including a function continuous everywhere except one point, tested with a cleverly chosen sequence. Finally, it shows via a counterexample why the "for every sequence" quantifier cannot be weakened to "for some sequence."
- Continuity at can be tested purely with sequences: .
- This equivalence goes both ways: it is an "if and only if," not just one implication.
- The forward direction (continuity sequential preservation) uses the - definition directly.
- The converse (sequential preservation continuity) is proved by contrapositive, constructing a bad sequence from a failure of - continuity.
- A single sequence along which is enough to disprove continuity — this is the theorem's main practical use.
- Key idea: continuity is the statement that commutes with every limiting process approaching , and this is logically equivalent to the - definition.
Where this lives today
The sequential characterization is the standard tool for proving that compositions and algebraic combinations of continuous functions remain continuous (foreshadowing Composition of Continuous Functions): one simply chases a sequence through each function in turn, using convergence of sequences at each stage instead of juggling nested 's and 's. It underlies the proof that continuous images of sequentially compact sets are sequentially compact, which feeds directly into The Extreme Value Theorem — a continuous function on a closed bounded interval attains a maximum, proved by extracting convergent subsequences of a maximizing sequence and using sequential continuity to pass the limit through . Beyond core analysis, the idea generalizes verbatim to metric spaces and (with care) to general topological spaces, where it becomes the basis for defining continuity via nets or filters when sequences alone are insufficient. In numerical analysis and scientific computing, the sequential viewpoint justifies why iterative approximation schemes (finite-difference or fixed-point methods) that converge to an input value also produce function values converging to the true output, provided the function being approximated is continuous. In probability theory, sequential continuity arguments justify the continuous mapping theorem, used to transfer convergence in distribution of random variables through continuous transformations. In machine learning, sequential characterizations of continuity underpin arguments about the stability of loss functions and activation functions under small perturbations of input data along training trajectories.
Ask the tutor: Can you show me how this same sequential trick proves that the composition of two continuous functions is continuous?
Let where , and let . We say is continuous at if for every there exists such that
We say preserves sequential limits at if for every sequence with for all and , the image sequence satisfies .
Intuition
Think of as a target on the number line and as the corresponding target in the range. The - definition says: shrink a window of radius around , and you can always find a matching window of radius around whose entire image lands inside that -window. The sequential definition instead sends in scouts — sequences of points marching toward — and asks whether their images always march toward . The intuition for why these agree is that a sequence converging to is exactly a mechanism for entering every -neighborhood of eventually, no matter how small is. So if has the -neighborhood-mapping property, any sequence that eventually sits inside that neighborhood must have its image eventually sit inside the corresponding -neighborhood of . Conversely, if fails the - property, some resists every , and taking produces witness points that converge to but whose images stubbornly stay away from — a concrete failing sequence.
Let with , and let . Then is continuous at if and only if for every sequence in with , we have .
We prove both directions.
() Continuity implies sequential preservation. Assume is continuous at . Let be any sequence in with . Fix . By continuity of at , there exists such that
Since , by the definition of sequence convergence applied to this , there exists such that
Combining and : for all , since and , we conclude . Since was arbitrary, this shows precisely that , using the - definition of convergence of a sequence to a limit (this is the definitional criterion from Sequential Characterization of Limits). As was an arbitrary sequence converging to , this proves sequential preservation.
() Sequential preservation implies continuity. We prove the contrapositive: assume is not continuous at , and construct a sequence in with but . Since is not continuous at , the - definition fails: there exists some such that for every , there exists a point with but . (This is the logical negation of the continuity statement, obtained by negating the quantifiers: becomes .) Apply this failure statement with for each . For each , we obtain a point such that
This defines a sequence in . Claim: . Let be arbitrary. By the Archimedean property, there exists with . Then for all , we have by . Hence . Claim: . By , for every we have . Thus no term of the sequence lies within of , so it is impossible for : taking in the definition of convergence to , no can satisfy for all , since in fact for every . We have exhibited a sequence in with but . This shows that sequential preservation fails whenever continuity fails — the contrapositive of the desired implication. Since both directions hold, is continuous at if and only if preserves the limit of every sequence converging to .
∎Worked examples
Example 1: Confirming continuity of a piecewise-defined function using a specific sequence family. Let and define
We claim is continuous at , and we verify this using the sequential characterization with an asymmetric, non-obvious test sequence rather than the trivial choice . Take for — chosen so that , a deliberately non-simplifying, oscillating sequence of sine-values, rather than the sequence where is constantly or . First, : as , the denominator , so by the standard fact that (formally, for all , and , so the Squeeze Theorem for sequences forces ). Now compute . Since always (regardless of the oscillating value ), we get
Since , also (product of convergent sequences), so by the Squeeze Theorem, . This single sequence does not prove continuity at (that requires checking all sequences, which the direct – argument does: given , take , so ). But the exercise shows how the theorem's forward direction is used in practice: no matter which sequence approaching we pick — even an oscillating one built from an unusual arithmetic progression of angles — the images are forced to converge to , exactly as the theorem guarantees.
Example 2: Detecting discontinuity by exhibiting one bad sequence. Let and define the function
We use the sequential characterization to show is not continuous at . For , factor: , so for . Choose the sequence for (an asymmetric, non-standard choice of step size, distinct from the generic ). Since , we have , and for every , so . Compute the image sequence using for . As , and polynomials are continuous (a fact itself provable via this same theorem, since polynomials are built from sums and products of the identity and constant sequences), we get
But by definition. Since , we have found a sequence with . By the contrapositive of the forward direction of the theorem (equivalently, by the converse direction applied in reverse: sequential preservation fails, so continuity fails), is not continuous at . Notice we needed only one cleverly chosen sequence to kill continuity — this asymmetry (one sequence suffices to disprove, but all sequences are needed to prove) is the central practical payoff of the theorem.
The theorem requires that hold for every sequence , not merely for some particular sequence. If we only demand this for one convenient sequence, continuity can fail dramatically. Let and define the Dirichlet-type function
Fix , and note since . Consider the specific sequence , which lies in for every , and . Then for all , so trivially . If we only checked this one sequence, we might wrongly conclude is continuous at . But is not continuous at . Take instead the sequence , which is irrational for every (since is irrational and a nonzero rational multiple of an irrational number remains irrational), and . Then for every , so . This exhibits two sequences, both converging to the same point , whose images converge to different limits ( and ). Since the theorem demands for every sequence — and here two legitimate approaching sequences already disagree with each other — continuity fails. This is precisely why the universal quantifier "for every sequence" in the theorem's statement is essential and cannot be relaxed to an existential one: checking a single well-behaved sequence never suffices to certify continuity.
Scope, edge cases & common traps
| Situation | What to watch for |
|---|---|
| Proving continuity at | Must show for all sequences , not just one; usually easier via direct - or algebraic limit laws unless a specific structural trick is available |
| Disproving continuity at | Only need one sequence with (or with converging to the wrong limit, or not converging at all) |
| Domain restrictions | Sequence must lie in ; if is isolated in , every sequence in converging to is eventually constant , and continuity there is automatic |
| Two-sided vs one-sided | The theorem as stated tests all sequences in approaching from any admissible direction; if only allows one side (e.g. ), the sequential test automatically reduces to a one-sided limit |
| Confusing "some sequence" with "every sequence" | See the counterexample: a single matching sequence never proves continuity |
The mathematician behind it
Origins · 1 minAugustin-Louis Cauchy and how this was discovered
Cauchy was among the first to insist on rigorous definitions of limit, continuity, and convergence, replacing informal "infinitesimal" reasoning inherited from Newton and Leibniz. His 1821 Cours d'Analyse laid foundations that Bolzano, Weierstrass, and later Heine sharpened into the modern - and sequential formulations used today. The equivalence between sequential and - continuity is often attributed in spirit to Eduard Heine, who worked out the precise sequential criterion in the 1870s while formalizing uniform continuity, building on Cauchy's earlier convergence-based approach to limits.
Why do we even need the sequential characterization if we already have the - definition?
The - definition is the foundational one, but it is often clumsy to manipulate directly, especially when chaining several functions together or taking limits of limits. Sequences obey simple, well-established algebraic limit laws (sums, products, quotients, composition with continuous functions), so restating continuity in sequential terms lets you reuse those laws instead of re-deriving - estimates from scratch every time. It is also the fastest route to disproving continuity: one explicit bad sequence settles the question, whereas disproving an - statement directly requires negating three nested quantifiers correctly.
Does this theorem hold for functions of several variables or on general metric spaces?
Yes. The proof given here uses only the metric structure of — the notion of distance — not any special property of the real line, so it carries over verbatim to functions between metric spaces, replacing and with the respective metrics. It even extends to general topological spaces, but there one needs the space to be "first countable" (having a countable neighborhood basis at each point) for sequences to fully capture the topology; without first countability, one must use the more general notion of a net or filter instead of a sequence.
Can I use just one sequence to prove continuity if the function looks "nice," like a polynomial?
No — technically the definition demands checking every convergent sequence, but for polynomials and other standard functions you never actually run the sequential test by hand. Instead, you invoke previously established facts (identity and constant functions are continuous; sums, products, and quotients — where the denominator is nonzero — of continuous functions are continuous) which were themselves proved once using this theorem or the equivalent - definition. Testing a single sequence, as in the counterexample with the Dirichlet function, can badly mislead you if the function is not actually continuous.
How does this theorem relate to the Sequential Characterization of Limits?
The sequential characterization of continuity is essentially a special case of the sequential characterization of limits, combined with the requirement that the limiting value equal . Recall that if and only if for every sequence with , . Continuity at additionally requires and that this limit actually equal ; allowing in the sequence is harmless since then trivially .
What if the function is not defined at nearby points, so no nontrivial sequence exists?
If is an isolated point of the domain — meaning there is some such that the only point of within distance of is itself — then every sequence in converging to must eventually equal (it cannot approach through other domain points, because there are none nearby). In that case for all large trivially, so the sequential condition holds automatically, and is continuous at every isolated point of its domain regardless of the formula defining .
Is the converse direction really necessary, or is continuity's usual definition already equivalent by common sense?
It is not automatic — it requires proof, and the direction is subtle because it is proved by contrapositive rather than directly. The key insight is that failing the - definition for some lets you plug in a shrinking sequence of values (like ) to manufacture a specific bad sequence, using the Archimedean property to confirm it actually converges to . Without carefully constructing this witness sequence, one cannot logically pass from "the - definition fails" to "some concrete sequence breaks sequential preservation."