AP CALCULUS AB • LIMITS AND CONTINUITY

Removing Discontinuities

Redefining a function at a single point to restore continuity where a limit already exists.

Historical Context & Motivation

The concept of continuity—and the problems that arise when it fails—has driven some of the most important developments in the history of calculus. Long before rigorous definitions existed, mathematicians recognized that certain expressions break down at particular points even though the overall behavior of the function seems perfectly well-behaved nearby. The desire to "repair" these breakdowns motivated centuries of work on limits, function definition, and the very foundations of analysis. Understanding how and when a removable discontinuity can be eliminated by a simple redefinition reveals a deep principle: the value a function approaches matters more than the value it happens to take.

1684
Leibniz's Calculus Published
Gottfried Wilhelm Leibniz publishes his differential calculus, operating with an intuitive notion of continuity and implicitly assuming that useful functions are "smooth" wherever they are defined.
1821
Cauchy's Cours d'analyse
Augustin-Louis Cauchy provides the first rigorous definition of a limit and uses it to define continuity, establishing the framework needed to classify different types of discontinuities.
1861
Weierstrass Formalizes ε–δ
Karl Weierstrass delivers his ε–δ definition of limits and continuity, giving mathematicians a precise criterion for determining whether a discontinuity is removable or essential.
1900s
Modern Analysis & AP Curriculum
The classification of discontinuities into removable, jump, and infinite types becomes standard in university courses and eventually in AP Calculus, where students learn to identify and remove point discontinuities algebraically.

The central question this lesson addresses is deceptively simple: if a function is undefined or incorrectly defined at a single point, yet the limit exists there, can we patch the hole? The answer is yes—and the technique for doing so is both elegant and heavily tested on the AP Calculus AB exam. Mastering it requires fluency with limits, factoring, and the formal definition of continuity, all of which converge in this single topic.

Core Principles & Definitions

Before we can remove a discontinuity, we need a precise vocabulary for what continuity means and how it can fail. Recall that a function f is continuous at x = a if and only if three conditions hold simultaneously: f(a) is defined, lim as x→a of f(x) exists, and lim as x→a of f(x) equals f(a). A removable discontinuity arises when the second condition is met—the limit exists—but either the first or third condition fails. This is the only type of discontinuity that can be "removed" by redefining the function at a single point.

1

Continuity at a Point

A function f is continuous at x = a when f(a) is defined, lim(x→a) f(x) exists, and lim(x→a) f(x) = f(a). All three conditions must hold.
2

Removable Discontinuity

The limit L = lim(x→a) f(x) exists and is finite, but f(a) ≠ L or f(a) is undefined. A "hole" appears on the graph at (a, L).
3

Non-Removable Discontinuity

The limit does not exist (jump or infinite discontinuity). No single-point redefinition can restore continuity; the break is structural.
4

Removing the Discontinuity

Define or redefine f(a) = L. The patched function agrees with the original everywhere except possibly at x = a and is now continuous there.
KEY TAKEAWAY
Think of a removable discontinuity like a single missing tile in an otherwise perfect mosaic floor. The surrounding pattern tells you exactly which tile belongs there. Removing the discontinuity is simply placing the correct tile—redefining f(a) to equal the limit. A jump or infinite discontinuity is more like a crack running through the floor; no single tile can fix it.

Visual Explanation

A graph is the most immediate way to see the difference between a removable and a non-removable discontinuity. The diagram below shows a function with a removable discontinuity (a hole) at x = 2 alongside the repaired version of the function. Notice that the curve is identical on both sides of x = 2; only the single point is missing in the original version. The open circle indicates the hole, and the filled circle shows the value that restores continuity.

The open circle at (2, 4) represents the removable discontinuity—the limit exists and equals 4, but the original function either is undefined or takes a different value there (shown in pink at f(2) = 3). Redefining f(2) = 4 fills the hole and makes the function continuous.

The key geometric insight is that the curve passes through the point (2, 4) in a limiting sense—both the left-hand and right-hand limits converge there—but the function either skips or misassigns that y-value. The algebraic simplification (x² − 4)/(x − 2) = (x + 2)(x − 2)/(x − 2) = x + 2 for x ≠ 2 reveals the continuous function hiding behind the fraction. The cancellation of the common factor is the algebraic act of "removing" the discontinuity.

Mathematical Framework

The formal procedure for removing a discontinuity rests on the definition of continuity and the evaluation of limits. The process has three stages: identify the point of discontinuity, compute the limit, and redefine the function. Each stage connects to specific algebraic techniques that appear repeatedly on the AP exam.

DEFINITION OF CONTINUITY
f is continuous at x = a ⟺ lim(x→a) f(x) = f(a)
This single equation encodes all three conditions: f(a) must exist, the limit must exist, and they must be equal. A removable discontinuity satisfies only the second condition.
REMOVABLE DISCONTINUITY CONDITION
lim(x→a) f(x) = L exists and is finite, but f(a) ≠ L or f(a) is undefined
L is the value the function approaches. If we define g(x) = f(x) for x ≠ a and g(a) = L, then g is continuous at a.
COMMON ALGEBRAIC TECHNIQUE — FACTORING
f(x) = P(x)/Q(x), Q(a) = 0 and P(a) = 0 ⟹ factor and cancel (x − a)
When both numerator and denominator vanish at x = a, the rational expression has a common factor of (x − a). Cancelling yields a simplified expression whose value at a equals the limit of the original.
ALTERNATE TECHNIQUE — RATIONALIZATION
lim(x→a) [√(x + h) − √a] / (x − a) → multiply by [√(x + h) + √a] / [√(x + h) + √a]
When a radical appears, multiplying by the conjugate eliminates the 0/0 indeterminate form and reveals a cancellable factor, allowing direct evaluation of the limit.
📝 AP Exam Tip
The AP Calculus AB exam frequently presents piecewise-defined functions and asks you to find the value of a constant that makes the function continuous. This is precisely the act of removing a discontinuity: set the function value equal to the limit and solve for the unknown parameter.

Classifying Discontinuities

Not every discontinuity can be removed, so a critical skill on the AP exam is classifying the type of discontinuity present. The three principal types—removable, jump, and infinite—are distinguished by the behavior of the one-sided limits. The diagram below places all three side by side for comparison, making the visual signatures unmistakable.

Left: a removable discontinuity with an open circle (hole) where both sides approach the same y-value. Center: a jump discontinuity where left-hand and right-hand limits disagree. Right: an infinite discontinuity (vertical asymptote) where at least one side diverges to ±∞.
Classification of discontinuities by one-sided limit behavior
PropertyRemovableJumpInfinite
lim(x→a⁻) f(x)= L (finite)= L₁ (finite)= ±∞
lim(x→a⁺) f(x)= L (same)= L₂ ≠ L₁= ±∞
Two-sided limitExists (= L)Does not existDoes not exist
Can be removed?YesNoNo

The essential diagnostic is straightforward: compute the two-sided limit. If it exists as a finite number L, the discontinuity is removable, and you redefine f(a) = L. If the one-sided limits exist but differ, you have a jump. If either one-sided limit is infinite, you have a vertical asymptote. On the AP exam, the algebraic signal for a removable discontinuity in a rational function is a 0/0 indeterminate form at the point of interest, meaning both numerator and denominator share a common factor.

Worked Example

Consider the function f(x) = (x² − 5x + 6)/(x² − 4). We want to determine whether f has a removable discontinuity at x = 2 and, if so, redefine the function to make it continuous there.

Removing a Discontinuity in a Rational Function
1
Step 1 — Identify the point of discontinuityThe denominator x² − 4 = (x − 2)(x + 2) equals zero when x = 2 or x = −2. So f is undefined at x = 2, which is a potential discontinuity. Check the numerator: x² − 5x + 6 = (x − 2)(x − 3). At x = 2, the numerator is also 0, giving the indeterminate form 0/0. This signals a possible removable discontinuity.
0/0 indeterminate form at x = 2 → candidate for removable discontinuity
2
Step 2 — Factor and cancel the common factorFactor completely: f(x) = (x − 2)(x − 3) / [(x − 2)(x + 2)]. For x ≠ 2, cancel the common factor (x − 2) to obtain the simplified function g(x) = (x − 3)/(x + 2).
f(x) = (x − 3)/(x + 2) for x ≠ 2
3
Step 3 — Evaluate the limitNow compute lim(x→2) f(x) using the simplified form: lim(x→2) (x − 3)/(x + 2) = (2 − 3)/(2 + 2) = (−1)/4 = −1/4. The limit exists and is finite, confirming the discontinuity at x = 2 is removable.
lim(x→2) f(x) = −1/4
4
Step 4 — Redefine the functionDefine the new function: g(x) = f(x) when x ≠ 2, and g(2) = −1/4. Equivalently, g(x) = (x − 3)/(x + 2) for all x ≠ −2. The function g is now continuous at x = 2 because g(2) = lim(x→2) g(x) = −1/4.
g(2) = −1/4 removes the discontinuity
5
Step 5 — Verify and note remaining discontinuityAt x = −2, the denominator of the simplified form (x + 2) is zero while the numerator (x − 3) = −5 ≠ 0. This produces a non-zero over zero form, indicating a vertical asymptote—an infinite discontinuity that cannot be removed. Thus f has two discontinuities: a removable one at x = 2 and a non-removable one at x = −2.
x = −2: infinite (non-removable) discontinuity

Techniques for Finding Limits at Removable Discontinuities

The 0/0 indeterminate form that signals a removable discontinuity can be resolved by several algebraic techniques. The table below compares the major methods, each suited to different function types. Being fluent in all of them gives you flexibility on the AP exam, where the function may involve polynomials, radicals, or trigonometric expressions.

Comparison of algebraic techniques for resolving removable discontinuities
TechniqueWhen to UseExample
FactoringRational functions where numerator and denominator share a common polynomial factor(x² − 9)/(x − 3) = (x + 3) for x ≠ 3
RationalizationExpressions involving square roots that produce 0/0; multiply by the conjugate(√x − 2)/(x − 4): multiply by (√x + 2)/(√x + 2)
Trig identitiesTrigonometric 0/0 forms; use sin(x)/x → 1 or Pythagorean identitiessin(3x)/x = 3 · [sin(3x)/(3x)] → 3 as x → 0
Simplifying complex fractionsNested fractions that produce 0/0; combine into a single fraction first(1/x − 1/3)/(x − 3): combine numerator, then cancel
Piecewise redefinitionWhen f is defined piecewise and a parameter must be chosen to force continuityf(x) = {x² + k, x ≤ 1; 3x, x > 1}: set 1 + k = 3
KEY TAKEAWAY
Every technique in the table serves the same purpose: algebraically transforming a 0/0 indeterminate form into a function that can be directly evaluated. Think of it like clearing a fraction in algebra—you are not changing the function's behavior near the point, you are simply rewriting it in a form that reveals the limit value. Choosing the right technique is analogous to choosing the right tool in an engineering lab: a wrench and a socket both turn a bolt, but one fits the situation better.

Connection to Advanced Topics

Removing discontinuities is not merely a stand-alone technique; it is foundational for several advanced topics in calculus. The very definition of the derivative relies on evaluating a limit that initially appears as a 0/0 indeterminate form. Understanding how to handle removable discontinuities prepares you for differentiation, L'Hôpital's Rule (covered in BC and college courses), and the analysis of functions defined by integrals.

How removing discontinuities connects to advanced calculus
Concept in This LessonAdvanced Connection
Evaluating lim(x→a) [f(x) − f(a)]/(x − a) as a 0/0 formThis is the definition of f′(a). Every derivative computation is, in essence, removing a removable discontinuity of the difference quotient.
Factoring and cancelling common factorsL'Hôpital's Rule (AP Calculus BC) provides an alternative when algebraic simplification is intractable: differentiate numerator and denominator separately.
Redefining f(a) = L to achieve continuityIn real analysis, this idea generalizes to extensions of functions. A function continuous on (a, b) can sometimes be uniquely extended to [a, b] by assigning limit values at endpoints.
Piecewise functions with parametersDifferential equations often require matching conditions at boundaries—an extension of ensuring piecewise-defined solutions are continuous.

When you encounter the formal definition of the derivative in the next unit—f′(a) = lim(h→0) [f(a + h) − f(a)]/h—remember that plugging in h = 0 directly gives 0/0. You will need the same factoring, cancelling, and limit-evaluation skills you have practiced in this lesson. In that sense, mastering removable discontinuities is rehearsal for every differentiation problem to come.

Practice Problems

1
A function f has a discontinuity at x = 3. Which of the following conditions is sufficient to guarantee that the discontinuity is removable?
2
Let f(x) = (x² − 16)/(x − 4). What value should f(4) be defined as to make f continuous at x = 4?
3
Let g(x) = (√(x + 5) − 3)/(x − 4). What is lim(x→4) g(x)?
PROBLEM 4APPLIED
A piecewise function is defined as follows: f(x) = { (x³ − 8)/(x² − 4), x ≠ 2 and x ≠ −2 { k, x = 2 (a) Find lim(x→2) f(x). Show your algebraic work. (b) Determine the value of k that makes f continuous at x = 2. (c) Does f have any other discontinuities? Classify each as removable or non-removable. (d) If the discontinuity in part (c) is non-removable, explain why no single-point redefinition can fix it.
PROBLEM 5CRITICAL THINKING
Let h(x) = [sin(x² − π²)] / (x − π). Determine whether h has a removable discontinuity at x = π. If so, find the value that makes h continuous there. Justify your answer using limit techniques from this course.

Lesson Summary

A removable discontinuity occurs at x = a when the two-sided limit lim(x→a) f(x) = L exists and is finite, but the function either is undefined at a or takes a value different from L. To remove the discontinuity, redefine f(a) = L. This is the only type of discontinuity that can be repaired by a single-point redefinition; jump discontinuities and infinite discontinuities (vertical asymptotes) cannot be removed.

The algebraic techniques for evaluating the limit at a removable discontinuity include factoring and cancelling common factors, rationalization (multiplying by a conjugate), and applying trigonometric identities such as sin(u)/u → 1. On the AP exam, expect to encounter these in both multiple-choice and free-response contexts, including piecewise functions where you must determine a parameter value that ensures continuity at a specified point. The concept is also the algebraic foundation for the definition of the derivative, which is itself a limit of a 0/0 difference quotient.

Varsity Tutors • AP Calculus AB • Removing Discontinuities