4.4.13 · D1Multivariable Calculus

Foundations — Second derivative test — Hessian determinant

1,900 words9 min readBack to topic

This page assumes you know nothing. Before you can read Second derivative test — Hessian determinant, you need a small toolkit of symbols and pictures. We build each one from zero, in an order where every new idea leans only on the ones before it.


1. What is ? — a landscape

Think of a map of a hilly region. Each dot on the map has an east–west coordinate and a north–south coordinate . The function tells you the altitude there. Stack all those altitudes up and you get a surface floating above the flat -plane.

We give that vertical altitude its own name. Let stand for how high above the map floor you are — the up–down coordinate, at right angles to both and . Then the surface is simply the collection of all points where the height equals what returns:

Figure — Second derivative test — Hessian determinant
  • The flat floor is the -plane — the map, seen from above.
  • The vertical coordinate measures altitude; the equation lifts each map-point up to the surface (red).
  • Why we need this: everything else — slopes, curving, critical points — is a statement about this surface.

2. What is a partial derivative ? — slope in ONE direction

On a hill you can walk in many directions and the steepness differs. A partial derivative answers: if I walk in exactly one compass direction, how steep is it?

The little subscript is the direction you froze everything else against. To compute you differentiate treating as a plain constant, and vice versa.

Figure — Second derivative test — Hessian determinant
  • : ground rises as you step east (red arrow points uphill).
  • : ground falls as you step east.
  • : ground is momentarily flat in the east–west direction.

Why the topic needs it: the very first step of the test is finding where the ground is flat in every direction — and "every direction" turns out to be captured by just and together.


3. What is the gradient , and a critical point?

Figure — Second derivative test — Hessian determinant

If even one slope were nonzero, you could still walk somewhere uphill or downhill, so you couldn't be at a peak, pit, or pass. Only when both vanish does the tangent plane go horizontal.

Why the topic needs it: the whole test is only valid at critical points. See Critical points and gradient for how to solve .


4. Second derivatives — CURVING, not slope

At a flat spot the slope is zero in every direction, yet the spot could be a pit, a peak, or a pass. What distinguishes them is not slope but how the slope is changing — the curving.

Figure — Second derivative test — Hessian determinant

Read the subscripts left to right as "differentiate by this, then by that." Because slope was zero at the critical point, the curving is the first thing that carries real information — that is exactly why the test is called the second derivative test.


5. Clairaut's theorem — the two mixed partials agree

Differentiating "east then north" gives the same answer as "north then east." So the four second derivatives are really only three distinct numbers: , , and the shared cross-term . This is why the matrix in the next step is symmetric (a mirror across its diagonal). See Clairaut's theorem.


6. Packaging into the Hessian matrix

Why bundle them? Because the shape of the surface is controlled by all three curvatures at once, and a matrix is the natural container for "curving that depends on direction." See Hessian matrix.

That last number is the star of the parent note. The subtracted is precisely the tilt term from step 4 — it is not optional.


7. Quadratic form — the local shape

Near a critical point, if we let and be small steps away, the surface's local shape is captured by a single expression:

The tool that produces this expression — dropping the constant and the (zero) linear terms and keeping the second-order part — is the multivariable Taylor expansion. See Taylor series multivariable. And the study of when such an expression stays one sign is exactly Quadratic forms and definiteness.

Why we need it here: this is the bridge. Slopes told us where to look (critical point); the quadratic form tells us what shape is there, and reads off that shape.


Prerequisite map

Function f of x and y = a landscape

Partial derivatives fx fy = slope one direction

Gradient = both slopes as an arrow

Critical point = flat everywhere

Second derivatives = curving

Mixed partial fxy = tilt

Clairaut fxy equals fyx

Hessian matrix H

Determinant D = fxx fyy minus fxy squared

Quadratic form Q u v = local shape

Second derivative test


Equipment checklist


Connections