Continuity
Continuity is the mathematical way of saying a function has "no breaks, no holes, and no jumps" — you could draw its graph without lifting your pen. That intuition is genuinely useful, but it hides a subtle truth: what looks smooth to the eye can hide a puncture, and what the eye cannot see, calculus can. Continuity is the property that lets limits, derivatives, and integrals behave the way we expect, and it is the quiet assumption behind nearly every theorem in a first calculus course.
In this page you will learn the precise, three-part definition of continuity, meet the three main types of discontinuity, and see why the Intermediate Value Theorem — a formal statement of "to get from here to there, you must pass through everything in between" — is such a powerful tool.
Learning Objectives
- State the three conditions a function must satisfy to be continuous at a point.
- Test a function for continuity at a point using limits.
- Classify discontinuities as removable, jump, or infinite.
- State and apply the Intermediate Value Theorem (IVT).
- Understand the historical need that pushed Bolzano and Cauchy to define continuity rigorously.
Quick Answer
A function is continuous at a point if three things all hold: (1) is defined, (2) the limit exists, and (3) that limit equals . In one line: . If any condition fails, has a discontinuity at . Discontinuities come in three flavors: removable (a hole you could "plug"), jump (left and right limits disagree), and infinite (the function blows up, as at a vertical asymptote). A function continuous on a closed interval satisfies the Intermediate Value Theorem: it takes every value between and somewhere in between.
Where It Came From
For over a century after Newton and Leibniz invented calculus in the 1680s, mathematicians used "continuous" loosely — a curve was continuous if it was given by a single formula, or if it had no visible gaps. This vagueness caused real trouble. Results that seemed obvious kept producing paradoxes, and no one could say exactly why a formula-based curve should behave nicely. The concept was doing heavy lifting in proofs without ever being pinned down.
The Bohemian priest and mathematician Bernard Bolzano, around 1817, was the first to give a definition close to the modern one. In a paper with the imposing title Rein analytischer Beweis ("Purely Analytic Proof"), he wanted to prove the Intermediate Value Theorem without appealing to geometry or motion — purely from the definition of the numbers involved. To do that he needed to say precisely what "continuous" meant, and he defined it in terms of the function's values getting arbitrarily close: differs from by as little as we please when is close enough to .
Bolzano's work was published in an obscure venue and went largely unnoticed. A few years later, the French analyst Augustin-Louis Cauchy, in his hugely influential 1821 textbook Cours d'analyse, independently gave essentially the same definition and put it at the center of how calculus was taught. Cauchy's authority made the idea stick. Later, Karl Weierstrass sharpened it into the fully symbolic epsilon–delta (–) definition we use today. The motivation throughout was the same: to replace "you can draw it without lifting your pen" — a claim about ink and hands — with a statement about numbers that a proof could actually rest on.
The Three Conditions for Continuity
To be continuous at a point , a function must pass all three of these tests:
- exists — the point is actually in the domain; there is a value there.
- exists — the function approaches a single finite value from both sides (so the left-hand and right-hand limits agree).
- — the value the function approaches matches the value it takes.
All three are needed. A function can be defined at yet have no limit (condition 2 fails), or have a perfectly good limit that simply doesn't match the value plotted there (condition 3 fails).
Worked example. Test whether
is continuous at .
- Condition 1: requires dividing by , so is undefined. Condition 1 already fails.
The limit, however, exists. Factor: for , so
The limit is a clean 6, but the function has no value at . This is a hole — a removable discontinuity, which we meet next.
Types of Discontinuity
When continuity fails, the way it fails tells us a lot. There are three standard types.
Removable Discontinuity (a hole)
The two-sided limit exists, but either is undefined or it disagrees with the limit. It is called "removable" because we could redefine (or define) to equal the limit and repair the break with a single point.
Worked example. The function above, , has a removable discontinuity at . Defining a new function
makes continuous everywhere: we simply plugged the hole with the value the limit was already pointing at.
Jump Discontinuity
The left-hand and right-hand limits both exist but are different numbers, so the two-sided limit does not exist. The graph "jumps" from one height to another. These are common in step functions and piecewise definitions.
Worked example. Consider
From the left: . From the right: . Since , the limit does not exist and the function jumps by 3 units at . No single redefinition can fix this — the two sides genuinely disagree.
Infinite Discontinuity
At least one one-sided limit is infinite. The function shoots off toward or , typically at a vertical asymptote.
Worked example. For , as the denominator is a tiny positive number, so ; as it is a tiny negative number, so . Because the values grow without bound, there is no way to assign a finite value at that makes continuous. This is an infinite (essential) discontinuity.
The Intermediate Value Theorem
The Intermediate Value Theorem (IVT) captures the heart of what continuity buys you.
If is continuous on a closed interval , and is any number strictly between and , then there exists at least one in with .
Informally: a continuous function cannot skip values. To move from height to height without lifting the pen, it must pass through every height in between. Note the theorem requires continuity — this is exactly why the rigorous definition mattered to Bolzano.
Worked example — root finding. Show that has a root between and .
- is a polynomial, so it is continuous everywhere, including on .
- (negative).
- (positive).
Since lies between and , the IVT guarantees some in with . The theorem promises the root exists; narrowing it down (say to ) is the job of numerical methods like bisection, which are built directly on this idea.
Real-World Applications
- Root-finding algorithms: Bisection, used everywhere from calculators to engineering solvers, relies on the IVT — bracket a sign change, then repeatedly halve the interval.
- Temperature and physics: If a rod is C at one end and C at the other, and temperature varies continuously, every value between and occurs somewhere along it. This is a direct IVT statement.
- Economics: A continuous cost or demand curve lets analysts guarantee a "break-even" price exists between a loss and a profit region.
- Computer graphics and animation: Continuous (and smoothly continuous) functions ensure objects move without teleporting or flickering between frames.
- Control systems: Engineers assume sensor-to-output mappings are continuous so that small input changes don't cause sudden dangerous jumps.
Common Mistakes
-
Thinking "the limit exists" is enough for continuity. Why it's wrong: A removable discontinuity has a perfectly good limit but no matching value. All three conditions must hold. Correction: Always check that exists and equals the limit — not just that the limit exists.
-
Assuming a function defined by a formula is automatically continuous everywhere. Why it's wrong: Formulas like or have points where the denominator is zero and continuity fails. Correction: Check the domain first; a function can only be continuous at points where it is actually defined.
-
Applying the IVT without checking continuity, or expecting it to find every root. Why it's wrong: The IVT needs continuity on a closed interval, and it only guarantees at least one value is hit — it does not count roots or locate them exactly. Correction: Confirm continuity on , and remember the IVT is an existence statement, not a counting or locating tool.
Comparison and Connections
Continuity, limits, and differentiability are closely related but distinct. A limit can exist where the function isn't even defined; continuity is stronger; differentiability is stronger still.
| Property | What it requires | Example that has it but not the next |
|---|---|---|
| Limit exists at | Left = right limit (finite) | at : limit is 6, but not continuous (hole) |
| Continuous at | Limit exists and equals | at : continuous but not differentiable (sharp corner) |
| Differentiable at | Continuous and has a well-defined tangent slope | everywhere |
Key rule of thumb: differentiable continuous, but continuous differentiable. The absolute value function is the classic counterexample: continuous everywhere, but with a corner at where no single slope exists.
Practice Questions
Recall
State the three conditions for to be continuous at . Answer: (1) is defined; (2) exists; (3) .
Understanding
Classify the discontinuity of at and at . Guidance: Factor the denominator: , so for . At the factor cancels, giving a finite limit of — a removable discontinuity. At the denominator still vanishes and the function blows up — an infinite discontinuity.
Application
Use the IVT to show that has a solution in . Guidance: Let , continuous everywhere. Then and . Since changes sign, the IVT guarantees a in with , i.e. .
Analysis
Is it possible for a function to be continuous at exactly one point? Explain. Guidance: Yes. Consider if is rational and if is irrational. Away from , values near any point include both branches, which disagree, so continuity fails. At both branches give values squeezing to , so is continuous only there. This shows continuity is genuinely a point-by-point property, not something that must hold on whole intervals.
FAQ
Is a function continuous at an endpoint of its domain? Yes, using one-sided limits. At a left endpoint we only require ; the "other side" isn't part of the domain, so we don't demand it.
Does "the limit exists" mean the function is continuous? No. The limit can exist while the function is undefined there or takes a different value — that's a removable discontinuity. Continuity needs the limit and a matching function value.
What's the difference between removable and jump discontinuities? For a removable discontinuity the two-sided limit exists (both sides agree) but the function value is missing or wrong. For a jump, the left and right limits are different numbers, so no two-sided limit exists and nothing can "plug" it.
Can the Intermediate Value Theorem tell me how many roots a function has? No. It only guarantees at least one value is attained. A function might cross a level once, three times, or infinitely often — the IVT doesn't distinguish. It is purely an existence guarantee.
If a function is continuous, is it automatically differentiable? No. Continuity is necessary for differentiability but not sufficient. is continuous at but has a corner there, so it has no derivative at that point.
Quick Revision
- Definition: is continuous at iff (value defined, limit exists, they match).
- Removable: limit exists, value missing/wrong — a hole; can be patched.
- Jump: left limit right limit — two-sided limit fails.
- Infinite: function ; vertical asymptote.
- IVT: continuous on hits every value between and . Sign change a root exists.
- Hierarchy: differentiable continuous limit exists (arrows do not reverse).
- History: Bolzano (1817) and Cauchy (1821) replaced "no breaks" with a limit-based definition; Weierstrass gave the – form.
Related Topics
Prerequisites
- Limits — continuity is defined entirely in terms of limits.
- Calculus overview — where continuity fits in the bigger picture.
Related Topics
- Derivatives — differentiability builds on continuity.
Next Topics
- The Extreme Value Theorem and applications of continuity to optimization.
- Numerical root-finding (bisection) as a direct application of the IVT.