Exercise 5.1 · Q32: is a continuous function
32. Show that the function defined by is a continuous function.
Let and . Then
and the modulus function are continuous at every real number.
Let be any real number. Then is continuous at and is continuous at . The composite of continuous functions is continuous, so is continuous at :
is a continuous function. Hence proved.
Want the reason behind every step, the basics and the checks?
To compute you first take the cosine, then the absolute value. So is a composite: "cosine" inside, "modulus" outside. Both are continuous at every real number (Remark after Example 17, and Example 7), so Theorem 2 makes the composite continuous. The graph has sharp corners where , but a corner is not a break.
- Given
- , real (radians).
- To show
- is continuous at every point of its domain.
- Plan
- (1) Domain. (2) Write with , . (3) is continuous. (4) is continuous. (5) Theorem 2 at an arbitrary . (6) A direct check at a corner, .
Basics you need
: apply the inner function first, then the outer function . Basics: composite functions
If is continuous at and is continuous at , then is continuous at (Section 5.2.1). Lesson: algebra of continuous functions
for and for ; it is continuous at every real number, including 0 (Examples 3 and 7). Basics: piecewise functions
for every real (Remark after Example 17). Basics: trigonometric identities
For the direct check at a corner we compute the left-hand and right-hand limits separately. Basics: left-hand and right-hand limits
Solution
The domain is all of
is defined for every real , and the modulus of every real number is defined. So is defined for all real .
"Continuous function" means continuous at every point of the domain (Definition 2), so we record the domain first. Nothing is excluded.Write as a composite
Let
Then for every real ,
The range of is , which lies inside the domain of , so the composite is defined everywhere.
This is the order in which you would press calculator keys: cos first, then the absolute value. The other order, , would be , which is a different function (although it happens to equal , since cosine is even).Inner function first, outer function second (Basic 1). Basics: composite functionsThe inner function is continuous everywhere
For every real , . With :
This is the "similar proof" the textbook mentions after Example 17. It uses and as , limits from Class XI (Limits and Derivatives) that Example 17 uses without proof.Cosine is continuous (Basic 4). Basics: trigonometric identitiesThe outer function is continuous everywhere
This is Example 7. In brief, for a point :
- if , near we have , so ;
- if , near we have , so ;
- if , the left-hand limit is , the right-hand limit is , and (Example 3).
The only delicate point for is , where the formula changes; the one-sided limits there both equal 0, which is the value. So is continuous at every real number.Modulus as a two-piece function (Basic 3). Basics: piecewise functionsApply Theorem 2 at an arbitrary point
Let be any real number. is continuous at (Step 3), and is continuous at (Step 4, since is continuous at every real number). By Theorem 2, is continuous at :
As was arbitrary, is continuous at every real number, so it is a continuous function.
Theorem 2 asks for continuity of the outer function at the particular inner value . Because is continuous everywhere, that holds whatever turns out to be, including .Theorem 2, Section 5.2.1; Example 20 uses as an outer function in the same way. Lesson: algebra of continuous functionsA direct look at a corner:
The most suspicious points are where , because there the modulus switches from "leave alone" to "flip the sign". Take , where .
- Just left of , , so , and .
- Just right of , , so , and .
Left-hand limit right-hand limit value : continuous at , as Step 5 promised. The same happens at every odd multiple of .
The dashed curve is ; the blue curve keeps its arches above the axis and flips the ones below. Where (at , ) the blue graph touches the axis at a sharp corner, but it never lifts off the page. The general argument already covers these points; the direct check shows why the corners cause no trouble: both sides arrive at height 0, which is the value. A corner changes the direction of the graph, not its height. (Corners do matter for differentiability, Section 5.3.)One-sided limits (Basic 5). Basics: left-hand and right-hand limits
is the composite of the continuous functions and , so by Theorem 2 it is continuous at every real number; it is a continuous function. (The answer key gives no separate answer for this "show that" question.)
Near the corner :
Both are within 0.01 of , and shrink with the step. ✓
- "The graph has corners, so it is not continuous." Corners affect differentiability, not continuity. Continuity only asks that limits equal values.
- Getting the layers backwards. Inner is , outer is . The composite the other way round is .
- Forgetting to justify continuity of at 0. That is exactly the point Example 3 handles with one-sided limits.
- is always continuous: modulus is a continuous outer layer.
- Theorem 2 turns "continuous inside continuous" into a one-line proof.
- Sharp corners are allowed in a continuous graph; jumps and holes are not.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| A continuous function is continuous at every point of its domain | Steps 1, 5 | Definition 2, Section 5.2 |
| Cosine is continuous | Steps 3, 6 | Remark after Example 17, Section 5.2.1 |
| Step 3 | Class XI, Trigonometric Functions | |
| , as | Step 3 | Class XI, Limits and Derivatives (used without proof in Example 17) |
| The modulus function is continuous (including at 0) | Step 4 | Examples 3 and 7, Section 5.2 |
| Continuity of a composite | Step 5 | Theorem 2, Section 5.2.1 (Lesson: algebra of continuous functions) |
| Continuity at : left-hand limit, right-hand limit and equal | Step 6 | Definition 1, Section 5.2 (Lesson: continuity at a point) |
| just left of , just right | Step 6 | Signs of cosine by quadrant, Class XI, Trigonometric Functions |
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 →