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.
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 c | Limit at c | Removable? |
|---|---|---|
| Hole (undefined value) | Exists | Yes: define f(c) = limit |
| Hole plus a misplaced dot | Exists | Yes: redefine f(c) = limit |
| Jump | Does not exist (sides disagree) | No |
| Vertical asymptote | Does not exist (unbounded) | No |
2Redefining one value
Make \(f(x) = \dfrac{x^2 + x - 12}{x - 3}\) continuous at 3
- 1\(f(3)\) is \(\frac{0}{0}\), undefined. Check whether the limit exists: factor the top, \((x - 3)(x + 4)\).
- 2For \(x \neq 3\), \(f(x) = x + 4\), so \(\displaystyle\lim_{x \rightarrow 3} f(x) = 7\).
- 3The limit exists, so the discontinuity is removable. Define the value to equal the limit.
“\(\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\).”
Make \(g(x) = \dfrac{\sin(4x)}{x}\) continuous at 0
- 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\).
- 2The limit exists, so define g(0) to be that limit.
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.
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.
- 1Each piece is a polynomial, so the only question is the seam at \(x = 2\).
- 2Left limit: \(k(2)^2 = 4k\). Right limit (and the value): \(3(2) + k = 6 + k\).
- 3Continuity needs them equal: \(4k = 6 + k\), so \(3k = 6\) and \(k = 2\).
- 4Check: left \(4(2) = 8\), right \(6 + 2 = 8\). Both pieces meet at \((2, 8)\).
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.
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.
- 1Seam at \(x = 1\): left limit \(1 + 1 = 2\); right limit and value \(a + b\). So \(a + b = 2\).
- 2Seam at \(x = 3\): left limit and value \(3a + b\); right limit \(9 - 4 = 5\). So \(3a + b = 5\).
- 3Subtract the first equation from the second: \(2a = 3\), so \(a = \frac{3}{2}\). Then \(b = 2 - \frac{3}{2} = \frac{1}{2}\).
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
\(h(x) = \dfrac{|x - 1|}{x - 1}\)
Can a value of \(h(1)\) make \(h\) continuous at 1?
- 1Left of 1, \(h(x) = -1\); right of 1, \(h(x) = 1\). The one-sided limits disagree.
- 2So the limit does not exist. Continuity needs a limit to match, and there is none.
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
| Goal | Method |
|---|---|
| Fix a hole at c | Find \(\lim_{x \rightarrow c} f(x)\); define \(f(c)\) as that number |
| One unknown constant | Left limit = right limit at the seam; solve |
| Two unknown constants | One equation per seam; solve the system |
| Jump or asymptote | Cannot be removed |