Canonical: https://knowlpedia.com/real-analysis/derivative-sign-implies-monotonicity/

# Derivative sign implies monotonicity

A nonnegative derivative forces a function to be nondecreasing, and a nonpositive derivative forces it to be nonincreasing.

**Derivative sign implies monotonicity:** Let \(I\subseteq\mathbb{R}\) be an [interval](https://knowlpedia.com/real-analysis/interval/), and let \(f:I\to\mathbb{R}\) be [differentiable](https://knowlpedia.com/real-analysis/differentiability-1d/) on \(I\).

- If \(f'(x)\ge 0\) for all \(x\in I\), then \(f\) is nondecreasing (monotone increasing) on \(I\).
- If \(f'(x)\le 0\) for all \(x\in I\), then \(f\) is nonincreasing (monotone decreasing) on \(I\).

## Remarks

This is proved by applying the [mean value theorem](https://knowlpedia.com/real-analysis/mean-value-theorem/) on subintervals and interpreting the sign of the [derivative](https://knowlpedia.com/real-analysis/derivative/) as controlling slopes. The strict version is [positive derivative implies increasing](https://knowlpedia.com/real-analysis/positive-derivative-implies-increasing/), and the conclusion is a special case of being a [monotone function](https://knowlpedia.com/real-analysis/monotone-function/).
