PrepGo

Using the Second Derivative Test to Determine Extrema - AP Calculus BC 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 14 minutes to read.

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

The First Derivative Test allows us to classify a critical point as a relative minimum or maximum by analyzing the sign of the first derivative on either side of that point. The Second Derivative Test provides an alternative, and often more efficient, method for this classification. Instead of examining intervals, this test focuses directly on the behavior of the function at the critical point itself.

The core idea is to use the function's concavity at a point where the tangent line is horizontal to determine if that point is a "valley" (relative minimum) or a "peak" (relative maximum). If a function has a horizontal tangent at a point () and is also concave up at that same point (), it must be at the bottom of a valley, indicating a relative minimum. Conversely, if it has a horizontal tangent and is concave down (), it must be at the top of a peak, indicating a relative maximum. This test leverages the sign of the second derivative to determine the nature of a critical point.

The Second Derivative Test

The Second Derivative Test is a formal method for determining whether a critical point of a function is a relative minimum or a relative maximum.

Let be a twice-differentiable function on an open interval containing , and suppose that .

  1. If , then has a relative minimum at .

  2. If , then has a relative maximum at .

  3. If , the test is inconclusive. The function may have a relative minimum, a relative maximum, or neither at . Another test (such as the First Derivative Test) must be used.

Understanding the Conditions and the Inconclusive Case

The application of the Second Derivative Test is governed by strict conditions that must be met. The most critical prerequisite is that the test can only be applied to a critical point where . It cannot be used to classify critical points where the first derivative is undefined. Furthermore, the function must be twice-differentiable at , meaning must exist.

The most important nuance of this test is the inconclusive case, which occurs when . It is a common misconception that this result implies there is no extremum at . "Inconclusive" means that the Second Derivative Test provides no information about the nature of the critical point.

Consider these two examples:

  • For , we have and . At the critical point , and . The test is inconclusive. However, by analyzing the function, we know has a relative minimum at .

  • For , we have and . At the critical point , and . The test is again inconclusive. In this case, has neither a relative minimum nor a relative maximum at .

Therefore, if you encounter , you cannot draw a conclusion from the Second Derivative Test and must revert to the First Derivative Test to classify the critical point at .

Core Concepts & Rules

  • Purpose: The Second Derivative Test is used to determine if a critical point where is the location of a relative minimum or a relative maximum.

  • Requirement 1: The function must be twice-differentiable at the point being tested.

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

  • Rule for a Relative Minimum: If and , the function is concave up at its horizontal tangent, so has a relative minimum at .

  • Rule for a Relative Maximum: If and , the function is concave down at its horizontal tangent, so has a relative maximum at .

  • Inconclusive Result: If and , the test fails to provide a conclusion. You must use another method, like the First Derivative Test, to classify the critical point.

Step-by-Step Example 1: Applying the Test to a Polynomial

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

Step 1: Find the first derivative and identify critical points.

First, we find and set it equal to zero to find the critical points.

Set :

The critical points where are and .

Step 2: Find the second derivative.

Next, we compute the second derivative of .

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

We evaluate at each critical point found in Step 1.

  • For :

    Since , the function has a relative maximum at .

  • For :

    Since , the function has a relative minimum at .

Conclusion:

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

Step-by-Step Example 2: Using Given Derivative Information

A twice-differentiable function is known to have critical points at and . The second derivative of the function is given by . Classify the critical point at as a relative minimum, a relative maximum, or neither. Justify your answer.

Step 1: Identify the conditions for the test.

We are given that is a critical point. For the Second Derivative Test, we assume this means . The function is also given as twice-differentiable.

Step 2: Evaluate the second derivative at the critical point.

We need to find the sign of .

Step 3: Apply the Second Derivative Test.

We analyze the sign of the result from Step 2.

Since is a positive number, .

Step 4: State the conclusion with justification.

Because and , the Second Derivative Test guarantees that the function has a relative minimum at .

Using Your Calculator

The Second Derivative Test is an analytical procedure. A calculator cannot perform the test for you, but it can be an extremely powerful tool for performing the necessary calculations, especially with complex functions.

Problem: Use a calculator to help find and classify the relative extrema of on the interval using the Second Derivative Test.

Steps using a TI-84 style calculator:

  1. Define the Derivatives:

    • In the Y= editor, enter Y1 = X^2 * cos(X).

    • Enter Y2 = nDeriv(Y1, X, X). This represents f'(x).

    • Enter Y3 = nDeriv(Y2, X, X). This represents f''(x).

  2. Find Critical Points:

    • Graph Y2 (the first derivative) in a suitable window, for example, , .

    • Use the CALC menu (2nd + TRACE) and select 2:zero.

    • Find the x-intercepts of Y2. You will find a zero at . By changing the bounds, you will also find zeros near and . Let's call these .

  3. Evaluate the Second Derivative:

    • From the home screen, evaluate Y3 at each critical point found in the previous step.

    • For c_1 \approx -2.289: Type Y3(-2.289) and press ENTER. The result is approximately .

    • For : Type Y3(0) and press ENTER. The result is .

    • For : Type Y3(2.289) and press ENTER. The result is approximately .

  4. Apply the Test and Conclude:

    • At , and . Therefore, has a relative minimum.

    • At , and . Therefore, has a relative minimum.

    • At , and . Therefore, has a relative minimum.

Note: The analytical derivatives are and . The calculator's numerical derivative functions help avoid potential errors in this complex differentiation.

AP Exam Quick Hit

Common Question Types

  • Direct Application with Justification: Given a function , you will be asked to find the x-coordinates of its relative extrema and justify your answer using the Second Derivative Test.

    • Example: "Find the x-coordinates of all relative extrema for . Classify each as a relative maximum or a relative minimum using the Second Derivative Test."
  • Abstract Justification from Given Values: You will be given values of the first and second derivatives at a point and asked to draw a conclusion.

    • Example: "Let be a twice-differentiable function such that and . Does have a relative minimum, relative maximum, or neither at ? Justify your answer."
  • Analysis of the Inconclusive Case: A question designed to see if you correctly understand what happens when .

    • Example: "Let . Show that the Second Derivative Test is inconclusive at the function's only critical point. Then, use another method to classify the critical point."

Common Mistakes

  • Forgetting the Prerequisite: The Second Derivative Test only applies at critical points where the first derivative is zero. Students sometimes misapply it to points where is undefined or to points that are not critical points at all.

  • Misinterpreting an Inconclusive Result: A very common error is to state that if , then there is no relative extremum at . The correct conclusion is that the test provides no information, and another test is required.

  • Confusing the Signs: Students often mix up the conclusions. A helpful mnemonic:

    • If (positive), the graph is concave up (like a cup ), so it has a relative minimum.

    • If (negative), the graph is concave down (like a frown ), so it has a relative maximum.

  • Stating an Incomplete Justification: On the AP Exam, a full justification requires stating both conditions. For example: "Since and , has a relative maximum at ." Simply stating that is not sufficient.