Exercise 4Calculus › Single-variable calculus › Continuity › Continuous and discontinuous functionsHigh schoolAdded 2 Nov 2026
Continuity with parameters
#continuity#piecewise functions#parameters
Statement
Find the real numbers and for which the function
is continuous on .
Hint
Each piece is continuous on its own. Only the two points where the formula changes need attention: and .
Show solutionHide solution
Solution
Idea. The function is continuous inside each interval, because every formula is a polynomial. The only danger is at the junctions, where the pieces must connect without a jump.
At . The left value is , and the right limit is . We need .
At . The left limit is and , which equals the right limit. We need .
Solving. Subtracting the two equations gives , so and .
Remark. With these values the graph is made of pieces glued end to end. The function is continuous but not differentiable at and : the slopes are , and .