Local and absolute extrema