AP Calculus AB and BC · Unit 1 · Topic 1.13

    1.13 Removing Discontinuities

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    A removable discontinuity at x=cx = c can be repaired by defining (or redefining) f(c)f(c) to equal lim⁡x→cf(x)\lim_{x \to c} f(x). The repaired function, often written as a piecewise function, is then continuous at cc. Finding the right value is exactly a limit problem, usually a 00\frac{0}{0} form solved by factoring, rationalising or a special limit.

    What you need to know

    • Determine whether a discontinuity is removable.
    • Find the value that makes a function continuous at a removable discontinuity.
    • Write the repaired function as a piecewise definition.
    • Explain why jump and infinite discontinuities cannot be removed.

    Filling the hole

    The function f(x)=x2−9x−3f(x) = \frac{x^2 - 9}{x - 3} is undefined at x=3x = 3, but lim⁡x→3f(x)=lim⁡x→3(x+3)=6\lim_{x \to 3} f(x) = \lim_{x \to 3}(x + 3) = 6. Define a new function that agrees with ff everywhere else and fills the hole:

    g(x)={x2−9x−3,x≠36,x=3g(x) = \begin{cases} \dfrac{x^2 - 9}{x - 3}, & x \ne 3 \\ 6, & x = 3 \end{cases}

    Now g(3)=6g(3) = 6, the limit at 3 is 6, and the two match, so gg is continuous at 3. In fact g(x)=x+3g(x) = x + 3 for every xx. The value 6 is the only choice that works: any other value would leave a removable discontinuity in place.

    Repairs that need a special limit

    Some repairs need the techniques of topics 1.6 and 1.8. For h(x)=sin⁡2xxh(x) = \frac{\sin 2x}{x}, undefined at 0, the limit is 2⋅lim⁡x→0sin⁡2x2x=22 \cdot \lim_{x \to 0} \frac{\sin 2x}{2x} = 2, so defining h(0)=2h(0) = 2 makes hh continuous everywhere. For k(x)=x−2x−4k(x) = \frac{\sqrt{x} - 2}{x - 4}, rationalising gives 1x+2\frac{1}{\sqrt{x} + 2} for x≠4x \ne 4, so the repair value at 4 is 14\frac{1}{4}.

    A function can also have a defined value at the hole that is simply wrong. If f(x)=x2+x−2x−1f(x) = \frac{x^2 + x - 2}{x - 1} for x≠1x \ne 1 and f(1)=5f(1) = 5, the limit at 1 is 1+2=31 + 2 = 3, so the discontinuity is removed by redefining f(1)=3f(1) = 3.

    Repair values for common removable discontinuities
    FunctionPointRepair value
    x2−9x−3\frac{x^2 - 9}{x - 3}x = 36
    sin⁡2xx\frac{\sin 2x}{x}x = 02
    x−2x−4\frac{\sqrt{x} - 2}{x - 4}x = 41/4
    x2+x−2x−1\frac{x^2 + x - 2}{x - 1}x = 13

    Discontinuities that cannot be removed

    At a jump, the one-sided limits are different, so no single value of f(c)f(c) can equal both. At an infinite discontinuity, at least one side grows without bound, so no real number can serve as the limit. These are sometimes called non-removable (essential) discontinuities.

    For rational functions in particular: a zero of the denominator that cancels with a factor of the numerator gives a removable discontinuity; one that does not cancel gives a vertical asymptote. Factoring completely before you decide is therefore essential.

    Graphs make the distinction visible. A removable discontinuity is a single missing or misplaced point on an otherwise unbroken curve, so one dot fixes it. A jump leaves two separate pieces at different heights, and an asymptote sends the curve off the page; neither can be joined by adding one point. If you are unsure, compute the one-sided limits: two equal finite numbers mean the discontinuity is removable.

    Key terms

    Removable discontinuity
    A discontinuity at cc where lim⁡x→cf(x)\lim_{x \to c} f(x) exists, so it can be repaired.
    Continuous extension
    A function equal to ff away from cc and to the limit at cc, making it continuous there.
    Non-removable discontinuity
    A jump or infinite discontinuity, which no single function value can repair.
    Repair value
    The limit lim⁡x→cf(x)\lim_{x \to c} f(x), the only value of f(c)f(c) that makes ff continuous at cc.

    Common mistakes

    • Setting the repair value to f(c)f(c) from the original formula.

      The original formula is undefined or wrong at cc; use the limit instead.

    • Trying to remove a jump by choosing an average value.

      A jump has unequal one-sided limits, so no value makes the function continuous.

    • Forgetting to factor fully before deciding.

      Only factors that cancel give removable discontinuities.

    How this topic is tested

    • Show the limit calculation that gives the repair value.
    • Write the repaired function as a piecewise definition.
    • Justify with the three conditions for continuity after the repair.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 1 · Implementing Mathematical Processes

      f(x)=x2−9x−3f(x) = \frac{x^2 - 9}{x - 3} for x≠3x \ne 3 and f(3)=kf(3) = k. What value of kk makes ff continuous at 3?

    2. Question 2 · MP 1 · Implementing Mathematical Processes

      What value should g(0)g(0) be given so that g(x)=sin⁡2xxg(x) = \frac{\sin 2x}{x} is continuous at 0?

    3. Question 3 · MP 1 · Implementing Mathematical Processes

      What value removes the discontinuity of x−2x−4\frac{\sqrt{x} - 2}{x - 4} at x=4x = 4?

    4. Question 4 · MP 3 · Justification

      Which discontinuity can NOT be removed by defining a single value?

    5. Question 5 · MP 3 · Justification

      f(x)=x2+x−2x−1f(x) = \frac{x^2 + x - 2}{x - 1} for x≠1x \ne 1 and f(1)=5f(1) = 5. To make ff continuous at 1, f(1)f(1) should be redefined as

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 4 points

    Let f(x)=2x2−8x−2f(x) = \dfrac{2x^2 - 8}{x - 2} for x≠2x \ne 2.

    1. (a) Find lim⁡x→2f(x)\lim_{x \to 2} f(x).
    2. (b) Write a function gg that equals ff for x≠2x \ne 2 and is continuous at x=2x = 2.
    3. (c) Justify that gg is continuous at x=2x = 2.

    Connected topics

    Frequently asked questions

    Is the repaired function a different function?

    Technically yes, because its domain or value at c changes, but it agrees with the original everywhere else. It is often called the continuous extension.

    Can I always remove a discontinuity in a rational function?

    Only where a factor of the denominator cancels with the numerator. Where it does not cancel, there is a vertical asymptote.

    Why does the exam care about removing discontinuities?

    It tests whether you understand continuity as limit equals value, and the repair is a quick check of your limit skills.

    How this shows up on the exam42 multiple-choice and 6 free-response questions, with and without a calculator. See how the exam is laid out.

    Free Unit 1 cheat sheet

    Every topic in Unit 1: Limits and Continuity on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Calculus AB practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Calculus AB practice examsUnit 1 is one of 8 units on the exam. Two timed exams in the 2027 format (42 MCQ + 6 FRQ, with calculator and no-calculator parts), worked explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    All topics in Unit 1: Limits and Continuity

    1. 1.1 Introducing Calculus: Can Change Occur at an Instant?
    2. 1.2 Defining Limits and Using Limit Notation
    3. 1.3 Estimating Limit Values from Graphs
    4. 1.4 Estimating Limit Values from Tables
    5. 1.5 Determining Limits Using Algebraic Properties of Limits
    6. 1.6 Determining Limits Using Algebraic Manipulation
    7. 1.7 Selecting Procedures for Determining Limits
    8. 1.8 Determining Limits Using the Squeeze Theorem
    9. 1.9 Connecting Multiple Representations of Limits
    10. 1.10 Exploring Types of Discontinuities
    11. 1.11 Defining Continuity at a Point
    12. 1.12 Confirming Continuity over an Interval
    13. 1.13 Removing Discontinuities
    14. 1.14 Connecting Infinite Limits and Vertical Asymptotes
    15. 1.15 Connecting Limits at Infinity and Horizontal Asymptotes
    16. 1.16 Working with the Intermediate Value Theorem (IVT)

    Other units in AP Calculus AB

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.