So far we have studied one linear map at a time: its
kernel, its image, and the count that ties them
together. But linear maps rarely come alone. The map
is the identity plus differentiation,
and rotating then projecting is one map followed by
another. This section shows that linear maps can be
added, scaled and composed, that these operations obey
almost all the rules of arithmetic, and that an operator
can be plugged into a polynomial just as a square matrix
can.
Adding and
scaling linear maps
Look at three maps on that have
already appeared in this chapter or will soon: Each is built from two simpler maps, the
identity and
differentiation ,
by the recipe “apply both to , then combine the
outputs with the operations of the target space”. The
first is “”,
the second “”,
the third “”. Instead of checking linearity for each
such combination separately, we would like to check it
once for the recipe. The recipe itself deserves a
name.
Linear maps into the same space can be added and
scaled output by output, and the results are again
linear maps.
Definition
2.4.1 (The space of linear maps)
Let and be vector spaces over
the same field . We write for the set of
all linear maps , and for the set of linear operators on (Definition 2.1.1). For
and , the
sum and the scalar multiple
are the
functions
defined by
As in Definition 2.1.1, we
write for when no brackets
are needed. In words: to evaluate at , evaluate both maps at
and add the
results in ; to evaluate
, evaluate and scale the result in
. The operations
of play no role
in the definition. That is why and must have the
same codomain: the sum has to be
computed in one space. Both maps must also be defined on
the same .
We have used these operations before without naming
them: the operations on in Example (The Standard Vector Spaces)
(d) are defined by the same pointwise recipe, with
values added in
instead of .
It turns out that the recipe never leaves the world
of linear maps, and that is itself a
vector space. This is the first sign that maps between
vector spaces are as good as vectors.
Theorem
2.4.1 ( Is a Vector Space)
Let and be vector spaces over
. If and
, then and are linear. With the
operations of Definition 2.4.1,
is a
vector space over . Its zero vector is the
zero map , and the negative of is .
Idea. There are two layers. The set
of
all functions , with the
pointwise operations, is a vector space, for the same
reason is: each
axiom is checked one input at a time, where it becomes
an axiom of . Then
sits
inside , so the
Subspace Test finishes the job, and its three conditions
are exactly “the zero map is linear”, “a sum of linear
maps is linear” and “a multiple of a linear map is
linear”.
Proof. Let be the set of all
functions ,
with the operations of Definition 2.4.1
applied to arbitrary functions. The verification in Example (The Standard Vector Spaces)
(d) goes through word for word with in place of : two functions are equal when
they agree at every (Definition 0.4.1), and
at each every
axiom for
becomes the same axiom in , with zero function
and
negative . Hence is a vector space
over , and .
We apply Theorem 1.2.1.
The zero map is linear: and
by
Theorem 1.1.6. So
.
Let , and . By the definition of , the linearity of
and , and the axioms of
, So .
Let
and . Then , and
, using the axioms
of and
commutativity of multiplication in . So .
By Theorem 1.2.1, is a subspace
of , hence a
vector space over
with the same zero and negatives. The negative of in is , by Theorem 1.1.7. This
proves the theorem.
The step that used commutativity of is worth a second look:
is linear
because can be
moved past the scalar . This is one place
where “ is a
field” is used silently.
Example
(Sums of Matrix Maps and Other First Examples)
For , write , , for the
matrix map of Example (Multiplication by a Matrix).
- (a) Show that
and
for and .
- (b) Describe when , and when
.
- (c) On , write
in terms of and
, and compute
.
Solution.
(a) Let . By Definition 2.4.1 and
distributivity (Theorem 0.9.4), The maps agree at every , so they are equal. So
adding and scaling matrix maps is adding and scaling
matrices.
(b) If , a linear map
must send to
, so the zero
map is the only element: .
If ,
every function is the zero map, and it is linear, so
again . These degenerate cases matter because
formulas like “”, which we prove in
Chapter 4, must give here, and they
do.
(c) , which is
linear by Theorem 2.4.1. With
, , so .
Here is a non-example by minimal change. Keep on , but
replace by the
evaluation map . Both maps are linear and both are
defined on . But
lands in and
lands in , so
would require
adding a polynomial to a number. The clause that fails
is “” with the same : the sum is
not defined.
Composition
Addition makes a vector space, but the operation that
really matters for maps is doing one after another. For
functions, Chapter 0 wrote this as (Definition 0.4.4). For
linear maps we drop the circle.
Is linear,
and how does composition interact with the sum? It turns
out that composition behaves like a multiplication:
associative, with identities, and distributive over
addition on both sides.
Theorem
2.4.2 (Composition of Linear Maps)
Let
be vector spaces over .
- (a)
(Linearity) If and , then
.
- (b)
(Associativity) If , and , then
.
- (c)
(Identities) If , then
.
- (d)
(Distributivity) If , and , then
Idea. Parts (b) and (c) hold for
all functions, so there is nothing new to do. Part (a)
is a two-line check. The interesting point is in (d):
the three identities are not equally cheap. In the map
acts first and
the sum is taken afterwards, so the identity is just the
definition of the sum. In the sum is
taken before acts, and pulling it
out of needs
to be linear. So
we should watch where the linearity of the
left factor is spent.
Proof.
(a) Let and
. Since
and then are linear,
(b) and (c) hold
for arbitrary functions, by Theorem 0.4.2 and the
observation after Definition 0.4.5.
(c) Each side is
a function ,
so we compare values at . By Definition 2.4.1,
with no linearity used. Next, since is linear, Finally by definition, and
because is
linear. This proves the theorem.
In short,
carries a vector space structure and a multiplication
(composition) that is associative, has the unit , distributes over
addition, and lets scalars move freely through products.
A vector space with such a multiplication is called an
algebra over ; is the other
algebra we know (Theorem 0.9.4). The
two will turn out to be the same algebra in disguise
when we write operators as matrices in Chapter 4.
Example
(Rotate, Then Project)
Let be the rotation by
counterclockwise, , and let , , be the
projection onto the -axis. Compute and .
Solution. In the rotation acts
first: At : , while . So . Geometrically, rotates onto the -axis and then squashes
it to ; leaves alone under the
projection and then rotates it to . In matrix form,
and
with
and , and indeed .
Warning. Composition is not
commutative, and the order is read right to
left. In Example (Rotate, Then Project),
. It can
be worse: for and ,
both and are defined, but they live on
different spaces, so they cannot even be compared. And
for , , is defined but is not. The thing you
do first goes on the right.
Quick check. Let
and be linear. Which of and is defined, and
between which spaces does it go?
Solution. first
applies , then , so .
would apply
first, landing in
, where is not defined; so
is not
defined.
Because of the missing commutativity, school
identities about products must be rechecked. By
distributivity (Theorem 2.4.2 (d)),
which equals only if . With and as above, , while ; so . This is the operator version of the matrix
warning in Chapter 0, §9.
Operators,
powers and polynomials
Composition of operators on one space never leaves , so we may compose
an operator with itself as often as we like. Repeated
composition leads to powers, and combinations of powers
to polynomials, exactly as for square matrices (Definition 0.9.14).
Definition
2.4.2 (Powers and Polynomials of an
Operator)
Let be a
vector space over
and .
The powers of are defined recursively
by For , the operator is
In words:
applies exactly
times, and does nothing. In
, the
constant term becomes ,
because an operator cannot be added to a scalar. Each
is linear by Theorem 2.4.2 (a) and
induction, and
is linear by Theorem 2.4.1. As for
matrices, does
not depend on how many zero coefficients we write, since
is the
zero map.
Plugging in an operator respects sums and products of
polynomials, just as plugging in a matrix does.
Theorem
2.4.3 (Polynomials in One Operator)
Let
and .
Then:
- (a) for all
;
- (b)
and ;
- (c) .
Idea. The proof of Theorem 0.9.9 used
four matrix rules: associativity, identity,
distributivity and “scalars move through products”. Theorem 2.4.2 supplies
exactly these four rules for operators. So the old proof
transfers line by line. Part (c) is the surprise: need not commute with
other operators, but it commutes with every polynomial
in itself.
Proof.
(a) Fix and use induction on
(Theorem 0.2.7). For
,
by Theorem 2.4.2 (c). If
,
then by Definition 2.4.2 and
associativity (Theorem 2.4.2 (b)),
(b) Let
and . The statement for sums holds because
in the vector space (Theorem 2.4.1). For
products, the coefficient of in is (Definition 0.8.2), so
where the second equality uses (a), and the
third uses both distributive laws and , all from Theorem 2.4.2
(d).
(c) Since in (Theorem 0.8.1), part
(b) gives . This proves the
theorem.
In practice, (b) says that a factorization of
is a
factorization of : for
instance .
Example
(Differentiation Is Nilpotent)
Let and
let be (formal) differentiation (Example (Differentiation)),
,
where means
added to itself
times. Show that
. Show
also that when .
Solution. For , if
and . So sends each to a scalar multiple
of , or to
when . Applying this
times, is a scalar
multiple of , so . Since , also , by Theorem 2.4.3 (a).
Now let . Since is linear, Theorem 2.1.4 gives
Hence .
Over , , so . Over with , however, , and
already;
the field matters for the exact power, but never for
.
An operator
with for
some is
called nilpotent. The example shows
that a non-zero operator can have a power equal to zero,
just as the matrix can. Differentiation is
the model nilpotent operator, and it returns when we
study canonical forms.
Example
(Operators That Satisfy a Polynomial)
With and as in Example (Rotate, Then Project),
find non-zero polynomials and with and . Also, for an
arbitrary , compute and , where is the zero
operator.
Solution. For the projection, , so and satisfies . By Theorem 2.4.3 (b),
this says : whatever produces is killed by , and indeed
lies on the -axis.
For the rotation, , so , and satisfies
. Rotating twice by is rotating by
. Since
has no real
roots, has no
real linear factor, so the trick “factor , then factor ” gives nothing over
.
For : every power of is , so . Every power with is the zero map,
but , so
,
the scalar
times . The
second computation is the reason for the convention
: with
it, “the constant term” of is what survives
when is the zero
operator.
Warning. The constant term
is , not
.
Writing “” for an operator is a type error: is a map and
is a number. For
,
, which is since . Forgetting the
leads to “”, which is not
an operator at all.
Quick check. With the projection above,
compute for
.
Solution. Since , also . So
, which is the map :
the projection onto the -axis.
Polynomial relations such as , and carry real
information about an operator. In the next section we
use one to write down an inverse without solving any
equations, and later in the book the polynomials that
kill an operator lead to the minimal polynomial and to
canonical forms.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) For and
, define
and . Why must and have the same
codomain?
- (b) True or false:
for all , . Justify your answer.
- (c) Let
and . Which of , are defined, and in
which spaces do they lie?
- (d) For and (a constant
polynomial), what is ?
- (e) True or false:
for all , . Justify your answer.
Solution.
(a)
and for every (Definition 2.4.1). The
sum must
be computed in a single vector space, so both values
must lie in the same .
(b) False. In Example (Rotate, Then Project),
but .
(c) Both are
defined. applies
first: . applies first: .
(d) , by Definition 2.4.2.
(e) False. By Theorem 2.4.2 (d),
, which differs from by . With , of Example (Rotate, Then Project),
is not the zero map, so the
identity fails.
B. Practice
Exercise
(B1: Computing compositions)
Let be given by
and .
- (a) Compute , and .
- (b) Compute and for every .
- (c) Hence show that
.
Solution.
(a) Applying the
right-hand map first, So ; for instance and
.
By Definition 2.4.1,
.
(b) . We claim for all , by induction on . For , sends to . If the
claim holds for ,
then where the first equality is Definition 2.4.2,
.
(c) , so . Hence
,
that is, is
nilpotent. Expanding with Theorem 2.4.3 (b),
,
which matches (b): .
Exercise
(B2: Operators that preserve a subspace)
Let be a
subspace of , and
let Prove that is a
subspace of ,
that , and that
whenever .
Solution. We use Theorem 1.2.1 in the
vector space
(Theorem 2.4.1).
The zero map sends every to , and because is a subspace. So .
Let and . Then and , so , since
is closed under addition. Therefore .
Let
and . For , ,
since is closed
under scalar multiplication. Therefore .
Hence is a
subspace of .
Next, for every , so . Finally let
and . Then
, and
applying the hypothesis on to the vector gives . This
shows .
Exercise
(B3: A polynomial that kills )
Let be differentiation.
- (a) Find a non-zero
polynomial with
.
- (b) Show that no
non-zero polynomial of degree at most satisfies .
- (c) Hence, or
otherwise, compute as a combination of , and evaluate
.
Solution.
(a) By Example (Differentiation Is Nilpotent)
with , . So works.
(b) Let with
. Applying this operator to , with and , A polynomial is zero exactly when all its
coefficients are, so ,
and . Hence
and
.
(c) The operator
is for . Applying the
product rule of Theorem 2.4.3 (b)
twice, , and . So using from (a). Therefore .
C. Going deeper
Exercise
(C1: The Heisenberg relation)
Let be a
field, let be formal differentiation, (Example (Differentiation)),
and let be multiplication by , (the map of Example (Multiplication by )).
- (a) Prove that .
- (b) Let .
Prove that , where is the matrix with columns
.
- (c) Now suppose that
has
characteristic (Definition 0.7.2), and
let . Deduce
that there are no operators with .
- (d) Show that the
assumption on the characteristic in (c) cannot be
dropped.
Hint: for (c), use (b) and consider
traces.
Solution.
(a) Both sides
are linear (Theorem 2.4.1, Theorem 2.4.2). We
first compare them on , . We have . If , ; if , . In both cases Every is a finite combination , so by
Theorem 2.1.4, . Hence .
(b) Let . By Theorem 2.1.4 and Theorem 0.9.3, Since
was arbitrary, .
(c) Suppose, for
a contradiction, that satisfy . By (b), and for some , and . By
associativity of matrix multiplication, , so , and similarly .
With Example (Sums of Matrix Maps and Other First Examples)
(a), Evaluating at gives equal -th columns (Theorem 0.9.3), so
.
Taking traces and using Theorem 0.9.6, Since and
has characteristic , by Definition 0.7.2. This
is a contradiction, so no such exist. In
words: over ,
, or any field of
characteristic ,
the relation of (a) has no analogue on , . Since every
-dimensional space
is isomorphic to , as we show in the
next section, the same holds on every non-zero
finite-dimensional space. (On the zero space , so the relation
holds trivially there; that is why .)
(d) Over (characteristic
), take and as in Exercise (C1: is impossible,
or is it?). There , because in . By the computation
in (c), and satisfy on . So the
conclusion of (c) fails without the characteristic
assumption; the proof breaks exactly at , since
in
.
Exercise
(C2: Commuting nilpotent operators)
Let .
- (a) Suppose . Prove that for every , where
means
added to itself times.
- (b) Deduce that if
, and for some , then .
- (c) Show that (b)
fails without : give nilpotent such
that is not
nilpotent.
Hint: for (c), try maps that send one standard
basis vector to the other and the other to .
Solution.
- (a) First, for all , by induction
on : it holds for
, and if , then , using
associativity (Theorem 2.4.2 (b)) and
Theorem 2.4.3 (a) in
the form .
Now induct on .
For both
sides are .
Suppose the formula holds for . By Theorem 2.4.2 (d),
By the first paragraph, . Shifting the
index in the first sum, the coefficient of becomes
(Pascal’s rule,
with ). This is the formula for
.
(b) By (a) with
,
is
a sum of multiples of , . If
, then by
Theorem 2.4.3 (a), so
the term is by Theorem 2.4.2 (d). If
, then
, so likewise. Every term vanishes, so .
(c) Let and
.
Then and , so both are nilpotent.
But , so , that is, . Then
and for every , so is not nilpotent.
Here , so the hypothesis of (b)
indeed fails.