Increasing and decreasing functions, maximum, minimum and points of inflect