Given that,
Firstly, we show the continuity of above function at x = 1 and at x = 2
Hence, f(x) is continuous at all indicated points. Now, let us verify differentiability of the given function at x = 2
Hence, f(x) is continuous at x = 1 and x = 2 but not differentiable at x = 2