Given:
=
First , we will show that f(x) is continuos at .
We have,
(LHL at x=2)
(RHL at x = 2)
and
Thus, = = .
Hence the function is continuous at x=2.
Now, we will check whether the given function is differentiable at x = 2.
We have,
(LHD at x = 2)
(RHD at x = 2)
Thus, LHD at x=2 ≠ RHD at x = 2.
Hence, function is not differentiable at x = 2.