increasing and decreasing of a fucntion