The function has no value at , so it is discontinuous there. Everywhere else it equals , because the numerator factors as . Its graph is the line with a single point missing at , and declaring fills that point and makes continuous. Repairs like this, by choosing one function value or a constant inside a formula, work for some discontinuities and are impossible for others, and the limit at the point decides which.
A limit that exists can be matched
Topic 1.11 defined continuity at with three conditions: is defined, exists, and the two are equal. When you repair a function at , you are allowed to choose . You are not able to change the limit by doing so, because the limit as depends only on the values of at inputs near , never on the value at itself. So the repair works exactly when there is a finite limit to match.
That splits the three kinds of discontinuity from topic 1.10 cleanly:
| Discontinuity at | Limit at | Can choosing fix it? |
|---|---|---|
| Removable (a hole, or a point moved off the curve) | exists, equal to some number | Yes: set |
| Jump | left and right limits are different numbers | No: can equal at most one of them |
| Infinite | at least one side is unbounded | No: no number matches |
This is where the name "removable" comes from: it is the one kind of discontinuity that a single new function value removes.
There are two versions of the repair. If is undefined (a hole), you define . If is defined but is the wrong number (a point displaced from the curve), you redefine it. For instance, let for and . Writing and using (topic 1.8) gives . The value is defined but wrong, and changing it to makes continuous at 0.
Finding the number to fill in
For a quotient at an input where the denominator is 0, substitute into the numerator first.
- Numerator not 0. The quotient behaves like a nonzero number divided by something shrinking to 0, so it grows without bound: an infinite discontinuity, which cannot be removed (topic 1.14 covers this behavior).
- Numerator also 0. The form says nothing yet. Simplify with the algebra of topic 1.6 (factor and cancel, multiply by a conjugate, use a trig limit) and find the limit. If it exists, that number is the value to fill in.
For example, gives at . Multiplying the top and bottom by the conjugate turns the numerator into , so for ,
Defining removes the discontinuity. The simplified formula agrees with only for , so cancelling finds the limit, and stating is the separate step that does the repair.
Matching the pieces at a boundary
A piecewise-defined function uses one formula on one side of a boundary point and another formula on the other side:
Suppose and are each continuous at , as polynomials, exponentials, sines and cosines are. Near on the left, uses , so ; near on the right, uses , so . The value at itself comes from whichever piece includes , here . You evaluate at even though never uses at : the one-sided limit only looks at inputs near , and is continuous there, so its limit is its value.
Continuity at needs the left limit, the right limit and to be one number. With two pieces that becomes one equation, . If the function also lists a separate value at , say , all three must agree: .
Each boundary gives one equation, so one unknown constant can usually be pinned down by one boundary, and two constants need two boundaries (as in Example 3). For example,
is continuous at 3 when , that is, . Both pieces then give at .
The matching condition is about the boundary only. Each piece also has to be continuous on its own interval, which fails if, say, a rational piece has a zero denominator inside the interval where it is used. Check that before you report that a function is continuous everywhere.
When no value works
"Make continuous, if possible" allows for the answer "it isn't possible." Two things can cause that.
The discontinuity is not removable. If the limit at is infinite or the one-sided limits differ, no function value repairs it, as in the table above.
The equation for the constant has no solution. In
matching at 0 requires , which no number satisfies. The constant shifts both pieces up or down by the same amount, so the gap of 1 between them at never closes; has a jump at 0 for every . An equation for that is quadratic can fail the same way when its discriminant is negative. When you find no solution, say so and say why: "no value of makes the one-sided limits equal."
Worked examples
Let . Find every value of where is discontinuous. For each one, either define there to make it continuous or explain why that is impossible.
Show solution
A rational function is continuous everywhere it is defined, so the only candidates are the zeros of the denominator, , which are and .
Factor both parts to see what is shared. The difference of cubes gives , and . For ,
At : the original is , and the simplified form gives
The limit exists, so the discontinuity is removable. Define .
At : the numerator of the simplified form is , not 0, while the denominator goes to 0. The quotient is unbounded near , so this is an infinite discontinuity, and no value of can make continuous there.
The factor appeared in both numerator and denominator, which is what made removable. The factor appeared only in the denominator, which is what made an asymptote.
Find all values of for which the function
is continuous at .
Show solution
Both pieces are polynomials in , so each is continuous, and the one-sided limits are the pieces evaluated at 2:
Continuity at 2 requires , or . This factors as , so or .
Both roots solve the continuity equation itself, so both are answers; substituting them back only confirms the arithmetic. With , the left piece gives and the right gives . With , the left gives and the right gives . Both values of work, and the answer must list both.
Let be the function defined by
where and are constants.
(a) Find .
(b) Find the values of and for which is continuous at both and . Justify your answer.
(c) For the values found in part (b), is continuous for all real numbers? Explain.
(d) Suppose instead that has the value from part (b) but . What kind of discontinuity does have at , and can it be removed by changing only the value of ?
Show solution
(a) For , write . As , , so
(b) At : the left limit is 4 from part (a). The middle piece is linear, so the right limit is , and . Continuity at 0 requires .
At : the middle piece gives . For the numerator factors as , so there and
Continuity at 3 requires . With , and .
Justification, as you would write it: with and , and , so is continuous at and .
(c) Yes. On , is a quotient of continuous functions whose denominator is never 0 there. On it is a linear function. On it is a rational function whose denominator is never 0 there. So is continuous on each open piece, and part (b) makes it continuous at the two boundaries.
(d) With and , the left limit at 3 is and the right limit is still 13. Both one-sided limits are finite and unequal, so has a jump discontinuity at . Changing cannot remove it: does not exist, and continuity requires that limit to exist and equal .
Where students lose points
On the exam
Questions that ask for a constant making a piecewise function continuous expect you to show the equation you solved, built from the one-sided limits and the function value at the boundary, and to state your constants. A justification that the result is continuous names the three quantities and shows they are equal, as in Example 3(b). Topic 2.4 adds a second condition when a question asks for a function that is both continuous and differentiable at a boundary; this topic's equation is always the first of the two.
Check yourself
Question 1
Let for and . What value of makes continuous at ?
- A
- B
- C
- D
No value works, because has a vertical asymptote at .
Show answer
A
Both the numerator and the denominator are 0 at , so factor: for , and the limit at 2 is . Choice D reacts to the zero denominator without checking the numerator; the asymptote is at , where only the denominator is 0.
- A
Question 2
The function is continuous at . What is the value of ?
- A
- B
- C
- D
Show answer
B
The left limit is and the right limit is . Setting them equal gives , so both limits are 2, and continuity also needs to equal that common limit: . Choice A is the value of , which is where students stop when they match only the two formulas.
- A
Question 3
Is there a real number that makes continuous at ? If so, find it.
Show answer
No real value of works.
Matching the pieces at 1 requires , that is, . Its discriminant is , so the equation has no real solution, and for every the one-sided limits at 1 differ (a jump).
Question 4
Let for , where is a constant. Find the value of and the value of that make continuous at .
Show answer
and .
The denominator goes to 0, so the limit can exist only if the numerator also goes to 0: , so . Otherwise the discontinuity is infinite and cannot be removed. With , multiplying by the conjugate gives for , which approaches , so define .