Question
Find the values of and such that is continuous at and differentiable there:
Solution — Step by Step
Continuity at requires the left and right limits to match:
The left derivative at is . The right derivative is . For differentiability:
From : .
The values are and .
Why This Works
Continuity at a point requires the function to “join up” — left limit = right limit = function value. Differentiability is stricter: the slopes from the left and right must also match. Together, two conditions pin down two unknowns.
This is the standard JEE/CBSE setup: a piecewise function with two parameters, joined at a single point. The trick is to write both conditions cleanly and solve the linear system.
Alternative Method
Compute the left and right derivatives from first principles. For : , so . For : , so . Equating gives . Then continuity gives . Same answer.
For a function defined piecewise at a join point: continuity is one equation, differentiability gives one more. Two parameters can be uniquely determined; three or more need extra conditions.
Common Mistake
Imposing only continuity and trying to find both and — leads to infinitely many solutions. The fix: read the problem carefully. If “differentiable” is stated, both conditions apply. CBSE 2023 had this exact phrasing.