Continuity
What You’ll Learn
Section titled “What You’ll Learn”In this lesson you’ll learn the definition of continuity at a point and on a set, the sequential characterization, the three types of discontinuity, and the theorem that continuous functions pull back open sets to open sets. This is where limits become a property of functions rather than of points.
The Concept
Section titled “The Concept”The definition
Section titled “The definition”is continuous at if
Compare the limit definition. Two changes, and both matter.
- The condition is , not . The point is included now.
- The target is , not some separate .
So continuity at packages three requirements:
- is defined.
- exists.
- They are equal.
That one equation is the whole definition, and each of the three parts can fail independently.
The three failures
Section titled “The three failures”Removable. The limit exists but the value is wrong or missing. has limit 4 at and no value there; defining repairs it. Hence “removable.”
Jump. The one-sided limits both exist and differ, so no value at the point can help. at 0 is the model, and so is any step function. Common in physical models with switching behaviour.
Essential. No limit exists at all. at 0. Nothing can be redefined to fix it, because there is nothing to converge to.
The sequential characterization
Section titled “The sequential characterization”is continuous at for every sequence , we have .
Notice is now allowed, unlike the limit version. In words: continuous functions commute with limits.
That is what “continuous” buys you, and it is why continuity is the hypothesis whenever you want to move a function inside a limit.
Same practical benefit as before: to disprove continuity, find one sequence with .
Combining continuous functions
Section titled “Combining continuous functions”If are continuous at then so are , , , and when . These follow from the sequential characterization plus the algebraic limit theorems - no new epsilon-delta work.
Composition deserves its own statement:
If is continuous at and is continuous at , then is continuous at .
Proof (sequential). Let . Continuity of gives . Continuity of at gives . ∎
Two lines, versus a genuinely fiddly epsilon-delta argument with two nested tolerances. This is the sequential criterion paying off.
Consequences: polynomials are continuous everywhere; rational functions are continuous where the denominator is nonzero; , , are continuous everywhere; is continuous on ; and any composition of these is continuous on its natural domain.
The topological characterization
Section titled “The topological characterization”is continuous is open for every open .
Preimages of open sets are open. This is the definition used in general topology, where there is no to speak of.
Note it is about preimages. Images of open sets need not be open: maps the open to , which is not open. And a constant function maps every open set to a single point.
This characterization is what made the “continuous image of a compact set is compact” proof in the last lesson work, and it is why compactness and continuity interact so cleanly.
A pathological example worth knowing
Section titled “A pathological example worth knowing”Define
This is continuous at exactly one point, , and discontinuous everywhere else.
At 0: always, so works. At any : sequences of rationals approaching give images approaching , while sequences of irrationals give images approaching 0, and .
The point of the example: continuity is a pointwise condition, and the set where a function is continuous can be extremely strange. Intuition about curves you can draw is not a guide.
Worked Examples
Section titled “Worked Examples”Example 1: Show is continuous everywhere.
Solution. Fix . Given , take . If then
∎
Here depends on only, not on . That extra property is uniform continuity, coming in three lessons.
Example 2: Classify the discontinuity of at .
Solution. For , , so . But is undefined.
The limit exists, so the discontinuity is removable. Setting makes it continuous.
Example 3: Classify the discontinuity of the floor function at an integer.
Solution. At : for and for .
Both one-sided limits exist and differ, so this is a jump discontinuity of size 1. No redefinition helps.
The floor function is continuous at every non-integer, so its set of discontinuities is - infinite but isolated.
Example 4: Show is continuous on .
Solution. Fix . From the limits lesson,
Take . Then gives , so , and
∎
Continuous at every point of . There is no discontinuity at 0 to classify, because 0 is not in the domain - ” is discontinuous at 0” is a common but incorrect phrasing.
Example 5: Continuity of a composition.
Show is continuous on .
Solution. Write with and .
is a polynomial, continuous everywhere. And for all , so maps into where is continuous.
By the composition theorem, is continuous on all of . ∎
The check that lands where is continuous is the step people skip, and it is the step that fails for something like .
Example 6: Disprove continuity with one sequence.
Let for and for . Show is discontinuous at 0.
Solution. Take . Then for every , so .
But . By the sequential characterization, is not continuous at 0. ∎
One sequence suffices, since the characterization requires every sequence to work.
Example 7: Preimages, not images.
For , compare with .
Solution. The image is , which is not open - 0 has no room to wiggle inside it.
The preimage is , which is open.
Continuity guarantees the second, never the first. Getting the direction backwards is a standard error, and the topological definition is stated with preimages precisely because that is the version that is true.
Real-World Applications
Section titled “Real-World Applications”Numerical root finding. Bisection requires continuity to guarantee a sign change encloses a root. Applied to a discontinuous function it can converge confidently to a jump where no root exists, which is a real failure mode in practice.
Physical modelling. Jump discontinuities model switching: a thermostat, a diode turning on, a phase transition. Recognizing which type of discontinuity a model has determines whether standard numerical solvers apply or whether the problem must be split into smooth pieces.
Computer graphics. Visible seams and banding are discontinuities in a shading function. Texture filtering and level-of-detail transitions are engineered to be continuous, and often to have continuous derivatives too, because the eye detects even a derivative jump as a crease.
Signal processing. Discontinuities in a signal have infinite frequency content, which is why a sharp edge produces ringing after band-limited reconstruction. The Gibbs phenomenon is a jump discontinuity’s signature.
Optimization. Most solvers assume continuity, and many assume more. A discontinuous objective breaks gradient methods and can break even derivative-free ones, since neighbouring evaluations no longer predict nearby behaviour.
Finance. Asset prices are usually modelled as continuous paths, but jump-diffusion models add discontinuities explicitly to capture crashes. The choice changes both the mathematics and the hedging strategy.
Retrying will remove your ✅ checkmark until you pass again.