Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Continuity of Limits






Where Limits Meet Function Values


A function is continuous at a point when its limit there equals its actual value. No gap, no jump, no missing point—the function does exactly what its nearby behavior predicts.

This simple requirement has profound consequences. Continuous functions behave predictably: you can evaluate limits by direct substitution, the graph has no breaks, and values change gradually rather than abruptly.

Discontinuities occur when something fails. The function might be undefined at the point, the limit might not exist, or the limit might exist but differ from the function value. Classifying what goes wrong reveals the nature of the break and whether it can be repaired.

Key Terms

Continuity— lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a), three conditions in one equation
Discontinuity— removable, jump, infinite, or oscillating
Limit— the two-sided limit must exist for continuity to hold
One-Sided Limit— one-sided continuity at endpoints of closed intervals
Asymptote— infinite discontinuities produce vertical asymptotes

See All Calculus Definitions →


The Intuitive Idea


A continuous function has no breaks in its graph. You can trace the curve without lifting your pen. The function value at each point matches what the surrounding values predict.

Intuitively, small changes in input produce small changes in output. There are no surprises—no sudden jumps, no missing points, no explosions to infinity.

This matches everyday experience. Temperature varies continuously throughout the day. Position changes continuously as you walk. Discontinuities—sudden jumps or gaps—signal something unusual: a switch being flipped, a boundary being crossed.

The Formal Definition


A function ff is continuous at x=ax = a if three conditions hold:

1. f(a)f(a) is defined — the function has a value at aa

2. lim⁡x→af(x)\lim_{x \to a} f(x) exists — the two-sided limit exists

3. lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a) — the limit equals the function value

All three conditions must hold. The single equation

Continuity at a Point
f continuous at a  ⟺  lim⁡x→af(x)=f(a)f \text{ continuous at } a \iff \lim_{x \to a} f(x) = f(a)
Learn more about this formula: Continuity at a Point →


encapsulates all three: the right side requires f(a)f(a) to exist, the left side requires the limit to exist, and the equality requires them to match.
-3.5 -3 -2.5 -2 -1.5 -1 -0.5 0.5 1 1.5 2 2.5 3 3.5 -2 -1.5 -1 -0.5 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 x y f(x) = x+1 for x≠1; f(1) = 0
Condition 3 fails: lim f(x) ≠ f(1)

The checker tests the three conditions in order: here f(1) is defined and the two-sided limit exists, but the marked point sits away from the limit, so the equality in condition 3 fails and the verdict is discontinuous. One relocated point would make the function continuous. Run the three-step check on any example on the continuity checker.

Each way the three conditions can fail has a name, and the next sections take them in turn.

Continuity Notation

Notation

Continuity Notation

What the single equation packs in, its one-sided halves, and the class mark that turns “continuous on” into set membership.
Base lim⁡\lim and DNE — two-sided limits; the superscripts — one-sided limits; ±∞\pm\infty — limits at infinity.
lim⁡x→af(x)=f(a)\lim\limits_{x \to a} f(x) = f(a)
The limit of f at a equals f of a
Three claims in one equation — f(a)f(a) exists, the two-sided limit exists, they match. Fail any one and the equation is false or meaningless.
CasesInterior point — as written. Open interval (a,b)(a,b) — the equation at every point. Closed [a,b][a,b] — endpoints switch to the one-sided form below.
Also writtenEpsilon-delta: ∣x−a∣<δ⇒∣f(x)−f(a)∣<ε|x - a| < \delta \Rightarrow |f(x) - f(a)| < \varepsilon. Note the missing 0<0 < — unlike a limit's punctured 0<∣x−a∣0 < |x - a|, continuity lets x=ax = a in.
Do not confuseA computation rule. “Evaluate by substitution” is what continuity licenses, not what defines it — quoting substitution to prove continuity runs in a circle.
lim⁡x→a+f(x)=f(a)\lim\limits_{x \to a^{+}} f(x) = f(a)
f is right-continuous at a
The continuity equation restricted to one side. The superscript machinery belongs to one-sided limits; this page adds the equality with f(a)f(a).
CasesLeft endpoint of [a,b][a,b] — right-continuity is all that is asked; the right endpoint mirrors it with b−b^{-}. Every cumulative distribution function is right-continuous by convention — this equation is its defining property.
Also writtenf(a+)=f(a)f(a^{+}) = f(a), in the one-sided value shorthand.
Do not confuseFull continuity. At an interior point one-sided continuity is strictly weaker — the floor function is right-continuous everywhere yet jumps at every integer, as in Jump Discontinuity below.
f∈C[a,b]f \in C[a,b]
f is in C of a, b
Class membership: C[a,b]C[a,b] is the set of all functions continuous on [a,b][a,b], C(I)C(I) on an interval II. Theorem hypotheses shrink to f∈C[a,b]f \in C[a,b] instead of a sentence.
CasesC0C^0 — the same class with its ladder rung showing; the ladder C1,C2,…,C∞C^1, C^2, \ldots, C^\infty counts continuous derivatives and is climbed on higher-order derivatives.
Also writtenC0[a,b]C^0[a,b]; C(X)C(X) in topology, for continuous functions on a space XX.
Do not confuseFunction arguments. The brackets are the interval's own — C[a,b]C[a,b] is not CC evaluated at aa and bb.
Same glyph elsewhereRoman CC also counts combinations C(n,r)C(n,r), and blackboard C\mathbb{C} names the complex numbers — unrelated jobs for one letter.

Continuity on Intervals


    A function is continuous on an open interval (a,b)(a, b) if it is continuous at every point in that interval.

    For closed intervals [a,b][a, b], the definition adjusts at endpoints where only one direction of approach is available:

  • Continuous on (a,b)(a, b)
  • Right-continuous at aa: lim⁡x→a+f(x)=f(a)\lim_{x \to a^+} f(x) = f(a)
  • Left-continuous at bb: lim⁡x→b−f(x)=f(b)\lim_{x \to b^-} f(x) = f(b)

  • One-sided continuity handles the boundaries where the domain restricts approach to a single direction.

Types of Discontinuities


Discontinuities are classified by which condition fails and how.

Removable discontinuity: The limit exists, but f(a)f(a) is undefined or f(a)≠lim⁡x→af(x)f(a) \neq \lim_{x \to a} f(x)

Jump discontinuity: Both one-sided limits exist but differ

Infinite discontinuity: At least one one-sided limit is ±∞\pm\infty

Oscillating discontinuity: The limit fails to exist due to oscillation

Each type reveals different information about the function's behavior and determines whether the discontinuity can be "fixed."
The four types sort into two groups by one question: does the limit at the point exist? If it does, the fault is confined to a single value and can be repaired by redefining f(a)f(a). If it does not, no choice of f(a)f(a) can help, and the three ways the limit can fail give the three remaining types.
DownloadPNG2×PDF
  • Removablethe limit exists; the fault is a single value, so redefining f(a)f(a) makes the function continuous
    • Holef(a)f(a) is undefined(x2−1)/(x−1)(x^2 - 1)/(x - 1) at x=1x = 1: limit 22, no value
    • Misplaced valuef(a)f(a) exists but differs from the limitthe point sits off the curve
  • Non-removablethe limit does not exist; no single value of f(a)f(a) can fix it
    • Jumpboth one-sided limits exist but differ⌊x⌋\lfloor x \rfloor at x=2x = 2: 11 from the left, 22 from the right
    • Infiniteat least one one-sided limit is ±∞\pm\infty1/x1/x at x=0x = 0
    • Oscillatingthe limit fails to exist because the function oscillates without settlingsin⁡(1/x)\sin(1/x) at x=0x = 0
the limit exists: one value repairs itthe limit does not exist: nothing repairs it
Four discontinuities, two groups: repairable or not·/calculus/limits/continuityLearn Math Class
The group is settled before f(a)f(a) is even looked at: compute the two one-sided limits. If they agree and are finite, the discontinuity is removable and only f(a)f(a) needs checking. If they disagree, it is a jump; if one of them is infinite, it is infinite; if neither settles on a value, it is oscillating. Each type is taken up in its own section below.

Removable Discontinuity


A removable discontinuity occurs when the limit exists but differs from the function value (or the function is undefined).

Consider:

Removable Discontinuity
f(x)=x2−1x−1f(x) = \frac{x^2 - 1}{x - 1}

For x≠1x \neq 1, this simplifies to x+1x + 1. The limit as x→1x \to 1 is 22. But f(1)f(1) is undefined—division by zero.

The graph shows a hole at (1,2)(1, 2). The discontinuity is removable because redefining f(1)=2f(1) = 2 fills the hole and makes the function continuous.

Removable discontinuities are "accidents" that can be repaired with a single point adjustment.
-3 -2 -1 1 2 3 -3 -2 -1 1 2 3 4 5 x y f(x) = (x² − 1) / (x − 1)
Hole at x = 1: removable

The limit at 1 exists and equals 2, but the function has no value there; filling the single missing point would make the curve continuous, which is why the discontinuity is called removable. The simplified formula x + 1 is exactly that repaired function. Compare the hole with the repaired curve on the continuity checker.

Removable discontinuities are the mild case: the function is continuous except for a bookkeeping error at one point.

Jump Discontinuity


A jump discontinuity occurs when both one-sided limits exist but are unequal:

Jump Discontinuity
lim⁡x→a−f(x)≠lim⁡x→a+f(x)\lim_{x \to a^-} f(x) \neq \lim_{x \to a^+} f(x)

The function "jumps" from one value to another at x=ax = a.

The floor function ⌊x⌋\lfloor x \rfloor jumps at every integer. At x=2x = 2:

Jump Discontinuity
lim⁡x→2−⌊x⌋=1lim⁡x→2+⌊x⌋=2\lim_{x \to 2^-} \lfloor x \rfloor = 1 \qquad \lim_{x \to 2^+} \lfloor x \rfloor = 2

No single value of f(2)f(2) can equal both one-sided limits. The discontinuity cannot be removed—the gap is intrinsic to the function's definition.
-3 -2 -1 1 2 3 -4 -3 -2 -1 1 2 3 4 x y f(x) = x for x<0; x+1 for x≥0
Jump at x = 0: left limit 0, right limit 1

From the left the function approaches 0, from the right it approaches 1, and no single value could bridge the gap: the two-sided limit does not exist, so condition 2 fails. The size of the jump is the difference of the two one-sided limits. Read the two one-sided values on the continuity checker.

Jumps are the natural discontinuities of piecewise definitions and of the floor and ceiling functions.

Infinite Discontinuity


An infinite discontinuity occurs when the function blows up—at least one one-sided limit equals ±∞\pm\infty.

For f(x)=1xf(x) = \dfrac{1}{x} at x=0x = 0:

Infinite Discontinuity
lim⁡x→0−1x=−∞lim⁡x→0+1x=+∞\lim_{x \to 0^-} \frac{1}{x} = -\infty \qquad \lim_{x \to 0^+} \frac{1}{x} = +\infty

The graph has a vertical asymptote at x=0x = 0. No finite value can serve as f(0)f(0) because the function escapes to infinity from both sides.

Infinite discontinuities mark points where the function is fundamentally unbounded.
-3 -2 -1 1 2 3 -1 1 2 3 4 5 6 7 8 x y f(x) = 1/x²
Asymptote at x = 0: the limit is infinite

Approaching 0 the function runs off the top or bottom of the picture: at least one one-sided limit is infinite, so there is no finite limit and no value that could be assigned. The vertical line x = 0 is the asymptote the curve hugs. Watch the readings blow up on the continuity checker.

Infinite discontinuities mark the vertical asymptotes of rational functions.

Oscillating Discontinuity


An oscillating discontinuity occurs when the function oscillates without settling, preventing the limit from existing.

The classic example is f(x)=sin⁡(1/x)f(x) = \sin(1/x) at x=0x = 0. As x→0x \to 0, the argument 1/x→±∞1/x \to \pm\infty, causing sine to oscillate between −1-1 and 11 infinitely often.

No single value LL works because the function repeatedly swings away from any candidate. The limit does not exist—not because of a jump or blowup, but because of uncontrolled oscillation.
Discontinuity type Which condition fails Graph signal Removable?
Removable limit exists, but f(a) is undefined OR f(a) ≠ limx → a f(x) a single hole in the curve at (a, L) ✓
Jump both one-sided limits exist but differ — two-sided limit fails to exist a step / gap between two finite levels ✗
Infinite at least one one-sided limit is ±∞ — limit fails to exist (in the finite sense) vertical asymptote at x = a ✗
Oscillating function oscillates without settling — limit fails to exist infinitely many swings as x → a (e.g. sin(1/x)) ✗
-4 -3 -2 -1 1 2 3 4 -1 1 x y f(x) = sin(1/x)
sin(1/x) near 0: no limit at all

The probes at ±0.5 read sin 2 ≈ 0.91, but moving them inward the readings swing between −1 and 1 faster and faster, never settling: the limit fails to exist not by running away but by refusing to choose. No value of f(0) could make this continuous. Squeeze the probes and watch the readings swing on the limit explorer.

Oscillating discontinuities are rare in practice but show that the limit can fail without any value being infinite.

Continuous Functions — The Standard Library


    Many familiar functions are continuous on their entire domains:

  • Polynomials: continuous everywhere

  • Rational functions: continuous except where the denominator is zero

  • Trigonometric functions: sin⁡x\sin x, cos⁡x\cos x continuous everywhere; tan⁡x\tan x, sec⁡x\sec x, etc. continuous where defined

  • Exponential functions: exe^x, axa^x continuous everywhere

  • Logarithmic functions: ln⁡x\ln x, log⁡ax\log_a x continuous on (0,∞)(0, \infty)

  • Root functions: xn\sqrt[n]{x} continuous on their domains

  • For these functions, evaluating limits reduces to direct substitution.
Function class Continuous on Possible discontinuities
Polynomial all of ℝ none
Rational p(x) / q(x) {x : q(x) ≠ 0} removable (if p and q share a root) or infinite (if only q vanishes)
Exponential ax (a > 0) all of ℝ none
Logarithm ln x  (and logb x) (0, ∞) infinite at x = 0 (vertical asymptote; undefined for x ≤ 0)
Trig sin x, cos x all of ℝ none
Trig tan x, sec x, csc x, cot x domain of the function (excludes its asymptotes) infinite at each asymptote (periodic)
Root n√x odd n: all of ℝ. even n: [0, ∞) none in the interior; for even n the function is undefined for x < 0

Combinations of Continuous Functions


Continuity is preserved under standard operations. If ff and gg are continuous at aa, then so are:

Continuity Preserved Under Operations
f,g continuous at a  ⟹  f±g,  cf,  f⋅g,  f/g  (g(a)≠0),  f∘g continuous at af, g \text{ continuous at } a \implies f \pm g, \; cf, \; f \cdot g, \; f/g \;(g(a) \neq 0), \; f \circ g \text{ continuous at } a
Learn more about this formula: Continuity Preserved Under Operations →


Compositions also preserve continuity: if gg is continuous at aa and ff is continuous at g(a)g(a), then f∘gf \circ g is continuous at aa.

These limit rules carry over directly to continuity, since continuity is defined in terms of limits.

The Intermediate Value Theorem (IVT)


If ff is continuous on [a,b][a, b] and kk is any value between f(a)f(a) and f(b)f(b), then f(c)=kf(c) = k for some cc in (a,b)(a, b).

Intermediate Value Theorem
f continuous on [a,b],  k between f(a) and f(b)  ⟹  ∃ c∈(a,b) with f(c)=kf \text{ continuous on } [a,b], \; k \text{ between } f(a) \text{ and } f(b) \implies \exists\, c \in (a,b) \text{ with } f(c) = k
Learn more about this formula: Intermediate Value Theorem →


Continuous functions hit every intermediate value—no skipping. The graph cannot jump from f(a)f(a) to f(b)f(b) without passing through every height in between.

This theorem guarantees existence. It says a cc exists but does not tell you where or whether it is unique.
x^3 - 3x on [-2, 2.2] runs from -2 to about 4.05, so it takes the value 1 somewhere; here at three pointsxy−2−112−3−2−112345k = 1y = x³ − 3xf(−2) = −2 < 1 < f(2.2) ≈ 4.05three c with f(c) = 1IVT promises at least one c with f(c) = k; here there are three
Every height in between is reached

f(x) = x³ − 3x is continuous on [−2, 2.2], starts at f(−2) = −2 and ends at about 4.05. Any level between those two heights, such as the dashed k = 1, must be crossed: the unbroken curve cannot get from below the line to above it without meeting it. Here it meets it three times. The theorem only promises at least one such c, not where it is or how many there are.

Without continuity the guarantee fails: a jump can skip a level entirely.

Using IVT to Locate Roots


A sign change guarantees a root. If ff is continuous on [a,b][a, b] with:

Using IVT to Locate Roots
f(a)<0andf(b)>0f(a) < 0 \quad \text{and} \quad f(b) > 0

then f(c)=0f(c) = 0 for some c∈(a,b)c \in (a, b).

Example
Show that x3−x−1=0x^3 - x - 1 = 0 has a solution in (1,2)(1, 2).
Let f(x)=x3−x−1f(x) = x^3 - x - 1.
f(1)=1−1−1=−1<0f(1) = 1 - 1 - 1 = -1 < 0
f(2)=8−2−1=5>0f(2) = 8 - 2 - 1 = 5 > 0
Since ff is continuous and changes sign, IVT guarantees a root between 11 and 22.

The bisection method refines this: repeatedly halve the interval, keeping the half where the sign change occurs, to approximate the root to any desired precision.
x^3 - x - 1 is -1 at 1 and 5 at 2; halving the interval at 1.5 and 1.25 traps the root near 1.32xy12−2−1123456y = x³ − x − 1f(1) = −1f(2) = 5f(1.5) > 0f(1.25) < 0sign change on [1.25, 1.5]: the root is thereEach halving keeps the half where the sign changes
Trapping a root by halving

The section’s f(x) = x³ − x − 1 is negative at 1 and positive at 2, so a root lies between. f(1.5) ≈ 0.875 is positive, so the root is in [1, 1.5]; f(1.25) ≈ −0.30 is negative, so it is in [1.25, 1.5], between the dashed lines. Each step halves the interval that must contain the root; the root itself is about 1.3247.

Ten halvings shrink [1, 2] to an interval shorter than 0.001.

Summary: Where Continuity Is the Hypothesis


Continuity isn't just a property a function might happen to have; it's a hypothesis that unlocks a long list of useful results across the limits subtree and beyond. The table below collects five places where this page's definition of continuity does the work — from the everyday move of direct substitution for limits, through the algebraic and composition rules, to the Intermediate Value Theorem. In each row, the required form of continuity is the condition that turns the right-hand result into a guarantee.
Where continuity appears Required form What it enables
Evaluating limits by substitution f continuous at a limx → a f(x) = f(a) — the limit reduces to plugging in
Algebraic limit rules f and g continuous at a f ± g, f · g, and f / g (where g(a) ≠ 0) inherit continuity at a
Composition rule for limits g continuous at a; f continuous at g(a) f∘g continuous at a; limits pass through the outer function
Analysis on a closed interval continuous on [a, b] via one-sided continuity at endpoints the function is well-behaved across the full closed interval — endpoints included
Intermediate Value Theorem continuous on [a, b] f attains every value between f(a) and f(b) — guarantees roots when the sign changes

Continuity FAQ

What does f ∈ C[a,b] mean?

+

How does the epsilon-delta definition of continuity differ from the one for limits?

+
By a single missing condition. A limit requires 0 < |x − a| < δ, deliberately puncturing the point so that x never equals a. Continuity drops the 0 <, writing |x − a| < δ implies |f(x) − f(a)| < ε, which lets x = a into the argument. That inclusion is exactly what forces the value at a to agree with the surrounding behavior.Read more →

Can you prove a function is continuous by substitution?

+
No — that reasoning runs in a circle. Evaluating a limit by substituting the point is something continuity licenses, not something that establishes it; substitution works precisely because the function is already known to be continuous there. To prove continuity, check the three conditions directly or cite a theorem, such as the continuity of polynomials or of sums and products of continuous functions.Read more →