← Back to course

First Derivative Test

The First Derivative Test classifies critical points by checking whether f′(x)f'(x) changes sign. If f′f' switches from positive to negative, you have a local maximum; negative to positive gives a local minimum. No sign change means no extremum.

First Derivative Test

The First Derivative Test is a systematic way to find local maxima and minima by analyzing how the derivative changes sign around critical numbers.

Core Principle

The derivative f′(x)f'(x) reveals whether a function is increasing or decreasing:

  • If f′(x)>0f'(x) > 0 on an interval, ff is increasing
  • If f′(x)<0f'(x) < 0 on an interval, ff is decreasing

Critical numbers—where f′(c)=0f'(c) = 0 or f′(c)f'(c) is undefined—are the only places where f′f' can change sign. These points divide the domain into intervals where f′f' maintains constant sign.

The Test

At a critical number cc, examine the sign of f′f' on either side:

Sign Change at ccClassification
++ to −-Local maximum
−- to ++Local minimum
No changeNeither (inflection or flat point)

Step-by-Step Method

  1. Find f′(x)f'(x)
  2. Solve f′(x)=0f'(x) = 0 and locate where f′(x)f'(x) is undefined
  3. Divide the domain into open intervals using these critical numbers
  4. Test the sign of f′f' at one point in each interval (build a sign chart)
  5. Classify each critical number based on sign changes

Example

For f(x)=x3−3x2−9xf(x) = x^3 - 3x^2 - 9x: f′(x)=3x2−6x−9=3(x−3)(x+1)f'(x) = 3x^2 - 6x - 9 = 3(x-3)(x+1)

Critical numbers: x=−1x = -1 and x=3x = 3

Testing signs: f′f' is positive on (−∞,−1)(-\infty, -1), negative on (−1,3)(-1, 3), and positive on (3,∞)(3, \infty). Therefore ff has a local maximum at x=−1x = -1 and a local minimum at x=3x = 3.

Graph illustrating First Derivative Test

Common Pitfall

Not all critical numbers are extrema. For f(x)=x3f(x) = x^3, f′(x)=3x2≥0f'(x) = 3x^2 \geq 0 everywhere—no sign change occurs at x=0x = 0, so it is neither a maximum nor minimum despite being critical. Always verify the sign actually changes.

Practice problems

Practice similar problems interactively, with instant feedback.

Start Closing the Gap