Example 13: for , for : continuous everywhere
Discuss the continuity of the function given by
For , , a polynomial. So is continuous at every .
For , , a polynomial. So is continuous at every .
At : and
Since , is continuous at .
is continuous at every real number, so is a continuous function.
Want the reason behind every step, the basics and the checks?
Split the real line at the junction 0 into three disjoint parts: , , . On the two open parts is a polynomial ( or ), and polynomials are continuous. At the junction both pieces arrive at the same height, 0, and that is also the value . Three equal numbers: continuous at 0 too, so is continuous everywhere.
- Given
- for and for .
- To find
- Where is continuous, and whether is a continuous function.
- Plan
- Domain first. Then the book's partition , , : continuity on and from the piece formulas, then the left-hand limit, right-hand limit and value at 0, each on its own line.
Basics you need
"" means " or ", so 0 uses the first line: . The second line is only for . Basics: piecewise functions
(Example 6) and (product rule of limits: ), from either side. Basics: what a limit is
At the junction, the left-hand limit uses only (rule ) and the right-hand limit uses only (rule ). Basics: left-hand and right-hand limits
is continuous at (in the domain) when the left-hand limit, right-hand limit and are equal; a continuous function is continuous at every point of its domain. Lesson: continuity at a point
Solution
Find the domain and partition it
Every real number satisfies exactly one of , , so is defined at every real number: the domain is . Following the book, split into three disjoint sets:
The formula changes at 0 only. Points of and lie strictly inside one piece, so a single formula governs all nearby inputs. The point 0 is where two formulas meet, so it gets its own case.and the three sets do not overlap, so these three cases examine every real number exactly once. Basics: piecewise functionsCase 1: points of ()
Fix . Then . Every with is negative, so near we have and
So is continuous at every point of .
Within distance of a negative number all inputs stay negative, so only the rule is used. The book says "it is easy to see" and points to Example 2 (where is shown continuous at 0); the same limit calculation works at any .Case 2: points of ()
Fix . Then . Every with is positive, so near we have and
So is continuous at every point of .
Near a positive , is the identity function, which is continuous at every real number by Example 6.Example 6: the identity function is continuous.Case 3: at , the value
Since , the first line applies:
The condition includes the junction point itself. Using would happen to give the same number here, but only by luck; the correct line is the first.Case 3: the left-hand limit at 0
For the rule is , so
Inputs approaching 0 from the left are negative and use the second line. For example and : the outputs shrink to 0, even faster than the inputs.Case 3: the right-hand limit at 0
For the rule is , so
Inputs approaching 0 from the right are positive and use the first line, where the output equals the input, so the outputs go to 0 as well.Case 3: compare
All three are equal, so and is continuous at 0.
Definition 1 asks for exactly this: both one-sided limits exist, agree, and equal the value. In the graph, the parabola and the line meet at the origin with no gap and no jump.Conclusion
Cases 1, 2 and 3 cover every real number, and is continuous in each. So is continuous at every point of its domain , and by Definition 2, is a continuous function.
The graph of , same scale on both axes (compare Fig 5.7). Left of the y-axis it is the parabola (blue), right of it the line (violet). Both pieces reach the origin, and the filled rose dot is the value . The graph can be drawn in one stroke. It does have a sharp turn at the origin: the parabola arrives flat (slope 0) and the line leaves with slope 1. That corner does not affect continuity; it matters for differentiability, which Section 5.3 studies.
is continuous at every , at every , and at 0 (left-hand limit, right-hand limit and all equal 0). Hence is a continuous function; it has no point of discontinuity. This agrees with the textbook's solution.
Near 0: , , , , . All approach 0 from both sides. Near : , , , both close to 4.
- Taking from the wrong line. "" contains 0, so the first line gives .
- Skipping the junction. Knowing each piece is continuous is not enough; two continuous pieces can still meet with a jump (as in Example 10). The point 0 must be tested.
- Confusing a corner with a break. The graph turns sharply at 0 but has no gap, so is continuous there.
- Partition the domain into the open pieces and the junction points; handle the open pieces by the formulas and each junction by three separate numbers.
- When the two one-sided limits at a junction agree and equal the value, the function is continuous there, however different the two formulas look.
- Continuity allows corners; Section 5.3 shows that corners are where differentiability can fail.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| "" includes 0; each line applies only on its condition | Steps 1, 4 | Definition of a piecewise function (Basics: piecewise functions) |
| Steps 2, 5 | Algebra of limits, Class XI; Example 2, Section 5.2 (Basics: limits) | |
| Steps 3, 6 | Example 6, Section 5.2 | |
| One-sided limits | Steps 5–7 | Section 5.2 (Basics: one-sided limits) |
| Continuity at a point; continuous function | Steps 2, 3, 7, 8 | Definitions 1 and 2, Section 5.2 (Lesson: continuity at a point) |
| Graph of | Step 8 | Fig 5.7, Section 5.2 |
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 →