We first calculate the right-hand derivative at x = 0:

Next, we calculate the left-hand derivative at x = 0:

Since the right-hand and the left-hand derivatives are different, the function f is not differentiable at x = 0.