TExcelTAD
Home › School Calculus: Limits, Derivatives & Integrals › Continuity at a Point & on Intervals: The Intermediate Value Theorem

Continuity at a Point & on Intervals: The Intermediate Value Theorem

In elementary geometry, we intuitively picture a continuous curve as a line drawn across the page without ever lifting the pencil. In rigorous calculus, this geometric intuition is translated into precise algebraic conditions.

Continuity is the cornerstone of calculus: derivatives cannot exist at a point where a function is disconnected, and the Fundamental Theorem of Calculus requires integrand functions to be continuous on their integration intervals. Furthermore, continuity ensures that a physical process cannot jump instantaneously between two states without passing through every intermediate state in between—a truth captured mathematically by the Intermediate Value Theorem.


The Three-Part Definition of Continuity at a Point

A function ff is defined to be continuous at a point x=cx = c if and only if all three of the following mathematical requirements are strictly satisfied:

Requirement 1:f(c) is defined (c belongs to the domain Df).Requirement 2:lim⁡x→cf(x) exists (lim⁡x→c−f(x)=lim⁡x→c+f(x)=L).Requirement 3:lim⁡x→cf(x)=f(c).\begin{aligned} \text{\bf Requirement 1:} \quad &f(c) \text{ is defined } (c \text{ belongs to the domain } \mathcal{D}_f). \\[6pt] \text{\bf Requirement 2:} \quad &\lim_{x \to c} f(x) \text{ exists } \left( \lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = L \right). \\[6pt] \text{\bf Requirement 3:} \quad &\lim_{x \to c} f(x) = f(c). \end{aligned}

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


Anatomy of Discontinuities on Paper

   1. Removable (Hole)            2. Jump Discontinuity          3. Infinite Discontinuity
         y                              y                              y
         │        o                     │                              │     │
         │       /                      │        ┌──                   │     │  ▲
         │      /                       │        │                     │     │  │
         │     /                        │   ───┐ │                     │     │  │
         │    /                         │      │ │                     │     │  │
         └─────────────► x              └─────────────► x              └─────┼────────► x
              c                              c                              c│
       lim f(x) exists,               lim f(x) != lim f(x)             f(x) -> +/- infinity
       but != f(c)                    (Left != Right)                  (Vertical asymptote)
  1. Removable Discontinuity (Hole): The two-sided limit lim⁡x→cf(x)\lim_{x \to c} f(x) exists, but either f(c)f(c) is undefined or f(c)≠lim⁡x→cf(x)f(c) \neq \lim_{x \to c} f(x). It can be "repaired" by redefining a single point.
  2. Jump Discontinuity: Both one-sided limits exist as finite numbers, but they are not equal: lim⁡x→c−f(x)≠lim⁡x→c+f(x)\lim_{x \to c^-} f(x) \neq \lim_{x \to c^+} f(x).
  3. Infinite / Essential Discontinuity: One or both one-sided limits blow up to +∞+\infty or −∞-\infty (a vertical asymptote).

Continuity on Intervals

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

Catalogue of Continuous Functions:
All polynomials are continuous everywhere on R\mathbb{R}. Rational functions, radical functions, trigonometric functions, exponential functions, and logarithmic functions are continuous at every point in their natural domains.


The Intermediate Value Theorem (IVT)

Hypotheses:1.  f is continuous on the closed interval [a,b].2.  u is any real number strictly between f(a) and f(b).Conclusion:There exists at least one number c∈(a,b) such that: f(c)=u.\begin{aligned} \text{\bf Hypotheses:} \quad &1. \; f \text{ is continuous on the closed interval } [a, b]. \\ &2. \; u \text{ is any real number strictly between } f(a) \text{ and } f(b). \\[8pt] \text{\bf Conclusion:} \quad &\text{There exists at least one number } c \in (a, b) \text{ such that: } f(c) = u. \end{aligned}

Bolzano's Theorem (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 (that is, f(a)⋅f(b)<0f(a) \cdot f(b) < 0), then there is at least one real root c∈(a,b)c \in (a, b) where:

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

Step-by-Step Paper Notebook Method

Method 1: Determining Parameters for Piecewise Continuity

To make a piecewise function continuous at a transition boundary x=cx = c:

  • Step 1: Write down the expression for the left-hand limit lim⁡x→c−f(x)\lim_{x \to c^-} f(x) using the formula for x<cx < c, and evaluate it at x=cx = c.
  • Step 2: Write down the expression for the right-hand limit lim⁡x→c+f(x)\lim_{x \to c^+} f(x) using the formula for x>cx > c, and evaluate it at x=cx = c.
  • Step 3: Evaluate f(c)f(c) from the branch containing the inclusive inequality (≤\le or ≥\ge).
  • Step 4: Set the left-hand limit, right-hand limit, and f(c)f(c) equal to each other to solve for the unknown parameter(s).

Method 2: Writing an IVT Root-Existence Proof on Paper

To prove that an equation P(x)=0P(x) = 0 has a solution on [a,b][a, b]:

  • Step 1 (Define): Explicitly name the function: "Let f(x)=…f(x) = \dots"
  • Step 2 (State Continuity): State: "Since f(x)f(x) is a polynomial (or continuous combination of basic functions), it is continuous on the closed interval [a,b][a, b]."
  • Step 3 (Calculate Endpoints): Compute f(a)f(a) and f(b)f(b) step by step.
  • Step 4 (Verify Sign Change): Explicitly observe that f(a)<0<f(b)f(a) < 0 < f(b) (or f(b)<0<f(a)f(b) < 0 < f(a)), so f(a)⋅f(b)<0f(a) \cdot f(b) < 0.
  • Step 5 (Conclude): Write: "Therefore, by the Intermediate Value Theorem, there exists at least one real number c∈(a,b)c \in (a, b) such that f(c)=0f(c) = 0."

Worked Examples on Paper

Example 1: Continuity Verification of a Piecewise Function

Determine whether the function f(x)f(x) is continuous at x=2x = 2:

f(x)={x2+1,if x<25,if x=23x−1,if x>2f(x) = \begin{cases} x^2 + 1, & \text{if } x < 2 \\ 5, & \text{if } x = 2 \\ 3x - 1, & \text{if } x > 2 \end{cases}

Solution

Check all three conditions of the definition:

  1. Condition 1: Is f(2)f(2) defined? From the given formula, when x=2x = 2, f(2)=5f(2) = 5. Thus, Condition 1 is satisfied.

  2. Condition 2: Does lim⁡x→2f(x)\lim_{x \to 2} f(x) exist?

    • Left-hand limit (x→2−x \to 2^-):
      lim⁡x→2−f(x)=lim⁡x→2−(x2+1)=22+1=4+1=5\lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} (x^2 + 1) = 2^2 + 1 = 4 + 1 = 5
    • Right-hand limit (x→2+x \to 2^+):
      lim⁡x→2+f(x)=lim⁡x→2+(3x−1)=3(2)−1=6−1=5\lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} (3x - 1) = 3(2) - 1 = 6 - 1 = 5

    Since lim⁡x→2−f(x)=lim⁡x→2+f(x)=5\lim_{x \to 2^-} f(x) = \lim_{x \to 2^+} f(x) = 5, the two-sided limit exists:

    lim⁡x→2f(x)=5\lim_{x \to 2} f(x) = 5

    Thus, Condition 2 is satisfied.

  3. Condition 3: Does lim⁡x→2f(x)=f(2)\lim_{x \to 2} f(x) = f(2)?

    lim⁡x→2f(x)=5=f(2)\lim_{x \to 2} f(x) = 5 = f(2)

    Condition 3 is satisfied.

Final Answer: All three conditions hold; f(x)f(x) is continuous at x=2x = 2.


Example 2: Finding a Parameter for Continuity

Find the real value of constant kk such that g(x)g(x) is continuous everywhere on R\mathbb{R}:

g(x)={kx2+2x,if x≤32x+k2,if x>3g(x) = \begin{cases} k x^2 + 2x, & \text{if } x \le 3 \\ 2x + k^2, & \text{if } x > 3 \end{cases}

Solution

For x<3x < 3 and x>3x > 3, g(x)g(x) is defined by polynomials, which are continuous everywhere. The only possible point of discontinuity is at the transition point x=3x = 3.

  1. Evaluate g(3)g(3) and the left-hand limit:
    g(3)=k(3)2+2(3)=9k+6g(3) = k(3)^2 + 2(3) = 9k + 6
    lim⁡x→3−g(x)=9k+6\lim_{x \to 3^-} g(x) = 9k + 6
  2. Evaluate the right-hand limit:
    lim⁡x→3+g(x)=lim⁡x→3+(2x+k2)=2(3)+k2=6+k2\lim_{x \to 3^+} g(x) = \lim_{x \to 3^+} (2x + k^2) = 2(3) + k^2 = 6 + k^2
  3. Enforce the continuity requirement: For gg to be continuous at x=3x = 3, the two limits must be equal:
    9k+6=6+k29k + 6 = 6 + k^2
  4. Solve the quadratic equation on paper:
    k2−9k=0k(k−9)=0\begin{aligned} k^2 - 9k &= 0 \\ k(k - 9) &= 0 \end{aligned}
    This yields two solutions: k=0k = 0 or k=9k = 9.

Final Answer: g(x)g(x) is continuous everywhere when k=0k = 0 or k=9k = 9.


Example 3: Proving Existence of a Root using IVT

Prove on paper that the cubic equation x3−3x−1=0x^3 - 3x - 1 = 0 has at least one real root in the open interval (1,2)(1, 2).

Solution

  1. Define the function: Let f(x)=x3−3x−1f(x) = x^3 - 3x - 1.
  2. State continuity: f(x)f(x) is a polynomial function, hence it is continuous on all of R\mathbb{R}, and specifically continuous on the closed interval [1,2][1, 2].
  3. Evaluate at the endpoints:
    • At x=1x = 1:
      f(1)=13−3(1)−1=1−3−1=−3<0f(1) = 1^3 - 3(1) - 1 = 1 - 3 - 1 = -3 < 0
    • At x=2x = 2:
      f(2)=23−3(2)−1=8−6−1=+1>0f(2) = 2^3 - 3(2) - 1 = 8 - 6 - 1 = +1 > 0
  4. Inspect the signs:
    f(1)=−3<0<1=f(2)f(1) = -3 < 0 < 1 = f(2)
    The value 00 lies strictly between f(1)f(1) and f(2)f(2).
  5. Invoke the Intermediate Value Theorem:
    Because ff is continuous on [1,2][1, 2] and f(1)⋅f(2)=(−3)(1)=−3<0f(1) \cdot f(2) = (-3)(1) = -3 < 0, by the Intermediate Value Theorem (Bolzano's Theorem), there exists at least one real number c∈(1,2)c \in (1, 2) such that:
    f(c)=0  ⟺  c3−3c−1=0f(c) = 0 \iff c^3 - 3c - 1 = 0

Final Answer: The equation has at least one real root in (1,2)(1, 2). ■\blacksquare


Common Mistakes & Paper Traps

  1. Omitting the Continuity Hypothesis in IVT Proofs:

    • Trap: Calculating f(a)<0f(a) < 0 and f(b)>0f(b) > 0 and immediately stating f(c)=0f(c) = 0 without mentioning that ff is continuous.
    • Correction: Discontinuous functions can jump over zero! For instance, f(x)=1xf(x) = \frac{1}{x} has f(−1)=−1f(-1) = -1 and f(1)=1f(1) = 1, but f(x)≠0f(x) \neq 0 for any xx. Examiners deduct marks if the phrase "Since f(x)f(x) is continuous on [a,b][a, b]" is missing.
  2. Claiming IVT Finds the Exact Numerical Value:

    • Trap: Believing IVT tells you that c=1.5c = 1.5 (the midpoint).
    • Correction: The Intermediate Value Theorem is purely an existence theorem. It guarantees that a solution exists in the interval, but does not provide an explicit algebraic formula for cc.
  3. Checking Only the Limit and Forgetting f(c)f(c):

    • Trap: Verifying lim⁡x→cf(x)=4\lim_{x \to c} f(x) = 4 and concluding ff is continuous, even though f(c)f(c) is either undefined or equals 1010.
    • Correction: A hole in the graph has a valid limit but is still discontinuous! All three conditions must be checked.

Pencil & Paper Practice

Solve these problems on paper before reading the worked solutions.

Practice 1

Consider the piecewise function:

h(x)={2x+a,if x≤1x2+3,if x>1h(x) = \begin{cases} 2x + a, & \text{if } x \le 1 \\ x^2 + 3, & \text{if } x > 1 \end{cases}

Find the value of the constant aa such that h(x)h(x) is continuous at x=1x = 1.

Practice 2

Prove on paper that the equation cos⁡(x)=x\cos(x) = x has at least one solution in the interval [0,π2]\left[ 0, \frac{\pi}{2} \right].


Worked Solutions

Solution 1

  1. Left-hand limit and value at x=1x = 1:
    h(1)=2(1)+a=2+a,lim⁡x→1−h(x)=2+ah(1) = 2(1) + a = 2 + a, \quad \lim_{x \to 1^-} h(x) = 2 + a
  2. Right-hand limit at x=1x = 1:
    lim⁡x→1+h(x)=12+3=1+3=4\lim_{x \to 1^+} h(x) = 1^2 + 3 = 1 + 3 = 4
  3. Equate limits for continuity:
    2+a=4  ⟹  a=22 + a = 4 \implies a = 2

Result: a=2a = 2.

Solution 2

  1. Define function: Rearrange to form f(x)=cos⁡(x)−xf(x) = \cos(x) - x.
  2. State continuity: Both cos⁡(x)\cos(x) and xx are continuous functions on all R\mathbb{R}, so their difference f(x)f(x) is continuous on the closed interval [0,π2]\left[ 0, \frac{\pi}{2} \right].
  3. Evaluate at endpoints:
    • f(0)=cos⁡(0)−0=1−0=1>0f(0) = \cos(0) - 0 = 1 - 0 = 1 > 0.
    • f(π2)=cos⁡(π2)−π2=0−π2=−π2<0f\left(\frac{\pi}{2}\right) = \cos\left(\frac{\pi}{2}\right) - \frac{\pi}{2} = 0 - \frac{\pi}{2} = -\frac{\pi}{2} < 0.
  4. Apply IVT:
    Since f(0)>0f(0) > 0 and f(π2)<0f\left(\frac{\pi}{2}\right) < 0, 00 is an intermediate value between f(0)f(0) and f(π2)f\left(\frac{\pi}{2}\right). By IVT, there exists c∈(0,π2)c \in \left( 0, \frac{\pi}{2} \right) such that f(c)=0f(c) = 0, meaning cos⁡(c)=c\cos(c) = c. ■\blacksquare

Test yourself

Which of the following is NOT required for a function ff to be continuous at x=cx = c?

  1. f(c)f(c) must be defined
  2. lim⁡x→cf(x)\lim_{x \to c} f(x) must exist
  3. The derivative f′(c)f'(c) must exist
  4. lim⁡x→cf(x)=f(c)\lim_{x \to c} f(x) = f(c)

If a function ff is continuous on [1,5][1, 5] with f(1)=−4f(1) = -4 and f(5)=8f(5) = 8, what does the Intermediate Value Theorem guarantee?

  1. The maximum value of f(x)f(x) is 88
  2. There exists at least one number c∈(1,5)c \in (1, 5) such that f(c)=0f(c) = 0
  3. f(x)f(x) is strictly increasing on [1,5][1, 5]
  4. f(3)=2f(3) = 2 exactly

What type of discontinuity is present at x=0x = 0 for the function f(x)=sin⁡(x)xf(x) = \frac{\sin(x)}{x} if f(0)f(0) is left undefined?

  1. Jump discontinuity
  2. Removable discontinuity (a hole)
  3. Infinite discontinuity
  4. Oscillating discontinuity