AP Calculus AB · Topic 1.13 · Reading guide, about 5 min

Filling a hole to make a function continuous

Repair a hole by defining the function value to equal the limit, and see why jumps and asymptotes cannot be fixed.

In one minute

A hole in a graph is the one break you can repair. If the limit exists at the missing point, you can define the function's value there to equal that limit, and the new function is continuous.

The method is short: find the limit by canceling the factor that causes the hole, then assign that number as the value. Jumps and asymptotes do not allow this, and knowing why is part of the topic.

Key terms

Removable discontinuity
A break at x=cx = c where lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L exists as a real number but f(c)f(c) is missing or not equal to LL.
Extended function
A new function that agrees with the original everywhere except at the hole, where its value is defined to be the limit.
Common factor
A factor appearing in both numerator and denominator, such as (x−2)(x-2); canceling it for x≠cx \ne c exposes the limit.
Piecewise repair
Writing the fixed function as one formula for x≠cx \ne c and the value LL at x=cx = c.
Conjugate
The same two terms with the opposite sign between them, such as x+9+3\sqrt{x+9} + 3 for x+9−3\sqrt{x+9} - 3; it removes square roots from a numerator.
Nonremovable discontinuity
A jump or an infinite break. No single value assigned at cc can make the function continuous there.
Limit as target value
The number that the repaired function value must equal, found from nearby inputs rather than from the missing point itself.

The repair recipe

Step 1: look for a possible hole. Direct substitution giving 0/00/0 is a signal, but it does not prove it: x−2(x−2)2\dfrac{x-2}{(x-2)^2} gives 0/00/0 at x=2x = 2 and still has an asymptote there. Step 2: factor, cancel or rationalize to find lim⁡x→cf(x)\lim_{x \to c} f(x). The break is a hole only if this limit is a real number LL, meaning both one-sided limits equal the same finite value. Step 3: define f(c)=Lf(c) = L.

The result is continuous at cc because all three conditions now hold: the value exists (you gave it one), the limit exists, and the two are equal by construction. The graph looks identical to the original except that the open circle is now a filled dot. The same repair works when f(c)f(c) exists but is the wrong number, a stray point off the curve. Redefine f(c)=Lf(c) = L. Then Condition 3, which failed before, holds. For example, if f(x)=x+1f(x) = x + 1 for x≠1x \ne 1 and f(1)=3f(1) = 3, the limit at 11 is 22, so redefining f(1)=2f(1) = 2 makes ff continuous.

Worked example: a cubic over a quadratic

Let f(x)=x3−8x2−4f(x) = \dfrac{x^3 - 8}{x^2 - 4} for x≠±2x \ne \pm 2. Find the value to give f(2)f(2) so that ff is continuous at 22. Substituting x=2x = 2 gives 00\dfrac{0}{0}, so we factor. The numerator is a difference of cubes: x3−8=(x−2)(x2+2x+4)x^3 - 8 = (x - 2)(x^2 + 2x + 4). The denominator is a difference of squares: x2−4=(x−2)(x+2)x^2 - 4 = (x-2)(x+2).

For x≠2x \ne 2 the function equals x2+2x+4x+2\dfrac{x^2 + 2x + 4}{x + 2}. Now substitute x=2x = 2: the top is 4+4+4=124 + 4 + 4 = 12 and the bottom is 44, so the limit is 124=3\dfrac{12}{4} = 3. Therefore defining f(2)=3f(2) = 3 makes the function continuous at x=2x = 2. A quick numeric check at x=2.01x = 2.01: the top is 8.120601−8=0.1206018.120601 - 8 = 0.120601 and the bottom is 4.0401−4=0.04014.0401 - 4 = 0.0401, and 0.120601÷0.0401≈3.00750.120601 \div 0.0401 \approx 3.0075, close to 33.

Notice that x=−2x = -2 is a different story. After canceling, the factor x+2x + 2 stays in the denominator while the numerator is 4−4+4=44 - 4 + 4 = 4 at x=−2x=-2, which is nonzero. That is a vertical asymptote, and no value of f(−2)f(-2) can repair it.

Can the break be removed?
BreakLimit at ccFixable by defining f(c)f(c)?
Hole (removable)Exists as a real number LLYes: set f(c)=Lf(c) = L
JumpOne-sided limits differ, so noneNo: two different targets
Infinite (asymptote)Unbounded, so noneNo: no real number works

Choosing a constant in a definition

A common setup says: g(x)=x2+x−12x−3g(x) = \dfrac{x^2 + x - 12}{x - 3} for x≠3x \ne 3 and g(3)=kg(3) = k. Find kk so that gg is continuous at 33. Factor the numerator: x2+x−12=(x+4)(x−3)x^2 + x - 12 = (x + 4)(x - 3), since 4⋅(−3)=−124 \cdot (-3) = -12 and 4+(−3)=14 + (-3) = 1. For x≠3x \ne 3, g(x)=x+4g(x) = x + 4, which approaches 77. So k=7k = 7.

With a root, rationalize instead. For x+9−3x\dfrac{\sqrt{x + 9} - 3}{x} near x=0x = 0, multiply by the conjugate to get xx(x+9+3)=1x+9+3\dfrac{x}{x(\sqrt{x+9} + 3)} = \dfrac{1}{\sqrt{x+9} + 3}, which approaches 16\dfrac{1}{6}. The repair value is 16\tfrac16.

Why can't a jump be fixed? Take ∣x∣x\dfrac{|x|}{x} at 00: it is −1-1 for negative xx and 11 for positive xx. Choosing f(0)=1f(0) = 1 matches the right side but not the left; there is no single value that matches both. For 1x−2\dfrac{1}{x - 2} at 22, the outputs grow without bound, so no real number can match them.

How it connects

  • Back to 1.6: factoring, canceling and rationalizing are the exact tools used to find the repair value.
  • Back to 1.10: only a removable discontinuity (a hole) can be repaired this way.
  • Back to 1.11: the repaired function passes the three-part test by construction.
  • Forward to 1.14: when a factor stays in the denominator after canceling, the break becomes an asymptote.

Common mistakes

  • Canceling without factoring. You may cancel only common factors, not terms such as x2x^2 over xx inside a sum.
  • Assigning the wrong value. The repair value is the limit of the simplified expression, not the original formula evaluated at cc.
  • Trying to fix a jump. Unequal one-sided limits mean no single value works; say so and explain.
  • Forgetting remaining zeros. A second zero of the denominator may be an asymptote even after one hole is fixed.

How it shows up on the exam

  • A rational function with a missing point, asking for the value that makes it continuous there.
  • A piecewise definition with a constant at the removable point, solved by finding the limit of the other piece.
  • A multiple-choice item asking which discontinuity can be removed by redefining one value.

Check yourself

  1. What condition on the limit makes a discontinuity removable?
  2. For x2−9x−3\dfrac{x^2 - 9}{x - 3}, what value should be assigned at x=3x = 3, and how did you find it?
  3. Why can a jump discontinuity not be repaired by redefining the function at one point?
  4. After a hole is filled, which of the three continuity conditions now holds that failed before?

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