AP Calculus AB · Lesson 2

Continuity and the Intermediate Value Theorem

Know Know it

A function ff is continuous at x=ax = a when three things hold: f(a)f(a) is defined; lim⁡x→af(x)\lim_{x \to a} f(x) exists; and lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a). Check all three. If any one fails, ff is discontinuous at aa.

Polynomials, roots, exponentials, logarithms, sine and cosine, and rational functions are continuous wherever they are defined. For a piecewise function the places to check are the breakpoints: compare the limit from the left piece, the limit from the right piece, and the value assigned at the breakpoint.

The three kinds of discontinuity
KindWhat the limits doWhat the graph shows
RemovableThe limit exists, but f(a)f(a) is missing or differentA hole, perhaps with a dot elsewhere
JumpBoth one-sided limits exist but differA break from one height to another
InfiniteThe outputs grow without bound on at least one sideA vertical asymptote

Worked example Easy

Let f(x)=x2+1f(x) = x^2 + 1 for x<2x < 2 and f(x)=3x−1f(x) = 3x - 1 for x≥2x \ge 2. Which statement describes ff at x=2x = 2?

  1. ff has a jump discontinuity at x=2x = 2
  2. ff has a removable discontinuity at x=2x = 2
  3. ff has a vertical asymptote at x=2x = 2
  4. ff is continuous at x=2x = 2Answer

How to solve it

  1. Left-hand limit: lim⁡x→2−(x2+1)=5\lim_{x \to 2^-}(x^2 + 1) = 5.
  2. Right-hand limit and value: lim⁡x→2+(3x−1)=5\lim_{x \to 2^+}(3x - 1) = 5 and f(2)=3(2)−1=5f(2) = 3(2) - 1 = 5.
  3. All three agree, so ff is continuous at 2.

Why each choice is right or wrong

  • A. Incorrect. A jump needs the one-sided limits to differ, but both pieces give 5 at x=2x = 2.
  • B. Incorrect. A removable discontinuity needs f(2)f(2) to be missing or different from the limit, but f(2)=5f(2) = 5 equals the limit.
  • C. Incorrect. Both pieces are polynomials, which stay bounded near 2, so there is no vertical asymptote at x=2x = 2.
  • D. Correct. The left piece gives 22+1=52^2 + 1 = 5, the right piece gives 3(2)−1=53(2) - 1 = 5, and f(2)=5f(2) = 5 from the right piece, so all three conditions hold.

Worked example Medium

Let g(x)=x2−36x−6g(x) = \frac{x^2 - 36}{x - 6} for x≠6x \ne 6, and g(6)=kg(6) = k. For what value of kk is gg continuous at x=6x = 6?

  1. 00
  2. 66
  3. 1212Answer
  4. 3636

How to solve it

  1. Factor: x2−36=(x−6)(x+6)x^2 - 36 = (x - 6)(x + 6), so g(x)=x+6g(x) = x + 6 for x≠6x \ne 6.
  2. So lim⁡x→6g(x)=12\lim_{x \to 6} g(x) = 12.
  3. Continuity needs g(6)g(6) to equal that limit, so k=12k = 12.

Why each choice is right or wrong

  • A. Incorrect. 0 treats the 00\frac{0}{0} form as the value 0, but the limit at 6 is found by cancelling first.
  • B. Incorrect. 6 is the input, not the limit of g(x)g(x) as xx approaches 6.
  • C. Correct. For x≠6x \ne 6, g(x)=(x−6)(x+6)x−6=x+6g(x) = \frac{(x - 6)(x + 6)}{x - 6} = x + 6, which approaches 12. Setting k=12k = 12 makes the value equal the limit.
  • D. Incorrect. 36 comes from x2x^2 at 6, but the top and bottom must be simplified together, giving x+6x + 6, which is 12 at 6.

Explain Explain it

Task verbs: justify, explain

The Intermediate Value Theorem (IVT): if ff is continuous on the closed interval [a,b][a, b] and NN is strictly between f(a)f(a) and f(b)f(b), then f(c)=Nf(c) = N for at least one cc strictly between aa and bb. It promises that such a cc exists. It does not find it, and it promises nothing when ff is not continuous on the whole interval.

A full IVT argument names three things: the function is continuous on the closed interval, the target value lies between the two endpoint values (say what they are), and the theorem by name with its conclusion.

Trap No continuity, no IVT

1x\frac{1}{x} is −1-1 at x=−1x = -1 and 11 at x=1x = 1, yet it never equals 0. It is not continuous on [−1,1][-1, 1], because it is undefined at 0, so the IVT does not apply. State continuity before you use the theorem.

Worked example Hard

A function ff is continuous on [1,5][1, 5], with f(1)=4f(1) = 4, f(3)=−1f(3) = -1 and f(5)=2f(5) = 2. What is the least number of solutions of f(x)=0f(x) = 0 that the Intermediate Value Theorem guarantees on (1,5)(1, 5)?

  1. Zero
  2. One
  3. TwoAnswer
  4. More than two

How to solve it

  1. On [1,3][1, 3]: ff is continuous and 0 is between 4 and -1, so f(c)=0f(c) = 0 for some cc in (1,3)(1, 3).
  2. On [3,5][3, 5]: 0 is between -1 and 2, so there is another zero in (3,5)(3, 5).
  3. The intervals do not overlap, so at least 2 zeros are guaranteed. There could be more, but the theorem does not promise them.

Why each choice is right or wrong

  • A. Incorrect. Zero ignores the sign changes: ff goes from 4 down to -1 and back up to 2, so it must cross 0 along the way.
  • B. Incorrect. One counts only the drop from 4 to -1 and misses the rise from -1 to 2 on [3,5][3, 5].
  • C. Correct. 0 is between 4 and -1, so a zero lies in (1,3)(1, 3); 0 is also between -1 and 2, so another lies in (3,5)(3, 5). These intervals do not overlap, so at least two zeros are guaranteed.
  • D. Incorrect. More than two is not guaranteed: only two sign changes appear in the values, so the theorem promises two zeros and no more.

Justify Your turn

A function pp is continuous on [0,4][0, 4], with p(0)=7p(0) = 7 and p(4)=−2p(4) = -2. Show why p(x)=3p(x) = 3 for at least one xx between 0 and 4. Name the theorem you use and say why it applies.

Write it, then compare. Nothing you type here is saved or graded.

Compare with a model answer

A full answer does this

  • States that pp is continuous on [0,4][0, 4] as the condition being used
  • Says that 3 lies between p(4)=−2p(4) = -2 and p(0)=7p(0) = 7
  • Names the Intermediate Value Theorem as the reason

Model answer

pp is continuous on the closed interval [0,4][0, 4], and 3 lies between p(4)=−2p(4) = -2 and p(0)=7p(0) = 7. So by the Intermediate Value Theorem, p(c)=3p(c) = 3 for at least one cc with 0<c<40 < c < 4.

Apply Apply it

Calculator On the exam

On the exam, a graphing calculator is required in Part B of the multiple-choice section (13 of its 42 questions) and in Part A of the free-response section (2 of its 6 questions). It is not allowed in multiple-choice Part A or free-response Part B. So check continuity and work limits by hand, and remember that a calculator table only suggests a limit.

Practice these topics. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.