A topic in the Open Knowledge Graph — a free, open map of 15,495 topics and the order to learn them in.

Second Partial Test for Local Extrema (Hessian)

College Depth 94 in the knowledge graph ☐ I know this ☆ Set as goal
1,021topics build on this
429prerequisites beneath it
See this on the map →
Critical Points and Classification of ExtremaHigher-Order Partial Derivatives and Mixed Partials→→Second Partial Test and the HessianThe Hessian Matrix and Second Derivative Test
second-derivative-test hessian eigenvalues

Core Idea

At critical point (a, b), compute the Hessian matrix H = [[f_xx, f_xy], [f_xy, f_yy]]. If det(H) > 0 and f_xx > 0, it's a local min; if f_xx < 0, local max. If det(H) < 0, it's a saddle point. If det(H) = 0, test is inconclusive.

How It's Best Learned

Compare two functions that differ only in the cross term. For f = x² + xy + y² at the origin, D = 4 − 1 = 3 > 0, a local minimum. For g = x² + 3xy + y², D = 4 − 9 = −5 < 0, a saddle. Check g along y = −x, where it equals −x², to see the downward direction the axes hide.

Common Misconceptions

Explainer

In single-variable calculus, the second derivative test says: if f'(c) = 0 and f''(c) > 0, then c is a local minimum. The sign of the second derivative tells you the concavity — whether the function curves upward (bowl) or downward (hill) near the critical point. The second partials test generalizes this to functions of two variables, but the geometry is richer: near a critical point of f(x, y), the surface could curve upward in every direction (a local minimum), downward in every direction (a local maximum), or upward in some directions and downward in others (a saddle point, shaped like a mountain pass).

From your work on higher-order mixed partials, you know that f_xy = f_yx for smooth functions. The Hessian matrix H packages all this second-order information:

H = [[f_xx, f_xy], [f_xy, f_yy]]

The determinant D = det(H) = f_xx · f_yy − (f_xy)² is the key quantity. Think about what D measures geometrically. If D > 0, both eigenvalues of H have the same sign — meaning the surface curves the same way (both up or both down) in every cross-sectional direction through the critical point. Then f_xx (or equivalently f_yy) tells you which way: f_xx > 0 means concave up in all directions (local min), f_xx < 0 means concave down in all directions (local max). If D < 0, the eigenvalues have opposite signs — the surface curves up in some directions and down in others, producing a saddle point. The function increases if you walk one way, decreases if you walk another way; there is no local extremum.

A useful analogy: D is like the discriminant of the second-order behavior. Just as the discriminant of a quadratic b² − 4ac tells you whether roots are real or complex, D = f_xx f_yy − f_xy² tells you whether the critical point is a "definite" extremum or an indefinite saddle. The cross-term f_xy encodes the "twisting" of the surface; a large f_xy relative to f_xx and f_yy can turn a point that looks like an extremum along the axes into a saddle.

The test is applied in two steps: first locate critical points by solving ∇f = 0 (both partial derivatives vanish), then evaluate D and f_xx at each critical point. The inconclusive case D = 0 requires other methods — higher-order analysis, comparison with nearby values, or geometric inspection. This test extends conceptually to higher dimensions via the eigenvalues of the Hessian: a local min requires all eigenvalues positive (positive definite), a local max requires all negative (negative definite), and a saddle requires mixed signs (indefinite).

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Multiplying Binomials (FOIL) → Factoring Trinomials → Factoring Completely → Introduction to Rational Expressions → Simplifying Radical Expressions → Segments and Distance → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Similar Right Triangles and the Geometric Mean → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Special Right Triangles: 30-60-90 → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Inverse Trigonometric Functions → Implicit Differentiation → Related Rates → Optimization Problems → Critical Points of Multivariable Functions → Critical Points and Classification of Extrema → Second Partial Test for Local Extrema (Hessian)

Longest path: 95 steps · 429 total prerequisite topics

Prerequisites (2)

Leads To (2)