Tutorials › AP Calculus › Repairing a Removable Discontinuity by Redefining Function Values

Infinite Limits and Continuity · Tutorial 72 of 999

Repairing a Removable Discontinuity by Redefining Function Values

Find the finite limit at a removable discontinuity, redefine the function at that point, and verify that the repaired function is continuous.

Intermediate 9 min read

What You'll Learn

  • Identify the finite limit needed to repair a removable discontinuity
  • Extend a function by assigning its limiting value at a missing point
  • Correct a function whose existing point value disagrees with its limit
  • Verify continuity using the limit and function value
  • Recognize when a discontinuity cannot be repaired by changing one value

Why Redefining One Function Value Can Help

A graph may have a single hole even when the function values on either side of that hole approach one clear, finite height. In that situation, changing the function at just the hole can remove the discontinuity without changing the behavior nearby.

The key is not to guess a value from the appearance of a formula. Find the limit as \(x\) approaches the point, then assign the function that exact limiting value there. The continuity test confirms whether the repair works.

Core idea: If \(\lim_{x\to a}f(x)=L\) exists and is finite, defining the function's value at \(a\) to be \(L\) makes it continuous at \(a\), provided the function is defined near \(a\).

What Counts as a Removable Discontinuity?

Let \(a\) be an interior point of the function's domain or of the interval where we want to define an extension. A discontinuity at \(a\) is removable when the function approaches a finite value \(L\) as \(x\) approaches \(a\), but the function is either not defined at \(a\), or its value at \(a\) is not \(L\).

In other words, the nearby behavior already has a well-defined height. The problem lies only in the value assigned—or not assigned—at the point itself. To repair the discontinuity, leave the function unchanged for \(x\ne a\) and set its value at \(a\) equal to \(L\).

Definition: Suppose \(f(x)\) is defined for \(x\) in a punctured interval around \(a\), and \(\lim_{x\to a}f(x)=L\) for a finite number \(L\). The repaired function \(g\) is defined by \(g(x)=f(x)\) for \(x\ne a\) and \(g(a)=L\). Then \(g\) is continuous at \(a\).

A punctured interval around \(a\) means values close to \(a\), but excluding \(a\) itself. The two-sided limit must exist: the left-hand and right-hand limits must agree and be finite. If the function already has a value at \(a\), that value is replaced by \(L\) if necessary.

Why the Repair Works

Continuity at \(a\) has three requirements: the function is defined at \(a\), the limit as \(x\) approaches \(a\) exists, and that limit equals the function's value at \(a\). The proposed repair ensures all three conditions.

1
Keep the nearby values.
For every \(x\ne a\) near \(a\), set \(g(x)=f(x)\). The limit is therefore unchanged: \(\lim_{x\to a}g(x)=\lim_{x\to a}f(x)=L\).
2
Define the value at the point.
Set \(g(a)=L\). This ensures that \(g\) is defined at \(a\).
3
Compare value and limit.
Because \(\lim_{x\to a}g(x)=L=g(a)\), the limit equals the function value. Thus \(g\) is continuous at \(a\).

This also shows that the repair is unique. If an extension changes only the value at \(a\) and is continuous there, continuity requires its value at \(a\) to equal the existing limit \(L\). No other assigned value can make it continuous.

Theorem: If \(\lim_{x\to a}f(x)=L\) is finite, then the only value that can be assigned at \(a\) to make the extension continuous there is \(L\). Conversely, assigning \(L\) does make the extension continuous, because the limit is unchanged and equals the new function value.

Worked Examples

Worked Example: Repair a Hole in a Rational Expression

Suppose \(f(x)=\frac{x^2-9}{x-3}\) for \(x\ne3\), and \(f(3)\) is currently undefined. Find the value that repairs the discontinuity.

First, factor the numerator:

$$ x^2-9=(x-3)(x+3). $$

For \(x\ne3\), the denominator is nonzero, so cancellation gives \(f(x)=x+3\). This simplified expression agrees with the original function at every nearby input other than \(3\). Therefore:

$$ \lim_{x\to3}f(x) =\lim_{x\to3}(x+3) =3+3 =6. $$

Define \(g(x)=f(x)\) when \(x\ne3\), and set \(g(3)=6\). Check the continuity conditions: \(g(3)=6\), the limit exists and equals \(6\), and thus \(\lim_{x\to3}g(x)=6=g(3)\). The repaired function is continuous at \(3\).

As a direct check, for all \(x\), the repaired function has the same values as \(x+3\): away from \(3\) by cancellation, and at \(3\) because \(g(3)=6=3+3\). The limit and assigned value agree.

Worked Example: Replace an Incorrect Existing Value

Consider the function

$$ f(x)= \begin{cases} \dfrac{x^2+x-6}{x-2},&x\ne2,\\ -4,&x=2. \end{cases} $$

Find the value that should replace \(-4\) to make \(f\) continuous at \(2\).

Factor the numerator and simplify for \(x\ne2\):

$$ x^2+x-6=(x+3)(x-2), \qquad \frac{x^2+x-6}{x-2} =\frac{(x+3)(x-2)}{x-2} =x+3. $$

The limit is therefore

$$ \lim_{x\to2}f(x) =\lim_{x\to2}(x+3) =2+3 =5. $$

The current value is \(f(2)=-4\), which is not \(5\). To repair the discontinuity, redefine only the point value: set \(g(2)=5\), with \(g(x)=f(x)\) for \(x\ne2\). Then \(\lim_{x\to2}g(x)=5\) and \(g(2)=5\), so \(\lim_{x\to2}g(x)=g(2)\). The repaired function is continuous at \(2\).

Check the replacement: the simplified nearby expression approaches \(5\), and the new point value is exactly \(5\). Leaving the old value \(-4\) in place would fail the continuity condition.

Worked Example: Find a Limit Before Assigning the Value

For \(x\ne4\), let \(f(x)=\frac{\sqrt{x+5}-3}{x-4}\), and suppose \(f(4)\) is undefined. Find a continuous extension at \(4\).

Direct substitution into the displayed fraction gives a numerator and denominator both equal to zero, so it does not determine the limit. Multiply by the conjugate of the numerator, \(\sqrt{x+5}+3\):

$$ \frac{\sqrt{x+5}-3}{x-4} \cdot \frac{\sqrt{x+5}+3}{\sqrt{x+5}+3} = \frac{(x+5)-9}{(x-4)(\sqrt{x+5}+3)}. $$

The numerator simplifies to \(x-4\). For \(x\ne4\), cancel that factor:

$$ f(x)=\frac{x-4}{(x-4)(\sqrt{x+5}+3)} =\frac{1}{\sqrt{x+5}+3}. $$

Now evaluate the limit using the simplified expression:

$$ \lim_{x\to4}f(x) =\frac{1}{\sqrt{4+5}+3} =\frac{1}{3+3} =\frac16. $$

Define \(g(4)=\frac16\), keeping \(g(x)=f(x)\) for \(x\ne4\). The limit remains \(\frac16\), and the assigned value is also \(\frac16\). Thus \(\lim_{x\to4}g(x)=g(4)\), so the extension is continuous at \(4\).

As a final check, the simplified expression evaluated at \(4\) is \(\frac{1}{\sqrt9+3}=\frac16\), exactly the value assigned to the extension.

What a Point-Value Change Cannot Fix

Redefining a function at one point cannot change its nearby behavior. In particular, it cannot create a finite two-sided limit when the left- and right-hand limits differ, when the function grows without bound, or when the function has no limit because it continues to oscillate. Those cases do not satisfy the condition needed for this repair.

For example, if the left-hand limit at \(a\) is \(2\) and the right-hand limit is \(5\), then no single value assigned at \(a\) can make both sides approach that value. If the function tends to \(+\infty\), no finite point value can equal that infinite behavior. The repair described here applies specifically when the two-sided limit exists and is finite.

Common Mistake: Treating Cancellation as a Point Value

In the first example, cancelling \(x-3\) gives \(x+3\), but the cancellation is valid only for \(x\ne3\). A mistaken calculation might say:

$$ \frac{x^2-9}{x-3}=x+3 \quad\text{for every }x, \qquad f(3)=3+3=6. $$

The conclusion happens to give the correct repaired value, but the equality for every \(x\) is false: the original fraction is undefined at \(x=3\), so it has no value there. Cancellation computes the expression's values away from the hole; the limit then determines what value to assign at the hole.

The correct reasoning keeps these steps separate:

$$ \frac{x^2-9}{x-3}=x+3\quad(x\ne3), \qquad \lim_{x\to3}\frac{x^2-9}{x-3}=6, \qquad \text{define }g(3)=6. $$

Another error is to assign \(0\) just because direct substitution produces \(0/0\). That form does not give the limiting value. Simplify or otherwise evaluate the limit first, then assign the resulting finite number.

A Reliable Repair Procedure

When a function appears to have a removable discontinuity at \(a\), use this order:

  1. Check that the function is defined for inputs close to \(a\), except possibly at \(a\).
  2. Evaluate the two-sided limit \(\lim_{x\to a}f(x)\), using algebra or a relevant limit result when direct substitution is inconclusive.
  3. Confirm that the limit exists and is finite. If it does not, a one-point redefinition cannot produce continuity.
  4. Call the limit \(L\), and define the new point value to be \(g(a)=L\).
  5. Verify that \(\lim_{x\to a}g(x)=g(a)\). Because the nearby values are unchanged, the limit remains \(L\).

This method matters because it distinguishes a genuine repair from a guess. The limit describes what the function's nearby values require; continuity requires the value at the point to match that limit. Once the limit is known, the correct assignment is forced.

Check Your Understanding

For each question, focus on the limiting value and the continuity condition.

  1. If \(\lim_{x\to a}f(x)=7\) and \(f(a)\) is undefined, what value should be assigned at \(a\) to obtain continuity?
  2. For \(x\ne2\), let \(f(x)=\frac{x^2-4}{x-2}\). What point value makes the extension continuous at \(2\)? Show how you found the limit.
  3. If a function has left-hand limit \(3\) and right-hand limit \(8\) at \(a\), can changing only its value at \(a\) make it continuous? Explain.
  4. A function has a finite limit \(L\) at \(a\), but its existing value \(f(a)\) is different from \(L\). What must change to repair the discontinuity?
  5. Why does cancelling a factor in a formula for \(x\ne a\) not, by itself, define the original function's value at \(a\)?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon