4.4.13 · D4Multivariable Calculus

Exercises — Second derivative test — Hessian determinant

2,683 words12 min readBack to topic

Below, a partial derivative like means "differentiate treating as a frozen constant, watch how changes as only moves." means "first differentiate by , then by ." We build every one explicitly.


Level 1 — Recognition

You are handed the numbers. Just read off the verdict.

Recall Solution 1.1

WHAT we do: plug into . WHY check : says "extremum", but not which. The sign of says the surface smiles upward. Verdict: local minimum.

Recall Solution 1.2

Both diagonal entries are negative, and indeed forces them to share a sign. → the surface frowns. Verdict: local maximum.

Recall Solution 1.3

WHY stop: settles it alone — no need to look at . Geometrically the cross-term is so large it tilts the bowl into a Pringle. Verdict: saddle point.


Level 2 — Application

Now you find the critical point and derivatives.

Recall Solution 2.1

Step 1 — find where the ground is flat. WHY: the test only applies at . Critical point: . Step 2 — second derivatives (all constants here): Step 3 — discriminant: Verdict: local minimum at .

Recall Solution 2.2

Step 1: From the first, . Substitute into the second: , so . Critical point: . Step 2: . Step 3: Verdict: local minimum at .

Recall Solution 2.3

Step 1: and → only critical point . Step 2: . Step 3: Verdict: saddle point at . Look at the figure: along the product climbs, along it falls — the signature of a saddle.

Figure — Second derivative test — Hessian determinant

Level 3 — Analysis

Multiple critical points, or a parameter to interpret.

Recall Solution 3.1

Step 1: . And . Two critical points: and . WHY two: makes quadratic, so two roots. Step 2: . Note depends on the point. Step 3, at : , so , local minimum. Step 3, at : , so saddle point. Lesson: the same formula gives different verdicts at different points because changes sign.

Recall Solution 3.2

Step 1: ; . Substitute : . Critical points: and . Step 2: . At : saddle point. At : , local minimum.

Recall Solution 3.3

Step 1: , ; both vanish at , so it is critical for every . Step 2: . Step 3: . A saddle needs : . Verdict: saddle for or . (At , : inconclusive. For : minimum.)


Level 4 — Synthesis

Combine the test with the underlying Taylor / quadratic-form ideas.

Recall Solution 4.1

The Taylor picture. Near a point , expanding to second order with : The test reads shape from the quadratic part only. That is legitimate only when the linear part is zero — i.e. . Otherwise the linear term dominates for small (it beats the quadratic near the point), so the surface is tilted, and "min/max/saddle" is not even the right question — it's just a slope. At for : . The gradient is nonzero; the surface simply slopes uphill in . Blindly computing and declaring "minimum" is meaningless is on the side of the bowl, not the bottom. Always solve first.

Recall Solution 4.2

(a) Direct: . (b) Eigenvalues solve : Product: . ✓ Geometry: both eigenvalues are positive → the surface curves up along both principal axes → positive definite → local minimum. The eigenvalues and are the curvatures along the two principal directions of the bowl.

Recall Solution 4.3

WHAT we need: critical point at , downward curvature, no cross-term. A shifted downward paraboloid works: Check critical point: ; . ✓ Check derivatives: ✓, , ✓. Test: and local maximum. ✓ Construction succeeds.


Level 5 — Mastery

The hard edge cases: , and full multi-point landscapes.

Recall Solution 5.1

Step 1: , → critical at . Step 2: , , . At : , , . Step 3: inconclusive. The quadratic Taylor part is entirely flat, so second-order info tells us nothing. By hand: for all , with equality only at (both fourth powers are ). So is the smallest value takes anywhere → global (hence local) minimum. The curvature is quartic, not quadratic, which is exactly why the second-derivative test can't see it.

Recall Solution 5.2

Step 1: ; for all . So the whole line is critical! Focus on . Step 2: , , . At : all zero. Step 3: → inconclusive. By hand: moving in , ; moving in , . So increases on one side and decreases on the other along the same axis — like the point of inflection of lifted into a surface. It is not a strict min (values below it exist), not a strict max (values above it exist). Moving in , stays flat. This is a degenerate inflection ridge, not a genuine saddle (a saddle needs curvature of opposite signs; here the -behaviour is cubic, not quadratic). This is exactly the " = investigate by hand" case.

Recall Solution 5.3

Step 1 — critical points: . And . Three critical points: . Step 2 — derivatives: , , . So . At : , saddle point. At : , , local minimum. At : , , local minimum. The shape: a "double well" — two valleys at separated by a saddle ridge over the origin (the classic double-well profile, lifted by the bowl ).

Figure — Second derivative test — Hessian determinant

Active recall

Give a function where the test is inconclusive but a minimum exists.
at : yet it is a minimum.
Why can differ in sign at two critical points of one function?
Because can depend on position (e.g. ), so it must be re-evaluated at each point.
For , which give a saddle at the origin?
, since .
What must you do when ?
Abandon the test and analyse directly (bound it or check directions).

Connections