we have local max/min at critical points, i.e., at stationary points or at points where the derivative doesn't exist. here, we are calling '0' as the point of local minima as the fn is not differentiable at the point, and it's possible for a local min/max to be a point of global min/max.