~3 min read • Updated Mar 9, 2026
Introduction to the First and Second Derivative Tests
To analyze the behavior of functions, two powerful tools are commonly used: the First Derivative Test and the Second Derivative Test.
These tests help identify extrema, determine increasing and decreasing intervals, and understand the concavity of a curve.
1. The First Derivative Test
The First Derivative Test is used to determine local extrema and identify intervals where the function is increasing or decreasing.
Steps of the First Derivative Test:
- Compute the derivative of the function.
- Find points where
f'(x) = 0or where the derivative is undefined. - Analyze the sign of the derivative in the intervals between these points.
Conclusions:
- If
f'(x)changes from positive to negative → local maximum - If
f'(x)changes from negative to positive → local minimum - If the sign does not change → no extremum at that point
Example:
Function:
f(x) = x³ - 3x
Derivative:
f'(x) = 3x² - 3 = 0 → x = ±1
Sign analysis:
- At x = -1 → derivative changes from positive to negative → maximum
- At x = 1 → derivative changes from negative to positive → minimum
2. The Second Derivative Test
The Second Derivative Test is used to determine the type of extremum and analyze concavity.
Steps of the Second Derivative Test:
- Find points where
f'(x) = 0. - Evaluate the second derivative at these points.
Conclusions:
- If
f''(a) > 0→ local minimum - If
f''(a) < 0→ local maximum - If
f''(a) = 0→ the test is inconclusive (use the First Derivative Test or further analysis)
Example:
Function:
f(x) = x³ - 3x
Second derivative:
f''(x) = 6x
At x = -1:
f''(-1) = -6 → maximum
At x = 1:
f''(1) = 6 → minimum3. Comparison of the Two Tests
- The First Derivative Test examines behavior over intervals.
- The Second Derivative Test identifies the type of extremum more quickly.
- If the second derivative is zero, the First Derivative Test is more reliable.
4. Applications of the First and Second Derivative Tests
- Identifying local extrema
- Determining increasing and decreasing intervals
- Analyzing concavity and inflection points
- Optimization in economics and engineering
- Graph analysis in data science
5. Combined Example
Function:
f(x) = x⁴ - 2x²
First derivative:
f'(x) = 4x³ - 4x = 4x(x² - 1)
Critical points:
x = 0, 1, -1
Second derivative:
f''(x) = 12x² - 4
Analysis:
- At x = 0 → f''(0) = -4 → maximum
- At x = ±1 → f''(±1) = 8 → minimum
Conclusion
The First Derivative Test and the Second Derivative Test are powerful tools for analyzing the behavior of functions.
They help identify extrema, concavity, and overall trends, providing a deeper understanding of how a function behaves.
Written & researched by Dr. Shahin Siami