The expression has come up several times already. In
Chapter 0 its trace was , which showed that
is impossible over (Exercise (C1: is impossible,
or is it?)). In Chapter 2 the same trace argument
showed that the relation between differentiation and
multiplication by
on has no
finite-dimensional analogue in characteristic (Exercise (C1: The Heisenberg relation)).
Both arguments use one direction only: every matrix of
the form has trace zero. This section asks whether
the converse holds. Is every trace-zero matrix of the
form ?
The answer is yes over a field of characteristic , and the proof is a
good example of the block techniques of this chapter:
move the matrix into a convenient shape by a similarity,
one row and column at a time, and then solve an equation
that has become entrywise.
Which fields. Commutators, their
basic rules, the first similarity lemma, and the final
theorem on spans work over every field
. The lemma on
zero diagonals and Shoda’s theorem assume that has
characteristic . We point out
exactly where that hypothesis is used, and what happens
in characteristic .
Commutators
Two matrices
and commute when
, and
most pairs do not. The difference measures
the failure, and it keeps recurring: in the trace
arguments above, in the relation between differentiation
and multiplication by , and in the description
of trace-like functionals (Exercise (C2: The trace is the only trace-like functional)).
So we give it a name.
The commutator of two matrices is the amount by
which they fail to commute.
Definition
8.5.1 (Commutator)
Let and
.
The commutator of and is A matrix is a commutator if
for
some . For operators on a
vector space , we
write likewise .
In words: is “
then ” minus
“ then ”, in that order, and
it is the zero matrix exactly when and commute. The second
sentence of the definition is about a single matrix:
being a commutator means that there
exist two matrices whose commutator it is, and
it says nothing about which ones.
Examples.
- Degenerate cases. and for every . So the zero matrix is a commutator, in many
ways. In
every commutator is , so for the only commutator is ; this is the smallest
case, and it already matches the trace condition, since
the only
matrix of trace
is .
- Matrix units. Recall that is if and otherwise (Definition 0.9.9). So
for , For instance in , and . Both have trace .
- Operators on an infinite-dimensional
space. On , with differentiation and
multiplication by
, Exercise (C1: The Heisenberg relation)
(a) shows . So the identity is a
commutator of operators on . This does not
contradict anything, because there is no trace on : the trace was
defined only on finite-dimensional spaces (Definition 4.5.2).
Nonexample by minimal change. Change
the minus sign to a plus: . It is still linear in and in , and it is still built
from the two products and . What is lost is the trace: , which has no reason to vanish. For example
, with
trace . It also no
longer detects commuting: is nonzero for over , although commutes with
itself.
Why this definition. The order in
is a
convention; the other order gives ,
which is a commutator too. The notion is invariant under
a change of basis: a similarity applied to and applies to . So “being a
commutator” is a property of the operator , not of the basis used to write
, and we are free
to choose a convenient basis. This is what the proof of
the main theorem exploits.
The basic rules are collected here.
Proposition
8.5.1 (Rules for Commutators)
Let , , and let be invertible. Then:
- (a) , ,
and ; in particular the commutator is linear in
each slot.
- (b) .
- (c) .
Proof.
(a) By Theorem 0.9.4, and . The last identity is . Linearity in the second slot follows from
the first slot and antisymmetry.
(b) Inserting
,
, and likewise for . Subtract, using
distributivity.
(c) By Theorem 0.9.6 (1) and
(3), .
So every commutator lies in the subspace of
trace-zero matrices of Example (Trace-Free Matrices).
The question of this section is whether it fills that
subspace.
The
identity in characteristic
Rule (c) is the whole content of the Heisenberg
exercises: if , then , which is impossible when
has
characteristic
(Definition 0.7.2). The
obstruction is the number , not the identity matrix itself. In
characteristic ,
the
identity has trace , and the obstruction disappears. In fact
the pair of
Example 3 survives in a finite form.
Example
(The Identity as a Commutator in Characteristic )
Let have prime
characteristic
(for instance ). Let have -entry for , and let have -entry for , all
other entries .
Show that .
Solution. The columns of these
matrices describe differentiation and multiplication by
on the list ,
where is
replaced by . By
Theorem 0.9.2, for and , while
and for . Hence where for we used . Subtracting, for , and , because in (Definition 0.7.2, Lemma 0.7.4). So every
column of is the corresponding column of . For this is the pair of
Exercise (C1: The Heisenberg relation)
(d), transposed.
Warning. “The identity is
never a commutator” is a statement about characteristic
. The
trace test says that a commutator has trace , and .
Over this is
; over it is whenever divides , and then the test is
silent. The example above shows that really is a
commutator over . Whenever an
argument ends with “, contradiction”, check which fields it
covers.
Trace-zero
matrices with zero diagonal
We want to write a given trace-zero as . Look first at
the easiest choice of , a diagonal matrix
. For any , Definition 0.9.9 gives
and , so The diagonal entries of are all , and each off-diagonal
entry can be anything, provided . So a
diagonal with
distinct entries produces exactly the
matrices with zero diagonal. A trace-zero matrix need
not have zero diagonal, but by Proposition 8.5.1
(b) we may replace by any matrix similar
to it. The plan is therefore:
① find a similarity that makes the diagonal of zero; ② solve entrywise.
Step ① is the heart of the matter. We do it one
diagonal entry at a time, starting with the -entry.
A matrix is scalar if it equals
for
some .
A scalar matrix is similar only to itself, since , so its diagonal cannot be changed. Every
other matrix can at least be given a zero in the corner.
This first lemma holds over every field.
Lemma
8.5.2 (A Non-Scalar Matrix Has a Similar Matrix
with Zero Corner)
Let be any
field, let ,
and let be not scalar. Then
there is an invertible such that the first column of is . In particular
for some and with
,
where .
Idea. Work backwards from the goal.
The first column of is the
coordinate vector of in the basis
formed by the columns of . For it to be , we need . So we want a vector such that and are
independent, and then we build a basis starting .
Such a
exists unless
sends every vector to a multiple of itself, and a short
argument shows that this forces to be scalar.
Proof. We first show that there is
with linearly independent. Suppose not.
Then for every there are , not both
zero, with . If , then and ,
which forces (Theorem 1.1.9), a
contradiction; so and with . Apply this to , , and
for : Since are linearly independent, comparing
coefficients (Theorem 1.4.3) gives
. Hence all
equal a common , so for every , and by Theorem 0.9.2 the
columns of are
those of . So is scalar, contrary to the
hypothesis.
Take such a . By Theorem 1.6.5, the
independent list extends to a basis of . Let be the matrix with
these columns; it is invertible by Theorem 3.4.4. Then
and
(Theorem 0.9.3), so the
first column of is Partitioning after the
first row and column gives the displayed form. Finally,
by Theorem 4.2.5,
and by Definition 0.9.12, so
.
Quick check. Over , let . Using in
the proof of Lemma 8.5.2, find
and , and check
that its diagonal is zero.
Solution. ,
which is not a multiple of , so is independent and already a
basis of .
Then , with and . We get and . The first
column is , as the lemma
promises; the -entry is as well, because the
trace is and
trace is a similarity invariant.
The lemma controls one diagonal entry and hands us a
smaller matrix
with the same trace. That is exactly the setting for
induction on the size. The only thing that can stop the
induction is a scalar , and here the trace
saves us, provided the field has characteristic .
Lemma
8.5.3 (Trace Zero Means Similar to Zero
Diagonal)
Let be a field
of characteristic , let , and let with . Then is similar to a matrix
all of whose diagonal entries are .
Idea. Induction on . If is scalar, with
, and
characteristic
forces :
then
already has zero diagonal. Otherwise, Lemma 8.5.2 puts a
in the corner and
leaves a trace-zero block of size . The induction
hypothesis conjugates by some into zero diagonal.
Conjugating the whole matrix by the block diagonal
matrix does this to the lower block without
disturbing the corner.
Proof. We use induction on (Theorem 0.2.7). For
, ,
which has zero diagonal.
Let , and
assume the statement for trace-zero matrices of size
.
Case 1:
is scalar, say . Then by Definition 0.9.12 and
Lemma 0.7.4. Since
has
characteristic
and , (Definition 0.7.2), so
. Hence
, which has
zero diagonal and is similar to itself.
Case 2:
is not scalar. By Lemma 8.5.2 there
is an invertible
with By the induction hypothesis there is an
invertible such that has zero diagonal. Let . By Theorem 8.1.4,
is invertible
with . By Theorem 8.1.1,
Its -entry is , and its other diagonal
entries are those of , which are . Since by Theorem 0.9.7 (3), and
is
invertible, is
similar to a matrix with zero diagonal. This completes
the induction.
Shoda’s
theorem
With a zero diagonal available, the diagonal choice
of in finishes the job.
All we need are
distinct scalars for the diagonal of , and characteristic
provides
them.
Theorem
8.5.4 (Shoda’s Theorem)
Let be a field
of characteristic , let , and let . Then is a commutator, that
is
for some , if and only if .
Idea. One direction is Proposition 8.5.1
(c). For the other: ① by Lemma 8.5.3, with
of zero
diagonal; ② take , whose entries are
distinct in characteristic ; ③ solve
entrywise with , dividing by ; ④
conjugate back with Proposition 8.5.1
(b).
Proof. If , then by Proposition 8.5.1
(c).
Suppose .
By Lemma 8.5.3 there
is an invertible
such that has for all .
For let , and . For , Lemma 0.7.4 gives
, which is nonzero because and has characteristic
(Definition 0.7.2). So
the are
distinct, and we may define by By , for , and . Hence .
Let and . Applying Proposition 8.5.1
(b) with the invertible matrix , This proves that is a commutator.
The proof used characteristic twice: in the lemma, to
rule out nonzero scalar blocks of trace zero, and here,
to find distinct
diagonal entries. The second use needs only for
, and with the remark after Lemma 8.5.3, the
same proof works whenever the characteristic of is or larger than . Neither use is
essential for the theorem. In fact the
statement “a square matrix over a field is a commutator
if and only if its trace is ” is true over
every field. The proof in positive
characteristic needs a different normal form and more
work, and we do not give it. Example (The Identity as a Commutator in Characteristic ) is a small
instance: over
is a
commutator, although Lemma 8.5.3 fails
for it.
The proof is constructive, and it is worth running
once in full.
Example
(Writing a Trace-Zero Matrix as a Commutator)
Over , write
as a commutator .
Solution. The trace is . We follow
the proofs step by step.
First corner. is not scalar. Take
; then is
not a multiple of . Extend by , which is not
in their span, to a basis, and let (To check without inverting,
verify : both equal .) The first column is , and the lower
block is , with trace .
Second corner. is not scalar. With
, is independent of , so
Assemble. With , the
proof of Lemma 8.5.3 gives
and , so for ,
Solve entrywise. With ,
the rule gives , , , , and :
Conjugate back. and
are Check:
and , and .
Nothing about these and is unique. Adding to
any matrix that
commutes with ,
for instance a polynomial in , gives another
solution, by Proposition 8.5.1
(a).
The span of
the commutators
Shoda’s theorem is about single commutators. A weaker
question, with an easier answer that holds over
every field, is which matrices are
sums of commutators. Since the
trace-zero matrices form a subspace and contain all
commutators, the span of the commutators lies inside it.
Matrix units show that it is all of it.
Theorem
8.5.5 (Commutators Span the Trace-Zero
Matrices)
Let be any
field and .
The span of all commutators with is the
subspace . More precisely, every trace-zero
matrix is a linear combination of the commutators
Proof. Let , a subspace by Example (Trace-Free Matrices).
By Proposition 8.5.1
(c), every commutator lies in , so their span is
contained in (Theorem 1.3.1, the
span being the smallest subspace containing them).
For the reverse inclusion, the displayed identities
hold by Example 2 after Definition 8.5.1:
for , , and for , . Now let .
Writing in the
basis of matrix units (Example (Standard Bases))
and using , So is
a linear combination of commutators, hence lies in their
span. (For ,
and both
sides are .)
The theorem lists commutators spanning the
trace-zero matrices. Since
is surjective (), the Rank–Nullity Theorem (Theorem 2.3.1) gives
that its kernel has dimension , so by Theorem 1.6.4 (b)
these commutators form a basis of it. Over a field of
characteristic ,
Shoda’s theorem says much more: the sum of commutators
produced here can always be collapsed into a single
commutator. In general the set of commutators is not
obviously closed under addition, and that is exactly
what makes Shoda’s theorem a theorem.
Warning. The span of a set
is not the set. Theorem 8.5.5 shows
that every trace-zero matrix is a sum
of commutators, over any field, by a two-line argument.
It does not show that every trace-zero matrix
is a commutator. For comparison, in
the matrices
of rank at most
span everything (the four matrix units have rank ), yet has rank : a set can span a
subspace without filling it. For commutators it happens
that the set does fill the subspace, but the proof needs
the similarity argument of Lemma 8.5.3, not
just matrix units.
The span theorem gives a clean proof of a fact from
Chapter 4: a linear functional on with is a multiple of the trace. Such a kills every
commutator, hence their span, which is the kernel of the
trace; Exercise (C1: Trace-like functionals, again)
below completes the argument.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Define the
commutator , and state what it means for a matrix to be
a commutator.
- (b) State Shoda’s
theorem, including the hypothesis on the field.
- (c) True or false:
for all . Justify your answer.
- (d) True or false:
over every field, every trace-zero matrix is similar to
a matrix with zero diagonal. Justify your answer.
- (e) Name the two
places where the proof of Shoda’s theorem uses
characteristic .
- (f) Explain why Theorem 8.5.5 does
not by itself prove Shoda’s theorem.
Solution.
(a)
(Definition 8.5.1).
A matrix is a commutator if for some
.
(b) If has characteristic
and , then for some
if and only if (Theorem 8.5.4).
(c) False. (Proposition 8.5.1
(a)), so equality holds only when . For
example and over .
(d) False. Over
, has trace , but it is
scalar, so every matrix similar to it equals ,
whose diagonal entries are .
(e) In Lemma 8.5.3, to
conclude from that a trace-zero scalar matrix
is
; and in Theorem 8.5.4, to
find distinct
scalars so that we can divide by .
(f) It says every
trace-zero matrix is a linear
combination of commutators. Shoda’s theorem
says it is a single commutator. A sum
of commutators need not visibly be a commutator, since
has no evident expression as .
B. Practice
Exercise
(B1: A
commutator)
Over , let
.
- (a) Using as
in Lemma 8.5.2, find
an invertible
such that has zero diagonal.
- (b) With , find
with .
- (c) Hence write
, and
check your answer by multiplying out.
Solution.
(a) , and is
not a multiple of , so is a basis of . Let , so . Then and The first column is by Lemma 8.5.2, and
the -entry is
because the trace
is .
(b) By , and , while the diagonal of
is zero.
So ,
, and we
may take : .
(c) By the proof
of Theorem 8.5.4,
and : using and . Check:
, , and .
Exercise
(B2: A commutator over )
Work over ,
and let .
- (a) Show that and that is not scalar.
- (b) Explain why
cannot be used in Lemma 8.5.2, and
use instead to find with of zero
diagonal.
- (c) The field has exactly two
elements. Use them as the diagonal of to write as a commutator, by
hand.
- (d) Explain why the
same method cannot write as a
commutator, and recall a pair that does.
Solution.
(a) in
. has a nonzero
off-diagonal entry, while every scalar matrix has zero
off-diagonal entries.
(b) , so is dependent. With ,
, which is not a multiple of , so is a basis. Let ; since , (check: in
). Then and .
(c) Take . By
, (as ) and . So gives .
Conjugating back, and , so Check: , , so . (Here : indeed .)
(d) The method
writes as with diagonal, and by
such a
commutator has zero diagonal. But is scalar, so for
every invertible , and its diagonal
entries are . So
the method cannot start. Nevertheless is a commutator:
with and , in (Exercise (C1: The Heisenberg relation)
(d), or Example (The Identity as a Commutator in Characteristic ) with ).
Exercise
(B3: Commuting with a diagonal matrix)
Let be any
field, let be distinct, let , and define by .
- (a) Show that is linear.
- (b) Prove that is the set of
diagonal matrices and is the set of matrices with zero
diagonal.
- (c) Check that your
answer to (b) agrees with the Rank–Nullity Theorem.
- (d) Hence decide
whether is a commutator
with , and if so find .
Solution.
(a) By Proposition 8.5.1
(a), and .
(b) By , . Since for , if and only if
for all
, that is,
is diagonal.
Every has
zero diagonal. Conversely, if has zero diagonal, the
matrix with
for and satisfies . So is exactly the set of zero-diagonal
matrices.
(c) The diagonal
matrices have basis , so . The
zero-diagonal matrices have basis (), so . Their
sum is , as Theorem 2.3.1
requires.
(d) Yes, since
the matrix has zero diagonal and are distinct.
With ,
gives and by (b), is
the given matrix.
C. Going deeper
Exercise
(C1: Trace-like functionals, again)
Let be any
field, , and
let be linear with for all .
- (a) Prove that vanishes on every
trace-zero matrix.
- (b) Deduce that
,
where .
- (c) Suppose has characteristic
and, in addition,
. Deduce that .
- (d) Show that the
conclusion of (c) fails over when .
Hint: for (a), use Theorem 8.5.5.
Solution.
(a) For all , by linearity and the
hypothesis. So the kernel of , a subspace,
contains every commutator, hence their span (Theorem 1.3.1),
which is the set of trace-zero matrices by Theorem 8.5.5.
(b) Let . Since
,
the matrix has trace (Theorem 0.9.6 (1)), so
by (a) and linearity, Hence with . This recovers Exercise (C2: The trace is the only trace-like functional)
by a different route: the matrix-unit computations are
now packaged in Theorem 8.5.5.
(c) By (b), . Since has characteristic
, , so and .
(d) Over with , take . It is
linear, satisfies , and . But , since . The step that fails is canceling
in
(c).
Exercise
(C2: When
commutes with )
Let be a field
of characteristic , let , put
, and
suppose that . The goal is to prove that is
nilpotent, that is, for some .
- (a) Prove that
for every .
Deduce that for every .
- (b) Show that there
are an integer and with such that .
- (c) Let and , and suppose
. Extend a
basis of to a
basis of , and
let be the
matrix with these columns. Show that with and .
- (d) Write with . Show
that is a
linear combination of for some , and use (a) to
reach a contradiction.
- (e) Conclude that
.
Hint: in (c), compare the columns of for and with the
coordinates of vectors of ; in (d), take
traces.
Solution.
(a) First,
for all , by
induction on from
.
Hence By Proposition 8.5.1
(c), .
(b) By Theorem 6.7.2 there is
a nonzero with . Let be the largest integer with dividing , and write ; then , so by Theorem 6.1.3. Put
. By
Theorem 0.9.9, .
(c) Let have columns , where is a basis of ; is invertible by Theorem 3.4.4. For
any , column
of is ,
the vector
with , that is, the coefficients of
in
terms of (Theorem 0.9.3). If
,
then and , so
maps into ; hence for the vector is a
combination of , and column of has zeros
below row . This
gives the block form. By Theorem 8.1.1 and
induction on ,
, and by Proposition 4.2.6
(c) this is ; more
generally for every .
For , every
vector lies in
, so every column
of is
zero below row ,
and . For
: for , is for some
, so by (b) and Theorem 0.9.9. So the
first columns of
are
zero, and in particular .
(d) From we get with . Since
polynomials in
commute (Theorem 0.9.9), for some , as every term of has degree at
least . For , ,
so by (c), Theorem 4.2.5,
and Definition 0.9.12,
. Taking traces, by (a). But and
has characteristic , so , a
contradiction.
(e) By (d), , so
and . For
example, with and in , , which commutes with , and indeed . In Chapter 9
the statement “ for all forces nilpotency in characteristic ” becomes a statement
about eigenvalues.