Unit 2, lesson 15

Discontinuities and Continuous Extensions

How to sort the ways a function can fail to be continuous into removable, jump, infinite and oscillating types, and how to fill a removable gap with a continuous extension.

  • Theory part 29
  • Practice part 30
  • Continuity of a Function

Theory, part 29

Practice, part 30

A function can break in very different ways. A single point might be missing from an otherwise smooth curve, the graph might step up like a staircase, it might shoot off to infinity, or it might wiggle faster and faster without settling down. Telling these apart matters, because only the first kind can be repaired by changing or adding one value.

Key terms

Finite one-sided limits

Definition Let ff be defined on intervals (c−r,c)(c - r, c) and (c,c+r)(c, c + r) for some r>0r > 0. We say ff has finite one-sided limits at cc if both

L−=lim⁡x→c−f(x)andL+=lim⁡x→c+f(x)L^- = \lim_{x \to c^-} f(x) \quad \text{and} \quad L^+ = \lim_{x \to c^+} f(x)

exist as real numbers. The two-sided limit lim⁡x→cf(x)\lim_{x \to c} f(x) exists exactly when L−L^- and L+L^+ both exist and are equal, and then it equals their common value.

We say ff has a discontinuity at cc when ff is defined on such intervals on both sides of cc and either cc is not in the domain of ff, or cc is in the domain and lim⁡x→cf(x)=f(c)\lim_{x \to c} f(x) = f(c) fails. This is wider than simply not being continuous at cc. Continuity, as defined in the previous lesson, is only asked about points of the domain, so 1x\frac{1}{x} is a continuous function. A discontinuity can also sit at a gap in the domain, so the same 1x\frac{1}{x} has a discontinuity at 00. The two statements do not clash, because one is about points of the domain and the other also covers the gaps between them. The types below sort discontinuities by how the one-sided limits behave.

In plain words Look at the left side and the right side separately and ask where each one is heading. Most of the sorting comes from those two numbers.

Example Consider

f(x)=∣x∣x,x≠0.f(x) = \frac{\lvert x \rvert}{x}, \qquad x \neq 0.

Its values are −1-1 for x<0x < 0 and 11 for x>0x > 0. So L−=−1L^- = -1 and L+=1L^+ = 1. Both are finite, but they differ, so lim⁡x→0f(x)\lim_{x \to 0} f(x) does not exist.

Removable discontinuity

Definition A discontinuity of ff at cc is removable if lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L exists as a finite number, and either f(c)f(c) is undefined or f(c)≠Lf(c) \neq L.

In plain words The graph has a hole or a single misplaced point, and everything around it points to one value. Redefining f(c)=Lf(c) = L fixes the problem.

Example The function

f(x)=x2−1x−1f(x) = \frac{x^2 - 1}{x - 1}

is undefined at x=1x = 1. For x≠1x \neq 1 it equals x+1x + 1, so lim⁡x→1f(x)=2\lim_{x \to 1} f(x) = 2. The discontinuity at 11 is removable.

Jump discontinuity

Definition A discontinuity of ff at cc is a jump discontinuity if both one-sided limits L−L^- and L+L^+ exist as finite numbers and L−≠L+L^- \neq L^+. The number L+−L−L^+ - L^- is the size of the jump.

In plain words The graph comes in at one height from the left and leaves at another height to the right. No single value at cc can join the two pieces.

Example The function ∣x∣x\frac{\lvert x \rvert}{x} from above has L−=−1L^- = -1 and L+=1L^+ = 1 at 00, so it has a jump of size 22 there. The floor function ⌊x⌋\lfloor x \rfloor has a jump of size 11 at every integer.

Infinite discontinuity

Definition A discontinuity of ff at cc is an infinite discontinuity if at least one of the one-sided limits lim⁡x→c−f(x)\lim_{x \to c^-} f(x) or lim⁡x→c+f(x)\lim_{x \to c^+} f(x) is ∞\infty or −∞-\infty. Then the line x=cx = c is a vertical asymptote of the graph.

In plain words The function blows up near cc. Its values get larger and larger in size, so no number can be assigned at cc to make it continuous.

Example For the function

f(x)=1(x−2)2f(x) = \frac{1}{(x - 2)^2}

both one-sided limits at 22 are ∞\infty. At x=1.9x = 1.9 the value is 100100, at x=1.99x = 1.99 it is 10,00010{,}000. For g(x)=1xg(x) = \frac{1}{x} the left limit at 00 is −∞-\infty and the right limit is ∞\infty, another infinite discontinuity.

Oscillating discontinuity

Definition A discontinuity of ff at cc is an oscillating discontinuity if at least one one-sided limit at cc does not exist as a real number and is not ∞\infty or −∞-\infty either. Then the values on that side never settle. For the right side, for example, there is a fixed ε>0\varepsilon > 0 such that every interval (c,c+δ)(c, c + \delta) contains two points where the values of ff differ by at least ε\varepsilon.

In plain words Close to cc the graph keeps going up and down without settling, no matter how far you zoom in.

Example Let f(x)=sin⁡1xf(x) = \sin \frac{1}{x} for x≠0x \neq 0. For every positive integer kk the points

ak=2(4k+1)πandbk=2(4k+3)πa_k = \frac{2}{(4k + 1)\pi} \quad \text{and} \quad b_k = \frac{2}{(4k + 3)\pi}

give f(ak)=sin⁡(2kπ+π2)=1f(a_k) = \sin\left(2k\pi + \frac{\pi}{2}\right) = 1 and f(bk)=sin⁡(2kπ+3π2)=−1f(b_k) = \sin\left(2k\pi + \frac{3\pi}{2}\right) = -1. Both lists of points approach 00 from the right, so the values hit 11 and −1-1 in every interval (0,δ)(0, \delta). The right limit does not exist, and the same happens from the left. The discontinuity at 00 is oscillating. Every discontinuity is of at least one of the four types. A point can fit two of them when the function behaves one way on the left and another way on the right, for example blowing up on one side and oscillating on the other.

Piecewise functions

Definition A piecewise function is defined by different formulas on different parts of its domain. If each formula is continuous on the open piece where it is used, the only points that need checking are the break points. At a break point cc, compute the one-sided limits from the two neighboring formulas and compare them with f(c)f(c).

In plain words Inside each piece nothing new happens. All the action is at the seams.

Example Let

f(x)={x2,x<1,2x,x≥1.f(x) = \begin{cases} x^2, & x < 1, \\ 2x, & x \ge 1. \end{cases}

At c=1c = 1 the left limit is 12=11^2 = 1 and the right limit is 2⋅1=22 \cdot 1 = 2, with f(1)=2f(1) = 2. The one-sided limits are finite and different, so ff has a jump of size 11 at x=1x = 1. It is continuous from the right there but not from the left.

Continuous extension

Definition Let ff be continuous on its domain DD, let c∉Dc \notin D, and suppose ff is defined on an open interval around cc except at cc. If lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L exists as a finite number, the function

F(x)={f(x),x∈D,L,x=cF(x) = \begin{cases} f(x), & x \in D, \\ L, & x = c \end{cases}

is continuous at every point of D∪{c}D \cup \{c\} and agrees with ff on DD. It is called the continuous extension of ff to cc. If the limit does not exist as a finite number, no continuous extension to cc is possible.

In plain words When the only problem is a hole, fill the hole with the value the limit predicts.

Example Take

f(x)=x2+x−6x2−4,f(x) = \frac{x^2 + x - 6}{x^2 - 4},

which is undefined at x=2x = 2 and x=−2x = -2. For x≠±2x \neq \pm 2 factoring gives

f(x)=(x+3)(x−2)(x+2)(x−2)=x+3x+2.f(x) = \frac{(x + 3)(x - 2)}{(x + 2)(x - 2)} = \frac{x + 3}{x + 2}.

At 22 the limit is 54\frac{5}{4}, so setting F(2)=54F(2) = \frac{5}{4} extends ff continuously to 22. At −2-2 the numerator tends to 11 while the denominator tends to 00, so the values blow up and there is no continuous extension to −2-2.

Check yourself

  1. Classify the discontinuity of f(x)=x2−9x+3f(x) = \frac{x^2 - 9}{x + 3} at x=−3x = -3 and give the continuous extension if it exists.
Show the answer

For x≠−3x \neq -3 the function equals x−3x - 3, so the limit at −3-3 is −6-6. The discontinuity is removable, and F(−3)=−6F(-3) = -6 gives the continuous extension, which is simply F(x)=x−3F(x) = x - 3.

  1. Let f(x)=x+1f(x) = x + 1 for x<0x < 0 and f(x)=x2−1f(x) = x^2 - 1 for x≥0x \ge 0. What kind of discontinuity is at 00, and how big is it?
Show the answer

The left limit is 11 and the right limit is −1-1. Both are finite and they differ, so it is a jump discontinuity of size −1−1=−2-1 - 1 = -2, a drop of 22.

  1. Does f(x)=xx2−xf(x) = \frac{x}{x^2 - x} have a continuous extension to x=0x = 0? To x=1x = 1?
Show the answer

For x≠0,1x \neq 0, 1 it equals 1x−1\frac{1}{x - 1}. At 00 the limit is −1-1, so F(0)=−1F(0) = -1 works. At 11 the values blow up, an infinite discontinuity, so no extension to 11 exists.

How this lesson connects