f(x)=|x|
Then, f(x)={−x,−1≤x<0x,0≤x≤1
∵ Modulus function is continuous but it is not differentiable.
At x=0, Right hand derivative
=limh→0f(0+h)−f(0)h
=limh→0|h|−0h
=limh→0hh=1
and at x=0, Left hand derivative
=limh→0f(0−h)−f(0)−h
=limh→0|−h|−h
=limh→0h−h=−1
At x=0, R.H.D ≠ L.H.D
Rf′(0)≠Lf′(0)
Function is not differentiable at x=0. So, Rolle's theorem does not satisfied.