Let be differentiable at and suppose is a local extremum. If is a local maximum, then for small, while for small the same inequality implies Taking and gives right derivative and left derivative . Since exists, both one-sided limits are equal, so . The local minimum case is identical with inequalities reversed.
Loading…