Higher Derivatives, Taylor's Theorem, and Extrema
Iterating the derivative gives a symmetric second derivative, the Hessian, whose mixed partials agree when they are continuous. Taylor's theorem expands a smooth map to any order with a Lagrange-type remainder, and at a critical point the definiteness of the Hessian decides between a local minimum, a local maximum, and a saddle.
╌╌╌╌
The derivative is itself a map, from points to linear transformations, and it can be differentiated again. Doing so once produces the second derivative that carries the curvature of ; doing so repeatedly produces the Taylor expansion. For a scalar field the second derivative is a symmetric matrix, the Hessian, and its definiteness generalizes the sign condition of the one-variable second-derivative test.
The second derivative as a bilinear map
If is differentiable, then , where is the space of linear maps (identified with matrices). If this map is itself differentiable at , its derivative sends a vector to a linear map, so that lies in for each pair . It is convenient to read as a bilinear map
linear in each argument separately. When is scalar-valued, the bilinear map is represented by a single matrix.
The proof is immediate: , and applying the Jacobian theorem from the first lesson to produces the matrix of second partials. Higher derivatives continue the pattern — is a trilinear map with components — but the matrix picture stops at the second derivative of a scalar field.
Equality of mixed partials
The Hessian written above has, in general, an ordering ambiguity: differentiates first in then in , and swapping the order might change the answer. Under continuity of the second partials, it does not.
Smoothness classes. A map whose first derivatives exist and are continuous on is of class ; if it is for every it is smooth, or . Symmetry of all higher derivatives follows by induction. The classes nest, , and the Hessian test below lives in .
Taylor's theorem in several variables
Taylor's theorem expands around a point as a polynomial in the displacement plus a remainder controlled by the next derivative. The one-variable statement generalizes with the -th derivative acting as an -linear form on copies of the displacement.
The remainder has a Lagrange integral form,
obtained by repeated integration by parts starting from the fundamental theorem of calculus applied to . The case is the mean value theorem; the case is the quadratic expansion the extremum test uses.
Real analytic functions. Letting gives the Taylor series . When it converges to near , is real analytic there — equivalent to the remainder tending to . Convergence is not automatic even for smooth functions.
Critical points and extrema
Taylor's second-order expansion turns the search for local maxima and minima into linear algebra. First, the first-order condition.
A critical point need not be extreme. In one variable has but no extremum; in two variables has vanishing at the origin, yet every neighborhood of contains points where and points where . Such a critical point is a saddle point.
The Hessian test. The second-order term of Taylor's expansion at a critical point is , and its sign for all small decides the classification.
The gap between definite
(sufficient) and semidefinite
(necessary) is real:
has a minimum along the line where the Hessian is only
semidefinite, since it has zero curvature in the -direction.
The criterion. For the Hessian is with , , , and definiteness reduces to two scalar checks.
- Positive definite iff and : local minimum.
- Negative definite iff and : local maximum.
- : indefinite, a saddle.
| Hessian at critical point | signs | Classification |
|---|---|---|
| positive definite | local minimum | |
| negative definite | local maximum | |
| indefinite | saddle | |
| semidefinite (a zero eigenvalue) | test inconclusive |
The inconclusive row is where the second-order expansion runs out: the quadratic form has a flat direction, and deciding the extremum needs higher-order terms or a direct argument. Local invertibility of itself is governed not by definiteness of the Hessian but by nonsingularity of the Jacobian, through the inverse and implicit function theorems.1
Footnotes
- Shkoller, MAT125B Lecture Notes, §2.10 (second derivative as a bilinear map, Hessian matrix Theorem 2.43, symmetry Theorem 2.44), §2.11 (Taylor's theorem 2.50 with Lagrange remainder; Examples 2.51–2.53), and §2.12 (critical points Theorem 2.56, definiteness test Theorem 2.60, the Lemmas 2.61–2.62, Examples 2.63–2.64). ↩
╌╌ END ╌╌