What Does Continuity Mean?
Informally, a function is continuous where you can draw its graph without lifting your pen — no holes, no jumps, no places where the curve flies off to infinity mid-stroke. Formally, f is continuous at a point c when three separate conditions all hold — the three-part test:
- f(c) is defined — the point actually belongs to the function's domain.
- limx→c f(x) exists — the left-hand and right-hand limits both exist and agree.
- The limit equals the value: limx→c f(x) = f(c).
Each part can fail independently, and which part fails determines the kind of discontinuity: a hole, a jump, or an asymptote. Continuity is more than a curiosity — it's the hypothesis behind the theorems that make calculus reliable, including the Intermediate Value Theorem, the Extreme Value Theorem, and the guarantee that definite integrals of the function exist. When any of those theorems seems to fail in an exercise, the first suspect to interrogate is always a hidden discontinuity.
How to Use This Calculator
Enter a function and the x-value to test. The calculator runs the three-part test explicitly: it evaluates f(c) directly, estimates the left-hand and right-hand limits by sampling ever-closer x-values from each side, and compares everything. The verdict is either "continuous at c" or a classified discontinuity — removable, jump, or infinite — with each test part marked ✓ or ✗ so you can see exactly where the definition broke. The graph shows the function near c, where holes appear as gaps in the curve, jumps as vertical breaks, and infinite discontinuities as the curve flying off-screen.
The Three Types of Discontinuity
| Type | What happens | Example | Fixable? |
|---|---|---|---|
| Removable (hole) | Limit exists, but f(c) is undefined or different | (x²−4)/(x−2) at 2 | Yes — redefine f(c) to equal the limit |
| Jump | Left and right limits exist but differ | |x|/x at 0 | No — the gap is intrinsic |
| Infinite | One or both one-sided limits are ±∞ | 1/(x−1) at 1 | No — vertical asymptote |
Worked Example
Test f(x) = (x²−4)/(x−2) at x = 2. Part 1: f(2) = 0/0 — undefined, so the test already fails. Part 2: factoring gives (x−2)(x+2)/(x−2) = x+2 for x ≠ 2, so both one-sided limits equal 4 — the limit exists. Conclusion: a removable discontinuity — the graph is the line y = x+2 with a single missing point (a hole) at (2, 4). Defining f(2) = 4 would repair it, which is exactly what "removable" means.
Common Mistakes to Avoid
- Testing only the value, not the limit. f(c) being defined is one-third of the story — a piecewise function can have f(0) = 5 while the limit is 2, failing part 3 despite parts 1 and 2 passing.
- Confusing "undefined at c" with "no limit at c." Removable discontinuities have perfectly good limits at points where the function itself is undefined — the limit ignores what happens exactly at c.
- Calling a vertical asymptote a "jump." Jumps have two finite one-sided limits that disagree; infinite discontinuities have at least one infinite side. The distinction matters for classifying and for integrability.
- Assuming continuity implies differentiability. |x| is continuous everywhere but not differentiable at 0 — continuity is the weaker condition. (The converse is true: differentiable implies continuous.)
Why Continuity Matters — Real Consequences
The Intermediate Value Theorem — a continuous function on [a, b] hits every value between f(a) and f(b) — is only as good as continuity itself, and it underwrites practical root-finding everywhere: when a bisection algorithm brackets a sign change and homes in on a root, continuity is the guarantee the root is actually there. Circuit designers, structural engineers, and numerical analysts invoke it (usually silently) every time they interpolate between measured values or trust a solver's bracketing step.
Discontinuities are equally meaningful in the other direction: physical models flag real events with them. Shock waves in aerodynamics are jump discontinuities in pressure; phase transitions show up as discontinuities in material properties; and in control systems, actuator switching creates piecewise behavior whose jump points require exactly the one-sided analysis this calculator performs. Knowing which kind of discontinuity a model produces tells an engineer whether it's a modeling artifact (removable — patch it) or physics (jump — respect it).
Frequently Asked Questions
Can a function be continuous everywhere except one point?
Absolutely — all four example buttons above are functions continuous at every point except the single tested one. Discontinuities are typically isolated points where a denominator vanishes or a piecewise definition switches.
What does "continuous on an interval" mean?
Continuous at every point inside the interval, with one-sided continuity at any included endpoints. Polynomials, sin, cos, and eˣ are continuous on the entire real line; rational functions are continuous everywhere their denominator is nonzero.
Is a removable discontinuity "really" a discontinuity?
Yes, by definition — the three-part test fails. But it's the mildest kind: the limit exists, and redefining a single point repairs the function. That repaired version is exactly what mathematicians mean by the "continuous extension," and it's why sin(x)/x is treated as having value 1 at zero in signal processing.
How does continuity relate to limits and derivatives?
Continuity sits between them: it's defined via limits (the Limit Calculator computes the key ingredient), and it's required for differentiability — a function can't have a slope at a point where it breaks. The One-Sided Limit Calculator examines the left/right agreement at the heart of part 2.
Can the calculator be wrong about continuity?
The numeric sampling can be fooled by functions that oscillate infinitely fast near the test point (like sin(1/x) at 0) or settle extremely slowly. For textbook rational, trig, and exponential functions it's reliable, and the approach tables let you inspect the evidence yourself rather than trusting a bare verdict.
Are combinations of continuous functions continuous?
Yes, with one caveat: sums, differences, products, and compositions of continuous functions are continuous wherever they're defined, and quotients are continuous wherever the denominator is nonzero. This is why continuity questions in practice reduce to hunting for trouble spots — denominator zeros, piecewise seams, domain edges — rather than checking every point: away from those suspects, the standard building blocks (polynomials, trig, exponentials) guarantee continuity automatically. This calculator is the tool for interrogating exactly those suspect points.