AP Calculus AB and BC · Unit 5 · Topic 5.7

    5.7 Using the Second Derivative Test to Determine Extrema

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    If f′(c)=0f'(c) = 0 and f′′(c)<0f''(c) < 0, the graph is concave down at cc, so ff has a local maximum there. If f′(c)=0f'(c) = 0 and f′′(c)>0f''(c) > 0, it has a local minimum. If f′′(c)=0f''(c) = 0, the test says nothing and you must use the First Derivative Test instead.

    What you need to know

    • State the Second Derivative Test.
    • Classify critical points using the sign of f″.
    • Recognise when the test is inconclusive.
    • Use the test with the single critical point rule to justify absolute extrema.

    The test

    Second Derivative Test at a point c with f′(c) = 0
    f″(c)Shape near cConclusion
    negativeconcave down (cap)local maximum
    positiveconcave up (cup)local minimum
    zerounknowninconclusive: use the First Derivative Test

    Example. For f(x)=x3−3x2+4f(x) = x^3 - 3x^2 + 4, f′(x)=3x(x−2)f'(x) = 3x(x - 2) and f′′(x)=6x−6f''(x) = 6x - 6. At x=0x = 0: f′′(0)=−6<0f''(0) = -6 < 0, so f(0)=4f(0) = 4 is a local maximum. At x=2x = 2: f′′(2)=6>0f''(2) = 6 > 0, so f(2)=0f(2) = 0 is a local minimum. These agree with the graph in topic 5.6.

    When the test fails

    If f′′(c)=0f''(c) = 0, anything can happen. The functions x4x^4, −x4-x^4 and x3x^3 all have f′(0)=0f'(0) = 0 and f′′(0)=0f''(0) = 0, yet the first has a minimum at 0, the second a maximum and the third neither. In such cases go back to the sign of f′f' on either side.

    The test also needs f′(c)=0f'(c) = 0, not merely f′(c)f'(c) undefined. At a corner such as ∣x∣|x| at 0 there is no second derivative to use, so the First Derivative Test is the only option.

    From local to absolute

    The Second Derivative Test is especially handy when combined with the single critical point rule. Suppose a profit function P(x)P(x) on (0,∞)(0, \infty) has just one critical point, at x=40x = 40, and P′′(40)<0P''(40) < 0. Then PP has a local maximum at 40, and since it is the only critical point and PP is continuous, it is the absolute maximum on that interval. This argument appears in many optimisation problems (topic 5.11).

    A quicker version applies when f′′f'' has the same sign everywhere: if f′′(x)<0f''(x) < 0 for all xx in the interval, the graph is concave down throughout, and any critical point must be the absolute maximum.

    With a calculator, the test is often the quickest route. Find the zero of f′f' numerically, then evaluate f′′f'' there with the numerical derivative feature; only its sign matters, so a rough value is enough. Report the critical point to three decimal places and state the conclusion with both facts.

    Key terms

    Second Derivative Test
    At a critical point with f′(c) = 0, the sign of f″(c) decides max (negative) or min (positive).
    Inconclusive
    The test gives no answer, which happens when f″(c) = 0.
    Single critical point rule
    On an interval with one critical point, a local extremum there is absolute.
    Concavity at a point
    The sign of f″ at that point, describing the shape of the graph nearby.

    Common mistakes

    • Concluding 'no extremum' when f″(c) = 0.

      The test is inconclusive; use the First Derivative Test.

    • Mixing up the signs.

      Negative f″ means concave down, a cap, so a maximum.

    • Using the test where f′(c) is undefined.

      It needs f′(c) = 0 and f″(c) to exist.

    How this topic is tested

    • State both f′(c) = 0 and the sign of f″(c).
    • If f″(c) = 0, switch tests and say why.
    • Combine with the single critical point rule for absolute extrema.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 2 · Connecting Representations

      f′(2)=0f'(2) = 0 and f′′(2)=−5f''(2) = -5. What does ff have at x=2x = 2?

    2. Question 2 · MP 3 · Justification

      g′(1)=0g'(1) = 0 and g′′(1)=0g''(1) = 0. What can you conclude?

    3. Question 3 · MP 1 · Implementing Mathematical Processes

      For f(x)=x3−12xf(x) = x^3 - 12x, which statement is correct?

    4. Question 4 · MP 3 · Justification

      A function on (0,∞)(0, \infty) has one critical point at x=5x = 5, and f′′(x)>0f''(x) > 0 for all xx. What is f(5)f(5)?

    5. Question 5 · MP 4 · Communication and Notation

      Which is a complete justification of a relative minimum at x = 3 using this test?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 4 points

    Let f(x)=x+4xf(x) = x + \frac{4}{x} for x>0x > 0.

    1. (a) Find the critical point of f.
    2. (b) Use the Second Derivative Test to classify it.
    3. (c) Explain why f(2) = 4 is the absolute minimum on x > 0.

    Connected topics

    Frequently asked questions

    Is the Second Derivative Test better than the first?

    Not better, sometimes faster. The first test always works when f is continuous; the second can be inconclusive.

    Does it find inflection points?

    No. It classifies critical points. Inflection points need a sign change in f″ (topic 5.6).

    What if f″ is very messy?

    Use the First Derivative Test instead; you only need signs of f′.

    How this shows up on the exam42 multiple-choice and 6 free-response questions, with and without a calculator. See how the exam is laid out.

    Free Unit 5 cheat sheet

    Every topic in Unit 5: Analytical Applications of Differentiation on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Calculus AB practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Calculus AB practice examsUnit 5 is one of 8 units on the exam. Two timed exams in the 2027 format (42 MCQ + 6 FRQ, with calculator and no-calculator parts), worked explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    All topics in Unit 5: Analytical Applications of Differentiation

    1. 5.1 Using the Mean Value Theorem
    2. 5.2 Extreme Value Theorem, Global Versus Local Extrema, and Critical Points
    3. 5.3 Determining Intervals on Which a Function Is Increasing or Decreasing
    4. 5.4 Using the First Derivative Test to Determine Relative (Local) Extrema
    5. 5.5 Using the Candidates Test to Determine Absolute (Global) Extrema
    6. 5.6 Determining Concavity of Functions over Their Domains
    7. 5.7 Using the Second Derivative Test to Determine Extrema
    8. 5.8 Sketching Graphs of Functions and Their Derivatives
    9. 5.9 Connecting a Function, Its First Derivative, and Its Second Derivative
    10. 5.10 Introduction to Optimization Problems
    11. 5.11 Solving Optimization Problems
    12. 5.12 Exploring Behaviors of Implicit Relations

    Other units in AP Calculus AB

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.