The function
continuous at x=1
derivable at x=4
continuous at x= -1
derivable at x=3
and, f(1)=|1-3|=2.
is continuous at x=1.
Since
and, f(3)=0. Therefore, f(x) is continuous at x=3.
Now,
So, f(x) is differentiable at x=1.
Study 40% syllabus and score up to 100% marks in JEE