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.

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.

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.

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.

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.

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) = 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
If 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
If 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
If 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.

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.

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.
Summary of Second Derivative Test outcomes
Conditionf″(c) > 0f″(c) < 0f″(c) = 0
ConcavityConcave up (∪)Concave down (∩)Undetermined
ClassificationLocal MinimumLocal MaximumInconclusive
Graph ShapeValley / bowlPeak / hilltopCould be max, min, or neither

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
Step 1 — Find the first derivativeDifferentiate the function using the power rule. Each term axⁿ becomes n × a × xn−1.
f′(x) = 6x² − 18x + 12
2
Step 2 — Find the critical pointsSet 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
Step 3 — Find the second derivativeDifferentiate f′(x) = 6x² − 18x + 12 using the power rule again.
f″(x) = 12x − 18
4
Step 4 — Evaluate f″(x) at x = 1Substitute 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
Step 5 — Evaluate f″(x) at x = 2Substitute 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
Step 6 — Find the y-values of the extremaTo 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)

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.

Comparing the two main tests for classifying critical points
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
💡 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.

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).

How the Second Derivative Test scales to multiple dimensions
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 possibilitySaddle points (max in one direction, min in another)

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.

Practice Problems

PROBLEM 1CONCEPTUAL
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.
PROBLEM 2BASIC CALCULATION
Find and classify all local extrema of f(x) = x³ − 3x + 2 using the Second Derivative Test.
PROBLEM 3INTERMEDIATE
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.
PROBLEM 4APPLIED
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.
PROBLEM 5CRITICAL 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.

Lesson 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