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