How can I choose a constant to make a piecewise function continuous?
Quick answer
At the point where the formula changes, continuity requires the left-hand limit and right-hand limit to agree and their common value to equal the function’s value at that point. Calculate each side using its own formula, set them equal, and solve for the unknown constant. Then substitute the result back to check that both limits and the defined function value match. [S1]
The question, the details, the next step.
A practical checklist
Find the point where the piecewise rule changes.
Identify the formulas used on either side and the piece that includes the joining point.
Evaluate the left-hand and right-hand limits using their respective formulas.
Evaluate the function at the joining point using the piece that includes it.
Set the limits equal, set their common value equal to the function value, and solve for the constant.
Substitute the result back and confirm the left limit, right limit, and function value all match.
A few more useful answers
What if the two side limits cannot be made equal?
Then the two-sided limit does not exist at that point, so the function cannot be continuous there. Check your limit expressions and whether the unknown constant appears in the pieces you are allowed to change.
Does matching the two limits guarantee continuity?
Not by itself: the common limit must also equal the function’s value at the joining point. The function must be defined there as well. [S1]
Can this method check continuity everywhere?
It checks the joining point you used. A piecewise function may need separate checks at other rule changes; this calculation alone does not establish continuity elsewhere.
Sources
References used for this guide.
- [S1] OpenStax Calculus Volume 1, Section 2.4: Continuity openstax.org · Checked
