Question: If f(x) = x^2 + 2x + 1 for x < 0 and f(x) = kx + 1 for x >= 0, find k such that f is differentiable at x = 0.
Options:
Correct Answer: -1
Solution:
Setting the left-hand derivative equal to the right-hand derivative at x = 0 gives k = 2.