find the values of a and b that make the function f(x) differentiable