Example 12: for , for : continuous on its domain
Discuss the continuity of the function defined by
is not defined at , so its domain is all real . (So is not a point of discontinuity.)
For , , a polynomial. So is continuous at every .
For , , a polynomial. So is continuous at every .
is continuous at every point of its domain, so is a continuous function.
Want the reason behind every step, the basics and the checks?
Continuity is only tested at points of the domain. Neither line of the definition covers , so 0 is not in the domain of . Every point that is in the domain lies strictly inside one of the two pieces, where is a straight line and hence continuous. So is continuous at every point of its domain, which by Definition 2 makes it a continuous function, even though its graph has a gap at .
- Given
- for and for ; no rule for .
- To find
- At which points is continuous, and whether is a continuous function.
- Plan
- Find the domain . Show continuity at every point of and of . Then explain why is not examined, and apply Definition 2.
Basics you need
A piecewise function is defined exactly at the inputs covered by one of its conditions. A strict inequality such as does not include 0. Basics: piecewise functions
for constants , (algebra of limits, Class XI). Basics: what a limit is
Definition 1: for in the domain, is continuous at if . Definition 2: is a continuous function if it is continuous at every point of its domain. Lesson: continuity at a point
Used in Step 4 only, to see what happens near the excluded point 0: the left-hand limit uses , the right-hand limit uses . Basics: left-hand and right-hand limits
Solution
Find the domain
The first line covers every , the second every . The number 0 satisfies neither condition, and no line gives a value for it. So the domain is
In other words, is defined at all real numbers except 0.
Before asking "is continuous at ?" we must know which are allowed. Definition 1 only speaks about points in the domain, so finding the domain first tells us exactly which points to test.and are strict inequalities: neither includes 0. Compare Example 13, where "" does include 0. Basics: piecewise functionsPoints of ()
Fix . Then . Every with satisfies , so near we have and
So is continuous at every point of .
The distance from to 0 is . Inside that distance we never reach 0 or the positive numbers, so near the function is just the line , and the limit of a line is found by substituting.Points of ()
Fix . Then . Every with satisfies , so near we have and
So is continuous at every point of .
Same reasoning on the positive side: within distance of all inputs are positive, so only the rule is used.What about ?
0 is not in the domain, so does not exist and Definition 1 does not apply at 0. In this book's sense, 0 is neither a point of continuity nor a point of discontinuity: it is simply not a point where the question is asked.
It is still instructive to look at the one-sided limits there, because a limit does not need :
So exists, but there is no value to compare it with.
This is the heart of the example. The graph has a gap at , so to draw it we must lift the pen. The book's point is that lifting the pen only at a point where is not defined does not spoil continuity of the function: continuity is a statement about points of the domain only, exactly as for in Example 9.If we added the value , the new function would be , continuous at 0 as well. But that is a different function from the one in the question. Basics: one-sided limitsConclusion
By Steps 2 and 3, is continuous at every point of its domain . By Definition 2, is a continuous function.
The graph of , same scale on both axes (compare Fig 5.6). The blue line for and the violet line for both head for , drawn as an open dot because has no value at 0. Definition 2 asks for continuity at every point of the domain, and Steps 2 and 3 cover all of it. The excluded point 0 is not part of the requirement.
is defined at every real number except 0 and is continuous at every point of its domain . Hence is a continuous function; the point 0, not being in the domain, is not a point of discontinuity. This agrees with the textbook's solution.
At : , , , all close to 1. At : , , . Near the gap: and , both close to 2, while is undefined.
- Calling 0 a point of discontinuity. A point of discontinuity must be in the domain. 0 is not, so this function has no points of discontinuity at all.
- Reading as . Then would be 2. The book's definition uses strict inequalities on both lines.
- Equating "continuous" with "drawn without lifting the pen". That picture works on an interval. Here the domain itself has a hole, and the pen is lifted only there.
- Always find the domain first: continuity questions are asked only at points of the domain.
- A gap in the graph at a point outside the domain does not make the function discontinuous (Definition 2).
- Same lesson as Example 9 () and later Example 18 (): continuous functions can have graphs in several pieces.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| A piecewise function is defined only where a condition holds | Step 1 | Definition of a piecewise function (Basics: piecewise functions) |
| Steps 2, 3, 4 | Algebra of limits, Class XI (Basics: limits) | |
| Continuity is defined at points of the domain | Steps 2–4 | Definition 1, Section 5.2 (Lesson: continuity at a point) |
| Continuous function = continuous at every point of the domain | Step 5 | Definition 2, Section 5.2 |
| One-sided limits | Step 4 | Section 5.2 (Basics: one-sided limits) |
| A function undefined at 0 can still be continuous | Step 4 | Example 9, Section 5.2 |
| Graph of | Step 5 | Fig 5.6, 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 →