Chapter 12 asked when several operators can be
diagonalized in one orthonormal basis, and answered:
when they commute and each is normal (Theorem 12.7.1).
That theorem is about operators, and
its currency is the unitary similarity . This section
asks a question that looks similar and is not. Given two
forms — two self-adjoint matrices, each
thought of as the recipe — can one change of
variable make both of them diagonal at once? No
commuting is assumed, and in general the two matrices do
not commute. The price is that the change of variable is
no longer unitary, and the hypothesis is that one of the
two forms is positive definite.
Throughout, or , and “self-adjoint” means (over : symmetric).
A matrix can play two roles, and the two roles come
with different change-of-variable rules.
As an operator, eats a vector and
returns a vector. Rewriting in
the equation turns it into : the new matrix is , and the
relation is similarity. Eigenvalues,
trace, determinant, and characteristic polynomial all
survive it.
As a form, eats a vector and
returns the scalar .
Rewriting turns that scalar into so the new matrix is . Two matrices
and with invertible are called
congruent; this is the operation of Proposition 13.1.2,
where it was already shown to preserve the sign of a
form. Congruence is the right relation here for the
plain reason that it is the one the question is phrased
in: “make both forms diagonal” means “make both
and
into sums of squares in the same new coordinates”, and
that is a statement about and . Chapter 14
studies congruence in its own right, including what it
does preserve; for now, note that it certainly does
not preserve eigenvalues, since can
be any positive definite matrix at all.
Congruence and similarity coincide in exactly one
situation: when
is unitary, . That is the situation of Chapter 12,
and it is what makes that chapter’s theorems so strong
and its hypotheses so restrictive.
Warning. This is not
Chapter 12’s simultaneous diagonalization. Theorem 12.7.1
needs the operators to commute and
produces a unitary with every diagonal;
eigenvalues are preserved. The theorem below needs
no commuting and one of the two
matrices to be positive definite, and
produces a merely invertible ; the eigenvalues of
are destroyed,
and even comes
out as . The two
theorems have no common generalization: neither
hypothesis implies the other. When the matrices both
commute and one is positive definite, both theorems
apply and give different factorizations.
Theorem
13.4.1 (Diagonalizing Two Forms by
Congruence)
Let be self-adjoint with . Then there
is an invertible with for some real diagonal . Over , with symmetric, may be taken real.
Idea. Two steps, and the first one
is the whole idea. ① Whiten. The hypothesis
gives
an invertible positive definite square root , and the
congruence by turns into . That uses up the
definiteness of
and nothing else. ② Now is invariant under
every unitary congruence, because a
unitary congruence is a similarity; so we still have the
whole spectral theorem available for the transformed
, and it is
self-adjoint. Diagonalize it and compose the two changes
of variable.
Proof. Since , Theorem 13.2.1 gives a
unique with . Its
eigenvalues are the nonnegative square roots of the
eigenvalues of ,
which are by
Theorem 13.1.5; hence
and in particular is invertible.
Write , which is again self-adjoint,
since the inverse of an invertible self-adjoint matrix
is self-adjoint.
Put . Then , so is self-adjoint. By
the spectral theorem for matrices there is a unitary
and a real
diagonal with
(Corollary 12.4.3
over ; Corollary 12.5.2
over , with
orthogonal and
real).
Set , a product of invertible matrices,
hence invertible. Then where the middle equality uses . And
Over
every matrix named here is real: is real because
it is a polynomial in (Theorem 13.2.1), and
is real by Corollary 12.5.2.
This proves the theorem.
The theorem says more than “both become diagonal”:
the definite one becomes the identity,
which is the strongest normalization available, and it
costs nothing extra. Note also which hypothesis did
which job. Definiteness of was used exactly once,
to invert .
Self-adjointness of was used exactly once,
to apply the spectral theorem to . Nothing at all was
assumed about
versus .
Solution. A unitary has , so
would give . So a unitary can only work when
is already the
identity — and then the theorem is just the spectral
theorem for .
The
generalized eigenvalue problem
The matrix of
the theorem is not an abstract object: its columns solve
an eigenvalue problem in which the identity has been
replaced by .
Definition
13.4.1 (Generalized eigenvalue)
Let . A scalar is a
generalized eigenvalue of the
pair if and such an is a
generalized eigenvector for . The family of
matrices is called the pencil
of the pair.
Taking
recovers Definition 9.2.1, so
the word “generalized” is honest. The condition with
says that is singular, that is ;
so the generalized eigenvalues are the roots of the
polynomial in , the
characteristic polynomial of the
pencil. Its degree is at most , and exactly when is invertible, since
the -coefficient is
. When
is singular the
degree can drop, and the polynomial can even be a
nonzero constant, in which case the pair has no
generalized eigenvalues at all; exercise C3 below is
such a pair. From here on , so this does not arise.
Nothing so far forces those roots to be real: for
they are
just eigenvalues, and a general has complex ones.
Self-adjointness of alone is not enough
either, as the warning at the end of this section shows.
It is definiteness of that makes the problem
behave.
Theorem
13.4.2 (The Definite Generalized Eigenvalue
Problem)
Let be self-adjoint with , and let
and be as in Theorem 13.4.1, with
columns of . Then:
- (a) for every , and : the columns of are a basis of of generalized
eigenvectors, orthonormal for the inner product ;
- (b) the generalized
eigenvalues of are exactly , all
real, and
- (c) ;
in particular is
diagonalizable with real eigenvalues , although
it need not be self-adjoint.
Idea. Everything is already in the
two equations and . Substituting the first into the second
turns into , and
canceling the invertible leaves , which read
column by column is (a). Then (b) and (c) are two ways
of undoing the substitution.
Proof.
(a) From we get
, and also .
Therefore , and is invertible, so
Column
of the left side is and of the
right side is , since
is diagonal.
Each because is invertible, so each
is a
generalized eigenvalue with eigenvector . The entry
of is ,
which is therefore . Finally
is an inner product on
, exactly
because : it is sesquilinear, , and for .
(b) From and we get
and , hence Taking determinants with Theorem 7.5.4, and
using , the last step by Theorem 7.4.6. Since
, the roots of are
exactly ; and is a generalized
eigenvalue if and only if is singular, that is if and only if
(Theorem 3.4.4). The
are real
because is self-adjoint, so its diagonal
entries equal their own conjugates.
(c) Inverting
gives , so
This proves the theorem.
Part (c) explains the phenomenon. The matrix is what one
would naively form to turn into an ordinary eigenvalue
problem, and it is usually not self-adjoint, so there is
no reason from Chapter 12 for its eigenvalues to be
real. But it is self-adjoint with
respect to the inner product ,
and reality and the orthogonal eigenbasis come from that
inner product rather than the standard one. The
congruence is
exactly the change of variable that turns
into the standard inner product.
Example
(A pencil that does not commute)
Let Check that , that , and that is indefinite. Find
the generalized eigenvalues and an -orthonormal basis of
generalized eigenvectors, and write down .
Solution. Setting up.
is symmetric
with leading principal minors and , so
by Theorem 13.1.5. Its
own eigenvalues are and . The products are which differ, so Chapter 12’s theorem does not
apply. Also , so
has one positive and one negative eigenvalue and is
neither positive nor negative semidefinite.
The pencil. so The generalized eigenvalues are and , both real,
as Theorem 13.4.2 (b)
promises.
Eigenvectors. For , , whose kernel is
spanned by . For , , whose kernel is spanned by .
Checking directly:
and , so ; and .
Normalizing. and , while : the two are already -orthogonal, as they
must be, having different generalized eigenvalues.
Scaling to -length , So in the coordinates the
two forms read and . The signs match the signs of
the eigenvalues of itself, which are
;
Chapter 14 shows that this is no coincidence.
The problem with is the one an
engineer meets first: for a vibrating structure, is the mass matrix and
the stiffness
matrix, the generalized eigenvalues are the squared
natural frequencies, and the -orthonormal
eigenvectors are the normal modes, in which the motion
decouples into independent one-dimensional
oscillations.
Definiteness of one of the two matrices is not
decoration.
Warning. Two self-adjoint
matrices, neither definite, need not be simultaneously
diagonalizable by congruence. Take the real
symmetric pair Suppose and were both
diagonal for some invertible real , say and . Since is invertible, so is
, and from
and we get so would be
similar to a real diagonal matrix and would have real
eigenvalues. But here, and has characteristic polynomial , with roots
. So no such
exists — and the
pencil has no generalized eigenvalues
in at all.
The obstruction in the warning is exactly the failure
of part (c) of Theorem 13.4.2. That
part is in fact the right way to test a pair: if is invertible, a
necessary condition for simultaneous diagonalization by
congruence is that be
diagonalizable with real eigenvalues, and the theorem
says that is enough to guarantee it.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Define what it
means for two matrices to be congruent,
and say which of similarity and congruence is the
natural relation for a form.
- (b) State Theorem 13.4.1, with
all hypotheses.
- (c) Name two
differences between Theorem 13.4.1 and Theorem 12.7.1.
- (d) Determine
whether the following statement is correct, and justify
your answer: the generalized eigenvalues of are eigenvalues
of .
- (e) For and self-adjoint, what
inner product makes
self-adjoint?
Solution.
(a) and are congruent if for some
invertible .
Congruence is the natural relation for a form, since the
substitution turns
into ;
similarity is the
natural relation for an operator.
(b) If are
self-adjoint and , there is an invertible with and
real
diagonal.
(c) Chapter 12’s
theorem assumes the operators commute and are normal,
and delivers a unitary change of basis
preserving eigenvalues; this one assumes nothing about
commuting but assumes one matrix is positive definite,
and delivers a merely invertible under which
eigenvalues are not preserved.
(d) Incorrect. In
Example (A pencil that does not commute)
the generalized eigenvalues are and , while the eigenvalues
of are . They agree
when , and
not in general.
(e) (Theorem 13.4.2
(a)).
B. Practice
Exercise
(B1: A generalized eigenvalue problem)
Let
- (a) Verify that
and
find the generalized eigenvalues of .
- (b) Find generalized
eigenvectors and an invertible with and
diagonal.
Solution.
(a) The leading
principal minors of are and , so
by Theorem 13.1.5. Then
so The generalized eigenvalues are and .
(b) For : , with kernel
spanned by . For : , with kernel spanned by .
Check: since ; and
while ,
so .
Now and , and . Both are already -unit vectors, so
Exercise
(B2: Whitening by hand)
Let and . Follow the two steps of the
proof of Theorem 13.4.1:
compute ,
then , diagonalize , and write down and .
Solution. is diagonal with
positive entries, so
and . Then Its eigenvalues are , with unit eigenvector
,
and , with unit
eigenvector .
So and , and
As a check, , whose roots and are the diagonal
entries of .
Exercise
(B3: A pair that resists)
Let and . Determine whether
there is an invertible real making and both diagonal.
Justify your answer.
Solution. There is not. Both
matrices are symmetric and is invertible, with
. If
such an existed,
the computation in the warning above would give , so would be
diagonalizable. But which is nonzero with , hence
has as its only
eigenvalue and is not diagonalizable (a diagonalizable
matrix with only the eigenvalue is ). Here the generalized
eigenvalues are both and real, so reality of
the spectrum is not the obstruction; diagonalizability
is.
C. Going deeper
Exercise
(C1: The -inner
product)
Let
and be
self-adjoint in , and write .
- (a) Prove that
is an inner product on .
- (b) Prove that is
self-adjoint on .
- (c) Deduce Theorem 13.4.2 (a) and
(b) from the spectral theorem applied to , without using Theorem 13.4.1.
Solution.
(a)
Sesquilinearity in the first slot is clear from the
formula. Conjugate symmetry: , using . Positive
definiteness: for ,
which is Definition 13.1.1 for
.
(b) For all , and using
and .
The two agree, so
is self-adjoint for this inner product (Definition 11.6.1).
(c) By Theorem 12.5.1
(over ) or Theorem 12.4.2
(over ) applied
to the self-adjoint on the inner product
space , there is a basis
of , orthonormal for
,
with and (Theorem 12.2.1).
The equation is , and ; this is (a). For (b), is a generalized
eigenvalue exactly when is
singular, that is when is an eigenvalue
of , and
those are .
Exercise
(C2: Signs of the generalized eigenvalues)
Let
and be
self-adjoint in , with generalized
eigenvalues .
- (a) Prove that if and only
if every ,
and if
and only if every .
- (b) Deduce that if
and
, then
.
Solution.
(a) Let be as in Theorem 13.4.1, so
. For put
; as runs over so does , and
exactly when . Then If every , this is for all , so .
Conversely, taking gives . The same
argument with strict inequalities gives the second
claim, using that for
when every .
(b) Taking
determinants in and gives and . Dividing, , which is by (a).
Exercise
(C3: Dropping definiteness of )
Let and , so that but .
- (a) Compute and
deduce that the pair has no generalized eigenvalues at
all.
- (b) Prove that no
invertible makes and both
diagonal.
Hint for (b): compare the degree in of on
both sides.
Solution.
(a) ,
with determinant . This is never , so is
invertible for every and there is no
with .
(b) Suppose and . As in the proof of Theorem 13.4.2 (b),
By (a) the left side is the constant , so the right side is
a nonzero constant. It is nonzero, so and hence
; it is constant in , so , which
forces and therefore . That is false, so no such exists.
(Alternatively: , so exactly one is nonzero, and the
right side then has degree in , not .)