PrepGo

Using the Second Derivative Test to Determine Extrema - AP Calculus AB Study Guide

Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026

Learn with study guides reviewed by top AP teachers. This guide takes about 11 minutes to read.

The Core Idea: Using the Second Derivative Test to Determine Extrema

After identifying the critical points of a function—locations where the first derivative is zero or undefined—the next task is to determine whether these points correspond to relative maxima, relative minima, or neither. The Second Derivative Test provides a powerful and often efficient alternative to the First Derivative Test for this classification.

The core idea is to use the function's concavity at a critical point to determine the nature of the extremum. If a function has a horizontal tangent () and is concave up () at that point, it must be at the bottom of a "valley," indicating a relative minimum. Conversely, if the function has a horizontal tangent and is concave down () at that point, it must be at the top of a "hill," indicating a relative maximum. This test directly links the sign of the second derivative at a critical point to the local behavior of the function.

The Second Derivative Test

The Second Derivative Test is a theorem used to classify a critical point where .

Let be a function such that and the second derivative of , , exists on an open interval containing .

  1. If , then has a relative minimum at .

  2. If , then has a relative maximum at .

  3. If or does not exist, the test is inconclusive. Another method, such as the First Derivative Test, must be used to classify the critical point at .

Understanding the Conditions and Limitations

It is critical to understand when the Second Derivative Test can and cannot be applied.

Condition 1: The Test Only Applies When

The Second Derivative Test is designed exclusively for critical points where the tangent line is horizontal. It cannot be used to classify critical points where the first derivative is undefined (e.g., at a cusp or a corner). For such points, the First Derivative Test is the necessary tool.

Condition 2: The Test Can Be Inconclusive

A result of does not provide any information about the behavior of the function at . The point could be a relative maximum, a relative minimum, or neither. For example:

  • For , the critical point is . Here, and . This function has a relative minimum at .

  • For , the critical point is . Here, and . This function has a relative maximum at .

  • For , the critical point is . Here, and . This function has neither a maximum nor a minimum at .

Because all three outcomes are possible when , the test is deemed inconclusive. In this situation, you must revert to the First Derivative Test to analyze the sign of on either side of to make a conclusion.

Core Concepts & Rules

  • The Second Derivative Test is a method for classifying critical points as relative (local) extrema.

  • Prerequisite: The test can only be applied at a critical point where the first derivative is zero ().

  • Relative Minimum: If and , the function has a relative minimum at . The function is concave up at this horizontal tangent.

  • Relative Maximum: If and , the function has a relative maximum at . The function is concave down at this horizontal tangent.

  • Inconclusive Test: If and or is undefined, the Second Derivative Test fails to provide a conclusion. You must use the First Derivative Test to classify the critical point.

Step-by-Step Example 1: Basic Application

Find and classify the relative extrema of the function using the Second Derivative Test.

Step 1: Find the first derivative.

Step 2: Find the critical points where .

Set the first derivative equal to zero and solve for .

The critical points are and .

Step 3: Find the second derivative.

Step 4: Apply the Second Derivative Test to each critical point.

  • Test :

    Evaluate :

    Since , the function has a relative maximum at .

  • Test :

    Evaluate :

    Since , the function has a relative minimum at .

Step 5: State the conclusion.

The function has a relative maximum at and a relative minimum at .

Step-by-Step Example 2: Exam-Style Application

Find and classify the relative extrema of .

Step 1: Find the first derivative.

Step 2: Find the critical points where .

The critical points are , , and .

Step 3: Find the second derivative.

Step 4: Apply the Second Derivative Test to each critical point.

  • Test :

    Since , has a relative maximum at .

  • Test :

    Since , has a relative minimum at .

  • Test :

    Since , the Second Derivative Test is inconclusive for the critical point at .

Step 5: Use the First Derivative Test for the inconclusive point .

We must analyze the sign of in intervals around .

  • Interval : Choose a test value, e.g., .

    .

  • Interval : Choose a test value, e.g., .

    .

Since the sign of does not change at (it is negative on both sides), there is neither a maximum nor a minimum at .

Step 6: State the final conclusion.

The function has a relative maximum at , a relative minimum at , and no extremum at .

Using Your Calculator

The Second Derivative Test is an analytical method that must be justified by showing the evaluation of the derivatives. A calculator is best used to verify your results.

To check the classification of a critical point for a function f(x)`: 1. Enter the function into `Y1`. 2. Use the calculator's derivative functionality to find the second derivative. On a TI-84, you can enter `Y2 = nDeriv(nDeriv(Y1, X, X), X, X)`. *Note: This can be slow and graphically inaccurate, but is useful for evaluation.* 3. After analytically finding a critical point $c where , you can check the sign of on the home screen. For example, to check for the function in Example 1, you would evaluate Y2(1).

  1. The calculator will return a value. The sign of this value ( or -`) should match your analytical work. If the value is very close to zero, it confirms that the test is likely inconclusive. 5. You can also graph `Y1` and use the `CALC` menu's $maximum and features to visually confirm the locations of the extrema you found.

AP Exam Quick Hit

Common Question Types

  • Direct Application: Given a function like , you will be asked to find and classify all relative extrema. You would find and and apply the test.

  • Inconclusive Case Analysis: You will be given a function, like in Example 2, where for a critical point . The question will test your ability to recognize that the test is inconclusive and then correctly apply the First Derivative Test to classify the point.

  • Conceptual Justification: You will be given information and asked to draw a conclusion. For example: "Given that a function is twice-differentiable, , and . What can be concluded about at ?" You must conclude that has a relative maximum at because the first derivative is zero and the second derivative is negative.

Common Mistakes

  • Confusing the Conditions: A very common error is to mix up the conclusions: thinking implies a maximum or implies a minimum. Remember: positive second derivative means concave up (a "cup"), which holds a minimum.

  • Misapplying the Test: Applying the test to a point where is undefined or not zero. The test is only valid for critical points with a horizontal tangent.

  • Assuming Means No Extremum: Incorrectly concluding that if the test is inconclusive, there is no extremum. You must use the First Derivative Test to make a final determination.

  • Forgetting to Test All Critical Points: Finding all critical points but only applying the test to one or two of them.

  • Algebraic Errors: Simple mistakes in calculating or will lead to incorrect critical points or incorrect conclusions. Always double-check your derivatives.