Educerie

Educerie · AP · Calculus

AP Calculus AB and BC 1.13

Removing Discontinuities

How can we say exactly what a function does near a point, and when does it behave without a break?

What you will learn

  • Understand that a hole can be removed by defining the value as the limit
  • Know why a jump and an asymptote cannot be removed
  • Understand that continuity at a boundary sets the two pieces and the value equal
  • Know that two constants need two equations

You must be able to

  1. Define a value that removes a discontinuity and justify it
  2. Find a constant that makes a piecewise function continuous
  3. Solve for two constants at two boundaries
  4. Check a solution by substituting back
  5. Explain why a jump cannot be removed

In the exam. both AB and BC. Section I asks for the constant kk (or two constants) that makes a piecewise function continuous, or for the value that fills a hole. It is one of the most predictable question types in Unit 1, and it needs no calculator. The method is always to match values at the boundary.

1Removing a hole

Take f(x)=x2−4x−2f(x) = \dfrac{x^{2} - 4}{x - 2}. It is not defined at x=2x = 2.

lim⁡x→2x2−4x−2=lim⁡x→2(x+2)=4the limit exists\begin{aligned}\lim_{x \to 2} \frac{x^{2} - 4}{x - 2} &= \lim_{x \to 2} (x + 2) \\[6pt] &= 4 && \textcolor{#838c91}{\text{the limit exists}}\end{aligned}

Both sides head for 4, so the hole is at (2,4)(2, 4). Figure 1 shows the graph before and after.

Figure 1. Left: y = (x squared minus 4) over (x minus 2) has a hole at (2, 4). Right: defining f(2) = 4 fills the hole, and the graph is now one unbroken line (a) A hole at x = 2 1 2 3 4 2 4 6 y x Figure 1. Left: y = (x squared minus 4) over (x minus 2) has a hole at (2, 4). Right: defining f(2) = 4 fills the hole, and the graph is now one unbroken line (b) Defined as 4 1 2 3 4 2 4 6 y x
Figure 1 · Left, a hole at (2, 4). Right, defining the value 4 fills the hole

Define a new function gg that agrees with ff everywhere else and takes the limit as its value at 2:

g(x)={x2−4x−2if x≠24if x=2g(x) = \begin{cases} \dfrac{x^{2} - 4}{x - 2} & \text{if } x \ne 2 \\[6pt] 4 & \text{if } x = 2 \end{cases}

Now g(2)=4=lim⁡x→2g(x)g(2) = 4 = \lim_{x \to 2} g(x), so gg is continuous at 2. The graph is one unbroken line, y=x+2y = x + 2.

The same fix works if f(c)f(c) exists but is the wrong value. Redefine it.

Example: h(x)=x2−4x−2h(x) = \dfrac{x^{2} - 4}{x - 2} for x≠2x \ne 2, with h(2)=5h(2) = 5. The limit is 4, so change the value to h(2)=4h(2) = 4.

What you write: the limit, the value that equals it, and a sentence that the discontinuity is removed because the limit exists.

2What cannot be removed

Two kinds of break cannot be repaired by changing one value.

  • A jump. The one-sided limits are different numbers. Whatever number you put at cc, it matches at most one side.
  • A vertical asymptote. The function is unbounded. There is no number to fill in.

Example: ∣x∣x\dfrac{|x|}{x} at x=0x = 0 is −1-1 on the left and 11 on the right. No choice of f(0)f(0) makes it continuous, so the discontinuity is not removable.

The question says "if possible" for this reason. Check the limit first.

3Finding a constant in a piecewise function

At the boundary, the two pieces must meet. Set their values at the boundary equal.

Example 1. Find kk so that f(x)={3x+kif x≤2x2−1if x>2f(x) = \begin{cases} 3x + k & \text{if } x \le 2 \\ x^{2} - 1 & \text{if } x > 2 \end{cases} is continuous at x=2x = 2.

lim⁡x→2−f(x)=3(2)+k=6+kthe left piece at x = 2, and also f(2)\begin{aligned}\lim_{x \to 2^{-}} f(x) &= 3(2) + k \\[6pt] &= 6 + k && \textcolor{#838c91}{\text{the left piece at x = 2, and also f(2)}}\end{aligned}lim⁡x→2+f(x)=22−1=3the right piece at x = 2\begin{aligned}\lim_{x \to 2^{+}} f(x) &= 2^{2} - 1 \\[6pt] &= 3 && \textcolor{#838c91}{\text{the right piece at x = 2}}\end{aligned}6+k=3⇒k=−36 + k = 3 \quad \Rightarrow \quad k = -3

Check: with k=−3k = -3, f(2)=3f(2) = 3, the left limit is 3 and the right limit is 3. Continuous.

Example 2. Find kk so that g(x)={x2+kif x<32kx−5if x≥3g(x) = \begin{cases} x^{2} + k & \text{if } x < 3 \\ 2kx - 5 & \text{if } x \ge 3 \end{cases} is continuous at x=3x = 3.

lim⁡x→3−g(x)=9+klim⁡x→3+g(x)=6k−5=g(3)\lim_{x \to 3^{-}} g(x) = 9 + k \qquad \lim_{x \to 3^{+}} g(x) = 6k - 5 = g(3)9+k=6k−5⇒14=5k9 + k = 6k - 5 \quad \Rightarrow \quad 14 = 5kk=145k = \frac{14}{5}

The constant appears in both pieces, so solve the equation with kk on both sides.

Example 3. A rational piece and a value. Find kk so that r(x)={x2−9x−3if x≠3kif x=3r(x) = \begin{cases} \dfrac{x^{2} - 9}{x - 3} & \text{if } x \ne 3 \\ k & \text{if } x = 3 \end{cases} is continuous at 3.

  • lim⁡x→3(x−3)(x+3)x−3=lim⁡x→3(x+3)=6\lim_{x \to 3} \dfrac{(x - 3)(x + 3)}{x - 3} = \lim_{x \to 3} (x + 3) = 6.
  • The value r(3)=kr(3) = k must equal the limit, so k=6k = 6.

4Two constants, two boundaries

When there are two unknowns, there are two boundaries and two equations.

Example 4. Find aa and bb so that

f(x)={x2+1if x<1ax+bif 1≤x≤29−x2if x>2f(x) = \begin{cases} x^{2} + 1 & \text{if } x < 1 \\ ax + b & \text{if } 1 \le x \le 2 \\ 9 - x^{2} & \text{if } x > 2 \end{cases}

is continuous for all xx.

  • At x=1x = 1: the left limit is 12+1=21^{2} + 1 = 2, and the middle piece gives a+ba + b. So a+b=2a + b = 2.
  • At x=2x = 2: the middle piece gives 2a+b2a + b, and the right piece gives 9−4=59 - 4 = 5. So 2a+b=52a + b = 5.
(2a+b)−(a+b)=5−2(2a + b) - (a + b) = 5 - 2a=3⇒b=−1from a + b = 2a = 3 \quad \Rightarrow \quad b = -1 \qquad \textcolor{#838c91}{\text{from a + b = 2}}

Check: the middle piece is 3x−13x - 1. At x=1x = 1 it is 2, at x=2x = 2 it is 5. Both match.

5Writing it up

  • Show the one-sided limits at the boundary, each as a number or an expression in the unknown.
  • Write the equation that sets them equal. If f(c)f(c) is given separately, include it.
  • Solve and state the value.
  • State the conclusion: "With k=−3k = -3, ff is continuous at x=2x = 2."

If the function must be continuous everywhere, say that each piece is continuous on its own interval (it is a polynomial), so only the boundary needs work.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.