AP Calculus AB · Study guide

Removing Discontinuities

AP® Calculus AB · Unit 1 · Limits and Continuity

Removing Discontinuities

Some breaks in a graph can be repaired and some cannot. This guide shows how to tell the difference, how to repair a hole by redefining one value, and how to choose constants that make the pieces of a piecewise function meet.

The idea in one paragraph

A discontinuity at \(x = c\) is removable when \(\displaystyle\lim_{x \rightarrow c} f(x)\) exists. Then defining (or redefining) \(f(c)\) to equal that limit makes \(f\) continuous at \(c\). For piecewise functions with unknown constants, continuity at each seam gives an equation: left limit = right limit = value. Solve those equations for the constants. If the one-sided limits disagree or are unbounded, no value can fix the break.

1Which breaks can be removed

The only thing you are allowed to change is the value at one point. That can fix a hole or a misplaced dot, because the curve itself already arrives at a single height. It cannot fix a jump or an asymptote, because no single height is being approached.

Break at cLimit at cRemovable?
Hole (undefined value)ExistsYes: define f(c) = limit
Hole plus a misplaced dotExistsYes: redefine f(c) = limit
JumpDoes not exist (sides disagree)No
Vertical asymptoteDoes not exist (unbounded)No

2Redefining one value

Worked Example 1 Redefine one value

Make \(f(x) = \dfrac{x^2 + x - 12}{x - 3}\) continuous at 3

  1. 1
    \(f(3)\) is \(\frac{0}{0}\), undefined. Check whether the limit exists: factor the top, \((x - 3)(x + 4)\).
  2. 2
    For \(x \neq 3\), \(f(x) = x + 4\), so \(\displaystyle\lim_{x \rightarrow 3} f(x) = 7\).
  3. 3
    The limit exists, so the discontinuity is removable. Define the value to equal the limit.
Answer: Define \(f(3) = 7\). The new function is continuous at 3 (and is just \(y = x + 4\)).
Figure 1. The limit at x = 3 is 7, so defining f(3) = 7 fills the hole and makes f continuous at 3. Nothing else about the graph changes.
Write it like this

“\(\displaystyle\lim_{x \rightarrow 3} f(x) = 7\) exists, so the discontinuity is removable. Defining \(f(3) = 7\) makes the limit equal the value, so \(f\) is continuous at \(x = 3\).”

Worked Example 2 A trig hole

Make \(g(x) = \dfrac{\sin(4x)}{x}\) continuous at 0

  1. 1
    \(g(0)\) is undefined. Find the limit by matching inputs: \(\dfrac{\sin(4x)}{x} = 4 \cdot \dfrac{\sin(4x)}{4x} \rightarrow 4 \cdot 1 = 4\).
  2. 2
    The limit exists, so define g(0) to be that limit.
Answer: \(g(x) = \dfrac{\sin(4x)}{x}\) for \(x \neq 0\) and \(g(0) = 4\) is continuous everywhere.

3Choosing constants

When a piecewise function contains unknown constants, write down what continuity requires at each seam and solve. One unknown needs one equation; two unknowns usually come with two seams, and so two equations.

Worked Example 3 Solve for a constant

One parameter

\(f(x) = kx^2\) for \(x \lt 2\) and \(f(x) = 3x + k\) for \(x \ge 2\). Find \(k\) so that \(f\) is continuous everywhere.

  1. 1
    Each piece is a polynomial, so the only question is the seam at \(x = 2\).
  2. 2
    Left limit: \(k(2)^2 = 4k\). Right limit (and the value): \(3(2) + k = 6 + k\).
  3. 3
    Continuity needs them equal: \(4k = 6 + k\), so \(3k = 6\) and \(k = 2\).
  4. 4
    Check: left \(4(2) = 8\), right \(6 + 2 = 8\). Both pieces meet at \((2, 8)\).
Answer: \(k = 2\)
Figure 2. The left piece reaches height 4k at x = 2 and the right piece starts at 6 + k. Only k = 2 makes them meet, at (2, 8).
Common Mistake 1 · Setting the formulas equal instead of their values at the seam

Writing \(kx^2 = 3x + k\) and trying to solve for \(x\) misses the point. Continuity is about one place, \(x = 2\). Substitute \(x = 2\) into both formulas first, then set the results equal.

Worked Example 4 Two parameters, two seams

Set up a system

\(f(x) = x + 1\) for \(x \lt 1\), \(f(x) = ax + b\) for \(1 \le x \le 3\), and \(f(x) = x^2 - 4\) for \(x \gt 3\). Find \(a\) and \(b\) so that \(f\) is continuous everywhere.

  1. 1
    Seam at \(x = 1\): left limit \(1 + 1 = 2\); right limit and value \(a + b\). So \(a + b = 2\).
  2. 2
    Seam at \(x = 3\): left limit and value \(3a + b\); right limit \(9 - 4 = 5\). So \(3a + b = 5\).
  3. 3
    Subtract the first equation from the second: \(2a = 3\), so \(a = \frac{3}{2}\). Then \(b = 2 - \frac{3}{2} = \frac{1}{2}\).
Answer: \(a = \tfrac{3}{2}\), \(b = \tfrac{1}{2}\). The middle piece is the line from \((1, 2)\) to \((3, 5)\).
Common Mistake 2 · Matching only one seam

With two seams, each one needs its own equation. Solving \(a + b = 2\) alone leaves infinitely many choices, and most of them break the function at \(x = 3\).

4Breaks that cannot be removed

Worked Example 5 When it cannot be fixed

\(h(x) = \dfrac{|x - 1|}{x - 1}\)

Can a value of \(h(1)\) make \(h\) continuous at 1?

  1. 1
    Left of 1, \(h(x) = -1\); right of 1, \(h(x) = 1\). The one-sided limits disagree.
  2. 2
    So the limit does not exist. Continuity needs a limit to match, and there is none.
Answer: No. This is a jump discontinuity, and no single value can remove it.
Common Mistake 3 · Assigning a value to a jump

Defining \(h(1) = 0\), the average of the two sides, does not make \(h\) continuous. The limit still does not exist, so check 2 still fails.

Quick reference

GoalMethod
Fix a hole at cFind \(\lim_{x \rightarrow c} f(x)\); define \(f(c)\) as that number
One unknown constantLeft limit = right limit at the seam; solve
Two unknown constantsOne equation per seam; solve the system
Jump or asymptoteCannot be removed