The function is not differentiable at
-1
0
1
2
when or , negative when
Also
Evidently f(x) is not differentiable at x=2 as .
Note : For all other values like is same as given by (A).
Study 40% syllabus and score up to 100% marks in JEE