Fill a removable hole
A function \(f\) has a removable discontinuity at an input \(c\) if \(\lim_{x\to c}f(x)\) is a number \(L\), but \(f(c)\) is undefined or is not \(L\). Its graph then has a hole at \(c\), as in topic 1.10. Throughout this topic, \(f\) is defined on an open interval around \(c\), except possibly at \(c\), so that \(x\) can approach \(c\) from both sides.
This topic decides when a single value at \(c\) can repair a break, finds that value, and writes the function that results.
One value repairs a hole
A curve f that rises from left to right, with an open ring on it above an input c on the horizontal axis. A faint dashed line runs from the left edge to the ring, at its height L. An orange dot on the vertical line through c can be dragged up and down, and a red segment joins it to the ring. One button lifts the part of the curve to the right of c, which then starts at a second, higher ring, and a red segment joins the dot to each ring. Another button makes the right part rise without bound beside a dashed vertical line at c.
In Figure 1, the graph of \(f\) has a hole at \(c\), where \(f\) has no value. Both sides of the curve approach the height \(L\) of the open ring, so \(\lim_{x\to c}f(x)=L\).
To repair the break, define a new function \(F\) that equals \(f\) at every input other than \(c\). Its value \(\cy{F(c)}\) at \(c\) can be any number, and the orange dot shows it. The red segment shows the gap between the dot and the ring. Drag the dot or use the slider. The first button under the figure moves it to exactly the height \(L\). The readout under the figure shows whether \(F\) breaks at \(c\). It shows “no” only when \(\cy{F(c)}\) is exactly \(L\), so a dot that only looks level with the ring still leaves a break.
The definition of continuity explains why. \(F\) is continuous at \(c\) if its limit at \(c\) exists and equals \(F(c)\). A limit at \(c\) depends only on the values at inputs near \(c\), not on the value at \(c\) (topic 1.2). At every input near \(c\) other than \(c\), \(F\) has the same value as \(f\), so
whatever the value \(F(c)\) is. This limit equals \(F(c)\) only if \(F(c)=L\). That one value repairs the break, and no other value does.
If \(f(c)\) is not defined, the function \(F\) with \(F(c)=L\) is called the continuous extension of \(f\) to \(c\). It equals \(f(x)\) for \(x\neq c\), and it adds the point \((c,L)\) to the graph. If \(f(c)\) is defined but is not \(L\), \(F\) replaces that one value, which many books call redefining \(f\) at \(c\). Either way, the discontinuity is removed, and the rest of the graph stays where it was.
The argument needs the limit of \(f\) at \(c\) to exist and to be a number. Use the button under Figure 1 to put a jump at \(c\). The right side of the graph moves up and approaches a second, higher open ring, so the one-sided limits are different. The dot can close the gap to one ring, but never to both, because one value cannot equal two heights.
Remove the jump. Then make the right side unbounded with the last button. That side now rises without bound beside a dashed vertical line, so \(\lim_{x\to c^+}f(x)=\infty\). The symbol \(\infty\) describes growth, not a number, so the right side has no height for the dot to reach. The dot can still close the gap to the ring, which only the left side approaches now, but the break remains.
If \(f\) has no limit at \(c\) that is a number, neither does \(F\), since \(F\) equals \(f\) away from \(c\). No value of \(F(c)\) then makes \(F\) continuous at \(c\). Jump and infinite discontinuities are therefore non-removable, and so is a break where \(f\) oscillates, as \(\sin(1/x)\) does near 0 (topic 1.2).
To decide whether one value can repair a break, find \(\lim_{x\to c^-}f(x)\) and \(\lim_{x\to c^+}f(x)\). The limit at \(c\) is a number when these are the same number, and only then (topic 1.2). The break is therefore removable in that case and in no other, and the common value is \(L\). The value \(f(c)\), if there is one, plays no part in the decision.
Finding the missing value
When \(f\) is given by a formula, the formula often fails at \(c\) because a denominator is 0 there. To find \(L\), look for a formula \(g\) that is continuous at \(c\) and equals \(f\) at every input near \(c\) except \(c\). The two functions then have the same limit at \(c\), because the limit ignores the value at \(c\). Since \(g\) is continuous at \(c\), that limit is \(g(c)\), so \(L=g(c)\).
Topic 1.6 gives the algebra. If a polynomial numerator and denominator are both 0 at \(c\), the Factor Theorem gives both the factor \(x-c\), which cancels for \(x\neq c\). If the zero comes from a difference that contains a square root, multiply the numerator and the denominator by its conjugate. For example, \(\frac{\sqrt{x+16}-4}{x}\) gives \(\frac00\) at 0. The conjugate of its numerator, \(\sqrt{x+16}+4\), is positive, so multiplying the numerator and the denominator by it keeps every value of the quotient. The numerator becomes \((x+16)-16=x\), so for \(x\neq 0\),
The last formula is continuous at 0, where \(x+16\) is positive and its denominator is not 0. The value \(\frac{1}{4+4}=\frac18\) therefore fills the hole at 0.
When algebra cannot remove the zero, a standard limit can give \(L\). The function \(\frac{\sin x}{x}\) has a hole at 0, and \(\lim_{x\to 0}\frac{\sin x}{x}=1\) (topic 1.7), so the value 1 fills it.
A quotient of polynomials that gives \(\frac00\) at \(c\) does not always have a hole there. After every common factor \(x-c\) cancels, the denominator may still be 0 at \(c\) while the numerator is not. The numerator then approaches a number other than 0, and the denominator approaches 0. The size of \(f(x)\) grows without bound (topic 1.6), so the limit is not a number, and no value repairs the break.
If \(g\) equals \(f\) wherever \(f\) is defined, except at \(c\), the continuous extension can be written with the single formula \(g\). It fills only the hole at \(c\). Any other input where \(f\) is not defined stays outside its domain, even if \(g\) has a value there.
Example 1
Decide whether you can fill a break
Let \(h(x)=\begin{cases}\dfrac{x^2+2x-3}{x-1}, & x<1\\ 2, & x=1\\ \sqrt{x+15}, & x>1\end{cases}.\) Is the discontinuity of \(h\) at \(x=1\) removable? If it is, what value of \(h(1)\) removes it?
Solution
The value \(h(1)=2\) does not affect the limit at 1. The formula changes at 1, so find the limit from each side. For \(x<1\), the numerator is 0 at 1, so it has the factor \(x-1\), which cancels:
For \(x>1\), the square root is continuous at 1, because \(x+15\) is positive there:
The one-sided limits are equal numbers, so \(\lim_{x\to 1}h(x)=4\), and the discontinuity is removable. Redefining \(h(1)=4\) makes \(h\) continuous at 1.
Example 2
Find the missing value
The function \(q(x)=\dfrac{\sin 3x}{x^2+4x}\) is not defined at \(x=0\). What value of \(q(0)\) makes \(q\) continuous at \(x=0\)?
Solution
The denominator \(x(x+4)\) is 0 only at 0 and \(-4\), so near 0, \(q\) is defined at every input except 0. The numerator \(\sin 3x\) is not a polynomial, so factoring cannot remove its zero. Use the standard limit instead, with the angle \(3x\) in the denominator:
As \(x\) approaches 0, so does \(3x\), so the first factor approaches 1 (topic 1.7). The second factor is continuous at 0, so it approaches \(\frac34\). By the product law (topic 1.5),
The limit is a number, so the value \(q(0)=\frac34\) makes \(q\) continuous at 0.
Example 3
Define a continuous extension
Let \(r(x)=\dfrac{x^3-8}{x^2+x-6}\). Find the continuous extension \(R\) of \(r\) to \(x=2\), and give the domain of \(R\).
Solution
The denominator \((x-2)(x+3)\) is 0 at 2 and \(-3\), so \(r\) is defined at every other input. The numerator is also 0 at 2, so it has the factor \(x-2\), which cancels for \(x\neq 2\) and \(x\neq -3\):
This quotient of polynomials is continuous at 2, where its denominator is 5, so the limit of \(r\) at 2 is \(\frac{2^2+2\cdot 2+4}{5}=\frac{12}{5}\). The extension keeps every value of \(r\) and adds \(R(2)=\frac{12}{5}\), which the simpler formula also gives at 2:
The domain of \(R\) is every real number except \(-3\).
Example 4
Recognize a break that one value cannot repair
Let \(w(x)=\dfrac{x^2-4x+3}{x^2-6x+9}\). Can any value of \(w(3)\) make \(w\) continuous at \(x=3\)?
Solution
The numerator and the denominator are both 0 at 3, so both have the factor \(x-3\). It cancels once for \(x\neq 3\):
A factor \(x-3\) stays in the denominator. As \(x\) approaches 3, the numerator approaches 2 and the denominator approaches 0, so the size of \(w(x)\) grows without bound. Near 3, \(x-1\) is positive, so \(w(x)\) has the sign of \(x-3\):
Neither one-sided limit is a number, so \(w\) has an infinite discontinuity at 3. The limit at 3 does not depend on \(w(3)\), so no value of \(w(3)\) makes \(w\) continuous there.
Each example is one of the four skills of topic 1.13 in Which & Why: AP Calculus.