Question
Find the values of and such that the function
is differentiable at .
Solution — Step by Step
For to be differentiable at , it must first be continuous. So:
Left limit: . Right limit: .
Continuity requires: .
The left and right derivatives at must be equal.
Left derivative: . Right derivative: , so at , it’s .
Setting equal: .
From step 1, .
Final answer: , .
Why This Works
Differentiability is a stronger condition than continuity. We need the function to be continuous (no jump) AND smooth (no kink) at the boundary. That gives two equations in two unknowns.
If we only impose differentiability via derivatives, we’d miss the continuity condition. Always check continuity FIRST when stitching piecewise functions.
Alternative Method
Compute the left and right derivatives from the limit definition:
This is mechanically equivalent but slower. The piecewise-and-match approach above is cleaner.
For piecewise problems, the recipe is always: (1) match function values at the boundary, (2) match derivatives at the boundary. Two equations, solve for unknowns. Drill this — it appears in CBSE every year.
Common Mistake
Students sometimes only impose differentiability () and forget continuity. Without continuity, the “derivative” at the boundary doesn’t exist in the first place — derivatives require continuity as a prerequisite. So always do both.