Worked example
Let f(x) equal ax + b for x < 1 and for x ≥ 1. Choose a,b for differentiability at 1.
Worked solution
- Method and reasoningDifferentiability requires continuity and matching left and right slopes at the join.
- Continuity requires a + b = 1.
- Equality of one-sided derivatives gives a = 2.
- Therefore b = −1.