Consider a function whose graph is shown in the following figure. We can intuitively say that is discontinuous at , and and is continuous at any other points; we don’t have to lift the pen to draw the graph of except when .
Figure 1: The function is not continuous at and .
Read more detail about the above example
Hide the details
The function is discontinuous at because it is not defined there.
The function has a jump discontinuity at ; the left-hand limit is not equal to the right-hand limit. Because , we say the function is continuous from the left.
The function is not continuous at because is not equal to the limit of the function as .
The function is discontinuous at because However, we intuitively say the function continuous at because Because are endpoints of the domain of , only one-sided limits exist.
Here is the formal definition of continuity.
Definition 1: The function is continuous at if
It follows from the above definition that when the function is continuous at then
is defined at .
exits (which requires that to be defined on some open interval containing ).
When is not continuous at we say is discontinuous at or has a discontinuity at .
Left and Right Continuities
In a similar fashion, we can define left and right continuities.
Definition 2: The function is left-continuous at (or continuous from the left) if The function is right-continuous at (or continuous from the right) if
It follows from the definitions that the function is continuous at if and only if it is left-continuous and right-continuous at the point .
Continuity on an Interval
If a function is continuous at every in an open interval , we say it is continuous over .
We say a function is continuous over a closed interval if it is continuous over the open interval and is left-continuous at and right-continuous at .
Example 1
Show that is continuous on .
Solution
For , we have
Similarly, we can show The graph of is shown in the following figure.
Figure 2
Types of Discontinuity
1. Removable Discontinuity
We say that has a removable discontinuity at if and either is not defined at or . We can make continuous at , if is assumed as the value of
Read More on Removable Discontinuity
Hide More Information
For example, the function is not defined for (because there would be division by zero), but for every other value of , Because we obtain Although the function is not defined when , if we arbitrarily assign the value 4 when (that is, ), then it becomes continuous at (see Figure 3).
(a) is discontinuous at
(b) The discontinuity of at is removed if we define .
Figure 3
2. Jump Discontinuity
We say has a jump discontinuity at if the right and left limits exist but have different values
Read More on Jump Discontinuity
Hide More Information
For example, the Heaviside step function is defined as This function has a jump discontinuity at because We note that is right continuous at because . (See Figure 4).
Figure 4: Graph of
The greatest integer function (also known as the floor function) (or ) has a jump discontinuity at every integer (see Figure 5). For example,
Figure 5: Graph of
3. Infinite Discontinuity
We say has an infinite discontinuity at if one of the one-sided limits or both of them are plus or minus infinity.
Read More on Infinite Discontinuity
Hide More Information
For example, has an infinite discontinuity at (See Figure 6). Note that we can choose a value for but we cannot make it continuous at because and is not a number to assign it to .
Figure 6: Graph of .
4. Oscillating Discontinuity
Read More on Oscillating Discontinuity
Hide More Information
For example, oscillates between and infinitely often as (See the following figure). Because this function does not approach a single number, it does not have a limit as .
Figure 7: Graph of .
A function that is discontinuous at every point of its domain
Hide the example
Consider the Dirichlet function defined as This function is discontinuous at every point; fails to have a limit at any point.
Suppose has a limit at a point . Suppose is given, we should be able to find a such that Because each deleted neighborhood contains a rational point and irrational point , we should have and and hence Because this is impossible, cannot have a limit.
Elementary Continuous Functions
Here are some elementary continuous functions
Power functions. where is a positive integer is continuous everywhere.
Polynomials are continuous everywhere, because for any ,
Rational functions. Let and be two polynomials and . Then the rational function is continuous at . In other words, a rational function is continuous on their domains and is discontinuous at the points where the denominator is zero.
Root functions (1). where is a positive odd integer is continuous everywhere.
Root functions (2). where is a positive even integer is continuous on its domain .
The sine and cosine functions are continuous on .
Figure 8: and are continuous everywhere.
The tangent, cotangent, secant and cosecant functions are continuous where they are defined; that is, on their domains. Specifically is continuous everywhere except where ; that is when for all integers . Thus is continuous on
Figure 9: is continuous on its domain
The graphs of the rest of trigonometric functions are illustrated in Figure . The domains of these functions are apparent from their graphs.
(a)
(b)
(c)
Figure 10
Inverse trigonometric functions are continuous on their domains. For example, and are continuous on and is continuous on .
Exponential functions. is continuous on its domain .
Logarithmic functions. is continuous on its domain .
In fact, most of the functions that we deal with in this course are continuous on their domains. Some exceptions are:
The greatest integer function (also known as the floor function) (or ) which is discontinuous at every integer (although it is defined everywhere).
Graph of
Piece-wise defined functions are not necessarily continuous on their domains. For example, is continuous everywhere but the sign function and the Heaviside step function are continuous everywhere except when . [The Heaviside step function is right-continuous at ]
(a) is continuous everywhere
(b) is discontinuous at
(c) is discontinuous at
Figure 11
Example 2
Let
Solution
For what value of the constant is the function continuous at ? The function is right-continuous at : Therefore, must be left-continuous at to be continuous at . That is, we must have or or
Example 3
For what values of is there a discontinuity in the graph of
Solution
is a rational function, so it is discontinuous at the points where the denominator is zero: [Recall that if , then ] Therefore, is discontinuous at and . However, has a removable discontinuity at , because [Recall that ], and That is, if we define a new function then is continuous at , and its graph does not have a hole when (compare with the graph of shown in the following figure.
Figure 12: Graph of .
Algebraic Operations on Continuous Functions
Theorem 1:If the functions and are continuous at , and is a number then the following functions are continuous at :
1. Sum 2. Difference 3. Constant Multiple 4. Product 5. Quotient 6. Power
The results of the above theorem follow from the corresponding Limit Laws. For instance, to prove the sum property we have
Continuity of Composite Functions
Theorem 2:If and is continuous at the point , then
Intuitively, the above theorem is plausible because means that when is close to , is close to and the continuity of at the point means that if the input (which is here ) is close to , the output (which is here ) is close to .
Show the rigorous proof
Hide the rigorous proof
The mathematically rigorous proof is as follows. Let be given. We need to find a number such that for all Because is continuous at , we have and therefore, there exists a number such that for all [Because is continuous, we did not exclude and wrote instead of ].
Because , there exists a such that for all If we let , we can combine these two statements: For all if then which implies that . From the definition of limit, it follows that
The theorem holds when is an endpoint of the domain, provided we use an appropriate one-sided limit in place of a two-sided one.
Proof of the Root Rule from Sec. 4.4
Hide the proof of the root rule
We can use Theorem 2 to prove Theorem 5 from Section 4.4. Let assume and the indicated th roots exist. Let . In Section 4.4, we discussed that (see Theorem 4) That is, is continuous on its domain. Applying Theorem 2 which states that we obtain
Example 4
Evaluate the following limits
(a)
(b)
(c)
Solution
(a) Because is a continuous function everywhere, by Theorem 2 we have If we substitute in we get , which shows the numerator and the denominator have a common factor: Therefore,
(b) Because is a continuous function, we have and again because is a continuous function, we have Therefore,
(c) Because is a continuous function on its domain , we have Because is continuous everywhere, That is,
Example 5
Find
Solution
Because is continuous everywhere, [Recall that where is a rational number (Theorem 1 in Section 4.7)]. Thus The graph of is shown below.
Figure 13: Graph of . We can see from this figure that .
Example 6
Find
(a)
(b)
(c)
(d)
Solution
(a) Because is a continuous function, we can find the limit of its input first. That is, [To be accurate, we cannot write because is not a number]
(b) Similar to part (a)
(c)
(d) The graph of is shown in the following figure.
Theorem 3:If is a continuous function at and if is continuous at then is continuous at
Show the proof
Hide the proof
To prove the above theorem, we need to show or Because is continuous at , then and because is continuous at by Theorem 2
Example 7
Where are the following functions continuous?
(a)
(b)
(c)
Solution
(a) We have where Because both and (which is a polynomial) are continuous on , it follows from Theorem 3 that is also continuous on .
(b) Notice that is the composition of the following functions : Obviously is continuous on . We can write where Because and are continuous functions on and , by the product and quotient rules (Theorem 1), is continuous on too. Because and are both continuous on and , it follows from Theorem 3 that is also continuous on .
(c) We have where The square root function is continuous on its domain , and which is a polynomial is continuous on . So by Theorem 3, is continuous on its domain, which is We can use the sign table to determine where : So we can write