The function is increasing when it has a positive derivative and decreasing when it has a negative derivative.

Now observe that the denominator is always positive. So we only need to consider the sign of the numerator.

when which happens when or . Elsewhere the function is positive.