Skip to content
LoveToCalc

First derivative test

Check the sign of f′ on both sides of a stationary point.

In Swedish: Förstaderivatatestet

The curve y = x³/3 − x. Left of x = −1 it rises (f′ > 0) and right of it it falls (f′ < 0), so x = −1 is a maximum. Right of x = 1 it rises again (f′ > 0), so x = 1 is a minimum.

The test

Let f be continuous at x₀ with f′(x₀) = 0, and differentiable on both sides nearby.

Worked example

f(x) = x³ − 3x². Then f′(x) = 3x² − 6x = 3x(x − 2), which is 0 at x = 0 and x = 2.

Interval Test point f′ there f
x < 0 −1 9 rising
0 < x < 2 1 −3 falling
x > 2 3 9 rising

f′ goes from + to − at x = 0, a maximum with f(0) = 0. It goes from − to + at x = 2, a minimum with f(2) = 8 − 12 = −4.

No change of sign. f(x) = x³ has f′(x) = 3x², which is 0 at x = 0 and positive on both sides. There is no extremum there.

Common mistakes

Common questions

When is the second derivative test easier? When f″ is simple to find and not zero at the point: see the second derivative test. The sign chart also works where f″(x₀) = 0 and where f″ does not exist. For the stationary points themselves, see stationary points.

Last reviewed October 13, 2026 ·How pages are reviewed

Calculate it in practice

CalculusAll formulas