Let f(x)=⎧⎪⎨⎪⎩x∫0{1+|1−t|}dtifx>25x−7ifx≤2 then
Let f(x)={∫x0{1+|1−t|}dtx>25x−7x≤2}
Let y=∫x0{1+|1−t|}dt as x>2
y=∫10(1+1−t)dt+∫x1tdt
y=2−12+(x2−1)2
y=1+x22
f(x)={1+x22,x>25x−7,x≤2}
f(2+)=1+42=3
f(2−)=10−7=3
Differentiating with respect to x we get
f1(x)={x;x>25;x≤2}
We can see that it is not differentiable at x=2 but continuous at x=2