The correct option is C f(x) is non-differentiable at x=2.
f(x)=⎧⎪
⎪
⎪⎨⎪
⎪
⎪⎩x2(0)+{x},0≤x<1x2(1)+{x},1≤x<2sinx−x+3,2≤x<3sinx+x−3,3≤x<4
f′(x)=⎧⎪
⎪⎨⎪
⎪⎩1,0<x<12x+1,1<x<2cosx−1,2<x<3cosx+1,3<x<4
Clearly, from the above defining of f(x) and f′(x), we can conclude that f(x) is continuous at x=1 since f(1)=f(1+)=f(1−)=1. But f(x) is non differentiable at x=1 since f′(1+)=3 but f′(1−)=1.
Also, at x=2, f(2+)=sin2+1 but f(2−)=5
So, f(x) is discontinuous at x=2 and hence f(x) is non-differentiable at x=2.