The First Derivative Test and the Second Derivative Test in Function Analysis

This article explains the First Derivative Test and the Second Derivative Test—two essential tools in differential calculus used to identify extrema, determine increasing and decreasing intervals, and analyze concavity. Through clear examples, the article demonstrates how these tests help describe both local and global behavior of functions.

first derivative test, second derivative testextrema, increasing and decreasing intervalsconcavity, function analysis

~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) = 0 or 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) > 0local minimum
  • If f''(a) < 0local 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 → minimum

3. 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

Related Articles

Solving Integrals Using Partial Fraction Decomposition: A Complete Guide with Practical Examples

Partial fraction decomposition is one of the most powerful techniques for integrating rational functions. By breaking a complicated rational expression into simpler fractions, integration becomes straightforward. This article explains when and how to use partial fractions, the different decomposition cases, step‑by‑step procedures, and fully worked examples.

Continue

Integration by Parts: A Complete Guide to Solving Integrals Using the By‑Parts Method

Integration by parts is one of the most important techniques in calculus for solving integrals involving products of functions. This article explains the formula, the logic behind it, how to choose u and dv, common patterns, advanced applications, and fully worked examples.

Continue

Substitution Techniques in Integration: A Complete and Practical Guide

Substitution is one of the most powerful and widely used techniques in integration. It simplifies complex integrals by transforming them into easier forms. This article explains the main substitution methods, including basic u‑substitution, trigonometric substitution, hyperbolic substitution, substitution in rational functions, exponential integrals, trigonometric integrals, and definite integrals.

Continue

Complete Integral Formula Sheet: All Essential Indefinite and Definite Integral Formulas

This article provides a comprehensive collection of the most important integral formulas in calculus, including basic integrals, power rules, exponential and logarithmic integrals, trigonometric and inverse trigonometric integrals, hyperbolic functions, integration techniques, and definite integral identities.

Continue

Definite Integrals: Definition, Core Concepts, Methods of Calculation, and Applications

A definite integral is one of the fundamental concepts in calculus, used to compute the accumulated value of a quantity over an interval. This article explains the definition of definite integrals, the Riemann interpretation, the Fundamental Theorem of Calculus, methods of evaluation, and real-world applications.

Continue

Cauchy’s Mean Value Theorem and Its Role in Advanced Function Analysis

This article explains Cauchy’s Mean Value Theorem, the generalized form of the Mean Value Theorem. It states that for two continuous and differentiable functions, there exists a point in the interval where the ratio of their derivatives equals the ratio of their overall changes. This theorem is fundamental in proving important results such as L'Hôpital’s Rule and plays a key role in mathematical analysis.

Continue