We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Guías de estudio > Precalculus II

Continuity

Let’s consider a specific example of temperature in terms of date and location, such as June 27, 2013, in Phoenix, AZ. The graph in Figure 1 indicates that, at 2 a.m., the temperature was [latex]{96}^{\circ }\text{F}[/latex] . By 2 p.m. the temperature had risen to [latex]{116}^{\circ }\text{F,}[/latex] and by 4 p.m. it was [latex]{118}^{\circ }\text{F}\text{.}[/latex] Sometime between 2 a.m. and 4 p.m., the temperature outside must have been exactly [latex]{110.5}^{\circ }\text{F}\text{.}[/latex] In fact, any temperature between [latex]{96}^{\circ }\text{F}[/latex] and [latex]{118}^{\circ }\text{F}[/latex] occurred at some point that day. This means all real numbers in the output between [latex]{96}^{\circ }\text{F}[/latex] and [latex]{118}^{\circ }\text{F}[/latex] are generated at some point by the function according to the intermediate value theorem, Look again at Figure 1. There are no breaks in the function’s graph for this 24-hour period. At no point did the temperature cease to exist, nor was there a point at which the temperature jumped instantaneously by several degrees. A function that has no holes or breaks in its graph is known as a continuous function. Temperature as a function of time is an example of a continuous function. If temperature represents a continuous function, what kind of function would not be continuous? Consider an example of dollars expressed as a function of hours of parking. Let’s create the function [latex]D[/latex], where [latex]D\left(x\right)[/latex] is the output representing cost in dollars for parking [latex]x[/latex] number of hours. Suppose a parking garage charges $4.00 per hour or fraction of an hour, with a $25 per day maximum charge. Park for two hours and five minutes and the charge is $12. Park an additional hour and the charge is $16. We can never be charged $13, $14, or $15. There are real numbers between 12 and 16 that the function never outputs. There are breaks in the function’s graph for this 24-hour period, points at which the price of parking jumps instantaneously by several dollars.
Graph of function that maps the time since midnight to the temperature. The x-axis represents the hours parked from 0 to 24. The y-axis represents dollars amounting from 0 to 28. The function is a step-function. Figure 2. Parking-garage charges form a discontinuous function.
A function that remains level for an interval and then jumps instantaneously to a higher value is called a stepwise function. This function is an example. A function that has any hole or break in its graph is known as a discontinuous function. A stepwise function, such as parking-garage charges as a function of hours parked, is an example of a discontinuous function. So how can we decide if a function is continuous at a particular number? We can check three different conditions. Let’s use the function [latex]y=f\left(x\right)[/latex] represented in Figure 3 as an example.
Graph of an increasing function with a discontinuity at (a, f(a)). Figure 3
Condition 1 According to Condition 1, the function [latex]f\left(a\right)[/latex] defined at [latex]x=a[/latex] must exist. In other words, there is a y-coordinate at [latex]x=a[/latex] as in Figure 4.
Graph of an increasing function with a discontinuity at (a, 2). The point (a, f(a)) is directly below the hole. Figure 4
Condition 2 According to Condition 2, at [latex]x=a[/latex] the limit, written [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)[/latex], must exist. This means that at [latex]x=a[/latex] the left-hand limit must equal the right-hand limit. Notice as the graph of [latex]f[/latex] in Figure 3 approaches [latex]x=a[/latex] from the left and right, the same y-coordinate is approached. Therefore, Condition 2 is satisfied. However, there could still be a hole in the graph at [latex]x=a[/latex] . Condition 3 According to Condition 3, the corresponding [latex]y[/latex] coordinate at [latex]x=a[/latex] fills in the hole in the graph of [latex]f[/latex]. This is written [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)=f\left(a\right)[/latex]. Satisfying all three conditions means that the function is continuous. All three conditions are satisfied for the function represented in Figure 5 so the function is continuous as [latex]x=a[/latex].
Graph of an increasing function with filled-in discontinuity at (a, f(a)). Figure 5. All three conditions are satisfied. The function is continuous at [latex]x=a[/latex] .
  Figure 6 through Figure 9 provide several examples of graphs of functions that are not continuous at [latex]x=a[/latex] and the condition or conditions that fail.
Graph of an increasing function with a discontinuity at (a, f(a)). Figure 6. Condition 2 is satisfied. Conditions 1 and 3 both fail.
 
Graph of an increasing function with a discontinuity at (a, 2). The point (a, f(a)) is directly below the hole. Figure 7. Conditions 1 and 2 are both satisfied. Condition 3 fails.
Graph of a piecewise function with an increasing segment from negative infinity to (a, f(a)), which is closed, and another increasing segment from (a, f(a)-1), which is open, to positive infinity. Figure 8. Condition 1 is satisfied. Conditions 2 and 3 fail.
Graph of a piecewise function with an increasing segment from negative infinity to (a, f(a)) and another increasing segment from (a, f(a) - 1) to positive infinity. This graph does not include the point (a, f(a)). Figure 9. Conditions 1, 2, and 3 all fail.

A General Note: Definition of Continuity

A function [latex]f\left(x\right)[/latex] is continuous at [latex]x=a[/latex] provided all three of the following conditions hold true:
Condition 1: [latex]f\left(a\right)[/latex] exists.
Condition 2: [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)[/latex] exists at [latex]x=a[/latex] .
Condition 3: [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)=f\left(a\right)[/latex] .
If a function [latex]f\left(x\right)[/latex] is not continuous at [latex]x=a[/latex], the function is discontinuous at [latex]x=a[/latex] .

Identifying Discontinuities

Discontinuity can occur in different ways. We saw in the previous section that a function could have a left-hand limit and a right-hand limit even if they are not equal. If the left- and right-hand limits exist but are different, the graph "jumps" at [latex]x=a[/latex] . The function is said to have a jump discontinuity. As an example, look at the graph of the function [latex]y=f\left(x\right)[/latex] in Figure 10. Notice as [latex]x[/latex] approaches [latex]a[/latex] how the output approaches different values from the left and from the right.
Graph of a piecewise function with an increasing segment from negative infinity to (a, f(a)), which is closed, and another increasing segment from (a, f(a)-1), which is open, to positive infinity. Figure 10. Graph of a function with a jump discontinuity.

 A General Note: Jump Discontinuity

A function [latex]f\left(x\right)[/latex] has a jump discontinuity at [latex]x=a[/latex] if the left- and right-hand limits both exist but are not equal: [latex]\underset{x\to {a}^{-}}{\mathrm{lim}}f\left(x\right)\ne \underset{x\to {a}^{+}}{\mathrm{lim}}f\left(x\right)[/latex] .

Identifying Removable Discontinuity

Some functions have a discontinuity, but it is possible to redefine the function at that point to make it continuous. This type of function is said to have a removable discontinuity. Let’s look at the function [latex]y=f\left(x\right)[/latex] represented by the graph in Figure 11. The function has a limit. However, there is a hole at [latex]x=a[/latex] . The hole can be filled by extending the domain to include the input [latex]x=a[/latex] and defining the corresponding output of the function at that value as the limit of the function at [latex]x=a[/latex] .
Graph of an increasing function with a removable discontinuity at (a, f(a)). Figure 11. Graph of function [latex]f[/latex] with a removable discontinuity at [latex]x=a[/latex] .

A General Note: Removable Discontinuity

A function [latex]f\left(x\right)[/latex] has a removable discontinuity at [latex]x=a[/latex] if the limit, [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)[/latex], exists, but either
  1. [latex]f\left(a\right)[/latex] does not exist or
  2. [latex]f\left(a\right)[/latex], the value of the function at [latex]x=a[/latex] does not equal the limit, [latex]f\left(a\right)\ne \underset{x\to a}{\mathrm{lim}}f\left(x\right)[/latex].

Example 1: Identifying Discontinuities

Identify all discontinuities for the following functions as either a jump or a removable discontinuity.
  1. [latex]f\left(x\right)=\frac{{x}^{2}-2x - 15}{x - 5}[/latex]
  2. [latex]g\left(x\right)=\begin{cases}x+1, \hfill& x<2 \\ -x, \hfill& x\geq2\end{cases}[/latex]

Solution

  1. Notice that the function is defined everywhere except at [latex]x=5[/latex].Thus, [latex]f\left(5\right)[/latex] does not exist, Condition 2 is not satisfied. Since Condition 1 is satisfied, the limit as [latex]x[/latex] approaches 5 is 8, and Condition 2 is not satisfied.This means there is a removable discontinuity at [latex]x=5[/latex].
  2. Condition 2 is satisfied because [latex]g\left(2\right)=-2[/latex].Notice that the function is a piecewise function, and for each piece, the function is defined everywhere on its domain. Let’s examine Condition 1 by determining the left- and right-hand limits as [latex]x[/latex] approaches 2.Left-hand limit: [latex]\underset{x\to {2}^{-}}{\mathrm{lim}}\left(x+1\right)=2+1=3[/latex]. The left-hand limit exists.Right-hand limit: [latex]\underset{x\to {2}^{+}}{\mathrm{lim}}\left(-x\right)=-2[/latex]. The right-hand limit exists. But
    [latex]\underset{x\to {2}^{-}}{\mathrm{lim}}f\left(x\right)\ne \underset{x\to {2}^{+}}{\mathrm{lim}}f\left(x\right)[/latex].
    So, [latex]\underset{x\to 2}{\mathrm{lim}}f\left(x\right)[/latex] does not exist, and Condition 2 fails: There is no removable discontinuity. However, since both left- and right-hand limits exist but are not equal, the conditions are satisfied for a jump discontinuity at [latex]x=2[/latex].

Try It 1

Identify all discontinuities for the following functions as either a jump or a removable discontinuity.

a. [latex]f\left(x\right)=\frac{{x}^{2}-6x}{x - 6}[/latex]

b. [latex]g\left(x\right)=\begin{cases}\sqrt{x}, \hfill& 0\leq x<4 \\ 2x, \hfill& x\geq4\end{cases}[/latex]

Solution

Recognizing Continuous and Discontinuous Real-Number Functions

Many of the functions we have encountered in earlier chapters are continuous everywhere. They never have a hole in them, and they never jump from one value to the next. For all of these functions, the limit of [latex]f\left(x\right)[/latex] as [latex]x[/latex] approaches [latex]a[/latex] is the same as the value of [latex]f\left(x\right)[/latex] when [latex]x=a[/latex]. So [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)=f\left(a\right)[/latex]. There are some functions that are continuous everywhere and some that are only continuous where they are defined on their domain because they are not defined for all real numbers.

A General Note: Examples of Continuous Functions

The following functions are continuous everywhere:
Polynomial functions Ex: [latex]f\left(x\right)={x}^{4}-9{x}^{2}[/latex]
Exponential functions Ex: [latex]f\left(x\right)={4}^{x+2}-5[/latex]
Sine functions Ex: [latex]f\left(x\right)=\sin \left(2x\right)-4[/latex]
Cosine functions Ex: [latex]f\left(x\right)=-\cos \left(x+\frac{\pi }{3}\right)[/latex]
The following functions are continuous everywhere they are defined on their domain:
Logarithmic functions Ex: [latex]f\left(x\right)=2\mathrm{ln}\left(x\right)[/latex] , [latex]x>0[/latex]
Tangent functions Ex: [latex]f\left(x\right)=\tan \left(x\right)+2[/latex], [latex]x\ne \frac{\pi }{2}+k\pi [/latex], [latex]k[/latex] is an integer
Rational functions Ex: [latex]f\left(x\right)=\frac{{x}^{2}-25}{x - 7}[/latex], [latex]x\ne 7[/latex]

How To: Given a function [latex]f\left(x\right)[/latex], determine if the function is continuous at [latex]x=a[/latex].

  1. Check Condition 1: [latex]f\left(a\right)[/latex] exists.
  2. Check Condition 2: [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)[/latex] exists at [latex]x=a[/latex].
  3. Check Condition 3: [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)=f\left(a\right)[/latex].
  4. If all three conditions are satisfied, the function is continuous at [latex]x=a[/latex]. If any one of the conditions is not satisfied, the function is not continuous at [latex]x=a[/latex].

Example 2: Determining Whether a Piecewise Function is Continuous at a Given Number

Determine whether the function [latex]f\left(x\right)=\begin{cases}4x, \hfill& x\leq 3 \\ 8+x, \hfill& x>3\end{cases}[/latex] is continuous at
  1. [latex]x=3[/latex]
  2. [latex]x=\frac{8}{3}[/latex]

Solution

To determine if the function [latex]f[/latex] is continuous at [latex]x=a[/latex], we will determine if the three conditions of continuity are satisfied at [latex]x=a[/latex] .
  1. Condition 1: Does [latex]f\left(a\right)[/latex] exist?
    [latex]\begin{array}{l}f\left(3\right)=4\left(3\right)=12\hfill \\ \Rightarrow \text{Condition 1 is satisfied}.\hfill \end{array}[/latex]
    Condition 2: Does [latex]\underset{x\to 3}{\mathrm{lim}}f\left(x\right)[/latex] exist? To the left of [latex]x=3[/latex], [latex]f\left(x\right)=4x[/latex]; to the right of [latex]x=3[/latex], [latex]f\left(x\right)=8+x[/latex]. We need to evaluate the left- and right-hand limits as [latex]x[/latex] approaches 1.
    Left-hand limit: [latex]\underset{x\to {3}^{-}}{\mathrm{lim}}f\left(x\right)=\underset{x\to {3}^{-}}{\mathrm{lim}}4\left(3\right)=12[/latex]
    Right-hand limit: [latex]\underset{x\to {3}^{+}}{\mathrm{lim}}f\left(x\right)=\underset{x\to {3}^{+}}{\mathrm{lim}}\left(8+x\right)=8+3=11[/latex]
Because [latex]\underset{x\to {1}^{-}}{\mathrm{lim}}f\left(x\right)\ne \underset{x\to {1}^{+}}{\mathrm{lim}}f\left(x\right)[/latex], [latex]\underset{x\to 1}{\mathrm{lim}}f\left(x\right)[/latex] does not exist.
[latex]\Rightarrow \text{ Condition 2 fails}\text{.}[/latex]
There is no need to proceed further. Condition 2 fails at [latex]x=3[/latex]. If any of the conditions of continuity are not satisfied at [latex]x=3[/latex], the function [latex]f\left(x\right)[/latex] is not continuous at [latex]x=3[/latex].
  • [latex]x=\frac{8}{3}[/latex]Condition 1: Does [latex]f\left(\frac{8}{3}\right)[/latex] exist?
    [latex]\begin{array}{l}f\left(\frac{8}{3}\right)=4\left(\frac{8}{3}\right)=\frac{32}{3}\hfill \\ \Rightarrow \text{Condition 1 is satisfied}.\hfill \end{array}[/latex]
    Condition 2: Does [latex]\underset{x\to \frac{8}{3}}{\mathrm{lim}}f\left(x\right)[/latex] exist? To the left of [latex]x=\frac{8}{3}[/latex], [latex]f\left(x\right)=4x[/latex]; to the right of [latex]x=\frac{8}{3}[/latex], [latex]f\left(x\right)=8+x[/latex]. We need to evaluate the left- and right-hand limits as [latex]x[/latex] approaches [latex]\frac{8}{3}[/latex].
    Left-hand limit: [latex]\underset{x\to {\frac{8}{3}}^{-}}{\mathrm{lim}}f\left(x\right)=\underset{x\to {\frac{8}{3}}^{-}}{\mathrm{lim}}4\left(\frac{8}{3}\right)=\frac{32}{3}[/latex] Right-hand limit: [latex]\underset{x\to {\frac{8}{3}}^{+}}{\mathrm{lim}}f\left(x\right)=\underset{x\to {\frac{8}{3}}^{+}}{\mathrm{lim}}\left(8+x\right)=8+\frac{8}{3}=\frac{32}{3}[/latex]
    Because [latex]\underset{x\to \frac{8}{3}}{\mathrm{lim}}f\left(x\right)[/latex] exists,
    [latex]\Rightarrow \text{Condition 2 is satisfied}[/latex].
    Condition 3: Is [latex]f\left(\frac{8}{3}\right)=\underset{x\to \frac{8}{3}}{\mathrm{lim}}f\left(x\right)?[/latex]
    [latex]\begin{array}{l}f\left(\frac{32}{3}\right)=\frac{32}{3}=\underset{x\to \frac{8}{3}}{\mathrm{lim}}f\left(x\right)\hfill \\ \Rightarrow \text{Condition 3 is satisfied}.\hfill \end{array}[/latex]
    Because all three conditions of continuity are satisfied at [latex]x=\frac{8}{3}[/latex], the function [latex]f\left(x\right)[/latex] is continuous at [latex]x=\frac{8}{3}[/latex].
 

Try It 2

Determine whether the function [latex]f\left(x\right)=\begin{cases}\frac{1}{x}, \hfill& x\leq 2 \\ 9x-11.5, \hfill& x>2\end{cases}[/latex] is continuous at [latex]x=2[/latex]. Solution

Example 3: Determining Whether a Rational Function is Continuous at a Given Number

Determine whether the function [latex]f\left(x\right)=\frac{{x}^{2}-25}{x - 5}[/latex] is continuous at [latex]x=5[/latex].

Solution

To determine if the function [latex]f[/latex] is continuous at [latex]x=5[/latex], we will determine if the three conditions of continuity are satisfied at [latex]x=5[/latex]. Condition 1:
[latex]\begin{array}{l}f\left(5\right)\text{ does not exist}\text{.}\\ \Rightarrow \text{Condition 1 fails}.\end{array}[/latex]
There is no need to proceed further. Condition 2 fails at [latex]x=5[/latex]. If any of the conditions of continuity are not satisfied at [latex]x=5[/latex], the function [latex]f[/latex] is not continuous at [latex]x=5[/latex].

Analysis of the Solution

See Figure 12. Notice that for Condition 2 we have
[latex]\begin{array}{l}\underset{x\to 5}{\mathrm{lim}}\frac{{x}^{2}-25}{x - 5}=\underset{x\to 3}{\mathrm{lim}}\frac{\overline{)\left(x - 5\right)}\left(x+5\right)}{\overline{)x - 5}}\hfill \\ \text{ }=\underset{x\to 5}{\mathrm{lim}}\left(x+5\right)\hfill \\ \text{ }=5+5=10\hfill \\ \text{ }\Rightarrow \text{Condition 2 is satisfied}.\hfill \end{array}[/latex]
At [latex]x=5[/latex], there exists a removable discontinuity.
Graph of an increasing function with a removable discontinuity at (5, 10). Figure 12

Try It 3

Determine whether the function [latex]f\left(x\right)=\frac{9-{x}^{2}}{{x}^{2}-3x}[/latex] is continuous at [latex]x=3[/latex]. If not, state the type of discontinuity. Solution

Determining the Input Values for Which a Function Is Discontinuous

Now that we can identify continuous functions, jump discontinuities, and removable discontinuities, we will look at more complex functions to find discontinuities. Here, we will analyze a piecewise function to determine if any real numbers exist where the function is not continuous. A piecewise function may have discontinuities at the boundary points of the function as well as within the functions that make it up. To determine the real numbers for which a piecewise function composed of polynomial functions is not continuous, recall that polynomial functions themselves are continuous on the set of real numbers. Any discontinuity would be at the boundary points. So we need to explore the three conditions of continuity at the boundary points of the piecewise function.

How To: Given a piecewise function, determine whether it is continuous at the boundary points.

  1. For each boundary point [latex]a[/latex] of the piecewise function, determine the left- and right-hand limits as [latex]x[/latex] approaches [latex]a[/latex], as well as the function value at [latex]a[/latex].
  2. Check each condition for each value to determine if all three conditions are satisfied.
  3. Determine whether each value satisfies condition 1: [latex]f\left(a\right)[/latex] exists.
  4. Determine whether each value satisfies condition 2: [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)[/latex] exists.
  5. Determine whether each value satisfies condition 3: [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)=f\left(a\right)[/latex].
  6. If all three conditions are satisfied, the function is continuous at [latex]x=a[/latex]. If any one of the conditions fails, the function is not continuous at [latex]x=a[/latex].

Example 4: Determining the Input Values for Which a Piecewise Function Is Discontinuous

Determine whether the function [latex]f[/latex] is discontinuous for any real numbers.

[latex]fx=\begin{cases}x+1, \hfill& x<2 \\ 3, \hfill& 2\leq x<4 \\ x^{2}-11, \hfill& x\geq 4\end{cases}[/latex]

Solution

The piecewise function is defined by three functions, which are all polynomial functions, [latex]f\left(x\right)=x+1[/latex] on [latex]x<2[/latex], [latex]f\left(x\right)=3[/latex] on [latex]2\le x<4[/latex], and [latex]f\left(x\right)={x}^{2}-5[/latex] on [latex]x\ge 4[/latex]. Polynomial functions are continuous everywhere. Any discontinuities would be at the boundary points, [latex]x=2[/latex] and [latex]x=4[/latex]. At [latex]x=2[/latex], let us check the three conditions of continuity. Condition 1:
[latex]\begin{array}{l}f\left(2\right)=3\\ \Rightarrow \text{Condition 1 is satisfied}.\end{array}[/latex]
Condition 2: Because a different function defines the output left and right of [latex]x=2[/latex], does [latex]\underset{x\to {2}^{-}}{\mathrm{lim}}f\left(x\right)=\underset{x\to {2}^{+}}{\mathrm{lim}}f\left(x\right)?[/latex]
  • Left-hand limit: [latex]\underset{x\to {2}^{-}}{\mathrm{lim}}f\left(x\right)=\underset{x\to {2}^{-}}{\mathrm{lim}}\left(x+1\right)=2+1=3[/latex]
  • Right-hand limit: [latex]\underset{x\to {2}^{+}}{\mathrm{lim}}f\left(x\right)=\underset{x\to {2}^{+}}{\mathrm{lim}}3=3[/latex]
Because [latex]3=3[/latex] , [latex]\underset{x\to {2}^{-}}{\mathrm{lim}}f\left(x\right)=\underset{x\to {2}^{+}}{\mathrm{lim}}f\left(x\right)[/latex]
[latex]\Rightarrow \text{Condition 2 is satisfied}[/latex].
Condition 3:
[latex]\begin{array}{l}\underset{x\to 2}{\mathrm{lim}}f\left(x\right)=3=f\left(2\right)\\ \Rightarrow \text{Condition 3 is satisfied}.\end{array}[/latex]
Because all three conditions are satisfied at [latex]x=2[/latex], the function [latex]f\left(x\right)[/latex] is continuous at [latex]x=2[/latex]. At [latex]x=4[/latex], let us check the three conditions of continuity. Condition 2: Because a different function defines the output left and right of [latex]x=4[/latex], does [latex]\underset{x\to {4}^{-}}{\mathrm{lim}}f\left(x\right)=\underset{x\to {4}^{+}}{\mathrm{lim}}f\left(x\right)?[/latex]
  • Left-hand limit: [latex]\underset{x\to {4}^{-}}{\mathrm{lim}}f\left(x\right)=\underset{x\to {4}^{-}}{\mathrm{lim}}3=3[/latex]
  • Right-hand limit: [latex]\underset{x\to {4}^{+}}{\mathrm{lim}}f\left(x\right)=\underset{x\to {4}^{+}}{\mathrm{lim}}\left({x}^{2}-11\right)={4}^{2}-11=5[/latex]
Because [latex]3\ne 5[/latex] , [latex]\underset{x\to {4}^{-}}{\mathrm{lim}}f\left(x\right)\ne \underset{x\to {4}^{+}}{\mathrm{lim}}f\left(x\right)[/latex], so [latex]\underset{x\to 4}{\mathrm{lim}}f\left(x\right)[/latex] does not exist.
[latex]\Rightarrow \text{Condition 2 fails}[/latex].
Because one of the three conditions does not hold at [latex]x=4[/latex], the function [latex]f\left(x\right)[/latex] is discontinuous at [latex]x=4[/latex].

Analysis of the Solution

At [latex]x=4[/latex], there exists a jump discontinuity. Notice that the function is continuous at [latex]x=2[/latex].
Graph of a piecewise function that has disconuity at (4, 3). Figure 13. Graph is continuous at [latex]x=2[/latex] but shows a jump discontinuity at [latex]x=4[/latex].

Try It 4

Determine where the function

[latex]f\left(x\right)=\begin{cases}\frac{\pi x}{4}, \hfill& x<2 \\ \frac{\pi}{x}, \hfill& 2\leq x \leq 6 \text{ is discontinuous.} \\ 2\pi x, \hfill& x>6\end{cases}[/latex]

Solution

Determining Whether a Function Is Continuous

To determine whether a piecewise function is continuous or discontinuous, in addition to checking the boundary points, we must also check whether each of the functions that make up the piecewise function is continuous.

How To: Given a piecewise function, determine whether it is continuous.

  1. Determine whether each component function of the piecewise function is continuous. If there are discontinuities, do they occur within the domain where that component function is applied?
  2. For each boundary point [latex]x=a[/latex] of the piecewise function, determine if each of the three conditions hold.

Example 5: Determining Whether a Piecewise Function Is Continuous

Determine whether the function below is continuous. If it is not, state the location and type of each discontinuity.

[latex]fx=\begin{cases}sin\left(x\right), \hfill& x<0 \\ x^{3}, \hfill& x>0\end{cases}[/latex]

Solution

The two functions composing this piecewise function are [latex]f\left(x\right)=\sin \left(x\right)[/latex] on [latex]x<0[/latex] and [latex]f\left(x\right)={x}^{3}[/latex] on [latex]x>0[/latex]. The sine function and all polynomial functions are continuous everywhere. Any discontinuities would be at the boundary point, At [latex]x=0[/latex], let us check the three conditions of continuity. Condition 1:
[latex]\begin{array}{l}f\left(0\right)\text{ does not exist}.\hfill \\ \Rightarrow \text{Condition 1 fails}.\hfill \end{array}[/latex]
Because all three conditions are not satisfied at [latex]x=0[/latex], the function [latex]f\left(x\right)[/latex] is discontinuous at [latex]x=0[/latex].

Analysis of the Solution

There exists a removable discontinuity at [latex]x=0[/latex]; [latex]\underset{x\to 0}{\mathrm{lim}}f\left(x\right)=0[/latex], thus the limit exists and is finite, but [latex]f\left(a\right)[/latex] does not exist.
Graph of a piecewise function where from negative infinity to 0 f(x) = sin(x) and from 0 to positive infinity f(x) = x^3. Figure 14. Function has removable discontinuity at 0.

Key Concepts

  • A continuous function can be represented by a graph without holes or breaks.
  • A function whose graph has holes is a discontinuous function.
  • A function is continuous at a particular number if three conditions are met:
    • Condition 1: [latex]f\left(a\right)[/latex] exists.
    • Condition 2: [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)[/latex] exists at [latex]x=a[/latex].
    • Condition 3: [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)=f\left(a\right)[/latex].
  • A function has a jump discontinuity if the left- and right-hand limits are different, causing the graph to "jump."
  • A function has a removable discontinuity if it can be redefined at its discontinuous point to make it continuous.
  • Some functions, such as polynomial functions, are continuous everywhere. Other functions, such as logarithmic functions, are continuous on their domain.
  • For a piecewise function to be continuous each piece must be continuous on its part of the domain and the function as a whole must be continuous at the boundaries.

Glossary

continuous function
a function that has no holes or breaks in its graph
discontinuous function
a function that is not continuous at [latex]x=a[/latex]
jump discontinuity
a point of discontinuity in a function [latex]f\left(x\right)[/latex] at [latex]x=a[/latex] where both the left and right-hand limits exist, but [latex]\underset{x\to {a}^{-}}{\mathrm{lim}}f\left(x\right)\ne \underset{x\to {a}^{+}}{\mathrm{lim}}f\left(x\right)[/latex]
removable discontinuity
a point of discontinuity in a function [latex]f\left(x\right)[/latex] where the function is discontinuous, but can be redefined to make it continuous

Section Exercises

1. State in your own words what it means for a function [latex]f[/latex] to be continuous at [latex]x=c[/latex]. 2. State in your own words what it means for a function to be continuous on the interval [latex]\left(a,b\right)[/latex]. For the following exercises, determine why the function [latex]f[/latex] is discontinuous at a given point [latex]a[/latex] on the graph. State which condition fails. 3. [latex]f\left(x\right)=\mathrm{ln}\text{ }|\text{ }x+3\text{ }|,a=-3[/latex] 4. [latex]f\left(x\right)=\mathrm{ln}\text{ }|\text{ }5x - 2\text{ }|,a=\frac{2}{5}[/latex] 5. [latex]f\left(x\right)=\frac{{x}^{2}-16}{x+4},a=-4[/latex] 6. [latex]f\left(x\right)=\frac{{x}^{2}-16x}{x},a=0[/latex] 7. [latex]f\left(x\right)=\begin{cases}x,\hfill& x\neq 3 \\ 2x, \hfill& x=3\end{cases}a=3[/latex] 8. [latex]f\left(x\right)=\begin{cases}5, \hfill& x\neq 0 \\ 3, \hfill& x=0\end{cases} a=0[/latex] 9. [latex]f\left(x\right)=\begin{cases}\frac{1}{2-x}, \hfill& x\neq 2 \\ 3, \hfill& x=2\end{cases}a=2[/latex] 10. [latex]f\left(x\right)=\begin{cases}\frac{1}{x+6}, \hfill& x=-6 \\ x^{2}, \hfill& x\neq -6\end{cases}a=-6[/latex] 11. [latex]f\left(x\right)=\begin{cases}3+x, \hfill& x<1 \\ x, \hfill& x=1 \\ x^{2}, \hfill& x>1\end{cases}a=1[/latex] 12. [latex]f\left(x\right)=\begin{cases}3-x, \hfill& x<1 \\ x, \hfill& x=1 \\ 2x^{2}, \hfill& x>1\end{cases} a=1[/latex] 13. [latex]f\left(x\right)=\begin{cases}3+2x, \hfill& x<1 \\ x, \hfill& x=1 \\ -x^{2}, \hfill& x>1\end{cases}a=1[/latex] 14. [latex]f\left(x\right)=\begin{cases}x^{2}, \hfill& x<-2 \\ 2x+1, \hfill& x=-2 \\ x^{3}, \hfill& x>-2\end{cases}a=-2[/latex] 15. [latex]f\left(x\right)=\begin{cases}\frac{x^{2}-9}{x+3}, \hfill& x<-3 \\ x-9, \hfill& x=-3 \\ \frac{1}{x}, \hfill& x>-3\end{cases}a=-3[/latex] 16. [latex]f\left(x\right)=\begin{cases}\frac{x^{2}-9}{x+3}, \hfill& x<-3 \\ x-9, \hfill& x=-3 \\ -6, \hfill& x>-3\end{cases}a=3[/latex] 17. [latex]f\left(x\right)=\frac{{x}^{2}-4}{x - 2},\text{ }a=2[/latex] 18. [latex]f\left(x\right)=\frac{25-{x}^{2}}{{x}^{2}-10x+25},\text{ }a=5[/latex] 19. [latex]f\left(x\right)=\frac{{x}^{3}-9x}{{x}^{2}+11x+24},\text{ }a=-3[/latex] 20. [latex]f\left(x\right)=\frac{{x}^{3}-27}{{x}^{2}-3x},\text{ }a=3[/latex] 21. [latex]f\left(x\right)=\frac{x}{|x|},\text{ }a=0[/latex] 22. [latex]f\left(x\right)=\frac{2|x+2|}{x+2},\text{ }a=-2[/latex] For the following exercises, determine whether or not the given function [latex]f[/latex] is continuous everywhere. If it is continuous everywhere it is defined, state for what range it is continuous. If it is discontinuous, state where it is discontinuous. 23. [latex]f\left(x\right)={x}^{3}-2x - 15[/latex] 24. [latex]f\left(x\right)=\frac{{x}^{2}-2x - 15}{x - 5}[/latex] 25. [latex]f\left(x\right)=2\cdot {3}^{x+4}[/latex] 26. [latex]f\left(x\right)=\mathrm{-sin}\left(3x\right)[/latex] 27. [latex]f\left(x\right)=\frac{|x - 2|}{{x}^{2}-2x}[/latex] 28. [latex]f\left(x\right)=\tan \left(x\right)+2[/latex] 29. [latex]f\left(x\right)=2x+\frac{5}{x}[/latex] 30. [latex]f\left(x\right)={\mathrm{log}}_{2}\left(x\right)[/latex] 31. [latex]f\left(x\right)=\mathrm{ln}\text{ }{x}^{2}[/latex] 32. [latex]f\left(x\right)={e}^{2x}[/latex] 33. [latex]f\left(x\right)=\sqrt{x - 4}[/latex] 34. [latex]f\left(x\right)=\sec \left(x\right)-3[/latex] . 35. [latex]f\left(x\right)={x}^{2}+\sin \left(x\right)[/latex] 36. Determine the values of [latex]b[/latex] and [latex]c[/latex] such that the following function is continuous on the entire real number line.

[latex]f\left(x\right)=\begin{cases}x+1, \hfill& {1 }<{x }<{3 }\\ x^{2}+bx+c, \hfill& |x-2|\geq 1\end{cases}[/latex]

For the following exercises, refer to Figure 15. Each square represents one square unit. For each value of [latex]a[/latex], determine which of the three conditions of continuity are satisfied at [latex]x=a[/latex] and which are not.
Graph of a piecewise function where at x = -3 the line is disconnected, at x = 2 there is a removable discontinuity, and at x = 4 there is a removable discontinuity and f(4) exists. Figure 15
37. [latex]x=-3[/latex] 38. [latex]x=2[/latex] 39. [latex]x=4[/latex] For the following exercises, use a graphing utility to graph the function [latex]f\left(x\right)=\sin \left(\frac{12\pi }{x}\right)[/latex] as in Figure 16. Set the x-axis a short distance before and after 0 to illustrate the point of discontinuity.
Graph of the sinusodial function with a viewing window of [-10, 10] by [-1, 1]. Figure 16
40. Which conditions for continuity fail at the point of discontinuity? 41. Evaluate [latex]f\left(0\right)[/latex]. 42. Solve for [latex]x[/latex] if [latex]f\left(x\right)=0[/latex]. 43. What is the domain of [latex]f\left(x\right)?[/latex] For the following exercises, consider the function shown in Figure 17.
Graph of a piecewise function where at x = -1 the line is disconnected and at x = 1 there is a removable discontinuity. Figure 17
44. At what x-coordinates is the function discontinuous? 45. What condition of continuity is violated at these points? 46. Consider the function shown in Figure 18. At what x-coordinates is the function discontinuous? What condition(s) of continuity were violated?
Graph of a piecewise function where at x = -1 the line is disconnected and where at x = 1 and x = 2 there are a removable discontinuities. Figure 18
47. Construct a function that passes through the origin with a constant slope of 1, with removable discontinuities at [latex]x=-7[/latex] and [latex]x=1[/latex]. 48. The function [latex]f\left(x\right)=\frac{{x}^{3}-1}{x - 1}[/latex] is graphed in Figure 19. It appears to be continuous on the interval [latex]\left[-3,3\right][/latex], but there is an x-value on that interval at which the function is discontinuous. Determine the value of [latex]x[/latex] at which the function is discontinuous, and explain the pitfall of utilizing technology when considering continuity of a function by examining its graph.
Graph of the function f(x) = (x^3 - 1)/(x-1). Figure 19
49. Find the limit [latex]\underset{x\to 1}{\mathrm{lim}}f\left(x\right)[/latex] and determine if the following function is continuous at [latex]x=1:[/latex] 50. The function is discontinuous at [latex]x=1[/latex] because the limit as [latex]x[/latex] approaches 1 is 5 and [latex]f\left(1\right)=2[/latex]. 51. The graph of [latex]f\left(x\right)=\frac{\sin \left(2x\right)}{x}[/latex] is shown in Figure 20. Is the function [latex]f\left(x\right)[/latex] continuous at [latex]x=0?[/latex] Why or why not?
Graph of the function f(x) = sin(2x)/x with a viewing window of [-4.5, 4.5] by [-1, 2.5] Figure 20

Licenses & Attributions

CC licensed content, Specific attribution