Unit 1 · Topic 1.10

Classify breaks in a graph

Builds on one-sided limits, infinite limits and the rate of change at an instant. 14 minutes.

  1. Example 1Locate a discontinuity
  2. Example 2Recognize a removable hole
  3. Example 3Recognize a jump
  4. Example 4Recognize an infinite discontinuity
  5. Example 5Distinguish a corner from a break

A function \(f\) is continuous at an input \(c\) if you can draw its graph through the point \((c,f(c))\) without lifting the pen. In terms of limits, \(f\) is continuous at \(c\) if

\[\lim_{x\to c}f(x)=f(c)\]

The definition has three conditions: \(f(c)\) is defined, the limit at \(c\) exists, and the limit equals \(f(c)\). Suppose that \(f\) is defined on an open interval around \(c\), except possibly at \(c\), so that \(x\) can approach \(c\) from both sides. If one of the three fails, \(f\) has a discontinuity, or break, at \(c\).

This topic finds the breaks of a function, sorts them into three types, and tells a break from a corner.

Finding the breaks

The graph of a function f for x from 0 to 10, with the inputs 1 to 9 numbered. A rising curve has an open ring at x = 2, and an orange dot below the ring at x = 2 can be dragged up and down. The curve ends at an open ring at x = 4, and a filled dot higher up at x = 4 starts a falling piece. The falling piece meets a rising piece at a sharp corner at x = 6. The rising piece climbs without bound beside a dashed vertical line at x = 8, and on the right of the line the curve comes down from the top of the figure.

Figure 1Open rings mark points that the graph leaves out, and the dashed line is a vertical asymptote. Filled dots mark values of \(f\), and the orange one, \(\cy{f(2)}\), can be dragged.

The graph of \(f\) in Figure 1 breaks at \(x=2\), 4 and 8. At \(x=2\), the curve approaches the height of the ring from both sides, so the limit exists. The orange dot below the ring is the value \(\cy{f(2)}\), which is defined but is not the limit, so the third condition fails.

At \(x=4\), the curve approaches one height from the left and a greater height from the right. The limit does not exist, so the second condition fails, although the filled dot shows that \(f(4)\) is defined.

At \(x=8\), \(f\) is not defined, so the first condition fails. The curve also rises without bound on both sides of the dashed line, so the limit does not exist.

The three conditions hold at every other input between 0 and 10.

The limit at \(c\) exists when the one-sided limits, from the left and from the right, exist and are equal, and only then (topic 1.2). Continuity at \(c\) therefore means that three numbers are equal: the limit from the left, the limit from the right and \(f(c)\).

A function whose formulas are polynomials or quotients of polynomials can break only where it has no value or where its formula changes. By the limit laws of topic 1.5, each such formula has a limit equal to its value at every input where it is defined. An input where the formula of \(f\) changes is called a join. To find the breaks, list the joins and the inputs where \(f\) has no value. Where \(f\) has no value, \(f\) breaks. At each join where \(f\) has a value, compare the three numbers.

Three types of break

The type of a break depends on the one-sided limits at \(c\).

If the limit at \(c\) is a number \(L\) but \(f(c)\) is not defined or is not \(L\), the break is a removable discontinuity. It is often called a hole. Move the orange dot in Figure 1 into the ring. The break at \(x=2\) disappears, because \(\cy{f(2)}\) now equals the limit.

In general, the limit does not depend on \(f(c)\) (topic 1.2). Changing only the value at \(c\) to \(L\) therefore makes \(f\) continuous at \(c\), and this repair by one value explains the name.

If the limits from the left and from the right are different numbers, the break is a jump discontinuity, as at \(x=4\). No value of \(f(4)\) can repair it, because continuity would need \(f(4)\) to equal both limits.

If the limit from the left or from the right is \(\infty\) or \(-\infty\), the break is an infinite discontinuity, as at \(x=8\). The line \(x=c\) is then a vertical asymptote (topic 1.3), so some books call this a discontinuity due to a vertical asymptote. No value repairs it, because the limit on that side is not a number.

A limit can also fail to exist because \(f\) oscillates, which means that its values swing up and down without approaching one number. This happens for \(\sin(1/x)\) near 0 (topic 1.2). Such a break belongs to none of the three types. No value repairs it, because the limit does not exist.

A corner is not a break

At \(x=6\) in Figure 1, the graph turns sharply. The limits from the left and from the right both equal \(f(6)\), so \(f\) is continuous at 6. A point where \(f\) is continuous but its graph has a different slope on each side is a corner.

What fails at a corner is the rate of change at an instant. The average rate of change of \(f\) over an interval is the change in \(f\) divided by the length of the interval. In topic 1.1, the rate of change at an instant is the number that these average rates approach as the interval shrinks toward that instant. It is the slope of the tangent line, the line that follows the direction of the graph at that point.

The graph of f near the corner at x = 6, with the inputs 5, 6 and 7 numbered. A falling curve on the left meets a rising curve on the right at a dot. Two orange secant lines start at the corner, one through an orange dot on the curve to the left and one through an orange dot on the curve to the right. Two faint dashed lines from the corner, steep on the left and less steep on the right, show the directions that the secants approach as the dots move toward the corner.

Figure 2The orange lines join the corner to the points of the graph at \(x=6-h\) and \(x=6+h\). The numbers under the figure give their slopes, and the faint lines show the directions that the orange lines approach as \(h\) shrinks.

Figure 2 shows the graph of \(f\) near \(x=6\), and the slider under it sets a positive number \(h\). The orange line on the right is a secant, the line through the points of the graph at \(x=6\) and \(x=6+h\). Its slope is the average rate \(\frac{f(6+h)-f(6)}{h}\). The orange line on the left is the secant through the points at \(x=6-h\) and \(x=6\), with slope \(\frac{f(6)-f(6-h)}{h}\).

Shrink \(h\) with the slider or the button. The secants turn toward the two faint lines, and their slopes approach \(-3\) on the left and 2 on the right. The average rates approach different numbers from the two sides, so their limit does not exist, and \(f\) has no rate of change at 6. Its graph has no tangent line there, and in Unit 2 a function like this is called not differentiable at 6.

In general, a function that is continuous at \(c\) has a corner there when the average rates \(\frac{f(c)-f(c-h)}{h}\) and \(\frac{f(c+h)-f(c)}{h}\) approach different numbers as \(h\to 0^+\). Continuity depends only on the three numbers at \(c\), not on the slopes on the two sides, so a corner is not a break.

Example 1

Locate a discontinuity

Let \(g(x)=\begin{cases}2x+6, & x<-1\\ x^2+3, & -1\le x\le 2\\ \dfrac{30}{x+3}, & x>2\end{cases}.\) At which values of \(x\) is \(g\) not continuous?

Solution

Inside each of the intervals \(x<-1\), \(-1<x<2\) and \(x>2\), one formula gives \(g\), and it has no break there. The first two formulas are polynomials, and the denominator of \(\frac{30}{x+3}\) is 0 only at \(x=-3\), which is not in \(x>2\). Only the joins \(x=-1\) and \(x=2\) are left to test.

At \(x=-1\), the limit from the left uses \(2x+6\), and the limit from the right and the value use \(x^2+3\):

\[\begin{aligned}\lim_{x\to -1^-}g(x)&=2(-1)+6=4\\ \lim_{x\to -1^+}g(x)&=(-1)^2+3=4\\ g(-1)&=(-1)^2+3=4\end{aligned}\]

The three numbers are equal, so \(g\) is continuous at \(-1\). At \(x=2\), the limit from the left uses \(x^2+3\), and the limit from the right uses \(\frac{30}{x+3}\):

\[\begin{aligned}\lim_{x\to 2^-}g(x)&=2^2+3=7\\ \lim_{x\to 2^+}g(x)&=\frac{30}{2+3}=6\end{aligned}\]

The one-sided limits differ, so the limit at 2 does not exist, although \(g(2)=7\) is defined. Since \(g\) is continuous at every other input, \(x=2\) is the only value at which \(g\) is not continuous.

Example 2

Recognize a removable hole

Let \(r(x)=\dfrac{x^2+x-12}{x-3}\) for \(x\neq 3\), and let \(r(3)=2\). Is \(r\) continuous at \(x=3\)? If not, what type of discontinuity does \(r\) have there?

Solution

The value \(r(3)=2\) is defined. For the limit, \(x\) approaches 3 but is never equal to 3, so \(r(x)\) is given by the fraction. Its numerator and denominator are both 0 at 3, so the numerator has the factor \(x-3\), which cancels (topic 1.6):

\[\begin{aligned}\lim_{x\to 3}r(x)&=\lim_{x\to 3}\frac{(x-3)(x+4)}{x-3}\\&=\lim_{x\to 3}\,(x+4)=7\end{aligned}\]

The limit is the number 7, but \(r(3)=2\), so \(r\) is not continuous at 3. Changing \(r(3)\) to 7 would make \(r\) continuous at 3, so the discontinuity is removable.

Example 3

Recognize a jump

Let \(s(x)=\dfrac{x^2-9}{|x+3|}\) for \(x\neq -3\). Find \(\displaystyle\lim_{x\to -3^-}s(x)\) and \(\displaystyle\lim_{x\to -3^+}s(x)\). What type of discontinuity does \(s\) have at \(x=-3\)?

Solution

The numerator factors as \((x+3)(x-3)\). The absolute value \(|x+3|\) equals \(x+3\) when \(x>-3\) and \(-(x+3)\) when \(x<-3\), so the factor \(x+3\) cancels with a different sign on each side:

\[s(x)=\begin{cases}x-3, & x>-3\\ 3-x, & x<-3\end{cases}\]

Each one-sided limit uses the formula on its own side:

\[\begin{aligned}\lim_{x\to -3^-}s(x)&=3-(-3)=6\\ \lim_{x\to -3^+}s(x)&=-3-3=-6\end{aligned}\]

The graph steps down from height 6 to height \(-6\). Both limits are numbers, and they differ, so \(s\) has a jump discontinuity at \(x=-3\).

Example 4

Recognize an infinite discontinuity

Let \(q(x)=\dfrac{x^2-1}{x^2+3x-4}\). Find the values of \(x\) at which \(q\) is not continuous, and classify each discontinuity.

Solution

The denominator factors as \((x+4)(x-1)\), so \(q\) is not defined at \(x=-4\) or at \(x=1\). A quotient of polynomials has no other breaks, so these two inputs are the discontinuities.

The numerator \(x^2-1=(x-1)(x+1)\) shares the factor \(x-1\), which cancels for \(x\neq 1\):

\[q(x)=\frac{(x-1)(x+1)}{(x+4)(x-1)}=\frac{x+1}{x+4}\]

At \(x=1\), the limit is \(\frac{1+1}{1+4}=\frac25\), a number, so the discontinuity at 1 is removable.

At \(x=-4\), the numerator \(x+1\) approaches \(-3\) while the factor \(x+4\) in the denominator approaches 0, so the size of \(q(x)\) grows without bound.

For \(x<-4\), both \(x+1\) and \(x+4\) are negative, so \(q\) is positive. For \(x\) between \(-4\) and \(-1\), \(x+4\) is positive and \(x+1\) is still negative, so \(q\) is negative:

\[\begin{aligned}\lim_{x\to -4^-}q(x)&=\infty\\ \lim_{x\to -4^+}q(x)&=-\infty\end{aligned}\]

The discontinuity at \(-4\) is infinite, and the line \(x=-4\) is a vertical asymptote.

Example 5

Distinguish a corner from a break

Let \(p(x)=x^2+3\) for \(x\le 1\), and \(p(x)=5x-1\) for \(x>1\). Is \(p\) continuous at \(x=1\)? Does the graph of \(p\) have a tangent line at \(x=1\)?

Solution

Each piece is a polynomial, so only the join at 1 needs a test. The value \(p(1)=4\) comes from the first piece, and the one-sided limits are

\[\begin{aligned}\lim_{x\to 1^-}p(x)&=1^2+3=4\\ \lim_{x\to 1^+}p(x)&=5(1)-1=4\end{aligned}\]

All three numbers are 4, so \(p\) is continuous at 1.

A tangent line needs the average rates on the two sides to approach one number. For \(h>0\), the input \(1+h\) lies in the second piece and \(1-h\) in the first, so \(p(1+h)=4+5h\) and \(p(1-h)=(1-h)^2+3=4-2h+h^2\):

\[\begin{aligned}\frac{p(1+h)-p(1)}{h}&=\frac{5h}{h}=5\\ \frac{p(1)-p(1-h)}{h}&=\frac{2h-h^2}{h}=2-h\end{aligned}\]

The average rate on the right is 5 for every \(h\), and the one on the left approaches 2 as \(h\) approaches 0. They differ, so the graph of \(p\) has no tangent line at \(x=1\). It has a corner at \((1,4)\), not a break.

Each example is one of the five skills of topic 1.10 in Which & Why: AP Calculus.