Chapter 8 wrote an operator with an invariant
subspace as a block triangular matrix, with a corner
block recording
how the subspace fails to have an invariant complement
(Theorem 8.1.7).
Chapter 10 spent its length on what to do when that
corner cannot be cleared. The question of when
it can be cleared has an exact answer, and the answer is
a linear equation in the unknown matrix : Chapter 8 already turned this equation into an
ordinary linear system with the Kronecker product, and
stopped one step short of the criterion because that
step needs eigenvalues. We have eigenvalues now, and
Schur’s factorization of Section 1 to organize them.
This section proves the criterion, uses it to clear
corners, and reads off what it says about the matrices
that commute with a given one.
Throughout, the field is unless stated
otherwise, and , , while the unknown and the data live in .
The
Sylvester operator
The left-hand side of the equation is linear in : replacing by or by does the same to
,
because matrix multiplication is bilinear (Theorem 0.9.4). So the
whole question is about one linear map, and it deserves
a name.
Solving means inverting a single linear operator on
the space of matrices.
Definition
12.10.1 (Sylvester operator)
Let and . The Sylvester operator
of the pair is The equation , for a given ,
is the Sylvester equation.
In words: multiplies by
on the left,
multiplies by on
the right, and subtracts. It is an operator on a space
of dimension ,
not on or , and that is the only
thing that makes the equation look harder than .
Three special cases are worth keeping in view.
- . Then ,
and the equation is copies of , one for each
column of (Exercise (B2: One-sided equations)).
It is uniquely solvable for every exactly when is invertible, that
is, when . Since , this
already matches the criterion we are heading for.
-
and . Then is the
commutant of , the set of matrices
commuting with .
This is the question Chapter 8 opened with, and Chapter
10 §04 studied it for a single Jordan or Weyr
block.
- . Then ,
which is invertible exactly when . The general
criterion will be this one, run over all pairs of
eigenvalues.
Non-example by minimal change. The
map is still linear on , but it is not a
Sylvester operator: the transpose is not of the form
“multiply on one side”. Everything below uses the
two-sided product shape and nothing else.
Chapter 8 already wrote the matrix of . Stacking the
columns of with
the vectorization of Definition 8.4.2
and applying the vec identity Theorem 8.4.4
twice, once with and once with ,
(12.10.1)
Here , and is an isomorphism. So Eq. 12.10.1 says
that is
the matrix of with respect
to the basis of matrix units ordered column by column.
In particular is invertible
if and only if
is.
That is exactly where Chapter 8 left the problem.
What it could not do was compute the eigenvalues of
.
The
spectrum of a Kronecker sum
Chapter 8 proved how the Kronecker product treats
rank, trace and determinant (Theorem 8.4.3) and
how it treats products, transposes and inverses (Theorem 8.4.1). It
proved nothing about eigenvalues, and Exercise (C2: Kronecker sums)
got only as far as the case where both factors are
already triangular. Schur closes the gap, because over
every matrix
can be made triangular unitarily, and the mixed product
rule carries a pair of unitary conjugations through the
Kronecker product in one step.
Lemma
12.10.1 (The Eigenvalues of a Kronecker
Sum)
Let with eigenvalues and let with
eigenvalues , each list repeated according to
algebraic multiplicity. Then the eigenvalues of listed with algebraic multiplicity, are the
differences
.
Idea. Triangularize both
ingredients at once. Schur (Corollary 12.1.3)
writes and with
upper
triangular. The mixed product rule then conjugates
both summands of by the single unitary
matrix , because and each
have one trivial factor to absorb the other conjugation.
What is left is , and a Kronecker product
with one triangular and one identity factor is
triangular, so the eigenvalues are visible on the
diagonal.
Proof. By Corollary 12.1.3
there are a unitary and an upper triangular with
and
.
By Proposition 9.10.5
(b), , so has eigenvalue list
; applying Corollary 12.1.3
to gives a
unitary and an upper triangular with
and .
Put . Conjugating every entry of
conjugates every block , so (Definition 8.4.1),
and combining this with Theorem 8.4.1 (d)
gives whenever the product is
defined. Hence , and by the mixed product
rule Theorem 8.4.1 (c),
so is
unitary. Using the mixed product rule twice more, Subtracting, , so is similar to
is
upper triangular. Label the rows and columns of
an
matrix by pairs as in Definition 8.4.1:
row with
,
, and
likewise column . In those labels the entries of the two
summands are The first is non-zero only when and , since is upper triangular;
then . The second is non-zero only when and ; if the two labels are
equal, and if then using , and . So each summand vanishes below the diagonal,
and so does .
The diagonal. Taking and above, the diagonal
entry of in
position
is . As runs over all
pairs, so does
the position , by division with remainder.
By Theorem 9.7.4 (a),
applied to the operator on and the standard
basis, .
Since ,
Theorem 7.10.3 gives
.
This proves the lemma.
Two remarks on what the proof used. The hypothesis
entered
once, in Schur, and through Schur it is the Fundamental
Theorem of Algebra again. And the unitarity of was a convenience, not
a necessity: any similarity triangularizing and would do, but Schur
hands us one for free and the Kronecker product of two
unitary matrices is unitary, which is worth recording on
its own.
When the
equation is uniquely solvable
The criterion now costs one line.
Theorem
12.10.2 (Sylvester’s Theorem)
Let and . The following are equivalent.
- (a) : the two matrices have no
common eigenvalue.
- (b) The Sylvester
operator is invertible on .
- (c) For every , the equation has
exactly one solution .
- (d) The only with is .
Proof. By Eq. 12.10.1 the
isomorphism
turns
into the matrix : a matrix solves if and
only if the vector solves , and
every and every arise
this way. Transported through , statements (b),
(c) and (d) say respectively that is invertible, that
has
exactly one solution for every , and that forces . These three are
equivalent by Theorem 3.4.4,
parts (a), (e) and (b): (e) gives existence for every
, and (b)
upgrades it to uniqueness, since two solutions differ by
a member of the null space.
It remains to match (a) with (b). By Theorem 9.2.6, is invertible if and
only if . By Lemma 12.10.1,
, where and list
the eigenvalues of and of . So if and
only if for some pair , that is, if and
only if and
have a common
eigenvalue. Negating both sides matches (a) with (b),
and the proof is complete.
This is the statement Chapter 8 promised. At the end
of Example (A Sylvester Equation as a Linear System)
it was said that over the equation is
uniquely solvable for every exactly when and have no common
eigenvalue, and that the criterion needs eigenvalues and
would be proved in Chapter 12. Parts (a) and (c) of Theorem 12.10.2
are that sentence, and the eigenvalues it needed were
supplied by Lemma 12.10.1. The
quantitative version — how badly conditioned
the equation is when the spectra are close but disjoint
— is a separate matter, and belongs with perturbation
theory in Chapter 20.
Part (d) is the version used most often in practice,
because it is a statement with no data in it: to show
that some matrix is zero, exhibit it as a solution of
for a
pair with disjoint spectra. The corollary on commutants
below is that move and nothing else.
Example
(Solving a Sylvester Equation)
Over , solve
for
Solution. The matrix is upper triangular,
so (Theorem 9.7.4); is lower triangular,
so . The spectra are disjoint, and by Theorem 12.10.2
there is exactly one solution.
To find it, use Eq. 12.10.1. Here
, so by Definition 8.4.1
and their difference is Its diagonal entries are , which are the
four differences , ,
, , as Lemma 12.10.1
predicts; none is zero, confirming invertibility.
With and , back substitution in
gives ,
so ; then
,
so ;
then , so ; then , so . Hence Check: and , and their
difference is .
Quick check. Let have
eigenvalues
and let have eigenvalues . List the
eigenvalues of with
multiplicity, and decide whether is
uniquely solvable for every .
Solution. By Lemma 12.10.1 the
six eigenvalues are the differences : None is zero — equivalently and
are disjoint — so by Theorem 12.10.2
the equation has exactly one solution for every .
Warning. The criterion
depends on the sign. For the equation , which
is the form Chapter 8 used in Example (A Sylvester Equation as a Linear System),
the relevant operator is , and .
So the condition is
for all ,
not . The two conditions are genuinely
different: with and the spectra and are disjoint,
yet ,
so
is not solvable for every . Read the sign off the
equation before quoting the criterion.
Clearing
the corner
We can now answer the question the section opened
with.
Corollary
12.10.3 (Block Diagonalization by a Sylvester
Solution)
Let , and , and put
- (a) If
satisfies , then with we have . In particular .
- (b) Conversely, if
for some and the matrix built from it as in
(a), then that
satisfies .
- (c) If and , then a solution exists, and it is
unique; so for every corner .
Idea. The matrices are exactly the
changes of basis that add multiples of the first block
of basis vectors to the second and leave the first
alone. Conjugating by one of them cannot
touch the two diagonal blocks or create anything below
the diagonal; all it can do is move the corner, and the
block multiplication shows it moves the corner by . So the
corner can be driven to precisely when lies in the image of
the Sylvester operator.
Proof.
(a) First, is invertible with
since multiplying the two matrices in either
order gives by Theorem 8.1.1, the
partitions being conformable. The same theorem gives
and then By hypothesis , so the corner is and the result is
(Definition 8.1.2).
(b) The
computation in (a) used nothing about until the last
sentence. So if that satisfies , comparing the corners of the two sides
gives , which is the equation.
(c) By Theorem 12.10.2
((a)
(c)), the equation has exactly one solution. Apply
(a).
Example
(Clearing a Corner)
Block-diagonalize
Solution. Partition into blocks. The
diagonal blocks are the matrices and of Example (Solving a Sylvester Equation),
and the corner is for the of that example. So
the equation to solve is , which is the one already solved there, with
the unique solution . By Corollary 12.10.3
(a), taking gives , that is, The eigenvalues are of course unchanged; what has
changed is that the space has been split into two
invariant pieces of dimension .
Primary decomposition, seen again.
Put Corollary 12.10.3
next to Schur and a familiar theorem drops out with no
extra work. Let have distinct eigenvalues with algebraic multiplicities . By Corollary 12.1.3
we may prescribe the order of the diagonal in a Schur
factorization, so choose the order that lists all copies
of first,
then all copies of , and so on.
Partitioning the resulting triangular matrix along
makes it block upper triangular with diagonal blocks
,
where is
triangular with the single diagonal value , so . Now peel the blocks off one at a
time:
is disjoint from the spectrum of the rest, so Corollary 12.10.3
(c) splits off , and induction on
finishes. The
conclusion is that with — the matrix form of the primary
decomposition of Theorem 9.8.1, here
obtained from a triangular form and a linear equation
rather than from the kernel-splitting lemma.
Commuting
with a matrix of disjoint spectra
Here is the promised use of Theorem 12.10.2
(d). It says that disjoint spectra force a block
structure on anything that commutes.
Corollary
12.10.4 (Disjoint Spectra Split the
Commutant)
Let have
pairwise disjoint spectra, and put
, .
Let
satisfy , and partition into blocks for the partition .
Then so is block
diagonal, and each diagonal block
satisfies .
Proof. By Theorem 8.1.1, the
block of
is and the block of is , because
has only one
non-zero block in each block row and in each block
column. So is equivalent to Let . Then by hypothesis,
so Theorem 12.10.2
((a)
(d)) forces . The diagonal equations
are the remaining cases , and they carry no information beyond
commuting.
Read the statement twice, because a similar-sounding
claim is false.
Warning. It is the
disjointness of the spectra that does the work, not the
block diagonal shape. Nothing here says that a
matrix commuting with a block diagonal matrix is block
diagonal, and nothing here says that a commutant
consists of triangular matrices. Both fail as soon as
two diagonal blocks share an eigenvalue. Chapter 10 §04
computes the commutant of explicitly and finds
it to be which contains matrices with a non-zero entry
below the diagonal, in position . That does not
contradict Corollary 12.10.4:
the two blocks and have the same
spectrum , so
the corollary has nothing to say about them. What is
true for a single repeated eigenvalue is weaker and
needs a different normal form: the commutant of a basic
Weyr matrix is block upper triangular
for the Weyr partition (Proposition 10.4.6),
and the Jordan form has no such property. Note too that
even when Corollary 12.10.4
applies, it says nothing about the diagonal blocks themselves, which
range over the whole commutant of .
The corollary is the reason spectral separation is so
useful. Combined with the primary decomposition above,
it says that over the commutant of any
matrix splits along its distinct eigenvalues: after the
change of basis that block-diagonalizes by spectrum,
everything commuting with becomes block diagonal
too, and the hard part of describing a commutant is
always the single-eigenvalue part. The pleasant case of
the same phenomenon appeared in Theorem 12.7.1,
where the pieces are honest eigenspaces and the
splitting is orthogonal.
Lyapunov’s equation
One specialization is important enough to have its
own name.
Definition
12.10.2 (Lyapunov equation)
Let and . The Lyapunov
equation for the pair is with unknown . Call
stable when every has
.
This is the Sylvester equation with , since . To apply Theorem 12.10.2 we
need .
The eigenvalues of are the conjugates
of those of .
Indeed for every , because
(Theorem 7.4.5) and
the determinant is a sum of products of entries with
coefficients
(Definition 7.4.1), so
conjugating every entry conjugates the value. Applying
this to , whose conjugate transpose is ,
gives . So one
determinant vanishes exactly when the other does, and
if and only if (Theorem 9.2.1).
Therefore ,
and Theorem 12.10.2
says the Lyapunov equation has exactly one solution for
every precisely
when If is
stable this holds, because then . So a stable matrix
gives a uniquely solvable Lyapunov equation, whatever
is.
What makes the equation important is a statement we
are not yet equipped to prove. Call a Hermitian matrix
positive
definite when for
every non-zero . Then: if is stable and is positive definite,
the unique solution of is
positive definite; and conversely, if some positive
definite solves
the equation for some positive definite , then is stable.
Positivity is the subject of Chapter 13, where the tools
to handle are built, and
the consequence for differential equations — that a
stable makes
every solution of decay, with as the
quantity that measures the decay — belongs to Chapter
16. We record the equation here because its
solvability, which is the part Sylvester’s
theorem settles, is exactly what makes the rest
possible.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Define the
Sylvester operator of a pair with , , and state
the dimension of the space it acts on.
- (b) Write down the
matrix of the Sylvester operator with respect to the
vectorization , and say which
Chapter 8 result produces it.
- (c) State the
criterion for to have exactly one solution for every , over .
- (d) True or false:
if
has at least one solution for every , then that solution is
unique. Justify your answer.
- (e) True or false:
if , then has
exactly one solution for every . Justify your
answer.
Solution.
(a) for (Definition 12.10.1).
It acts on , of dimension .
(b) , by Eq. 12.10.1; it
comes from the vec identity Theorem 8.4.4
applied twice, with and .
(c) Exactly when
and have no common
eigenvalue, that is (Theorem 12.10.2).
(d) True.
Existence for every says is
surjective; an operator on the finite-dimensional space
is surjective if and only if it is injective (Theorem 3.4.4
through , or
Rank–Nullity), and injectivity is uniqueness.
(e) False. The
criterion for the
form is for all , , since . With and
the spectra are disjoint but , so the
equation is not uniquely solvable.
B. Practice
Exercise
(B1: A Sylvester equation by vectorization)
Over , let
- (a) Compute and , and decide
whether has exactly one solution.
- (b) Write down , and check that its diagonal
entries are the four differences .
- (c) Solve the
equation.
Solution.
(a) is upper triangular
with diagonal ,
so (Theorem 9.7.4). For
, ,
so . The spectra are disjoint, so by Theorem 12.10.2
there is exactly one solution for this (or any) .
(b) , so and Its diagonal is , and the differences are
, , , , as Lemma 12.10.1
asserts.
(c) With and ,
back substitution gives ; then , so
; then
, so ; then , so . Hence Check: and , and their
difference is .
Exercise
(B2: Block-diagonalizing a 3 × 3 matrix)
Let
- (a) Partition as , name the
blocks , , , and explain why Corollary 12.10.3
applies.
- (b) Solve the
corresponding Sylvester equation.
- (c) Write down and verify that .
Solution.
(a) The blocks
are , and . Both diagonal blocks are
triangular, so and (Theorem 9.7.4); these
are disjoint, so Corollary 12.10.3
(c) applies and a unique exists.
(b) With , the
equation reads , that is The second row gives , and the first
then gives , so . Hence .
(c) Taking we get and then
as Corollary 12.10.3
(a) predicts.
Exercise
(B3: Which equations are uniquely solvable?)
Determine, for each of the following, whether the
stated equation has exactly one solution for
every right-hand side . Justify
your answer.
- (a) with
, .
- (b) with
, .
- (c) with
, .
- (d) with
, .
- (e) with
nilpotent and invertible.
Solution.
(a) Yes. and
are disjoint (Theorem 9.7.4), so Theorem 12.10.2
applies.
(b) No. Both
characteristic polynomials are , so , which is as far from disjoint as
possible. A witness is easy to produce here: gives , so is a non-zero member
of
and condition (d) of Theorem 12.10.2
fails.
(c) No. This is
the form, so the
operator is and the
condition is . Here and
, and .
(d) No. Both are
triangular with diagonal , so .
(e) Yes. A
nilpotent matrix has , since
forces
for
every eigenvalue ; and
because is
invertible (Theorem 9.2.6). So the
spectra are disjoint.
C. Going deeper
Exercise
(C1: Eigenvectors of the Sylvester operator)
Let and , and let .
- (a) Suppose with
non-zero, and suppose is a left eigenvector of for , so that (Definition 9.10.1).
Prove that and that .
- (b) Deduce that
every difference with and is an
eigenvalue of .
- (c) Hence give a
second proof that is not invertible
when and have a common
eigenvalue, one that uses no Kronecker products.
Solution.
(a) Choose with and with ; these exist
because and
are non-zero.
The entry of
is , so . For the
eigenvalue equation, associativity of matrix
multiplication (Theorem 0.9.4) gives
which is .
(b) Let and
.
A right eigenvector for exists by Definition 9.2.1, and
a left eigenvector for exists by Proposition 9.10.5
(b). By (a), is a non-zero
matrix with , so is an
eigenvalue of
with eigenvector .
(c) If , apply (b) with : then is an eigenvalue of
, so and
is not
invertible. This shows one implication of Theorem 12.10.2
directly. (It does not give the converse: knowing every
is an
eigenvalue does not by itself show there are no
others.)
Exercise
(C2: The kernel when the spectra meet)
Let and have eigenvalue lists and with
algebraic multiplicity, and let .
- (a) Prove that
if and only if .
- (b) Prove that .
- (c) Show that the
inequality in (b) can be strict, by computing for .
Solution.
(a) says exactly that
and have a common
eigenvalue, and by Theorem 12.10.2
((a) (d)) that
is exactly the failure of .
(b) The operator
has
matrix (Eq. 12.10.1), so
, the geometric multiplicity of as an eigenvalue of
(when both
sides are and
there is nothing to prove). By Lemma 12.10.1 the
eigenvalue list of consists of the differences , so the
algebraic multiplicity is . By Theorem 9.3.1, .
(c) Here and , so . The kernel is the commutant of : writing
, so forces and , and leaves free. Hence , of dimension .
Exercise
(C3: Only the scalars commute with everything)
Let be a
field, , and
let be the matrix unit with in position and elsewhere.
- (a) Suppose satisfies
for all . Prove that for some .
- (b) Deduce that the
only matrices commuting with every are the
scalar matrices, that is,
forces
scalar.
- (c) Deduce that the
only matrices commuting with every
invertible matrix are again the scalar
matrices.
Hint for (c): is invertible when .
Solution.
- (a) Fix . By Theorem 0.9.2, has column
equal to , that is column
of , and all other columns
zero; while has row equal to row of , and all other rows
zero. Compare entries.
Take .
The entry of
is , and the entry of is , because row of is zero. Hence
whenever
. Since
, every
index has some
available,
so this holds for every , and is diagonal.
Now the
entry: on the left it is (the -th entry of column
of ), and on the right it
is (the
-th entry of row
of ). So for all
. Writing
for this common
value, .
(b) If for every
, then
in particular for with , so (a) gives . Conversely every scalar matrix
commutes with everything. Hence
if and only if
is scalar.
(c) For we have , so and is invertible. If commutes with every
invertible matrix, it commutes with , hence
with
(subtract ), for all . By (a), .