Monotonicity Test

Basis
Last updated: Tags: Calculus, Differentiation

If a car’s speedometer reads positive throughout a journey, the car moved forward. If it reads negative, the car reversed. The monotonicity test is this observation applied to any differentiable function: the sign of ff' tells you whether ff climbs, falls, or stays flat on an interval.

The theorem

Theorem (Monotonicity Test). Let ff be continuous on [a,b][a, b] and differentiable on (a,b)(a, b).

  1. If f(x)>0f'(x) > 0 for all x(a,b)x \in (a, b), then ff is strictly increasing on [a,b][a, b].
  2. If f(x)<0f'(x) < 0 for all x(a,b)x \in (a, b), then ff is strictly decreasing on [a,b][a, b].
  3. If f(x)=0f'(x) = 0 for all x(a,b)x \in (a, b), then ff is constant on [a,b][a, b].
  4. If f(x)0f'(x) \geq 0 for all x(a,b)x \in (a, b), then ff is non-decreasing on [a,b][a, b].
  5. If f(x)0f'(x) \leq 0 for all x(a,b)x \in (a, b), then ff is non-increasing on [a,b][a, b].

Proof

All five cases follow from the same argument. Take ax1<x2ba \leq x_1 < x_2 \leq b. By the Mean Value Theorem, there exists c(x1,x2)c \in (x_1, x_2) such that

f(x2)f(x1)  =  f(c)(x2x1).f(x_2) - f(x_1) \;=\; f'(c)\,(x_2 - x_1).

Since x2x1>0x_2 - x_1 > 0, the sign of f(x2)f(x1)f(x_2) - f(x_1) equals the sign of f(c)f'(c):

  • f(c)>0    f(x2)>f(x1)f'(c) > 0 \;\Rightarrow\; f(x_2) > f(x_1) (case 1).
  • f(c)<0    f(x2)<f(x1)f'(c) < 0 \;\Rightarrow\; f(x_2) < f(x_1) (case 2).
  • f(c)=0    f(x2)=f(x1)f'(c) = 0 \;\Rightarrow\; f(x_2) = f(x_1) (case 3).

Cases 4 and 5 follow identically with non-strict inequalities. \square

Converse direction

The theorem does not reverse cleanly. ff can be strictly increasing while ff' vanishes at isolated points.

Example. f(x)=x3f(x) = x^3 on R\mathbb{R}: f(0)=0f'(0) = 0, yet ff is strictly increasing everywhere. Any x1<x2x_1 < x_2 gives x13<x23x_1^3 < x_2^3 directly.

The correct converse is: if ff is non-decreasing on (a,b)(a, b) and differentiable, then f(x)0f'(x) \geq 0 — with equality allowed at some points.

Finding intervals of monotonicity

In practice you use the test as follows. Given ff differentiable on an open interval:

  1. Solve f(x)=0f'(x) = 0 and locate where ff' is undefined.
  2. These points partition the domain into open intervals.
  3. On each interval, check the sign of ff' at any sample point.
  4. Apply the theorem to conclude increasing or decreasing.

Example. f(x)=x33xf(x) = x^3 - 3x.

f(x)=3x23=3(x1)(x+1).f'(x) = 3x^2 - 3 = 3(x-1)(x+1).

ff' vanishes at x=±1x = \pm 1, giving three intervals:

IntervalSign of ff'Behaviour of ff
(,1)(-\infty, -1)++strictly increasing
(1,1)(-1, 1)-strictly decreasing
(1,)(1, \infty)++strictly increasing

Strict monotonicity and invertibility

A function that is strictly monotone on [a,b][a, b] is injective: x1x2x_1 \neq x_2 implies f(x1)f(x2)f(x_1) \neq f(x_2). Combined with continuity, it maps [a,b][a, b] bijectively onto the interval [f(a),f(b)][f(a), f(b)] (or [f(b),f(a)][f(b), f(a)] if decreasing), and its inverse is again continuous and strictly monotone in the same direction.

This is the rigorous content behind “a strictly increasing function has an inverse.” When you meet an inverse function in analysis, it is almost always because the original function satisfied the monotonicity test on the relevant domain.

Summary

  • Positive derivative on (a,b)(a, b) implies ff is strictly increasing on [a,b][a, b]; negative derivative implies strictly decreasing; zero derivative implies constant.
  • Proof: apply the MVT to any pair x1<x2x_1 < x_2; the sign of f(x2)f(x1)f(x_2) - f(x_1) matches the sign of f(c)f'(c).
  • The converse is weaker: strict monotonicity allows f=0f' = 0 at isolated points.
  • To find monotone intervals: solve f=0f' = 0, partition the domain, check the sign of ff' on each piece.
  • Strictly monotone continuous functions are bijections onto their range and have continuous monotone inverses.