Example 20: is a continuous function
Show that the function defined by
where is any real number, is a continuous function.
Let and . Then
is a polynomial and is continuous, so their sum is continuous at every real number. Also is continuous at every real number.
A composite of continuous functions is continuous, so is continuous at every real number.
is a continuous function. Hence proved.
Want the reason behind every step, the basics and the checks?
Build in layers. The inside, , is a sum of a polynomial and the modulus function, both continuous, so is continuous (Theorem 1). Then is the modulus of : a composite with continuous, so is continuous (Theorem 2). No case analysis is needed, although doing one gives a useful check.
- Given
- for every real .
- To show
- is continuous at every real number.
- Plan
- Write with and . Show is continuous using Example 14, Example 7 and Theorem 1(1). Apply Theorem 2 with continuous (Example 7). Finally check by writing without modulus signs and testing the junction .
Basics you need
is continuous at every real number (Example 7, using Example 3 at 0).
If two functions are continuous at , so is their sum. Lesson: algebra of continuous functions
If is continuous at and is continuous at , then is continuous at . Basics: composite functions
when and when . This turns into a piecewise function for the check in Step 6. Basics: piecewise functions
Solution
The domain, and the inner and outer functions
and its modulus can be computed for every real , so the domain of is . Following the book, define
Then
The last operation in computing is the outer modulus, so is the outer function, and everything inside it, , is the inner function . (The inner contains its own ; that is part of , not of .)The pieces of are continuous
is a sum of two functions:
- is a polynomial, continuous at every real number (Example 14);
- is continuous at every real number (Example 7).
To use Theorem 1(1) we need each summand to be continuous at the point; both are continuous at every real number.Example 14 and Example 7.So is continuous (Theorem 1)
By Theorem 1(1), the sum is continuous at every real number :
This is the book's sentence " being a sum of a polynomial function and the modulus function is continuous".Theorem 1(1), Section 5.2.1. Lesson: algebra of continuous functionsThe outer function is continuous at
is continuous at every real number (Example 7), in particular at the number .
Theorem 2 needs the outer function continuous at the inner value . Because is continuous everywhere, this holds whatever is.Apply Theorem 2
is continuous at (Step 3) and is continuous at (Step 4), so by Theorem 2 is continuous at . As was any real number, is a continuous function.
As , the inner value approaches , and then its modulus approaches .Theorem 2, Section 5.2.1. Lesson: algebra of continuous functionsA check: write without modulus signs
For , , so . For , , so , which is greater than 1 because . So for every , the outer modulus changes nothing, and
Each piece is a polynomial. A point has an interval around it, of radius , that stays on one side of 0, so near the function is a single polynomial and is continuous at (Example 14). At the junction :
All three equal 1, so is continuous at 0 as well, confirming Step 5.
The graph of , same scale on both axes. For it is the blue line through and ; for it is the violet horizontal line . They meet at with a corner but no break. The case analysis is not needed for the proof, but it shows concretely what Theorems 1 and 2 guarantee: the two pieces meet at the same height. The corner at is allowed; continuity only forbids gaps and jumps.
with continuous (Theorem 1) and continuous (Example 7), so by Theorem 2 is a continuous function. Explicitly, for and for . This agrees with the textbook's solution.
and ; . Near 0: , , . The values on both sides approach .
- Choosing the wrong outer function. The outer function is the last modulus; the inside belongs to the inner function .
- Simplifying as . That is only valid for ; for , .
- Stopping at . Showing continuous is not the end; Theorem 2 is needed to pass continuity through the outer modulus.
- Theorems 1 and 2 together handle formulas built from known continuous functions by , , , and composition, with no limits to compute.
- A piecewise check at the junctions is a good way to confirm such an argument.
- Continuous does not mean smooth: has a corner at , the kind of point where Section 5.3 shows differentiability can fail.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Step 1 | Composition of functions, Chapter 1 (Basics: composite functions) | |
| Polynomials are continuous | Steps 2, 6 | Example 14, Section 5.2 |
| is continuous | Steps 2, 4 | Example 7, Section 5.2 |
| Sum of continuous functions is continuous | Step 3 | Theorem 1(1), Section 5.2.1 (Lesson: algebra of continuous functions) |
| Composite of continuous functions is continuous | Step 5 | Theorem 2, Section 5.2.1 |
| for , for | Step 6 | Definition of modulus (Basics: piecewise functions) |
| Continuity at a junction: LHL = RHL = value | Step 6 | Definition 1, Section 5.2 (Lesson: continuity at a point) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →