Skip to main content

Calculus Honors · AP-aligned study guide

1.4 · Continuity, discontinuities, and the Intermediate Value Theorem

Test continuity at a point and on an interval, repair removable holes, and use the Intermediate Value Theorem to justify existence claims.

AP topics 1.10–1.13 and 1.16 · Reading: Larson & Edwards §1.4

Learning objectives

  • Check all three conditions for continuity and classify discontinuities.
  • Find parameter values that make a piecewise function continuous.
  • Use endpoint limits to test continuity on a closed interval.
  • Verify IVT hypotheses and state a precise existence conclusion.

The three-part continuity test

A function is continuous at x = c if f(c) is defined, the finite two-sided limit lim⁡x→cf(x)\displaystyle \lim_{x\to c}f(x) exists, and that limit equals f(c). Check the conditions in that order. A graph with a hole can fail the first condition; a jump fails the second; a misplaced filled dot fails the third.

Polynomials are continuous on the real line. Rational functions are continuous wherever their denominator is nonzero. Radicals, logarithms, and trigonometric functions require attention to their domains. Sums, products, and compositions of continuous functions remain continuous wherever the operations are defined.

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

Classify the break before trying to repair it

A removable discontinuity occurs when a finite two-sided limit exists but the function is undefined there or has the wrong value. Setting f(c) equal to that limit repairs the break. A jump has finite but unequal one-sided limits. An infinite discontinuity involves unbounded behavior near the point.

Changing a single point value cannot fix a jump or a vertical asymptote. For x2−1x−1\displaystyle \frac{x^2-1}{x-1}, the hole at 1 is removable because the limit is 2. By contrast, a function with left limit 2 and right limit 5 has a jump, regardless of its value at the joining point.

Make piecewise functions join

At a joining input c, use the left branch to find the left-hand limit, the right branch to find the right-hand limit, and the branch that includes equality to find f(c). Choose any parameters so all three values agree.

For f(x)=ax+1\displaystyle f(x)=ax+1 when x < 2 and f(x)=x2−1\displaystyle f(x)=x^2-1 when x ≥ 2, the right limit and f(2) are 3. The left limit is 2a+1\displaystyle 2a+1. Setting 2a+1=3\displaystyle 2a+1=3 gives a = 1, making the function continuous at the join.

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)

Continuity on intervals and at endpoints

A function is continuous on an open interval if it is continuous at every point inside it. For continuity on [a, b], also require lim⁡x→a+f(x)=f(a)\displaystyle \lim_{x\to a^+}f(x)=f(a) and lim⁡x→b−f(x)=f(b)\displaystyle \lim_{x\to b^-}f(x)=f(b). At endpoints you approach from inside the interval.

For example, x+1\displaystyle \sqrt{x+1} is continuous on [−1, 3]: it is continuous in the interior, right-continuous at −1, and left-continuous at 3. For 1x−2\displaystyle \frac{1}{x-2}, the maximal open intervals of continuity are (−∞, 2) and (2, ∞). A denominator restriction cannot be ignored just because the requested interval crosses it.

The Intermediate Value Theorem guarantees existence

If f is continuous on [a, b] and N lies strictly between f(a) and f(b), then some c in (a, b) satisfies f(c) = N. The function cannot move continuously between two heights without taking every intermediate height.

For a root, use N = 0 and show opposite signs at the endpoints. State continuity on the whole closed interval, evaluate the endpoints, show that 0 lies between those values, and conclude that at least one root exists in the open interval. IVT does not give an exact root or establish uniqueness.

f(c)=N,c∈(a,b)f(c)=N,\quad c\in(a,b)

Know what IVT cannot conclude

Opposite signs alone are not enough: f(x)=1x\displaystyle f(x)=\frac{1}{x} has values −1 and 1 at −1 and 1, but it is not continuous on [−1, 1] and never equals 0. The continuity hypothesis prevents this false inference.

If endpoint values have the same sign, IVT gives no root guarantee from those endpoints; a root may still exist. For instance, x² on [−1, 1] has positive endpoint values but has a zero at 0. Distinguish “not guaranteed by these data” from “impossible.”

Worked examples

Repair a removable discontinuity

Let f(x)=x2−4x−2\displaystyle f(x)=\frac{x^2-4}{x-2} for x≠2\displaystyle x\ne2 and f(2)=k\displaystyle f(2)=k. Find k\displaystyle k for continuity.

  1. For x≠2\displaystyle x\ne2, factor and cancel to obtain f(x)=x+2\displaystyle f(x)=x+2.
  2. The two-sided limit is lim⁡x→2f(x)=4\displaystyle \lim_{x\to2}f(x)=4.
  3. Continuity requires f(2)=lim⁡x→2f(x)\displaystyle f(2)=\lim_{x\to2}f(x).
  4. Choose k=4\displaystyle k=4. The two one-sided limits and the point value now agree.

Prove a root exists

Use IVT to show that x3+x−3=0\displaystyle x^3+x-3=0 has a solution between 1\displaystyle 1 and 2\displaystyle 2.

  1. Let f(x)=x3+x−3\displaystyle f(x)=x^3+x-3. A polynomial is continuous on [1,2]\displaystyle [1,2].
  2. Evaluate f(1)=−1\displaystyle f(1)=-1 and f(2)=7\displaystyle f(2)=7.
  3. Since −1<0<7\displaystyle -1<0<7, the target 0\displaystyle 0 lies between the endpoint values.
  4. By IVT, some c∈(1,2)\displaystyle c\in(1,2) satisfies f(c)=0\displaystyle f(c)=0. This proves existence, not uniqueness.

Common mistakes

  • Checking only the existence of f(c) and forgetting the limit.
  • Setting the left and right limits equal without checking the actual point value.
  • Using IVT across a discontinuity or omitting the continuity hypothesis.
  • Claiming that IVT gives exactly one solution.

Try it yourself

No calculator required.

1. Let f(x)=x2−9x−3\displaystyle f(x)=\frac{x^2-9}{x-3} for x≠3\displaystyle x\ne3, and f(3)=k\displaystyle f(3)=k. Find k\displaystyle k for continuity. Classify the break if k=0\displaystyle k=0.

The line y = x plus 3 has a hole at (3, 6); the value k at x = 3 has not been assigned.
The open circle shows the value missing from the rational expression.
Show worked solution

For x≠3\displaystyle x\ne3, cancellation gives f(x)=x+3\displaystyle f(x)=x+3. Hence lim⁡x→3f(x)=6\displaystyle \lim_{x\to3}f(x)=6. Continuity requires f(3)=6\displaystyle f(3)=6, so choose k=6\displaystyle k=6. If k=0\displaystyle k=0, the finite limit differs from the point value, so the discontinuity is removable.

The line y = x plus 3 has a hole at (3, 6); the value k at x = 3 has not been assigned. Filling the hole at height 6 makes the function continuous.
Filling the hole at height 6 makes the function continuous.

2. Let f(x)=ax+2\displaystyle f(x)=ax+2 for x<1\displaystyle x<1, and f(x)=x2+4\displaystyle f(x)=x^2+4 for x≥1\displaystyle x\geq1. Find a\displaystyle a so that f\displaystyle f is continuous at 1\displaystyle 1.

Show worked solution

The left-hand limit is a+2\displaystyle a+2. The right-hand limit and f(1)\displaystyle f(1) are both 5\displaystyle 5. Set a+2=5\displaystyle a+2=5, giving a=3\displaystyle a=3. The two one-sided limits and the point value then agree.

3. Use the Intermediate Value Theorem to justify a root of f(x)=x3−2\displaystyle f(x)=x^3-2 between 1\displaystyle 1 and 2\displaystyle 2. Does IVT alone prove uniqueness?

The curve y = x cubed minus 2 passes from (1, minus 1) to (2, 6), crossing y = 0 between them.
Use continuity and the signs of the endpoint values.
Show worked solution

The polynomial is continuous on [1,2]\displaystyle [1,2]. Since f(1)=−1\displaystyle f(1)=-1 and f(2)=6\displaystyle f(2)=6, we have −1<0<6\displaystyle -1<0<6. IVT guarantees at least one c∈(1,2)\displaystyle c\in(1,2) with f(c)=0\displaystyle f(c)=0. IVT alone does not establish uniqueness.

The curve y = x cubed minus 2 passes from (1, minus 1) to (2, 6), crossing y = 0 between them. The endpoint values bracket zero. IVT guarantees a crossing; the marked root is approximate.
The endpoint values bracket zero. IVT guarantees a crossing; the marked root is approximate.

4. Explain why x+2\displaystyle \sqrt{x+2} is continuous on [−2,2]\displaystyle [-2,2]. Then explain why IVT cannot be applied to 1x−1\displaystyle \frac{1}{x-1} on [0,2]\displaystyle [0,2].

Show worked solution

The square-root function is continuous in the interior, and its endpoint limits agree with its values: lim⁡x→−2+x+2=0\displaystyle \lim_{x\to-2^+}\sqrt{x+2}=0 and lim⁡x→2−x+2=2\displaystyle \lim_{x\to2^-}\sqrt{x+2}=2. In contrast, 1x−1\displaystyle \frac{1}{x-1} is undefined at 1\displaystyle 1, so it is not continuous on [0,2]\displaystyle [0,2]. The IVT hypothesis fails.

Need help with this topic?

Work through questions with a tutor and get help with the steps you find difficult.

Get help with this topic