Learning Outcomes
- Determine whether a function is continuous at a number.
- Determine the input values for which a function is discontinuous.
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 $24 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.
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.
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.
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].
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.
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(a)[/latex] exists.
Condition 2: [latex]\underset{x\to a}{\mathrm{lim}}f(x)[/latex] exists at [latex]x=a[/latex].
Condition 2: [latex]\underset{x\to a}{\mathrm{lim}}f(x)=f(a)[/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.
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] .
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
- [latex]f\left(a\right)[/latex] does not exist or
- [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.
- [latex]f\left(x\right)=\frac{{x}^{2}-2x - 15}{x - 5}[/latex]
- [latex]g\left(x\right)=\begin{cases}x+1, \hfill& x<2 \\ -x, \hfill& x\geq2\end{cases}[/latex]
Try It
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]
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]\begin{align}f\left(x\right)\end{align}[/latex], determine if the function is continuous at [latex]\begin{align}x=a\end{align}[/latex].
- Check Condition 1: [latex]f\left(a\right)[/latex] exists.
- Check Condition 2: [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)[/latex] exists at [latex]x=a[/latex].
- Check Condition 3: [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)=f\left(a\right)[/latex].
- 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
- [latex]x=3[/latex]
- [latex]x=\frac{8}{3}[/latex]
Try It
Determine whether the function [latex]f\left(x\right)=\begin{cases}\frac{1}{x}, \hfill& x\leq 2 \\ 9x-17.5, \hfill& x>2\end{cases}[/latex] is continuous at [latex]x=2[/latex].
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].
Try It
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.
Try It
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.
- 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].
- Check each condition for each value to determine if all three conditions are satisfied.
- Determine whether each value satisfies condition 1: [latex]f\left(a\right)[/latex] exists.
- Determine whether each value satisfies condition 2: [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)[/latex] exists.
- Determine whether each value satisfies condition 3: [latex]\underset{x\to a}{\mathrm{lim}}f\left(x\right)=f\left(a\right)[/latex].
- 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]
Try It
Determine where the function
[latex]f\left(x\right)=\begin{cases}\frac{\pi x}{4}, &x<2 \\ \frac{\pi}{x}, &2\leq x \leq 6 \\ 2\pi x, &x>6\end{cases}[/latex]
is discontinuous.
Try It
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.
- 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?
- 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]
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
Candela Citations
- Precalculus. Authored by: OpenStax College. Provided by: OpenStax. Located at: http://cnx.org/contents/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1/Preface. License: CC BY: Attribution