The function is not differentiable at 0 because of a sharp corner.
The function is not differentiable at 0 because of a cusp.
The function is not differentiable at 0, because of a vertical tangent line.
The function is not differentiable at 1.
The function is differentiable everywhere.