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

Four graphs, each looked at around one marked point — which of them is continuous there?
Away from their marked points all four behave alike: the graph is one unbroken curve. At the marked point they differ. Before giving the property a name, look at what each graph does exactly there.
-3 -2 -1 1 2 3 -1 1 2 3 4 5 6 7 8 9 x y f(x) = x²
A · smooth
-3 -2 -1 1 2 3 -3 -2 -1 1 2 3 4 5 x y f(x) = (x² − 1) / (x − 1)
B · hole
-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
C · jump
-3 -2 -1 1 2 3 -1 1 2 3 4 5 6 7 8 x y f(x) = 1/x²
D · asymptote
A: x2x^2, smooth everywhere. B: a point missing at x=1x = 1. C: a step at x=0x = 0. D: a vertical asymptote. These are frozen states of the continuity explorer.
Only A passes; B, C and D each break at the point.
Ask the same three questions of every graph at its marked point.
grapha value at the point?values nearby settle?do they match?
A · smoothyesyesyes
B · holenoyes—
C · jumpyesno: two different levels—
D · asymptotenono: they run off to infinity—
Only A answers yes three times. Each of the others fails at least one question, and which one it fails is what tells them apart.
Each failure is at one exact place, and the near-misses do not fail at all.
B fails because the point itself is missing — the curve on both sides heads for one height, but nothing sits there. C fails because the two sides head for two different heights. D fails because the values near the point do not settle at all. One more case looks harmless but also fails: a curve whose nearby values head for one height while the dot at the point sits somewhere else, a wrong value. The near-misses pass. ∣x∣|x| has a sharp corner at 00, but nothing is missing or misplaced, so it is continuous there — a corner is not a break. And a curve can be continuous at a point however steep it is, as long as it arrives.
The rule: the value at the point is what the nearby values approach.
A function is continuous at a point when the function value at each point matches what the surrounding values predict: nearby inputs give outputs closing in on a height, and the point sits exactly at that height. Informally, you can trace the curve without lifting your pen. That picture works for whole stretches of a graph, but it breaks down for strange functions and says nothing about a single point — which is why the rule is stated with a limit, one point at a time.
The definition
A function ff is continuous at x=ax = a if its limit as xx approaches aa exists and equals its value there: lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a).
The next section takes this one equation apart into the three conditions it contains.
Continuity is a property of a function at a point; on an interval, it holds at every point.
It is a yes-or-no question about one point. A function continuous at every point of an interval is continuous on that interval, and that is the everyday sense of the word: small changes in input produce small changes in output. 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.
Some rejected graphs can be repaired with a single value; others cannot.
Whether one changed value would fix the failure sorts the discontinuities into kinds.
failed at the pointcan one value fix it?
hole, or a wrong valueyes: set f(a) to the value nearby points approach
jumpno: the two sides approach different levels
asymptoteno: there is no level to fill in
B is repaired by giving the function the value 22 at x=1x = 1; C and D stay broken whatever value is chosen.
The rest of the page states the definition formally, then goes through each kind of discontinuity — removable, jump, infinite, oscillating — one-sided continuity, continuity on intervals, the functions that are continuous everywhere, and the theorems that continuity guarantees.

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.

Pitfall: Stopping after two conditions
Seeing that f(1)f(1) is defined and lim⁡x→1f(x)\lim_{x \to 1} f(x) exists, and calling ff continuous, skips condition 3. For f(x)=x2f(x) = x^2 when x≠1x \neq 1 and f(1)=3f(1) = 3, the limit is 1≠31 \neq 3, so ff is not continuous at 11.

In practice the conditions are checked in this order, at one specific point aa. The first is about the single number f(a)f(a), the second about the values of ff at points near aa, and the third compares the two numbers these steps produce. The second condition deliberately ignores f(a)f(a): the limit is built from values near aa, never from the value at aa itself.
-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 at a point is one equation, limit equals value, and it fails when either side is missing or the two disagree.

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.
DownloadPNG2×PDF
Notation · Cheat sheet
Limit Notation at a Glance
The marks from the notation cards across the limit pages: how each is read and what it means. Every group links to the full card on its page.
Two-sided limits
x→ax \to a
x approaches a
xx gets close to aa without being aa.
lim⁡x→af(x)=L\lim_{x \to a} f(x) = L
the limit of f of x as x approaches a is L
Values of ff settle at LL near aa; f(a)f(a) itself plays no part.
lim⁡x→af(x)\lim_{x \to a} f(x) DNE
the limit does not exist
No single value is approached, for example when the two sides disagree.
One-sided limits
lim⁡x→a−f(x)\lim_{x \to a^{-}} f(x)
limit from the left
Only x<ax < a counts; the minus is a direction, not a sign.
lim⁡x→a+f(x)\lim_{x \to a^{+}} f(x)
limit from the right
Only x>ax > a counts.
f(a−),  f(a+)f(a^{-}), \; f(a^{+})
f of a minus, f of a plus
Short forms of the two one-sided limits.
Limits at infinity
∞\infty
infinity
Not a number: a direction of unbounded growth.
x→∞x \to \infty
x approaches infinity
xx grows without bound.
lim⁡x→af(x)=∞\lim_{x \to a} f(x) = \infty
the limit is infinity
ff grows without bound near aa; strictly, the limit does not exist.
Evaluating limits
00,  ∞∞\frac{0}{0}, \; \frac{\infty}{\infty}
zero over zero; infinity over infinity
Indeterminate: the form alone does not give the limit.
0⋅∞,  1∞,  000 \cdot \infty, \; 1^{\infty}, \; 0^0
product and power forms
Also indeterminate, with ∞−∞\infty - \infty and ∞0\infty^0.
10,  0∞\frac{1}{0}, \; \frac{0}{\infty}
the determinate lookalikes
These do decide the answer: unbounded, and 00.
lim⁡⋯=lim⁡⋯=L\lim \cdots = \lim \cdots = L
the evaluation chain
Each equals sign carries the lim⁡\lim until the last step.
ContinuityThis page
lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a)
the limit at a equals f of a
The definition of continuity at aa.
f(a+)=f(a)f(a^{+}) = f(a)
f is right-continuous at a
The right-hand limit equals the value: continuity from one side, as at an endpoint.
f∈C[a,b]f \in C[a, b]
f is in C of a, b
The set of functions continuous on [a,b][a, b].
Same marks, different job
a−a^{-} vs −a-aA superscript minus is a direction (from the left), not a negative number.
=∞= \inftyDescribes how the limit fails to exist; it is not a value.
10\frac{1}{0} vs 00\frac{0}{0}The first is unbounded, the second tells nothing on its own.
Limit Notation at a Glance·/calculus/limits/two-sidedLearn Math Class

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)

  • Pitfall: Asking for a two-sided limit at an endpoint
    Rejecting x\sqrt{x} on [0,4][0, 4] because there are no values left of 00, and so no two-sided limit there, asks too much. At a left endpoint only the right side counts: lim⁡x→0+x=0=0\lim_{x \to 0^+} \sqrt{x} = 0 = \sqrt{0}, and x\sqrt{x} is continuous on [0,4][0, 4].

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

    Root functions are where this comes up most often. The domain of x\sqrt{x} ends at 00, so on an interval such as [0,4][0, 4] the left endpoint can be approached only from the right. The same happens at the right endpoint of [−3,1][-3, 1] for 1−x\sqrt{1 - x}, whose domain ends at 11 and which can be approached there only from the left.

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.

Pitfall: Reading the value off the simplified formula
Cancelling to x+1x + 1 and then setting f(1)=1+1=2f(1) = 1 + 1 = 2 treats ff as x+1x + 1 at x=1x = 1 as well, and calls it continuous. The original formula gives 00\frac{0}{0} at 11, so f(1)f(1) is undefined and ff is discontinuous there.

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

Did you know: Increasing functions can only jump
A function that never decreases has both one-sided limits at every point, so each of its discontinuities is a jump. It can jump at every fraction, but never at uncountably many points: each jump skips an interval of heights, the skipped intervals never overlap, and each contains a fraction of its own.

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.

The floor function never decreases: as xx moves to the right, ⌊x⌋\lfloor x \rfloor either stays where it is or steps up. Many step functions met in practice behave the same way, such as a parking fee charged for each started hour, or the number of people who have entered a building by time tt. For any function of this kind, the values just to the left of a point can never lie above the values just to its right.
-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

Pitfall: Calling every zero of the denominator an asymptote
Taking x=1x = 1 as a vertical asymptote of x2−1x−1\frac{x^2 - 1}{x - 1} because its denominator is 00 there misses the cancellation: near 11 the function equals x+1x + 1, which tends to 22, so the graph has a hole. Cancel common factors first; a zero left in the denominator, as with 1x\frac{1}{x} at 00, gives the asymptote.

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.
DownloadPNG2×PDF
Layout
✓Yes✕No
Discontinuity typeWhich condition failsGraph signalRemovable?
Removablelimit exists, but f(a) is undefined OR f(a) ≠ limx→a_{x → a} f(x)a single hole in the curve at (a, L)✓
Jumpboth one-sided limits exist but differ — two-sided limit fails to exista step / gap between two finite levels✕
Infiniteat least one one-sided limit is ±∞ — limit fails to exist (in the finite sense)vertical asymptote at x = a✕
Oscillatingfunction oscillates without settling — limit fails to existinfinitely many swings as x → a (e.g. sin(1/x))✕
Oscillating DiscontinuityLearn Math Class
-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.
DownloadPNG2×PDF
Layout
Function classContinuous onPossible discontinuities
Polynomialall 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 aˣ (a > 0)all of ℝnone
Logarithm ln x (and logb_{b} x)(0, ∞)infinite at x = 0 (vertical asymptote; undefined for x ≤ 0)
Trig sin x, cos xall of ℝnone
Trig tan x, sec x, csc x, cot xdomain of the function (excludes its asymptotes)infinite at each asymptote (periodic)
Root ⁿ√xodd n: all of ℝ. even n: [0, ∞)none in the interior; for even n the function is undefined for x < 0
Continuous Functions — The Standard LibraryLearn Math Class

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  (f continuous at g(a)) 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 \;(f \text{ continuous at } g(a)) \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 →


Pitfall: Reading the theorem backwards
For f(x)=x2f(x) = x^2 on [−1,1][-1, 1], f(−1)=f(1)=1f(-1) = f(1) = 1, and concluding from this that ff never takes the value 00 reverses the theorem. It speaks only about values between f(a)f(a) and f(b)f(b); here f(0)=0f(0) = 0.

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.
Did you know: Two opposite points, one temperature
At any moment some pair of opposite points on the equator has exactly the same temperature. Let gg be the temperature at a point minus the temperature at the point opposite; going halfway round turns gg into −g-g, so the continuous gg cannot keep one sign and is 00 somewhere.

The theorem is often applied to a function built for the purpose rather than to the one in the question. To show that two continuous quantities pp and qq are equal somewhere on [a,b][a, b], apply it to their difference g=p−qg = p - q, which is continuous too. If gg is negative at one end and positive at the other, then g(c)=0g(c) = 0 for some cc, and so p(c)=q(c)p(c) = q(c). Nothing more about pp and qq needs to be known than their continuity and the two signs.
A continuous function cannot skip a value on its way, so solutions exist even when no one can say where.
The theorem only goes one way. The card separates what it says from what it does not.
DownloadPNG2×PDF
Continuity

Intermediate Value Theorem

The theorem only goes one way.
The theorem says
If ff is continuous on [a,b][a, b] and kk lies between f(a)f(a) and f(b)f(b), then f(c)=kf(c) = k for some c∈(a,b)c \in (a, b).
✕It does not say
If kk does not lie between f(a)f(a) and f(b)f(b), then ff never reaches kk on [a,b][a, b].
Reading the theorem backwards
Wrong workingf(x)=x2f(x) = x^2 on [−1,1][-1, 1] has f(−1)=f(1)=1f(-1) = f(1) = 1. There is no value 00 between them, so ff never takes the value 00.
Right workingThe theorem speaks only about values between f(a)f(a) and f(b)f(b). Here f(0)=0f(0) = 0.
Existence only: it says a cc exists but does not tell you where or whether it is unique.
Intermediate Value Theorem: what it does not say·/calculus/limits/continuityLearn Math Class
A cc exists when kk lies between f(a)f(a) and f(b)f(b); when it does not, the theorem is silent.

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.

Pitfall: Skipping the continuity check
Citing only the sign change of f(x)=1xf(x) = \frac{1}{x}, f(−1)=−1<0<1=f(1)f(-1) = -1 < 0 < 1 = f(1), predicts a root in (−1,1)(-1, 1), yet 1x=0\frac{1}{x} = 0 has no solution. ff is not continuous at 00, so the theorem does not apply on [−1,1][-1, 1].

The argument rests on two separate facts about ff. The signs at the endpoints come from evaluating f(1)f(1) and f(2)f(2); continuity on the whole of [1,2][1, 2] comes from knowing that x3−x−1x^3 - x - 1 is a polynomial. Only together do they force the graph to meet the xx-axis somewhere 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.
A sign change in a continuous function proves a root exists, and repeated halving pins it down to any accuracy.

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.
DownloadPNG2×PDF
Layout
Where continuity appearsRequired formWhat it enables
Evaluating limits by substitutionf continuous at alimx→a_{x → a} f(x) = f(a) — the limit reduces to plugging in
Algebraic limit rulesf and g continuous at af ± g, f · g, and f / g (where g(a) ≠ 0) inherit continuity at a
Composition rule for limitsg continuous at a; f continuous at g(a)f∘g continuous at a; limits pass through the outer function
Analysis on a closed intervalcontinuous on a, b] via [one-sided continuity at endpointsthe function is well-behaved across the full closed interval — endpoints included
Intermediate Value Theoremcontinuous on [a, b]f attains every value between f(a) and f(b) — guarantees roots when the sign changes
Summary: Where Continuity Is the HypothesisLearn Math Class

Common Pitfalls

Six mistakes cause most wrong answers about continuity. Each one is marked where it happens in the sections above; here each is worked through in full, with the wrong and the right working side by side.
DownloadPNG2×PDF
1Stopping after two conditions
The function has a value at the point and a limit there, and it is declared continuous without the two numbers being compared. This happens most often with functions defined piecewise, where the value at the point is assigned separately from the formula around it.
Start
Let f(x)=x2f(x) = x^2 for x≠1x \neq 1 and f(1)=3f(1) = 3.
Wrong turn
Error here
Then f(1)=3f(1) = 3 is defined, and lim⁡x→1f(x)=12=1\lim_{x \to 1} f(x) = 1^2 = 1 exists, so ff is continuous at 11.
Right path
Condition 3 asks whether the limit equals the value. Here lim⁡x→1f(x)=1\lim_{x \to 1} f(x) = 1 and f(1)=3f(1) = 3, and 1≠31 \neq 3, so ff is not continuous at 11. The discontinuity is removable: redefining f(1)=1f(1) = 1 repairs it.
Why it happensConditions 1 and 2 are the ones that take work, the evaluation and the limit. Once both have succeeded, the comparison looks automatic and is left out.
How to checkWrite the equation lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a) with both sides filled in by numbers. Here it reads 1=31 = 3, which is false.
2Asking for a two-sided limit at an endpoint
At the endpoint of a closed interval, the two-sided limit is demanded, as at an interior point. When the function is not defined on one side, the limit seems not to exist and the function is declared discontinuous.
Wrong turn
Error here
On [0,4][0, 4], the function x\sqrt{x} has no values for x<0x < 0, so lim⁡x→0−x\lim_{x \to 0^-} \sqrt{x} does not exist, so there is no two-sided limit at 00, so x\sqrt{x} is not continuous on [0,4][0, 4].
Right path
On a closed interval, only right-continuity is required at the left endpoint and only left-continuity at the right endpoint. Here lim⁡x→0+x=0=0\lim_{x \to 0^+} \sqrt{x} = 0 = \sqrt{0} and lim⁡x→4−x=2=4\lim_{x \to 4^-} \sqrt{x} = 2 = \sqrt{4}, and x\sqrt{x} is continuous at every point of (0,4)(0, 4). So x\sqrt{x} is continuous on [0,4][0, 4].
Why it happensContinuity at a point is learned with the two-sided limit, and that version is then applied at endpoints unchanged.
How to checkAsk whether the interval, or the domain, contains points on both sides of the point. If it contains points on one side only, the one-sided limit from that side is the one to compute.
3Reading the value off the simplified formula
A formula that gives 0/00/0 at a point is simplified, and the simplified formula is then used to supply the missing value, as if the two formulas were the same function.
Wrong turn
Error here
f(x)=x2−1x−1=(x−1)(x+1)x−1=x+1f(x) = \dfrac{x^2 - 1}{x - 1} = \dfrac{(x - 1)(x + 1)}{x - 1} = x + 1, so f(1)=2=lim⁡x→1f(x)f(1) = 2 = \lim_{x \to 1} f(x), and ff is continuous at 11.
Right path
The cancellation holds only for x≠1x \neq 1. At x=1x = 1 the original formula gives 1−11−1=00\dfrac{1 - 1}{1 - 1} = \dfrac{0}{0}, so f(1)f(1) is undefined and condition 1 fails. The limit is 22, so the discontinuity is removable. The function x+1x + 1 is the repaired function, a different function from ff.
Why it happensIn algebra, simplifying an expression is treated as producing an equal expression, and the restriction x≠1x \neq 1 disappears from view once the factor has been cancelled.
How to checkSubstitute the point into the original formula, never into the simplified one. If the original gives 0/00/0, the function has no value there.
4Calling every zero of the denominator an asymptote
For a rational function, every zero of the denominator is taken to be a vertical asymptote, and so an infinite discontinuity.
Wrong turn
Error here
The denominator of x2−1x−1\dfrac{x^2 - 1}{x - 1} is 00 at x=1x = 1, so the graph has a vertical asymptote at x=1x = 1 and the discontinuity is infinite.
Right path
The numerator is also 00 at x=1x = 1, and the two share the factor x−1x - 1. For x≠1x \neq 1 the function equals x+1x + 1, which tends to 22 as x→1x \to 1. The limit exists, so the discontinuity is removable: a hole at (1,2)(1, 2). Compare 1x\dfrac{1}{x} at 00: nothing cancels, the numerator stays 11, and the one-sided limits are −∞-\infty and +∞+\infty.
Why it happensDivision by zero is associated with blowing up, and for the first examples met, such as 1x\dfrac{1}{x}, it does.
How to checkSubstitute the point into the numerator as well. A nonzero number over 00 gives an infinite discontinuity. If both are 00, cancel the common factor and look again. Values near the point show it too: x2−1x−1\dfrac{x^2 - 1}{x - 1} gives 2.012.01 at x=1.01x = 1.01 and 1.991.99 at x=0.99x = 0.99, with no sign of blowing up.
5Reading the theorem backwards
When the value kk does not lie between f(a)f(a) and f(b)f(b), for instance when f(a)f(a) and f(b)f(b) have the same sign and k=0k = 0, the theorem is taken to say that ff never reaches kk on [a,b][a, b].
Start
f(x)=x2f(x) = x^2 on [−1,1][-1, 1] has f(−1)=1f(-1) = 1 and f(1)=1f(1) = 1.
Wrong turn
Error here
There is no sign change, so x2=0x^2 = 0 has no solution in (−1,1)(-1, 1).
Right path
The theorem only goes one way. If ff is continuous and kk lies between f(a)f(a) and f(b)f(b), then f(c)=kf(c) = k for some cc; if kk does not lie between them, the theorem says nothing. Here f(0)=0f(0) = 0, so the equation has the solution x=0x = 0.
Why it happensThe theorem is used as a test for roots, and a test is expected to answer both yes and no.
How to checkRead a missing sign change as "no conclusion", not as "no root". Evaluating at an interior point settles it here: f(0)=0f(0) = 0.
6Skipping the continuity check
A sign change of ff at the two endpoints is taken as enough to guarantee a root, without checking that ff is continuous on the whole interval.
Wrong turn
Error here
f(x)=1xf(x) = \dfrac{1}{x} has f(−1)=−1<0f(-1) = -1 < 0 and f(1)=1>0f(1) = 1 > 0, so by the theorem 1c=0\dfrac{1}{c} = 0 for some cc in (−1,1)(-1, 1).
Right path
1x\dfrac{1}{x} is undefined at 00, which lies in [−1,1][-1, 1], so ff is not continuous on [−1,1][-1, 1] and the theorem does not apply. In fact 1c\dfrac{1}{c} is never 00: the sign changes across the vertical asymptote at x=0x = 0, not through a root.
Why it happensIn most exercises the function is a polynomial, continuity holds automatically, and checking it becomes a step that is easy to skip.
How to checkList the points of [a,b][a, b] where ff is undefined or changes formula, such as zeros of a denominator or the break points of a piecewise definition. If there are any, continuity on [a,b][a, b] has to be settled before the theorem is used.
Common pitfalls with continuity·/calculus/limits/continuityLearn Math Class
Each slip checks continuity, or uses the intermediate value theorem, with a condition missing. Continuity needs the limit to equal f(a)f(a), not just both to exist; at an endpoint only a one-sided limit is asked for; the value comes from the original formula, not the simplified one; a zero of the denominator is an asymptote only when the numerator is not 00 there; a missing sign change proves nothing about roots; and the theorem needs a function continuous on the whole interval. Writing out lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a) with numbers, or listing the points where ff is undefined, catches each slip.

Skills You Should Learn

Each skill opens its step-by-step method page. Skills marked "On this page" are taught above.
Taught on this page
More limit methods

Continuity FAQ

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

+
It says ff belongs to C[a,b]C[a,b], the set of all functions continuous on the closed interval [a,b][a, b]. The brackets are the interval’s own, not arguments to CC. Writing it this way shrinks a theorem hypothesis from a sentence to one symbol. The same class is also written C0C^0 — the bottom rung of the ladder C1,C2,…,C∞C^1, C^2, \ldots, C^{\infty}, which counts continuous derivatives.Read more →

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 →

Are there always two opposite points on the equator with the same temperature?

+
Yes, at any moment, by the Intermediate Value Theorem. Let gg be the temperature at a point minus the temperature at the point opposite it. Going halfway round the equator swaps the two points, so gg turns into −g-g. A continuous function that is positive at one place and negative at another must be 00 somewhere in between, and there the two opposite temperatures are equal.Read more →

What kinds of discontinuity can an increasing function have?

+
Only jumps. A function that never decreases has both one-sided limits at every point, so it cannot have an oscillating, infinite or removable discontinuity. It can jump at every fraction, but never at uncountably many points: each jump skips an interval of heights, the skipped intervals never overlap, and each one contains a fraction of its own. The floor function, which steps up at every integer, is the familiar example.Read more →