| Study Guides
AP · Second derivative test · 14 min read · Updated 2026-05-10

Second derivative test — AP Calculus AB Study Guide

For: AP Calculus AB candidates sitting AP Calculus AB.

Covers: The statement of the second derivative test for local maxima and minima, application to critical points, resolution of inconclusive cases, and use in AP-style optimization problems.

You should already know: How to find critical points of a differentiable function; How to compute first and second derivatives using basic differentiation rules; The definition of local maxima and local minima.

A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Calculus AB style for educational use. They are not reproductions of past College Board / Cambridge / IB papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official mark schemes for grading conventions.


1. What Is Second derivative test?

The second derivative test is an analytical method to classify critical points of a twice-differentiable function as local maxima, local minima, or inconclusive. Per the AP Calculus AB Course and Exam Description (CED), this topic falls in Unit 5 (Analytical Applications of Differentiation), which accounts for 15–18% of the total AP exam score. The second derivative test appears in both multiple-choice (MCQ) and free-response (FRQ) sections: it is commonly tested as a standalone MCQ classification question, or as a justification step in an FRQ optimization problem.

Unlike the first derivative test, which requires analyzing the sign change of the first derivative around a critical point, the second derivative test only requires evaluating the second derivative at the critical point itself, making it faster when the second derivative is easy to compute. Some sources refer to this test as the second derivative test for local extrema, but it is almost always shortened to "second derivative test" on the AP exam. It has clear limitations that you must recognize, most notably that it cannot produce a definitive result when the second derivative is zero or undefined at a critical point.

2. Formal Statement and Geometric Intuition for the Second Derivative Test

Recall that a critical point of a function is a point in the domain of where or is undefined. The second derivative test only applies to critical points where and exists; if is undefined, you must use the first derivative test to classify it regardless of the second derivative.

The formal statement of the test is: if is twice differentiable at and , then:

  1. If , then has a local maximum at
  2. If , then has a local minimum at
  3. If or does not exist, the test is inconclusive

The intuition behind this rule comes from concavity: the second derivative tells us the direction the graph curves around the critical point (where the tangent line is horizontal). If , the function is concave down at , meaning the graph curves downward around the horizontal tangent, forming a peak (a local maximum). If , the function is concave up, curving upward around the horizontal tangent to form a valley (a local minimum).

Worked Example

Problem: Consider . Find all critical points where and classify them using the second derivative test.

Solution:

  1. Compute the first derivative and find critical points: . Setting gives critical points at and , both in the domain of .
  2. Compute the second derivative: .
  3. Evaluate at : . By the second derivative test, has a local maximum at .
  4. Evaluate at : . By the second derivative test, has a local minimum at .
  5. Final result: Local maximum at , local minimum at .

Exam tip: On the AP exam, you will almost always lose points if you do not explicitly connect the sign of to your classification. Always state the result of the test explicitly, do not just give the final classification.

3. Inconclusive Cases and Resolution

When at a critical point (where ), the second derivative test cannot give a definitive answer. This does not mean there is no extremum at : it only means we need a different method to classify the point. For example, has a critical point at , , but is still a local minimum. In contrast, also has and , but is neither a maximum nor a minimum.

When the test is inconclusive, the only valid approach on the AP exam is to fall back to the first derivative test: check the sign of on intervals on either side of . If changes from positive to negative, it is a local maximum; if it changes from negative to positive, it is a local minimum; if there is no sign change, it is not an extremum. You will sometimes be explicitly asked to resolve an inconclusive second derivative test case on both MCQ and FRQ sections.

Worked Example

Problem: Given , find all critical points and classify any that are inconclusive by the second derivative test.

Solution:

  1. First derivative: . Critical points where are and .
  2. Second derivative: .
  3. Classify with the second derivative test first: , so we confirm a local minimum at .
  4. Evaluate at : , so the second derivative test is inconclusive here.
  5. Use the first derivative test to resolve: For , . For , . There is no sign change of around , so is neither a local maximum nor a local minimum.

Exam tip: If an FRQ asks you to classify all critical points, leaving an inconclusive point unclassified will cost you at least one point. Always explicitly state that the test is inconclusive and show your work for the first derivative test resolution.

4. Using the Second Derivative Test for Absolute Extrema

The second derivative test can be used as a first step to find absolute extrema of a continuous function on a closed interval . By the Extreme Value Theorem, absolute extrema on a closed interval occur either at critical points inside the interval or at the endpoints of the interval. After using the second derivative test to classify all local extrema among the critical points, you still must evaluate at all critical points inside the interval and at both endpoints, then compare the function values to find the absolute maximum and minimum.

This workflow is faster than using the first derivative test for classification, because you only need to evaluate the second derivative at critical points rather than checking the sign of the first derivative on either side of each critical point. It is the most common approach used for optimization FRQs on the AP exam.

Worked Example

Problem: Find the absolute maximum and absolute minimum of on the closed interval , using the second derivative test to classify critical points.

Solution:

  1. First derivative: . Critical points inside are and .
  2. Second derivative: .
  3. Classify critical points with the second derivative test: , so local maximum at . , so local minimum at .
  4. Evaluate at all candidates (critical points + endpoints): , , , .
  5. Compare values: The smallest value is at , the largest is at . So absolute minimum is at , absolute maximum is at .

Exam tip: If the absolute extremum occurs at an endpoint, do not try to classify it as a local maximum or minimum, and do not apply the second derivative test to it. Endpoints are only candidates for absolute extrema.

5. Common Pitfalls (and how to avoid them)

  • Wrong move: Classifying a critical point where is undefined using the second derivative test. Why: Students forget that the test requires (and exists) to work, and critical points can also occur where is undefined. Correct move: Always use the first derivative test to classify any critical point where does not exist.
  • Wrong move: Concluding that is not a local extremum when the second derivative test is inconclusive (). Why: Students assume "inconclusive" means no extremum, but many extrema (like for ) have and are still extrema. Correct move: Always fall back to the first derivative test to check for a sign change of around when the test is inconclusive.
  • Wrong move: Stating that means has a local minimum at (or vice versa). Why: Students mix up the sign rules, confusing concavity direction with the type of extremum. Correct move: Use geometric intuition to remember: concave down () makes a hill (local maximum), concave up () makes a valley (local minimum).
  • Wrong move: Setting to find critical points for the second derivative test. Why: Students confuse critical points (found from the first derivative) with inflection points (found from the second derivative). Correct move: Always find critical points by setting first, then plug those -values into for the test.
  • Wrong move: Stopping after classifying local extrema and not checking endpoints when finding absolute extrema on a closed interval. Why: Students assume the absolute maximum must be the largest local maximum, but the Extreme Value Theorem allows absolute extrema to occur at endpoints. Correct move: Always list all candidates: all critical points inside the interval plus the two endpoints, then evaluate at all candidates.

6. Practice Questions (AP Calculus AB Style)

Question 1 (Multiple Choice)

The function is twice differentiable for all real , and has a critical point at with . If , which of the following is true about at ? A) has a local maximum at B) has a local minimum at C) has an inflection point at D) The second derivative test is inconclusive at

Worked Solution: To apply the second derivative test, we first evaluate at the critical point . Substituting gives . By definition, if at a critical point , the second derivative test is inconclusive. While is a necessary condition for an inflection point, it is not sufficient (we need a sign change of to confirm an inflection point, so option C is incorrect). The correct answer is D.


Question 2 (Free Response)

Let . (a) Find all critical points of on . (b) Classify each critical point using the second derivative test. Justify your answer. (c) Find the absolute minimum value of on the interval . Justify your answer.

Worked Solution: (a) First derivative: . Setting gives critical points at , , and . All are in the domain of , so these are all critical points. (b) Second derivative: . Evaluate at each critical point:

  • , so by the second derivative test, has a local minimum at .
  • , so by the second derivative test, has a local maximum at .
  • , so by the second derivative test, has a local minimum at . (c) Candidates for absolute minimum on are critical points inside the interval (, ) and endpoints (, ). Evaluate at each candidate: , , , . The smallest value is , so the absolute minimum value of on is .

Question 3 (Application / Real-World Style)

A bakery determines that the daily profit (in dollars) from selling loaves of sourdough bread is given by , for . Use the second derivative test to find how many loaves the bakery should sell to maximize its daily profit, and confirm that your result is a maximum.

Worked Solution:

  1. First derivative: . Set and solve with the quadratic formula, giving one positive critical point at (the other solution is negative, so it is discarded, as you cannot sell negative loaves).
  2. Second derivative: .
  3. Evaluate at the critical point: .
  4. By the second derivative test, the critical point is a local maximum, and since it is the only local maximum on the interval , it is the absolute maximum.

Interpretation: The bakery will maximize its daily profit when it sells approximately 101 loaves of sourdough bread, for a maximum daily profit of approximately .

7. Quick Reference Cheatsheet

Category Formula / Rule Notes
Local Maximum Rule If and → local max at Only applies to critical points where and exists
Local Minimum Rule If and → local min at Same requirement for and as above
Inconclusive Case Rule If and or undefined → test is inconclusive Never conclude no extremum; always use first derivative test
Critical Point Step Find critical points by solving Do not use to find test candidates
Undefined First Derivative Critical points where undefined cannot be tested with SDT Use first derivative test for these points
Absolute Extrema Candidates All critical points inside interval + interval endpoints SDT classifies local extrema; still must compare function values to find absolute extrema
Geometric Mnemonic = concave down = hill = local max; = concave up = valley = local min Use this to correct sign confusion

8. What's Next

Mastering the second derivative test is a critical prerequisite for all optimization problems, which are the most heavily tested application of derivatives in Unit 5 on the AP exam. Next, you will extend the concepts of concavity and extrema to identify inflection points and intervals of concavity, which are regularly tested in both MCQ and FRQ sections. You will also apply the second derivative test to constrained optimization problems, where you find the maximum or minimum of a real-world function subject to a domain constraint. Without correctly classifying extrema using the second derivative test, you will not be able to correctly justify your answers to these optimization problems, which frequently require explicit justification for full credit.

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →