When the derivative changes from positive to negative, you have a local min, which doubles as a POSSIBLE absolute min. When the derivate changes from negative to positive, you have a local max, which doubles as a possible absolute max. Do not forget that both en...