14.6 Definiteness and Second Derivatives
Chapter 13 studied positive definite matrices at
length, and the previous section showed that the
signature is what congruence remembers. Putting the two
together costs almost nothing and buys two things: a
vocabulary that covers the forms Chapter 13 had no name
for, the indefinite and the semidefinite ones, and the
classical application that made quadratic forms worth
studying in the first place. Nothing from Chapter 13 is
reproved here. The field is
Throughout,
14.6.1. Five words for the sign of a form
Chapter 13 named two of the possible behaviors of
A form is definite when
Let
- (a) positive
definite if
for every nonzero ; - (b) positive
semidefinite if
for every ; - (c) negative
definite if
for every nonzero ; - (d) negative
semidefinite if
for every ; - (e)
indefinite if there exist
with and .
The same five words apply to a real symmetric matrix
The small words carry the weight. In (a) and (c) the
inequality is strict and the vector
must be nonzero; in (b) and (d) it is
weak and
Four examples on
Now the reading through the signature, which makes all five conditions into statements about three integers.
Let
- (a)
is positive definite ; - (b)
is positive semidefinite ; - (c)
is negative definite ; - (d)
is negative semidefinite ; - (e)
is indefinite and .
Idea. Fix an orthogonal basis. Then
Proof. By Theorem 14.4.2 there is an
orthogonal basis
(b)
If some then , so is not positive semidefinite. If no is negative then every term is , so .(c)
A positive definite is positive semidefinite, so by (b); and if some then with , a contradiction. Hence and . If every and , some , so , the other terms being .(d) and (d) follow by applying (a) and (b) to
, whose diagonal entries are and whose inertia is therefore .(e)
Suppose and . Then is neither positive semidefinite nor negative semidefinite, so by (b) and by (d). If and , some and some , and the basis vectors are the required . This proves the theorem.
So the five words sort the
Let
- (a)
is positive definite every eigenvalue of is positive for ; - (b)
is negative definite every eigenvalue of is negative for .
Proof.
(a) By Definition 14.1.2 and Theorem 14.1.1,
where , and exactly when . So is positive definite exactly when , and the two stated tests are Theorem 13.1.5 (b) and (d), the second being Sylvester’s criterion.(b) Apply (a) to
, whose matrix is . The eigenvalues of are the negatives of those of , and has , since scaling each of the rows by multiplies the determinant by once per row (Theorem 7.5.1 (b)). This proves the proposition.
The eigenvalue test is the one to think with, the
minor test the one to compute with; cheapest of all is
the symmetric elimination of Section 4, which returns
the whole signature rather than a verdict. Nothing is
said about the semidefinite cases on purpose:
Sylvester’s criterion has no weak version, as Chapter 13
showed with
Quick check. A real symmetric
Solution. Negative definite. The
signs alternate from a negative one, so
14.6.2. The second-derivative test
Here is the use. A differentiable function
Let
Two facts about
- (A1) (Symmetry
of the second derivatives.) The mixed partial
derivatives satisfy
on , so is a symmetric matrix. - (A2) (Taylor’s
theorem with a second-order remainder.) For every
small enough that , where the remainder satisfies as .
These are two standard theorems of multivariable calculus. This book proves neither. They are quoted so that the theorem below has hypotheses to stand on, and Chapter 18 quotes them again for its second-derivative test of convexity, exactly as the theorem of Abel and Ruffini was quoted in Chapter 11. Everything after them is linear algebra.
By (A1) the Hessian is a real symmetric matrix, so it
has an inertia, and by Theorem 14.6.1 that inertia
decides the definiteness of the quadratic form
Let
Proof. By Corollary 12.5.2
there are an orthogonal
Let
- (a) if
is positive definite, that is , then is a strict local minimum of ; - (b) if
is negative definite, that is , then is a strict local maximum of ; - (c) if
is indefinite, that is and , then is neither a local minimum nor a local maximum: every neighborhood of contains points where and points where . Such an is a saddle point.
If
Idea. Taylor says
Proof. Write
(a) Let
be the smallest eigenvalue of , so that by Lemma 14.6.3. Since , there is with and whenever . For such , by , So for every with , which is what “strict local minimum” says.(b) The Hessian of
at is , whose inertia is because that of is ; so is positive definite by Theorem 14.6.1 (a). Part (a) applied to makes a strict local minimum of , that is a strict local maximum of .(c) By Theorem 14.6.1 (e) there are
with and ; both are nonzero, since . Fix small and put . Then , so gives Now as , because and is a constant. So for all small enough the right-hand side is at least , and hence . The same computation with in place of gives for all small enough . Every neighborhood of contains points of both kinds, so is neither a local minimum nor a local maximum. This proves the theorem.
Cases (a)–(c) exhaust the nondegenerate ones: if
Find the critical points of
Solution. The partial derivatives
are
Differentiating again,
At
At
The three functions
Solution. Every second derivative
of
Warning. The test reads the
signature, not the determinant. In two
variables the familiar rule is “
14.6.3. Exercises
A. Check your understanding
- (a) Define what it means for a symmetric bilinear form on a real vector space to be indefinite.
- (b) State the signature condition equivalent to negative semidefiniteness, and the one equivalent to positive definiteness.
- (c) Determine whether the following statement is correct, and justify your answer: a symmetric form that is not positive semidefinite is indefinite.
- (d) Name the two results of analysis that Theorem 14.6.4 assumes, and say which part of its proof uses each.
- (e) A critical point
has
and . What does Theorem 14.6.4 conclude?
Solution.
(a)
is indefinite if there exist and in with and , where .(b) Negative semidefinite
; positive definite , equivalently . Both are Theorem 14.6.1.(c) Incorrect. The form
has inertia ; it is not positive semidefinite, since , and not indefinite, since is never positive. Failing (b) of Definition 14.6.1 means only ; being indefinite needs as well.(d) Symmetry of the mixed second partial derivatives, which makes the Hessian symmetric so that it has an inertia at all; and Taylor’s theorem with a second-order remainder, which is the identity
that every part of the proof manipulates.(e) Nothing. Here
and , so the Hessian is positive semidefinite but not definite and not indefinite, and none of (a), (b), (c) applies. Example (One Hessian, three answers) shows that all of “strict minimum”, “nonstrict minimum”, and “saddle” really do occur in this situation.
B. Practice
Determine the definiteness of each of the following
real symmetric matrices, and give the inertia of each.
Justify your answers.
Solution. For
For
For
Find all critical points of
Solution.
C. Going deeper
Let
- (a) Prove that
has a positive subspace of dimension . - (b) Prove that every
positive subspace has dimension at most
. Hint: consider a subspace on which of the largest available dimension. - (c) Hence deduce
that
equals the largest dimension of a positive subspace, and that this gives a second proof that does not depend on the orthogonal basis.
Solution. Fix an orthogonal basis
(a) Put
. For a nonzero , Eq. 14.4.1 gives , since every and some . So is positive of dimension .(b) Put
, of dimension . For , Eq. 14.4.1 gives , every there being . Let be any positive subspace. Then , since a nonzero vector in the intersection would have and . By the dimension formula (Theorem 1.7.3), so .(c) By (a) and (b) the largest dimension of a positive subspace is exactly
. That description mentions only and , no basis, so is an invariant of . Together with the invariance of under congruence (Theorem 14.2.3) this recovers Theorem 14.5.1.
Let
- (a) Verify that the
origin is a critical point and compute
and its determinant. - (b) Classify the
origin, and explain why the sign of
alone would have been useless. - (c) Prove that no
twice continuously differentiable
has a strict local maximum at a critical point with , and give a that does. Which feature of the dimension is responsible?
Solution.
(a)
, , , all zero at . The second derivatives at are , , and , , , all zero at . So , with .(b) The inertia is
, so the Hessian is indefinite and is a saddle point by Theorem 14.6.4 (c). The determinant is the product of the eigenvalues (Corollary 12.1.5) and therefore records only the parity of ; here says is even, which is equally true of the negative definite and of the positive definite . It cannot distinguish them.(c) Suppose
is a local maximum of and write . If for some , the computation in the proof of Theorem 14.6.4 (c) gives for all small , contradicting the maximum. So for every , that is is negative semidefinite and by Theorem 14.6.1 (d). If moreover then is not an eigenvalue, so and the inertia is . But then is a product of three negative numbers, hence negative — a contradiction. On there is no obstruction: has , determinant , and a strict local maximum at . The responsible feature is the parity of the dimension: the determinant is the product of eigenvalues, so a negative definite Hessian has of sign .