2.4 Continuity and the Intermediate Value Theorem

Key Takeaways

  • Continuity at a point x = c requires satisfying three strict conditions: (1) f(c) is defined, (2) lim_{x -> c} f(x) exists, and (3) lim_{x -> c} f(x) = f(c).

  • Continuity on a closed interval [a, b] requires continuity on (a, b), right-continuity at the left endpoint a, and left-continuity at the right endpoint b.

  • Discontinuities are classified into four types: Removable (hole, limit exists), Jump (finite one-sided limits differ), Infinite (vertical asymptote), and Oscillating.

  • Piecewise continuity parameters are solved by equating one-sided limits and functional values at boundary points to produce a solvable system of equations.

  • The Intermediate Value Theorem (IVT) states that if f is continuous on [a, b], then for any target value N between f(a) and f(b), there exists at least one c in (a, b) such that f(c) = N; Bolzano's Theorem guarantees a root when f(a) and f(b) have opposite signs.

Last updated: August 2026

2.4 Continuity and the Intermediate Value Theorem

Core CLEP Concept: Continuity is the mathematical formalization of an "unbroken curve." On the CLEP Calculus exam, continuity is tested through three primary question archetypes: verifying the formal 3-part definition at a point, solving for unknown constants in piecewise functions, and applying the Intermediate Value Theorem (IVT) to prove the existence of roots.


1. The Formal 3-Part Definition of Continuity

A function f(x)f(x) is continuous at a point x=cx = c if and only if all three of the following conditions are simultaneously satisfied:

1.f(c) is defined (c is in the domain of f).2.lim⁡x→cf(x) exists (lim⁡x→c−f(x)=lim⁡x→c+f(x)=L∈R).3.lim⁡x→cf(x)=f(c) (The limiting value equals the functional value).\begin{aligned} \mathbf{1.} & \quad f(c) \text{ is defined } (c \text{ is in the domain of } f). \\ \mathbf{2.} & \quad \lim_{x \to c} f(x) \text{ exists } (\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = L \in \mathbb{R}). \\ \mathbf{3.} & \quad \lim_{x \to c} f(x) = f(c) \text{ (The limiting value equals the functional value)}. \end{aligned}
   Condition 1: Point Exists        Condition 2: Limits Match        Condition 3: Hole is Plugged
            o (c, f(c))                       o                                *
           / \                               / \                              / \
          /   \                             /   \                            /   \
         /     \                           /     \                          /     \
   -----+-------+----->             -----+-------+----->             -----+-------+----->
                c                                c                                c
   Fails Part 3 (f(c) != L)          Fails Part 1 (f(c) undefined)    Continuous: Part 1, 2, 3 met!

If any one of these three conditions fails, the function is discontinuous at x=cx = c.


2. Continuity on Intervals (Open and Closed)

  • Open Interval (a,b)(a, b): ff is continuous on (a,b)(a, b) if it is continuous at every individual point c∈(a,b)c \in (a, b).
  • Closed Interval [a,b][a, b]: ff is continuous on [a,b][a, b] if:
    1. ff is continuous on the open interior (a,b)(a, b);
    2. ff is continuous from the right at x=ax = a: lim⁡x→a+f(x)=f(a)\lim_{x \to a^+} f(x) = f(a);
    3. ff is continuous from the left at x=bx = b: lim⁡x→b−f(x)=f(b)\lim_{x \to b^-} f(x) = f(b).

Continuity of Elementary Functions

The following standard functions are continuous at every number in their algebraic domains:

  • Polynomials: Continuous on (−∞,∞)(-\infty, \infty).
  • Rational Functions: Continuous everywhere except where denominator =0= 0.
  • Root Functions: xn\sqrt[n]{x} is continuous on [0,∞)[0, \infty) for even nn, and (−∞,∞)(-\infty, \infty) for odd nn.
  • Trigonometric Functions: sin⁡(x)\sin(x) and cos⁡(x)\cos(x) are continuous on (−∞,∞)(-\infty, \infty); tan⁡(x)\tan(x) is continuous on all x≠π2+kπx \neq \frac{\pi}{2} + k\pi.
  • Exponential and Logarithmic Functions: axa^x is continuous on (−∞,∞)(-\infty, \infty); ln⁡(x)\ln(x) is continuous on (0,∞)(0, \infty).

3. Comprehensive Taxonomy of Discontinuities

Discontinuities on the CLEP exam fall into four distinct categories:

Discontinuity TypeLimit Behavior lim⁡x→cf(x)\lim_{x \to c} f(x)Functional Value f(c)f(c)Visual Graph AppearanceRemediability
Removable (Hole)Exists (finite LL)Undefined or f(c)≠Lf(c) \neq LOpen circle at (c,L)(c, L), possibly with detached pointCan be fixed by defining f(c)=Lf(c) = L
JumpOne-sided limits exist but L1≠L2L_1 \neq L_2May be defined or undefinedCurve abruptly jumps vertically to a new levelCannot be fixed by redefining one point
Infinite (Essential)At least one one-sided limit is ±∞\pm\inftyUndefined or definedVertical asymptote at x=cx = cNon-removable asymptotic barrier
OscillatingDiverges due to infinite cyclingDefined or undefinedCurve oscillates infinitely often near ccNon-removable

Analytical Examples of Each Discontinuity Type

  1. Removable Discontinuity: f(x)=x2−4x−2f(x) = \frac{x^2 - 4}{x - 2}. At x=2x = 2, lim⁡x→2f(x)=4\lim_{x \to 2} f(x) = 4, but f(2)f(2) is undefined. Redefining f(2)=4f(2) = 4 removes the discontinuity.
  2. Jump Discontinuity: f(x)=∣x−3∣x−3f(x) = \frac{|x - 3|}{x - 3}. lim⁡x→3−f(x)=−1\lim_{x \to 3^-} f(x) = -1 and lim⁡x→3+f(x)=1\lim_{x \to 3^+} f(x) = 1. The jump magnitude is ∣1−(−1)∣=2|1 - (-1)| = 2.
  3. Infinite Discontinuity: f(x)=1(x−4)2f(x) = \frac{1}{(x - 4)^2}. As x→4x \to 4, f(x)→+∞f(x) \to +\infty.
  4. Oscillating Discontinuity: f(x)=cos⁡(1/x)f(x) = \cos(1/x) at x=0x = 0.

4. Solving for Unknown Parameters in Piecewise Functions

A classic CLEP question requires finding constants that make a piecewise function continuous across transition boundaries.

Master 4-Step Method

  1. Set up the left-hand limit lim⁡x→c−f(x)\lim_{x \to c^-} f(x) using the left branch.
  2. Set up the right-hand limit lim⁡x→c+f(x)\lim_{x \to c^+} f(x) using the right branch.
  3. Evaluate f(c)f(c).
  4. Set lim⁡x→c−f(x)=lim⁡x→c+f(x)=f(c)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c) and solve for the unknown parameter(s).

Step-by-Step Worked Example: Two Unknowns System

Problem: Find constants aa and bb such that g(x)g(x) is continuous for all x∈Rx \in \mathbb{R}:

g(x)={2x+1if x<1ax+bif 1≤x≤3x2−2if x>3g(x) = \begin{cases} 2x + 1 & \text{if } x < 1 \\ ax + b & \text{if } 1 \le x \le 3 \\ x^2 - 2 & \text{if } x > 3 \end{cases}

Step 1: Ensure continuity at the first boundary x=1x = 1.

  • lim⁡x→1−g(x)=2(1)+1=3\lim_{x \to 1^-} g(x) = 2(1) + 1 = 3
  • lim⁡x→1+g(x)=a(1)+b=a+b\lim_{x \to 1^+} g(x) = a(1) + b = a + b
  • g(1)=a+bg(1) = a + b
  • Equate: a+b=3\mathbf{a + b = 3} (Equation 1)

Step 2: Ensure continuity at the second boundary x=3x = 3.

  • lim⁡x→3−g(x)=a(3)+b=3a+b\lim_{x \to 3^-} g(x) = a(3) + b = 3a + b
  • lim⁡x→3+g(x)=32−2=7\lim_{x \to 3^+} g(x) = 3^2 - 2 = 7
  • g(3)=3a+bg(3) = 3a + b
  • Equate: 3a+b=7\mathbf{3a + b = 7} (Equation 2)

Step 3: Solve the system of linear equations. Subtract Equation 1 from Equation 2:

(3a+b)−(a+b)=7−3  ⟹  2a=4  ⟹  a=2(3a + b) - (a + b) = 7 - 3 \implies 2a = 4 \implies a = 2

Substitute a=2a = 2 back into Equation 1:

2+b=3  ⟹  b=12 + b = 3 \implies b = 1

Conclusion: a=2a = 2 and b=1b = 1.


5. The Intermediate Value Theorem (IVT)

The Intermediate Value Theorem (IVT) is an existence theorem providing guaranteed functional values for continuous functions.

Formal Statement of the IVT

Intermediate Value Theorem: Let ff be a function continuous on the closed interval [a,b][a, b], and let NN be any number strictly between f(a)f(a) and f(b)f(b), where f(a)≠f(b)f(a) \neq f(b). Then there exists at least one number c∈(a,b)c \in (a, b) such that: f(c)=Nf(c) = N

   y
   ^
   |                               * (b, f(b))
   |                              /
 f(b) +--------------------------+-
   |                            / |
   N +-------------------------*--+----
   |                          /|  |
 f(a) +------*               / |  |
   |         |\             /  |  |
   |         | \___________/   |  |
   +---------+-----------------+--+-----> x
             a                 c  b
             [<---- c in (a, b) ---->]

Bolzano's Theorem: Guaranteeing Roots (Zeros)

A crucial corollary of the IVT states that if f(x)f(x) 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 00 lies strictly between f(a)f(a) and f(b)f(b). Consequently, there exists at least one c∈(a,b)c \in (a, b) such that:

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

Step-by-Step Worked Example: Proving Existence of a Root

Problem: Prove that the equation x5−3x−1=0x^5 - 3x - 1 = 0 has at least one real solution in the interval [1,2][1, 2].

Step 1: Define the function and verify the continuity hypothesis. Let f(x)=x5−3x−1f(x) = x^5 - 3x - 1. As a polynomial, f(x)f(x) is continuous on (−∞,∞)(-\infty, \infty) and is therefore continuous on the closed interval [1,2][1, 2]. (Explicitly stating the continuity hypothesis is mandatory on AP and collegiate calculus exams.)

Step 2: Evaluate the function at the interval endpoints.

  • Left endpoint x=1x = 1: f(1)=15−3(1)−1=1−3−1=−3(f(1)<0)f(1) = 1^5 - 3(1) - 1 = 1 - 3 - 1 = -3 \quad (f(1) < 0)
  • Right endpoint x=2x = 2: f(2)=25−3(2)−1=32−6−1=25(f(2)>0)f(2) = 2^5 - 3(2) - 1 = 32 - 6 - 1 = 25 \quad (f(2) > 0)

Step 3: Apply the Intermediate Value Theorem. Since f(1)=−3<0<25=f(2)f(1) = -3 < 0 < 25 = f(2), the target value N=0N = 0 lies strictly between f(1)f(1) and f(2)f(2). Because ff is continuous on [1,2][1, 2], by the IVT there exists at least one number c∈(1,2)c \in (1, 2) such that f(c)=0f(c) = 0.


6. Common CLEP Traps with IVT and Continuity

  1. Forgetting to Check the Continuity Hypothesis: The IVT fails completely if ff has even a single discontinuity in [a,b][a, b]. For example, consider f(x)=1xf(x) = \frac{1}{x} on [−1,1][-1, 1]. Here f(−1)=−1<0f(-1) = -1 < 0 and f(1)=1>0f(1) = 1 > 0. However, there is no c∈(−1,1)c \in (-1, 1) where f(c)=0f(c) = 0 because f(x)f(x) is discontinuous at x=0x = 0.
  2. Assuming the Solution Is Unique: The IVT guarantees that a solution exists (at least one), but it does not guarantee how many solutions exist. A curve may oscillate and cross y=Ny = N multiple times.
  3. Confusing Open and Closed Intervals: The IVT guarantees cc lies strictly in the open interval (a,b)(a, b), not at the endpoints aa or bb.
  4. Assuming the Converse Holds: A discontinuous function may still satisfy the intermediate value property (Darboux functions), but IVT cannot be used to prove continuity.
Loading diagram...
Intermediate Value Theorem Decision Flow
Test Your Knowledge

For which of the following reasons is the function f(x) = { (x^2 - 9)/(x - 3) for x != 3; 4 for x = 3 } discontinuous at x = 3?

A

lim_{x -> 3} f(x) exists and f(3) is defined, but lim_{x -> 3} f(x) != f(3)

B

f(3) is undefined

C

lim_{x -> 3} f(x) does not exist because one-sided limits differ

D

The function possesses an infinite discontinuity at x = 3

Test Your Knowledge

Find the value of the constant c that makes g(x) continuous everywhere: g(x) = { cx + 5 for x <= 2; c x^2 - 1 for x > 2 }.

A

c = 2

B

c = 3

C

c = -3

D

c = 1

Test Your Knowledge

The continuous function f(x) = x^3 - 3x - 5 is guaranteed to have a zero on which of the following intervals by the Intermediate Value Theorem?

A

[0, 1]

B

[1, 2]

C

[2, 3]

D

[3, 4]

Test Your Knowledge

A student attempts to use the Intermediate Value Theorem to show that f(x) = tan(x) attains the value y = 1 on the interval [0, pi] because f(0) = 0 and f(pi) = 0. Why is this application of the IVT invalid?

A

Trigonometric functions are non-algebraic and excluded from the IVT

B

Tangent is strictly decreasing on its entire domain

C

The IVT only applies to polynomials with rational roots

D

Tangent has an infinite discontinuity at x = pi/2, violating the required continuity hypothesis on [0, pi]

Sections you finish are checked off in the contents.