結果 : how to determine when a function is increasing or decreasing