Calculus 1 • Applications of Derivatives: Analytical

Second Derivative Test — Using the Second Derivative Test to Determine Extrema

Determine whether a critical point is a local maximum or minimum by examining concavity.

A smooth function curve with a function symbol and rising tangent trend.
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

Finding the highest and lowest points on a curve has fascinated mathematicians for centuries. Before calculus existed, locating extreme values required tedious geometric arguments or trial-and-error calculations. The development of derivatives gave mathematicians a powerful tool: set the derivative equal to zero and solve for critical points. But identifying a critical point was only half the battle — you still needed to decide whether that point was a peak, a valley, or neither.

1684 • Leibniz Publishes Differential Calculus

Gottfried Wilhelm Leibniz published his foundational work on calculus, introducing the notation dy/dx and laying the groundwork for optimization problems.

1696 • L'Hôpital and the Brachistochrone Problem

Optimization challenges like the brachistochrone problem pushed mathematicians to develop tests for distinguishing maxima from minima using derivatives.

1740s • Euler Formalizes the Second Derivative Criterion

Leonhard Euler systematically used the sign of the second derivative to classify critical points, establishing what we now call the Second Derivative Test.

1797 • Lagrange Refines the Theory

Joseph-Louis Lagrange formalized the relationship between concavity and extrema, connecting the second derivative to the curvature of a function's graph.

The core question that drove these developments remains the same question you face today: once you find where f′(x) = 0, how do you tell whether you're at a hilltop or a valley floor? The Second Derivative Test provides an elegant, efficient answer.

SECTION 2

Core Principles & Definitions

Before applying the Second Derivative Test, you need to understand a few essential ideas. The test relies on the connection between the second derivative of a function and the concavity of its graph. Concavity describes whether a curve bends upward like a cup or downward like a frown, and this bending behavior is exactly what determines the nature of a critical point.

1

Critical Point

A value x = c where f′(c) = 0 or f′(c) is undefined. These are the only locations where a local maximum or minimum can occur.
2

Concave Up

A function is concave up on an interval when f″(x) > 0. The graph curves upward like a bowl, and any critical point here is a local minimum.
3

Concave Down

A function is concave down on an interval when f″(x) < 0. The graph curves downward like a hill, and any critical point here is a local maximum.
4

Inflection Point

A point where concavity changes from up to down or vice versa. At an inflection point, f″(x) = 0, and the Second Derivative Test is inconclusive.
✦

KEY TAKEAWAY

Think of a critical point as a spot where a ball placed on the curve would momentarily stop rolling. If the curve is shaped like a bowl (concave up), the ball settles into the bottom — that's a local minimum. If the curve is shaped like the top of a hill (concave down), the ball would roll away — that's a local maximum. The second derivative tells you the shape of the curve at that point.

SECTION 3

Visual Explanation

The diagram below shows a function with two critical points — one where the curve is concave up and one where the curve is concave down. Notice how the concavity at each critical point determines whether it is a local minimum or local maximum.

Concavity and the Second Derivative Testxf(x)Local Minf″(c₁) > 0Concave Up ∪Local Maxf″(c₂) < 0Concave Down ∩Local Minf″(c₃) > 0c₁c₂c₃∪∩∪
The curve shows three critical points (pink dots). At c₁ and c₃ the curve is concave up (∪ shape), so f″ > 0 and we have local minima. At c₂ the curve is concave down (∩ shape), so f″ < 0 and we have a local maximum.

Notice the pattern: where the curve opens upward like a cup, the critical point is the lowest point in its neighborhood. Where the curve opens downward like a hill, the critical point is the highest nearby point. The second derivative captures this bending direction mathematically: positive means concave up, negative means concave down.

SECTION 4

Mathematical Framework

The Second Derivative Test gives you a quick way to classify a critical point without having to check sign changes of f′ across an interval. Here is the formal statement of the test, followed by the key equations you'll need.

FIND CRITICAL POINTS

f′(c)=0f′(c) = 0

Solve for all values of c where the first derivative equals zero. These are the critical points where the tangent line is horizontal.

CLASSIFY — LOCAL MINIMUM

Iff′(c)=0andf″(c)>0,thenfhasalocalminimumatx=cIf f′(c) = 0 and f″(c) > 0, then f has a local minimum at x = c

A positive second derivative means the graph is concave up at c, so the critical point is a valley.

CLASSIFY — LOCAL MAXIMUM

Iff′(c)=0andf″(c)<0,thenfhasalocalmaximumatx=cIf f′(c) = 0 and f″(c) < 0, then f has a local maximum at x = c

A negative second derivative means the graph is concave down at c, so the critical point is a peak.

INCONCLUSIVE CASE

Iff′(c)=0andf″(c)=0,thetestisinconclusiveIf f′(c) = 0 and f″(c) = 0, the test is inconclusive

When the second derivative is zero, the test cannot determine the nature of the critical point. You must use the First Derivative Test or higher-order derivatives instead.

⚠

Important Reminder

The Second Derivative Test only applies at points where f′(c) = 0. If f′(c) is undefined (for example, at a cusp or corner), you should use the First Derivative Test instead. Also, remember that the second derivative itself must exist at c for the test to work.

SECTION 5

Detailed Classification & Decision Flowchart

When you encounter an optimization or curve-sketching problem, you need a systematic approach. The flowchart below walks you through the complete decision process — from finding critical points to classifying each one. Following these steps in order ensures you never skip a case.

Second Derivative Test — Decision FlowchartFind f′(x) and solve f′(c) = 0Compute f″(c)f″(c) = ?f″(c) > 0f″(c) < 0f″(c) = 0Local MinimumConcave Up (∪)Local MaximumConcave Down (∩)InconclusiveUse First Derivative TestCheck sign changes of f′(x)+ to − → Max | − to + → Min | No change → Neither
This flowchart summarizes the complete process: first find critical points, then compute f″(c), and finally classify based on the sign. If f″(c) = 0, fall back to the First Derivative Test.
Conditionf″(c) > 0f″(c) < 0f″(c) = 0
ConcavityConcave up (∪)Concave down (∩)Undetermined
ClassificationLocal MinimumLocal MaximumInconclusive
Graph ShapeValley / bowlPeak / hilltopCould be max, min, or neither

Summary of Second Derivative Test outcomes

SECTION 6

Worked Example

Let's apply the Second Derivative Test to the function f(x) = 2x³ − 9x² + 12x − 4 to find and classify all of its local extrema.

Classify the extrema of f(x) = 2x³ − 9x² + 12x − 4

  1. 1

    Step 1 — Find the first derivative

    Differentiate the function using the power rule. Each term axⁿ becomes n × a × xn−1.
    f′(x) = 6x² − 18x + 12
  2. 2

    Step 2 — Find the critical points

    Set f′(x) = 0 and solve. Factor out the common factor 6: 6(x² − 3x + 2) = 0, which factors as 6(x − 1)(x − 2) = 0.
    Critical points: x = 1 and x = 2
  3. 3

    Step 3 — Find the second derivative

    Differentiate f′(x) = 6x² − 18x + 12 using the power rule again.
    f″(x) = 12x − 18
  4. 4

    Step 4 — Evaluate f″(x) at x = 1

    Substitute x = 1 into the second derivative: f″(1) = 12(1) − 18 = 12 − 18 = −6. Since f″(1) = −6 < 0, the graph is concave down at x = 1.
    f″(1) = −6 < 0 → Local maximum at x = 1
  5. 5

    Step 5 — Evaluate f″(x) at x = 2

    Substitute x = 2 into the second derivative: f″(2) = 12(2) − 18 = 24 − 18 = 6. Since f″(2) = 6 > 0, the graph is concave up at x = 2.
    f″(2) = 6 > 0 → Local minimum at x = 2
  6. 6

    Step 6 — Find the y-values of the extrema

    To fully describe the extrema, plug the x-values back into the original function. f(1) = 2(1)³ − 9(1)² + 12(1) − 4 = 2 − 9 + 12 − 4 = 1. f(2) = 2(2)³ − 9(2)² + 12(2) − 4 = 16 − 36 + 24 − 4 = 0.
    Local maximum at (1, 1); Local minimum at (2, 0)

SECTION 7

Second Derivative Test vs. First Derivative Test

The Second Derivative Test is not the only method for classifying critical points. The First Derivative Test uses sign changes of f′(x) on either side of a critical point to make the same determination. Each method has strengths and limitations, so understanding when to use which test will make you a more efficient problem-solver.

FeatureSecond Derivative TestFirst Derivative Test
What you evaluatef″(c) at each critical pointSign of f′(x) on intervals around c
SpeedUsually faster — just plug in one valueRequires testing multiple points
Always conclusive?No — fails when f″(c) = 0Yes — always gives a definitive answer
Requiresf″(x) must exist at cf′(x) must exist near c (not necessarily at c)
Best used whenf″(x) is easy to compute and nonzerof″(c) = 0, or f″ is hard to find

Comparing the two main tests for classifying critical points

💡

STRATEGY TIP

Think of the Second Derivative Test as the express lane at a grocery store — it's the fastest option most of the time, but it has a limit. When f″(c) = 0, you have too many items for the express lane, so you switch to the regular lane (the First Derivative Test). A strong calculus student keeps both methods in their toolkit and chooses the one that fits the situation.

SECTION 8

Connection to Advanced Theory

The Second Derivative Test you've learned here is a single-variable version of a much broader idea. In multivariable calculus (Calculus 3), you'll encounter functions of two or more variables, and classifying critical points becomes more complex. Instead of a single second derivative, you use a matrix of second partial derivatives called the Hessian matrix, and a quantity called the discriminant replaces the simple sign check of f″(c).

FeatureSingle-Variable (Calculus 1)Multivariable (Calculus 3)
Critical point conditionf′(c) = 0∇f = 0 (all partial derivatives equal zero)
Classification toolSign of f″(c)Eigenvalues of the Hessian matrix
Possible outcomesLocal max, local min, or inconclusiveLocal max, local min, saddle point, or inconclusive
New possibility—Saddle points (max in one direction, min in another)

How the Second Derivative Test scales to multiple dimensions

The concept also connects to real-world optimization problems in engineering, economics, and data science. When companies want to maximize profit or minimize cost, the Second Derivative Test (or its multivariable extension) confirms that the solution they found is truly optimal and not just a flat spot on the function. Mastering this test now gives you a solid foundation for these advanced applications.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Suppose f′(3) = 0 and f″(3) = 7. What can you conclude about the function f at x = 3? Explain your reasoning using the Second Derivative Test.
Show answer
Since f′(3) = 0, the point x = 3 is a critical point. Because f″(3) = 7 > 0, the function is concave up at x = 3. By the Second Derivative Test, the function has a local minimum at x = 3. The positive second derivative tells us the curve bends upward like a bowl at this point, so the critical point sits at the bottom of a valley.

Question 2: BASIC CALCULATION

Find and classify all local extrema of f(x) = x³ − 3x + 2 using the Second Derivative Test.
Show answer
First, f′(x) = 3x² − 3 = 3(x² − 1) = 3(x − 1)(x + 1), so the critical points are x = 1 and x = −1. Next, f″(x) = 6x. At x = −1: f″(−1) = −6 < 0, so there is a local maximum at x = −1 with f(−1) = (−1)³ − 3(−1) + 2 = 4. At x = 1: f″(1) = 6 > 0, so there is a local minimum at x = 1 with f(1) = 1 − 3 + 2 = 0. The local maximum is (−1, 4) and the local minimum is (1, 0).

Question 3: INTERMEDIATE

Use the Second Derivative Test to find and classify all local extrema of f(x) = x⁴ − 4x³ + 6x². If the test is inconclusive at any critical point, state that.
Show answer
Compute f′(x) = 4x³ − 12x² + 12x = 4x(x² − 3x + 3). Using the quadratic formula on x² − 3x + 3, the discriminant is 9 − 12 = −3 < 0, so the only real critical point is x = 0. Now f″(x) = 12x² − 24x + 12. Evaluate: f″(0) = 12(0) − 24(0) + 12 = 12 > 0. By the Second Derivative Test, there is a local minimum at x = 0 with f(0) = 0. This function has only one critical point and it is a local minimum at the origin (0, 0).

Question 4: APPLIED

A company's profit function is P(x) = −2x² + 120x − 1000, where x is the number of units sold (in hundreds). Use the Second Derivative Test to find the production level that maximizes profit and determine the maximum profit.
Show answer
First, P′(x) = −4x + 120. Setting P′(x) = 0 gives x = 30. Next, P″(x) = −4. Since P″(30) = −4 < 0, the function is concave down at x = 30, confirming a local maximum. The maximum profit is P(30) = −2(900) + 120(30) − 1000 = −1800 + 3600 − 1000 = 800. Therefore, maximum profit of $800 occurs when 3000 units are sold (x = 30 hundreds). Since this is the only critical point of a downward parabola, it is also the absolute maximum.

Question 5: CRITICAL THINKING

Consider the function f(x) = x⁴. Show that x = 0 is a critical point, explain why the Second Derivative Test is inconclusive there, and then use another method to determine whether x = 0 is a local maximum, local minimum, or neither.
Show answer
We have f′(x) = 4x³, so f′(0) = 0 and x = 0 is a critical point. The second derivative is f″(x) = 12x², so f″(0) = 0. Since f″(0) = 0, the Second Derivative Test is inconclusive. To classify x = 0, apply the First Derivative Test: for x < 0, f′(x) = 4x³ < 0 (decreasing), and for x > 0, f′(x) = 4x³ > 0 (increasing). The derivative changes from negative to positive, so x = 0 is a local minimum with f(0) = 0. This example demonstrates that when the Second Derivative Test fails, the First Derivative Test serves as a reliable backup.

SUMMARY

Lesson Summary

Summary

The Second Derivative Test is a streamlined method for classifying critical points — values where f′(c) = 0. After finding these points, you compute the second derivative f″(c). If f″(c) > 0, the function is concave up and the point is a local minimum. If f″(c) < 0, the function is concave down and the point is a local maximum.

When f″(c) = 0, the test is inconclusive and you must fall back to the First Derivative Test. Remember: positive second derivative means bowl shape (minimum), negative means hilltop shape (maximum). This test extends naturally to multivariable optimization and is essential for real-world applications in economics, engineering, and the sciences.

Varsity Tutors • Calculus 1 • Second Derivative Test — Using the Second Derivative Test to Determine Extrema