We test the function f(x) for differentiability at x=0 and x= Only.
For other values of x,f(x) can check that f(x) is continuous as x=0 and x=1.
We now first test the differentiability at x=0.Lf′(0)=limh→0f(0−h)−f(0)−h=limh→0−(0+h)−0−h=−1.
Rf′(0)=limh→0f(0+h)−f(0)h=limh→0(0+h)2−0h=limh→0h=0.
Since Lf′(0)≠Rf′(0), the function is not difterentiable at x=0.
Again Lf′(1)=limh→0f(1−h)−f(1)−h =limh→0(1−h)2−1−h=limh→0−2h+h2−h=limh→0(2−h)=2
and Rf′(1)=limh→0f(1+h)3−(1+h)+1−1h=limh→02h+3h2+h3h=limh→0(2+3h+h3)=2.
Hence f′(1) exists i.e.,function is differentiable at x=1.