2s
Need help with this lesson?
๐Ÿ“šAP Calculus ABโ€ขeasyโ€ข 8 min

Continuity, Discontinuity & the Intermediate Value Theorem

Apply the three-part continuity test to decide if a function is continuous or pinpoint its discontinuity type, then use the Intermediate Value Theorem to locate zeros.

Informally, a function is continuous if you can draw it without lifting your pencil. Formally, ff is continuous at x=ax=a when three things all hold โ€” and the AP exam tests that three-part definition directly.

The three-part continuity test

If any one of the three fails, ff is discontinuous at aa. Which one fails tells you the type.

f is continuous at aโ€…โ€ŠโŸบโ€…โ€Šโ€…โ€Š(1)โ€…โ€Šf(a) exists,โ€…โ€Šโ€…โ€Š(2)โ€…โ€Šlimโกxโ†’af(x) exists,โ€…โ€Šโ€…โ€Š(3)โ€…โ€Šlimโกxโ†’af(x)=f(a).f\text{ is continuous at }a\iff \;(1)\;f(a)\text{ exists},\;\;(2)\;\lim_{x\to a}f(x)\text{ exists},\;\;(3)\;\lim_{x\to a}f(x)=f(a).

Three kinds of discontinuity

TypeWhat you seeWhich rule fails
Removable (โ€œholeโ€)a single missing/displaced point(3): limit exists but โ‰ f(a)\neq f(a)
Jumpleft and right limits differ(2): two-sided limit DNE
Infinitevertical asymptote(2): limit is ยฑโˆž\pm\infty

The Intermediate Value Theorem (IVT)

If ff is continuous on [a,b][a,b] and NN is any value between f(a)f(a) and f(b)f(b), then f(c)=Nf(c)=N for at least one cc in (a,b)(a,b). It is the standard tool for proving a solution exists โ€” and it is a justification question, so the word โ€œcontinuousโ€ must appear in your answer.

IVT guarantees a value is hit; it never tells you where or how many times. Continuity on the closed interval is the price of admission โ€” state it explicitly.

Worked example 1

Is f(x)=x2โˆ’4xโˆ’2f(x)=\dfrac{x^2-4}{x-2} continuous at x=2x=2? Classify any discontinuity.

  1. 1.f(2)f(2) is 00\frac00: undefined, so rule (1) fails already.
  2. 2.But limโกxโ†’2f=limโกxโ†’2(x+2)=4\lim_{x\to2}f=\lim_{x\to2}(x+2)=4 exists.
  3. 3.Limit exists yet f(2)f(2) doesnโ€™t โ‡’ removable.

Answer: Discontinuous; removable hole at (2,4)(2,4).

Worked example 2

Find kk so that f(x)={x2,xโ‰ค3kxโˆ’3,x>3f(x)=\begin{cases}x^2,&x\le3\\ kx-3,&x>3\end{cases} is continuous at x=3x=3.

  1. 1.Match the two pieces at x=3x=3: left value =32=9=3^2=9.
  2. 2.Right limit =k(3)โˆ’3=3kโˆ’3=k(3)-3=3k-3.
  3. 3.Set equal: 3kโˆ’3=9โ‡’3k=123k-3=9\Rightarrow 3k=12.

Answer: k=4k=4

Worked example 3

Classify the discontinuity of f(x)=x+1xโˆ’1f(x)=\dfrac{x+1}{x-1} at x=1x=1.

  1. 1.f(1)=20f(1)=\frac{2}{0}: nonzero over zero.
  2. 2.The one-sided limits are ยฑโˆž\pm\infty (vertical asymptote).

Answer: Infinite discontinuity at x=1x=1.

Worked example 4

At x=0x=0, f(x)={x+2,x<0x2,xโ‰ฅ0f(x)=\begin{cases}x+2,&x<0\\ x^2,&x\ge0\end{cases}. Continuous?

  1. 1.Left limit: x+2โ†’2x+2\to2. Right limit: x2โ†’0x^2\to0.
  2. 2.2โ‰ 02\neq0: the two-sided limit DNE (rule 2 fails).

Answer: Jump discontinuity; not continuous at 00.

Worked example 5

Show that f(x)=x3+xโˆ’1f(x)=x^3+x-1 has a root on [0,1][0,1].

  1. 1.ff is a polynomial, hence continuous on [0,1][0,1].
  2. 2.f(0)=โˆ’1<0f(0)=-1<0 and f(1)=1>0f(1)=1>0, so 00 lies between f(0)f(0) and f(1)f(1).
  3. 3.By the Intermediate Value Theorem, f(c)=0f(c)=0 for some cc in (0,1)(0,1).

Notice the structure: state continuity, show the values straddle the target, name the theorem. That is exactly the language the rubric rewards.

Answer: A root exists in (0,1)(0,1) by the IVT.

Worked example 6

A continuous function has g(2)=โˆ’3g(2)=-3 and g(7)=8g(7)=8. Must g(c)=0g(c)=0 for some cc in (2,7)(2,7)?

  1. 1.gg is continuous on [2,7][2,7] and 00 is between โˆ’3-3 and 88.
  2. 2.IVT applies.

Answer: Yes โ€” the IVT guarantees at least one such cc.

Common trap: Using IVT without saying โ€œcontinuousโ€

On a free-response โ€œshow a root existsโ€ problem, you earn the point by (1) stating ff is continuous on [a,b][a,b] (itโ€™s a polynomial / rational with no break here), (2) computing f(a)f(a) and f(b)f(b) and noting they straddle the target value, then (3) invoking the IVT by name. Skip the word โ€œcontinuousโ€ and you lose credit even with correct arithmetic.

Hack: DEF โ€” the continuity checklist

At a suspicious point, run the three letters in order: Defined? (does f(a)f(a) exist) โ€” Exists? (does the two-sided limit exist) โ€” Fits? (are they equal). The first letter that fails names the discontinuity: D or F fail โ†’ removable hole; E fails by disagreeing sides โ†’ jump; E fails by blowing up โ†’ infinite.

Print companion
AP Calculus AB Power Workbook
Off-screen practice on Amazon