So far we have diagonalized or triangularized one
operator at a time. Many problems hand us several at
once: two matrices that describe the same system, or a
matrix together with all its powers. Can a single basis
make all of them diagonal, or all of
them triangular? A necessary condition is easy to spot,
because diagonal matrices commute. This section shows
that commuting is also enough, as long as each operator
can be handled on its own. The whole argument rests on
one observation: an operator that commutes with maps each eigenspace of
into itself, so
we can search for common eigenvectors inside an
eigenspace.
When can
two operators share a basis?
Let be
finite-dimensional and . Suppose one basis makes both and
diagonal. Diagonal matrices multiply entry by entry on
the diagonal, so . By Corollary 4.1.3
this says , and since is injective (Theorem 4.1.4),
. So
sharing a diagonalizing basis forces
commuting. The same is not true for triangular
matrices: and are both upper
triangular, and their products in the two orders are
and . We will see, though,
that commuting is a convenient sufficient condition in
the triangular case as well.
The question for this section is the converse: if
, can we
find a common basis? Here are the commuting pairs to
keep in mind.
- Polynomials in one operator. For
every , (Theorem 6.7.1 (c)). In
particular
commutes with ,
with when it
exists (both products are ), and with every
scalar operator .
- Diagonal matrices commute with each
other, and so do block diagonal matrices whose
corresponding blocks commute (Theorem 8.1.4).
- A non-commuting pair. and give .
The last pair already shows that something must be
assumed. Over any field, the eigenvectors of are the non-zero
multiples of ,
and those of are the non-zero
multiples of .
They share no eigenvector at all, let alone a basis of
them.
Commuting
operators preserve eigenspaces
How does the hypothesis interact with
eigenvectors? Take and ask what does to . There is no in the eigenvector
equation yet, so we apply to both sides.
Theorem
9.9.1 (Commuting Operators Preserve
Eigenspaces)
Let be a
vector space over , and let with
. Then for
every , the eigenspace is -invariant.
Proof. Let , so
.
Since and
is linear, Hence by Definition 9.2.2. This
shows that maps
into
itself.
No finite dimension is needed, and need not be an
eigenvalue (then and
there is nothing to prove). By symmetry, every
eigenspace of is
-invariant
too.
In matrix language the theorem is a statement about
block shapes. Take on , with and , and let be any matrix with
. Both
eigenspaces are -invariant, and , so by Theorem 9.1.5 the
matrix is block
diagonal: Conversely, every matrix of this shape
commutes with ,
since and commutes with every
block
(Theorem 8.1.4).
Inside the repeated eigenspace can be anything; this
freedom is what the rest of the section has to deal
with.
Non-example. Take and the
swap . Then , so is not -invariant. The theorem
is not contradicted: and differ.
Quick check. Let and over . Do and commute? Is every
eigenvector of an
eigenvector of ?
Do and have a common
eigenvector?
Solution. Yes, commutes with every
matrix.
No: every non-zero vector is an eigenvector of , but is not a
multiple of .
Yes: is an
eigenvector of both, for the eigenvalues and . The theorem says maps into
itself, which is true but empty of information; the
common eigenvector must be searched for
inside that eigenspace, and here it is an eigenvector of
.
A common
eigenvector
Here is the plan for finding a common eigenvector of
commuting and
. Pick an
eigenvalue
of and put . By Theorem 9.9.1, restricts to an
operator on
. If has an eigenvector
, then and, since
, also
. So
everything reduces to whether has an eigenvalue.
Over it does
(Theorem 9.2.4). Over a
general field we need to know that the characteristic
polynomial of a restriction splits when that of does. We record this,
together with the same fact for the induced operator on
the quotient, since triangularization will need
both.
Lemma
9.9.2 (Restrictions and Quotients Inherit
Splitting)
Let be a
finite-dimensional vector space over , let , and let
be a -invariant subspace with
.
If splits over
, then and split over
, where is the induced
operator on .
Idea. Section 1 factors as , so
the two factors can only have roots that has. A polynomial
splits exactly when its root multiplicities add up to
its degree (Theorem 6.4.3). Count:
the multiplicities of the two factors add up to those of
, which use up
the whole degree; so neither factor can be short of its
own degree.
Proof. By Theorem 9.1.3, with and , both
monic (Theorem 7.10.2). Let
be
the distinct roots of in . Every root of or of in is a root of (Theorem 0.8.5), so it
is among the ,
and a that is
not a root of has
. Hence, by Theorem 6.4.3 applied
to and to , Adding, and using Theorem 6.4.2 and then
Theorem 6.4.3 for the
split polynomial , So both inequalities above are equalities, and
and split over by Theorem 6.4.3.
Now the common eigenvector. We prove it for a whole
family of commuting operators at once, possibly
infinite, since the proof costs no more and the next
theorems need it. A family is
commuting if for all .
Theorem
9.9.3 (Commuting Operators Have a Common
Eigenvector)
Let
be a finite-dimensional vector space over , and let be a
non-empty commuting family such that splits over for every . Then there is
a non-zero
that is an eigenvector of every . This applies
to every commuting family when .
Idea. For two operators, the plan
above works: an eigenvector of with . For
many operators we would like to repeat it, shrinking
each time, and a
family may be infinite. So we jump straight to the end
of the shrinking: take a non-zero subspace , invariant under the
whole family, that is as small as possible. If some
were not
a scalar on , an
eigenspace of
would be a smaller such subspace. So every operator in
the family is a scalar on , and any non-zero
vector of is a
common eigenvector.
Proof. Call a subspace
-invariant if
it is -invariant
for every . The space is a non-zero -invariant subspace,
so among all non-zero -invariant subspaces
there is one, , of
smallest dimension.
Let .
Then is an
operator on , and splits: if this is the
hypothesis, and otherwise it is Lemma 9.9.2. Since
is monic
of degree , it has a root , which is
an eigenvalue of by Theorem 9.2.1. Put
which is non-zero because it contains an
eigenvector of . For every , both and are -invariant, the first by
the choice of and
the second by Theorem 9.9.1; so
is -invariant by Proposition 9.1.4.
Hence is a
non-zero -invariant subspace
contained in , and
by the minimality of , . By Theorem 1.6.8, , that is,
for
every .
So every acts on as multiplication by a
scalar .
Any non-zero then satisfies for
every , as
claimed. Over
every characteristic polynomial splits (Corollary 6.5.5), so
the hypothesis holds automatically.
The proof never had to name the eigenvalues. It found
a subspace on which every operator of the family is a
scalar, and the scalars came for free.
Warning. The splitting
hypothesis cannot be dropped, and neither can
commuting. Over , the rotation commutes with itself,
yet the family has no real
eigenvector at all, since has no
real root. Over , the non-commuting
pair has no common eigenvector, as we saw
above.
Simultaneous triangularization
Section 7 triangularized one operator by splitting
off an eigenvector and passing to the quotient. For a
commuting family the same recursion works, because the
eigenvector we split off can be chosen common to
all.
Theorem
9.9.4 (Simultaneous Triangularization)
Let be a
finite-dimensional vector space over with , and let
be a non-empty commuting family such
that splits
over for every
. Then
there is one basis of such that is
upper triangular for every .
In particular, if commute pairwise,
there is an invertible such that is upper
triangular for every .
Idea. Take one common
eigenvector, extend, recurse. ① Theorem 9.9.3 gives
, an
eigenvector of every , so is invariant under the family. ② On
, the induced
operators still commute, and their characteristic
polynomials still split. ③ By induction on the
dimension, one basis of triangularizes all of
them. ④ Lift it back and put in front; the block
triangular form of Section 1 does the rest.
Proof. We use induction on . If , every matrix is
upper triangular, so any basis works.
Let , and
assume the theorem for spaces of dimension . By Theorem 9.9.3 there is
with
for every . Let ; it is
-invariant for
every (Proposition 9.1.2),
and since . For let be the induced operator on (Definition 9.1.2), and
put .
The family is commuting: for
and
, Each splits by Lemma 9.9.2, and by Theorem 4.4.5. By
the induction hypothesis there are
such that is a basis of in which every is upper triangular.
Let . It is linearly independent: if
, then passing to , where is the zero
coset, gives , so by
the independence of ; then with gives . A linearly
independent list of length is a basis (Theorem 1.6.4). Now
is a basis of
extended to a
basis of , and
is exactly
the list of cosets in Theorem 9.1.3. Hence
for every , with a upper-left block, a zero column below it, and
an upper triangular lower-right block. Such a matrix is
upper triangular. This completes the induction.
For the matrix statement, apply this to the family
on , whose
characteristic polynomials split by Corollary 6.5.5, and
let have the
vectors of as
columns; then (Theorem 4.2.3).
A first use: if and commute and both
characteristic polynomials split, the diagonal entries
of and are
the sums and products of the diagonal entries of and
,
position by position. For the sum this is entrywise; for
the product, the -entry of is (Definition 0.9.9), and
when and are upper triangular
only can
contribute, since for and for . By Theorem 9.7.4, those
diagonal entries are the eigenvalues. So the eigenvalues
of are of the
form ,
with an
eigenvalue of and
one of , paired by
position in a common triangular form. Section 2
warned that nothing like this holds without
commuting.
Simultaneous diagonalization
Diagonalization is the stronger wish, and it needs a
stronger hypothesis: each operator must be
diagonalizable on its own. The name for the goal:
Definition
9.9.1 (Simultaneously Diagonalizable)
Let be
finite-dimensional. A family is
simultaneously diagonalizable if there
is one basis of such that is
diagonal for every . Matrices are simultaneously diagonalizable over
if there is
one invertible with every
diagonal.
Equivalently, by the unwinding in Section 4, has a basis whose
vectors are eigenvectors of every . The opening of
this section showed that a simultaneously diagonalizable
family is commuting. For diagonalizable operators the
converse holds.
Theorem
9.9.5 (Simultaneous Diagonalization)
Let be a
finite-dimensional vector space over with , and let
be
diagonalizable. Then and are simultaneously
diagonalizable if and only if .
For matrices: if are diagonalizable over , there is an invertible
with
and
both
diagonal if and only if .
Idea. Split into the eigenspaces of
. On each piece
is a scalar, so
any basis of the piece consists of
eigenvectors of ;
we are free to choose it to suit . The piece is -invariant because commutes with , and restricted to it is
diagonalizable because is (Section 8). So each
piece has a basis of eigenvectors of , and gluing these bases
together gives the common basis.
Proof. Let be a basis with and
diagonal. Diagonal matrices commute, so by Corollary 4.1.3,
. The map is injective (Theorem 4.1.4),
so .
Suppose .
Let be the distinct eigenvalues of , and put .
Since is
diagonalizable, Theorem 9.4.1 (c)
gives Each
is -invariant (Theorem 9.9.1), and
is
diagonalizable, so is
diagonalizable by Corollary 9.8.3. Hence
has a basis
of
eigenvectors of (Theorem 9.4.1 (b)),
which are eigenvectors of . They are also
eigenvectors of ,
being non-zero vectors of .
Let be the list
. Since the sum is direct, is a basis of by Theorem 1.7.5 ((a)
(d)).
Every vector of
is an eigenvector of both and , so and
are diagonal (Theorem 9.4.1, (a)
(b)).
For matrices, apply this to and on , which are
diagonalizable because and are (Definition 9.4.1), and
commute because ; let
have the common eigenvectors as columns, as in Section
4.
The proof is also an algorithm. Diagonalize ; in each eigenspace of
of dimension at
least , write down
the matrix of
restricted to it and diagonalize that small matrix;
eigenspaces of dimension need no work, since
their basis vector is automatically an eigenvector of
.
Example
(Diagonalizing Two Commuting Matrices Together)
Let Check that , and find an invertible such that and are both
diagonal.
Solution. They commute.
Multiplying out,
Diagonalize . Expanding along the
first row, whose only non-zero entry is , For , has rank
and reduces to
, so is the plane with
basis , . For , gives
and , so . Since and ,
is diagonalizable. The same computation for gives , with of rank
and of rank , so is diagonalizable as
well.
A basis of eigenvectors of need not work for
: is
not a multiple of . This is where the
search inside the eigenspace comes in.
The one-dimensional eigenspace. is -invariant (Theorem 9.9.1) and
one-dimensional, so is an eigenvector of : indeed .
The plane . It is -invariant, and So the matrix of in the
basis
is , whose
columns are the coordinates just found. It is lower
triangular with eigenvalues and . From the eigenvector
is , which
stands for ; from it is , which stands for
.
The common basis. Put , , as
columns: Check. , , ; , , . Expanding
along the first row, , so is invertible, with
.
Notice that neither matrix alone determines : cannot tell from , and cannot tell from . Together they pin
down all three lines.
Warning. Commuting does not
make an operator diagonalizable. The theorem
assumes that both
and are
diagonalizable. commutes with , and is diagonal, but
is not
diagonalizable (Section 4), so no basis makes both
diagonal. What survives is Theorem 9.9.4: and are already upper
triangular together.
The theorem extends from two operators to any number,
and even to infinitely many. An infinite family looks
hopeless for an induction, but it lives inside the
finite-dimensional space , so finitely many
of its members already span everything the family
spans.
Theorem
9.9.6 (Simultaneous Diagonalization of a
Commuting Family)
Let be a
finite-dimensional vector space over with , and let
be a family of diagonalizable operators.
Then is
simultaneously diagonalizable if and only if it is
commuting.
Idea. ① Finite
first. For finitely many commuting
diagonalizable , induct on : split into eigenspaces of
, and on each
piece apply the case to the restrictions of . ②
Reduce to finite. A longest linearly
independent list taken from spans every member of
, and has length
at most .
③ A basis that diagonalizes
diagonalizes every linear combination of them.
Proof. If one
basis makes every
diagonal, any two of these matrices commute, and the
argument of Theorem 9.9.5 gives for all .
Suppose is
commuting. If
is empty, any basis works; assume not.
Step 1: finitely many operators. We
prove by induction on : for every non-zero finite-dimensional space
and all pairwise
commuting diagonalizable , some basis of consists of
eigenvectors of every . For this is Theorem 9.4.1. Let
, and let
be the distinct eigenvalues of , with . By Theorem 9.4.1 (c),
. Each is -invariant for every
(Theorem 9.9.1), each
is
diagonalizable (Corollary 9.8.3), and
the restrictions commute pairwise, since they
agree with on . By the induction
hypothesis, has
a basis of
common eigenvectors of ; they are eigenvectors of too, as non-zero
vectors of . The
list is a basis of by Theorem 1.7.5 ((a)
(d)).
This completes the induction.
Step 2: a finite spanning subfamily.
Let (Theorem 4.1.4).
Every linearly independent list in has length at most
(Theorem 1.6.5), so
among the linearly independent lists of members of there is one of
greatest length, say , with because a single non-zero member is
independent (if every member of is , any basis works). For
every ,
the list is longer, hence dependent, so by Lemma 1.5.3.
Step 3. By Step 1 there is a basis
of with every
diagonal. For , write ; then (Corollary 4.1.3),
a linear combination of diagonal matrices, hence
diagonal. So
diagonalizes every member of .
A typical infinite family is
for a diagonalizable . It is commuting, each
is
diagonalizable (Section 8), and here one basis works for
the whole family without any of the theorem’s machinery,
namely an eigenbasis of : an eigenvector of
for is an eigenvector
of for (Exercise (B3: Eigenvalues of powers and inverses)).
The theorem says the same for families that are not
generated by one operator in so visible a way.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) State the
theorem relating commuting operators and
eigenspaces.
- (b) True or false:
if , then
every eigenvector of is an eigenvector of
. Justify your
answer.
- (c) True or false:
any two commuting matrices in have a common
eigenvector in . Justify your
answer.
- (d) True or false:
if are simultaneously diagonalizable, then
.
Justify your answer.
- (e) True or false:
if
and is
diagonalizable, then is diagonalizable.
Justify your answer.
- (f) In the proof of
Theorem 9.9.5, which
hypothesis makes each eigenspace of invariant under , and which makes the
restriction of
diagonalizable?
Solution.
(a) If and , then is -invariant for every
(Theorem 9.9.1).
(b) False. commutes with
; the vector is an eigenvector of
, but is not a
multiple of .
(c) False. The
rotation commutes with itself and has no
real eigenvector, since has no
real root.
(d) True. If
and are diagonal, then , since diagonal matrices
commute.
(e) False. is
diagonalizable and commutes with , which is not
diagonalizable.
(f) The
hypothesis
gives the invariance (Theorem 9.9.1). The
hypothesis that
is diagonalizable gives, through Corollary 9.8.3, that
is diagonalizable.
B. Practice
Exercise
(B1: Common eigenvectors)
Let
- (a) Verify that
.
- (b) Find every
common eigenvector of and .
- (c) Hence show that
and are not simultaneously
diagonalizable, and explain which hypothesis of Theorem 9.9.5
fails.
Solution.
(a) Multiplying
out, For instance, the -entry of is row of times column of , namely , and that
of is row
of times column of , namely .
(b) is lower triangular,
so . has rank
, so with basis , . gives .
A common eigenvector is an eigenvector of , so it lies in or , and it must be
an eigenvector of there. On the line
: , so every non-zero multiple of is a common
eigenvector. On the plane , which is -invariant by Theorem 9.9.1: So in the basis , . Its only eigenvalue is , and its eigenvectors
are the non-zero multiples of , that is, of . Hence the common
eigenvectors are exactly the non-zero multiples of and the
non-zero multiples of .
- (c) By (b), any list
of common eigenvectors lies in , a
plane, so no three of them form a basis of . Hence no basis
diagonalizes both. The failing hypothesis is that is diagonalizable:
(from the block computation, , or directly),
and has rank
, so .
Exercise
(B2: Decide simultaneous diagonalizability)
For each pair of real matrices, determine whether
they are simultaneously diagonalizable over . If they are, find a
suitable .
Justify your answer.
- (a) , .
- (b) , .
- (c) , .
Solution.
(a) Yes. . Both are
diagonalizable:
has and has , each with distinct eigenvalues (Corollary 9.4.2). By
Theorem 9.9.5 a common
exists. The
eigenspaces of
are lines, so their spanning vectors and work: , , , since and
.
(b) No. Both are
diagonalizable (distinct eigenvalues ), but , so by Theorem 9.9.5 no common
exists.
(c) No. They
commute, since . But is not diagonalizable:
and has
rank , so . If were
diagonal, would
be diagonalizable (Definition 9.4.1).
Exercise
(B3: Matrices commuting with a diagonal matrix)
- (a) Let . Prove that a matrix commutes
with if and only
if is
diagonal.
- (b) Let . Describe all with
, and find one that is not
diagonalizable.
Solution.
(a) Diagonal
matrices commute. Suppose
. The
eigenspaces of
are , and
. By Theorem 9.9.1 each is
-invariant, so
for each . The -th column of is , so it has zeros
off the diagonal, and is diagonal.
(Directly: and , so , and
for
.)
(b) As computed
in the text for , exactly when with arbitrary
entries: and are -invariant, which by Theorem 9.1.5 forces
this shape, and conversely
commutes with every such block matrix (Theorem 8.1.4). For
example commutes with , and it is not
diagonalizable: and has rank , so .
C. Going deeper
Exercise
(C1: The commutant of a matrix with distinct
eigenvalues)
Let , , have
distinct eigenvalues .
- (a) Prove that if
, then
is
diagonalizable and every eigenvector of is an eigenvector of
.
- (b) Prove that if
, then
for some
of
degree at most .
- (c) Deduce that
is a subspace of of dimension , with basis .
Hint: for (b), use Lagrange
interpolation.
Solution.
(a) By Corollary 9.4.2, is diagonalizable, say
with diagonal. A
diagonal matrix is upper triangular, so its diagonal
entries are the eigenvalues of , each occurring as
often as its algebraic multiplicity (Theorem 9.7.4 (b));
here there are
distinct eigenvalues and diagonal places, so
each occurs once, and after permuting the columns of
and the diagonal
entries of
together we may assume . Let be column of . Each has
dimension at least , and the dimensions add
up to at most (Corollary 9.2.3), so
each has dimension exactly and . Every eigenvector of for is a non-zero
multiple of .
By Theorem 9.9.1, ,
so for some , and , with every non-zero
multiple of it, is an eigenvector of . The columns of form a basis of
eigenvectors of ,
so and is
diagonalizable.
(b) The nodes
are distinct, so by Theorem 6.6.1 there is
with
and for every . By Theorem 9.4.3,
(c) If and ,
then , and ; so the set
is a
subspace. Each
commutes with ,
so , and (b) gives
the reverse inclusion. For independence, let and put . By Theorem 9.4.3, , so for all
. A polynomial of
degree at most with
distinct roots is zero (Corollary 6.1.4), so
every .
Hence is a basis of , and .
Exercise
(C2: Commuting nilpotent matrices)
Recall that is nilpotent if for some (Exercise (C2: Nilpotent operators)).
Let with , and for some .
- (a) Prove that is nilpotent.
- (b) Prove that , so that is nilpotent.
- (c) Show that both
conclusions can fail without .
- (d) Now let . Give a second
proof of (b) using Theorem 9.9.4.
Hint: for (b), expand the power as a sum of
products of factors, each equal to or .
Solution.
(a) Since , induction
on gives : if
it holds for ,
then ,
where follows from by induction
as well. With , .
(b) Let . By
distributivity, is the sum of all products with
each . Since and commute, each such
product can be rearranged, one adjacent swap at a time,
into ,
where is the
number of factors equal to . If , then .
If ,
then , so . Either way the product is , so .
(c) Let and in . Both square to
. But satisfies
for all , and satisfies , so
is
or , never . Neither is nilpotent,
and indeed .
(d) By Theorem 9.9.4 there is
an invertible with and
upper triangular. Since is nilpotent, (Exercise (C2: Nilpotent operators)),
so every diagonal entry of is by Theorem 9.7.4;
likewise for . So is upper triangular with zero diagonal. A
matrix of this
kind is nilpotent: and , so by induction
and
. Hence
.