Skip to main content

Thomas’ Calculus · Chapter 02 · Section 2.5

By Muhammad Abdullah Athar · SymPy Verified

Continuity

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 2.5: Continuity

Continuity is one of the central concepts of analysis. Intuitively, a function is continuous on an interval if its graph can be drawn without lifting the pencil from the paper.


1. The Three-Part Definition of Continuity

A function ff is continuous at an interior point cc if and only if:

  1. f(c)f(c) is defined (cc is in the domain of ff).
  2. lim⁡x→cf(x)\lim_{x \to c} f(x) exists (the two-sided limit is a finite number).
  3. lim⁡x→cf(x)=f(c)\lim_{x \to c} f(x) = f(c) (the limit equals the function value).

If any of these three conditions fails, ff is discontinuous at cc.


2. Types of Discontinuities

  • Removable Discontinuity: lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L exists, but either f(c)f(c) is undefined or f(c)≠Lf(c) \neq L. A simple "hole" in the graph.
  • Jump Discontinuity: Both lim⁡x→c−f(x)\lim_{x \to c^-} f(x) and lim⁡x→c+f(x)\lim_{x \to c^+} f(x) exist, but they are not equal.
  • Infinite Discontinuity: The function grows without bound (+∞+\infty or −∞-\infty) as x→cx \to c.

3. The Intermediate Value Theorem (IVT)

If ff is continuous on [a,b][a, b], then ff takes on every value between f(a)f(a) and f(b)f(b).

Root-Finding Corollary:

If ff is continuous on [a,b][a, b] and f(a)f(a) and f(b)f(b) have opposite signs (f(a)⋅f(b)<0f(a) \cdot f(b) < 0), then there exists at least one root c∈(a,b)c \in (a, b) such that:

f(c)=0f(c) = 0

Part Two

Key Ideas to Remember

3 essential statements for this section, each with a plain-words explanation.

Definition #1Sec 2.5

Continuity at an Interior Point

lim⁡x→cf(x)=f(c)\lim_{x \to c} f(x) = f(c)

A function f is continuous at an interior point c of its domain if: (1) f(c) is defined, (2) lim_{x->c} f(x) exists, and (3) lim_{x->c} f(x) = f(c).

Conditions: c must be in the domain of f; Two-sided limit exists as a finite real number; Limit equals function value

In plain words: Continuity means there is no interruption, break, jump, or hole in the graph at x = c.

Remember — Continuity requires value exists, limit exists, and value equals limit.

Theorem #2Sec 2.5

Intermediate Value Theorem (IVT)

f(a)<y0<f(b)  ⟹  ∃c∈(a,b) s.t. f(c)=y0f(a) < y_0 < f(b) \implies \exists c \in (a, b) \text{ s.t. } f(c) = y_0

If f is continuous on a closed interval [a, b], and y0 is any value strictly between f(a) and f(b), then there exists at least one value c in (a, b) such that f(c) = y0.

Conditions: f must be continuous on the entire closed interval [a, b]; y0 is strictly between f(a) and f(b)

In plain words: A continuous curve cannot jump over any intermediate value. Applied frequently to guarantee roots when f(a) and f(b) have opposite signs.

Remember — Continuous functions attain every intermediate value between their endpoint values.

Rule #3Sec 2.5

Classification of Discontinuities

Removable: lim⁡f(x)≠f(c);Jump: lim⁡x→c+f≠lim⁡x→c−f;Infinite: lim⁡f=±∞\text{Removable: } \lim f(x) \neq f(c); \quad \text{Jump: } \lim_{x \to c^+} f \neq \lim_{x \to c^-} f; \quad \text{Infinite: } \lim f = \pm \infty

Discontinuities are classified as: (1) Removable (limit exists but != f(c)), (2) Jump (left and right limits exist but are unequal), (3) Infinite (one or both one-sided limits are infinite).

Conditions: At least one of the three continuity conditions fails at c

In plain words: Removable discontinuities can be fixed by defining or redefining a single point. Jump and infinite discontinuities cannot be removed.

Remember — Discontinuities are either removable (holes) or essential (jumps and vertical asymptotes).

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 2.5, Exercise 1)

Warm-up

Problem. Determine where f(x) = (x^2 - 4)/(x - 2) is discontinuous. Classify the discontinuity and define f(2) to make the extended function continuous at x = 2.

Step-by-Step Derivation (3 steps)

1

Check Domain and Continuity Conditions

f(2)=22−42−2=00  ⟹  2∉Domain(f)f(2) = \frac{2^2 - 4}{2 - 2} = \frac{0}{0} \implies 2 \notin \text{Domain}(f)

The denominator is zero at x = 2, so f(2) is undefined.

Why this works: Condition 1 of continuity fails because f(2) does not exist.
2

Compute the Limit as x Approaches 2

lim⁡x→2x2−4x−2=lim⁡x→2(x−2)(x+2)x−2=lim⁡x→2(x+2)=2+2=4\lim_{x \to 2} \frac{x^2 - 4}{x - 2} = \lim_{x \to 2} \frac{(x - 2)(x + 2)}{x - 2} = \lim_{x \to 2} (x + 2) = 2 + 2 = 4

Factor the difference of squares and cancel (x - 2) to evaluate the limit.

Why this works: The limit exists and equals 4, proving the discontinuity is removable.
3

Construct the Continuous Extension

F(x)={x2−4x−2,x≠24,x=2F(x) = \begin{cases} \frac{x^2 - 4}{x - 2}, & x \neq 2 \\ 4, & x = 2 \end{cases}

Define the value at x = 2 to match the limiting value 4.

Why this works: Setting F(2) equal to the limit satisfies lim F(x) = F(2).

Answer: Discontinuous at x=2 (removable);Define f(2)=4\text{Discontinuous at } x = 2 \text{ (removable)}; \quad \text{Define } f(2) = 4

✓ Verified by SymPy CAS

Example 02(Section 2.5, Exercise 2)

Warm-up

Problem. Find the value of constant k that makes f(x) = k*x^2 for x <= 2 and f(x) = 2x + k for x > 2 continuous everywhere.

Step-by-Step Derivation (3 steps)

1

Evaluate Left-Hand Limit and Function Value at x = 2

f(2)=k(22)=4k,lim⁡x→2−f(x)=4kf(2) = k(2^2) = 4k, \quad \lim_{x \to 2^-} f(x) = 4k

Substitute x = 2 into the left branch k*x^2.

Why this works: Polynomials are continuous on their domain.
2

Evaluate Right-Hand Limit at x = 2

lim⁡x→2+f(x)=lim⁡x→2+(2x+k)=2(2)+k=4+k\lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} (2x + k) = 2(2) + k = 4 + k

Substitute x = 2 into the right branch 2x + k.

Why this works: Linear functions are continuous on their domain.
3

Equate Left and Right Limits for Continuity

4k=4+k  ⟹  3k=4  ⟹  k=434k = 4 + k \implies 3k = 4 \implies k = \frac{4}{3}

Set left-hand limit equal to right-hand limit and solve for k.

Why this works: Continuity at x = 2 requires left and right limits to be equal to f(2).

Answer: k=43k = \frac{4}{3}

✓ Verified by SymPy CAS

Example 03(Section 2.5, Exercise 3)

Core practice

Problem. Determine the interval on which h(x) = sqrt(9 - x^2) is continuous.

Step-by-Step Derivation (3 steps)

1

Find the Natural Domain

9−x2≥0  ⟺  x2≤9  ⟺  −3≤x≤39 - x^2 \ge 0 \iff x^2 \le 9 \iff -3 \le x \le 3

Square root requires a non-negative radicand.

Why this works: Real radical domain constraint.
2

Examine Interior Continuity via Composition

g(x)=9−x2 is continuous on R,f(u)=u is continuous for u≥0g(x) = 9 - x^2 \text{ is continuous on } \mathbb{R}, \quad f(u) = \sqrt{u} \text{ is continuous for } u \ge 0

A composition f(g(x)) of continuous functions is continuous on its domain.

Why this works: Theorem on continuity of composite functions.
3

Check One-Sided Boundary Continuity

lim⁡x→−3+9−x2=0=h(−3),lim⁡x→3−9−x2=0=h(3)\lim_{x \to -3^+} \sqrt{9 - x^2} = 0 = h(-3), \quad \lim_{x \to 3^-} \sqrt{9 - x^2} = 0 = h(3)

The right-hand limit matches at -3 and the left-hand limit matches at 3.

Why this works: Endpoint continuity requires one-sided limit matching.

Answer: Continuous on [−3,3]\text{Continuous on } [-3, 3]

✓ Verified by SymPy CAS

Example 04(Section 2.5, Exercise 4)

Core practice

Problem. Use the Intermediate Value Theorem to prove that the polynomial equation x^3 - 3x - 1 = 0 has a real solution in the interval [1, 2].

Step-by-Step Derivation (3 steps)

1

Verify Continuity Hypothesis

f(x)=x3−3x−1 is continuous on [1,2]f(x) = x^3 - 3x - 1 \text{ is continuous on } [1, 2]

Every polynomial is continuous everywhere on the real line, including the closed interval [1, 2].

Why this works: Hypothesis of IVT requires continuity on [a, b].
2

Evaluate at the Interval Endpoints

f(1)=13−3(1)−1=−3,f(2)=23−3(2)−1=8−6−1=1f(1) = 1^3 - 3(1) - 1 = -3, \quad f(2) = 2^3 - 3(2) - 1 = 8 - 6 - 1 = 1

Compute the function values at the endpoints.

Why this works: Endpoint values establish the sign change across the interval.
3

Apply the Intermediate Value Theorem

f(1)=−3<0<1=f(2)  ⟹  ∃c∈(1,2) such that f(c)=0f(1) = -3 < 0 < 1 = f(2) \implies \exists c \in (1, 2) \text{ such that } f(c) = 0

Because 0 is between f(1) and f(2), there must exist a c in (1, 2) with f(c) = 0.

Why this works: Direct conclusion of the Intermediate Value Theorem.

Answer: Root exists in (1,2) because f(1)=−3<0<1=f(2)\text{Root exists in } (1, 2) \text{ because } f(1) = -3 < 0 < 1 = f(2)

✓ Verified by SymPy CAS

Example 05(Section 2.5, Exercise 5)

Core practice

Problem. Classify the discontinuities of f(x) = 1/(x - 3) at x = 3 and g(x) = floor(x) at integer values x = n.

Step-by-Step Derivation (2 steps)

1

Analyze f(x) = 1/(x - 3) near x = 3

lim⁡x→3+1x−3=+∞,lim⁡x→3−1x−3=−∞\lim_{x \to 3^+} \frac{1}{x - 3} = +\infty, \quad \lim_{x \to 3^-} \frac{1}{x - 3} = -\infty

The denominator approaches 0 through positive values from the right and negative from the left.

Why this works: Infinite limit signifies a vertical asymptote, hence an infinite discontinuity.
2

Analyze g(x) = floor(x) near integer n

lim⁡x→n+⌊x⌋=n,lim⁡x→n−⌊x⌋=n−1\lim_{x \to n^+} \lfloor x \rfloor = n, \quad \lim_{x \to n^-} \lfloor x \rfloor = n - 1

Both one-sided limits are finite but differ by 1.

Why this works: When left and right limits are finite and unequal, the discontinuity is a jump discontinuity.

Answer: f has an infinite discontinuity at x=3;g has jump discontinuities at all x∈Zf \text{ has an infinite discontinuity at } x = 3; \quad g \text{ has jump discontinuities at all } x \in \mathbb{Z}

✓ Verified by SymPy CAS