Chapter 3 met subspaces of in two disguises. A
parametric description lists spanning
vectors, as in . An
implicit description lists equations,
as in . We
moved from equations to spanning vectors by elimination,
but we never asked whether the reverse is always
possible, or how many equations it takes. Duality
answers both questions at once: the equations of a
subspace are the
elements of .
This section turns that sentence into an algorithm,
proves once more that row rank and nullity add up to
, and ends the
chapter with a dictionary between a space and its
dual.
Row vectors
are functionals
Recall from Theorem 5.1.1 how
functionals on
look. For , put By that theorem, every is
for
exactly one ,
namely , and
is an isomorphism .
The functional is “multiply
by the row vector ”. So the
identification is really between functionals and row
vectors, and that is what makes a system of equations a
dual object. Write the rows of
as with . The -th entry of is , so the homogeneous system
says
exactly that . Hence Each non-zero row contributes a hyperplane (Theorem 5.5.3), and the
null space is their intersection. An equation is
a functional, and a system is a list of
functionals.
The identification uses the standard basis of , and nothing else.
Under it, the coordinate functionals , which
form the dual basis of ,
correspond to , that is, to the rows .
Every
subspace is a solution set
To describe by
equations, we need equations that hold on , that is, functionals
in , and
enough of them that they hold only on
. The first
requirement is the definition of . The second follows
from the separation of points, applied in the
quotient.
Lemma
5.6.1 (A subspace is cut out by its
annihilator)
Let be a
finite-dimensional vector space and a subspace. For , If is a basis of , then .
Proof. This is Definition 5.2.1.
Suppose . Then is a non-zero vector of by Lemma 4.4.3 (b),
and is
finite-dimensional (Theorem 4.4.5).
By Theorem 5.1.5 there is
with . By Theorem 5.5.2,
lies in , and
. This proves the contrapositive.
For the last statement, for each since .
Conversely, if for all , then every has , so by .
The lemma is Corollary 5.3.4 in
disguise. That corollary says under ; the lemma
unpacks it into a statement about vectors. In , with rows in place
of functionals, it becomes the main theorem of this
section.
Theorem
5.6.2 (Every Subspace Is a Solution Set)
Let be a
subspace of
with .
- (a) There is a
matrix with . One may take as rows of the vectors for any such that
is a basis of .
- (b) If
and ,
then .
So is the
solution set of a homogeneous system of exactly
equations, and of no system with fewer. (When , that is , this is the
empty system, with no equations.)
Proof.
(a) By Theorem 5.2.2, .
Choose a basis of ; by the
identification above it is for some . Let have rows . Then where the second equality is Lemma 5.6.1.
(b) By Theorem 3.5.7,
. By Theorem 3.5.5,
. The row space is spanned by the rows of , so by Theorem 1.6.3 (b).
Hence .
The count is the one promised by codimension:
dimension counts free parameters, codimension
counts independent equations, and in the two add up to
.
Example
(Equations for a plane in )
Let , where and
. Find a system of linear equations whose
solution set is .
Solution. The two vectors are
independent (compare first entries, then third), so
, and we
expect
equations. For , the functional lies in
exactly when
it vanishes at both spanning vectors (Theorem 5.2.3 (b)): This is the system for the matrix
whose
rows are and . Subtracting the
second row from the first gives the RREF with free variables . By Theorem 3.5.4, a
basis of the solutions is (from ) and
(from
).
The corresponding functionals form a basis of , and by Theorem 5.6.2, Check. Both equations hold at
: and ; and at : and . The
coefficient matrix has rank 2, so its null space has
dimension , and it contains the independent vectors
; hence
it equals (Theorem 1.6.8). The
implicit description says: consists of the vectors
with and
.
From spans
to equations and back
The example is an instance of a general procedure.
Both directions of the conversion are “compute a null
space”, applied to transposed data.
Algorithm. Parametric to
implicit. Input: vectors
with .
- Form whose -th row
is .
- Row reduce
and find a basis of as in Theorem 3.5.4.
- Output the matrix whose -th row is , that is, the
equations for .
Implicit to parametric. Input: .
Output: a basis of , found by row
reduction as in Theorem 3.5.4.
The second half was proved correct in Chapter 3. The
first half is new.
Theorem
5.6.3 (Correctness of the Conversion)
Let , , and let and be as in the
algorithm. Then , and
has exactly rows, which are linearly independent.
Idea. The only thing to see is what
step 2 computes. The -th entry of is . So says that
the functional vanishes at
every , that
is, . Step 2 therefore computes a basis of
, and the
theorem of the previous subsection does the rest.
Proof. For , the -th entry of is , where the middle equality
holds because both sides equal .
Hence where the last equality is Theorem 5.2.3 (b). So the
isomorphism maps onto . An isomorphism
carries a basis to a basis (Theorem 2.5.2), so
is a basis of . In particular
by Theorem 5.2.2, and the
, hence the
rows , are
independent. By Theorem 5.6.2 (a), the
matrix with rows
satisfies .
The algorithm does not need the to be independent.
Redundant spanning vectors only produce zero rows in the
RREF of , and the
count automatically uses .
Running both halves in turn is a useful self-check.
Starting from in
Example (Equations for a plane in )
and computing must return a
basis of ;
starting from that basis and running the first half must
return equations with the same solution set, though not
necessarily the same equations.
Warning. Equations for a
subspace are far from unique, and more equations do not
mean a smaller solution set. In Example (Equations for a plane in ),
the system , , has the same solution set
: the third
equation is the sum of the first and the negative of the
second, so it adds a functional already in . Three equations in
cut out a
two-dimensional subspace here, not a one-dimensional
one. Each new equation lowers the dimension by one
only if its functional is not a
combination of the previous ones. A theorem later in
this section makes this precise.
Affine
solution sets
An inhomogeneous equation with defines a set
that is not a subspace when . It is a
translate of the hyperplane : if
is one solution,
then by Theorem 3.1.3 the
solutions are . We call a coset of a hyperplane
(Definition 4.4.2)
an affine hyperplane. In , the plane is an
affine hyperplane, parallel to the hyperplane .
A system with rows and right-hand
sides asks for
the vectors lying on all the sets at once. Each such set is an affine
hyperplane if ; if , it is all of (when ) or empty (when
). So
the solution set of a linear system is an
intersection of affine hyperplanes, apart from
these trivial rows. The duality theorems give the
converse.
Proposition
5.6.4 (Cosets as intersections of affine
hyperplanes)
Let be a
subspace of of
dimension ,
and let .
Let be as in Theorem 5.6.2 (a), with
rows . Then an intersection of affine
hyperplanes.
Proof. By Theorem 5.6.2, . The vector
is one solution
of , so
by Theorem 3.1.3 its
solution set is . The -th equation reads .
Each
is non-zero, because it belongs to a basis of ; so is a
hyperplane (Theorem 5.5.3), and is an affine
hyperplane, again by Theorem 3.1.3
applied to this one equation.
Unlike hyperplanes, which all contain , affine hyperplanes
can be disjoint: and are parallel lines in . That is the
geometric picture of an inconsistent system.
The row
space annihilates the null space
In Chapter 3, Theorem 3.5.7 said
, and its proof counted pivot and free columns
in the RREF. The duality of this chapter explains the
same equation without elimination: the rows of are exactly the
equations satisfied by the null space.
Theorem
5.6.5 (The Row Space Is the Annihilator of the
Null Space)
Let . Identifying a row vector with the functional , Consequently .
Idea. Let . Its kernel is , and Theorem 5.4.3 says . So it is enough to see that is the row
space. Pull back a functional on : the result is ,
which is multiplication by the row , the combination
of the rows of
with coefficients . The transpose of Chapter 0 appears
exactly here: .
Proof. Let , , so that . Every functional on is for a unique
, as
recalled at the start of this section. By Definition 5.4.1,
associativity of matrix multiplication, and Theorem 0.9.5, so . The columns of are , where
are the
rows of , so
by Theorem 0.9.3. As
runs over , these are all the
combinations of , and since transposing respects
combinations (Theorem 0.9.5), they
are exactly the vectors with (Definition 3.5.2).
Hence By Theorem 5.4.3, , which is the first claim.
For the count, is an isomorphism (transposition followed by ),
so by Theorem 5.2.2.
The count is Rank–Nullity for matrices once more, now
as a statement about annihilators:
counts independent equations and counts free
parameters. It also says that the given equations
generate all the equations satisfied by
: any
linear equation that holds on the solution set of is a
combination of the rows of .
Corollary
5.6.6 (Same solutions, same row space)
Let and . Then if
and only if .
Proof. If , then
by Theorem 5.6.5, so by Corollary 5.3.5.
If
, then by Theorem 5.6.5. Since is injective, .
Chapter 3 showed that row operations preserve the
null space (Theorem 3.5.1). The
corollary gives a converse in terms of row spaces: two
systems in the same unknowns have the same solutions
exactly when each equation of one is a
combination of the equations of the other.
Sums and
intersections by duality
Parametric and implicit descriptions are good at
different things. A sum is easy
parametrically: is spanned by a spanning list of followed by one of
(Proposition 1.7.2).
An intersection is easy implicitly: if
and
, then
exactly when
satisfies both systems, so the null space of the matrix with the rows of
above the rows
of . Duality
explains why each is easy where it is. The rows of the
stacked matrix span , which corresponds to by Theorem 5.6.5 and Theorem 5.2.3 (d); and
says that the equations of a sum are the
equations common to both pieces.
Example
(An intersection computed from equations)
In , let
and , as in Example (A basis of an intersection).
Find by
first finding equations for and for .
Solution. Equations for . A row
annihilates both spanning vectors when and
. This system is already in RREF, with free
; the basic
solutions are and . Changing signs, which does not change the
kernels, Equations for . Here and
. Subtracting gives , and then , with free. The basic
solutions are and , so Intersection. Stack the four
equations. From :
and . Then gives
, and the
last equation holds automatically.
So in agreement with Chapter 3.
The redundancy of the fourth equation is not a
coincidence. The four rows span , which has dimension , so exactly one
of the four equations must be a consequence of the
others.
Contrast with Chapter 3. There we
put the four spanning vectors as
columns of one matrix and read the
intersection off a null vector, a relation . Here we computed two small null spaces
(the equations) and then one more (the intersection).
The equation method pays off when the subspaces are
given by equations in the first place, or when several
intersections with the same are needed: the
equations of are
computed once.
Independent
functionals
The warning above said that equations cut out
codimension only
when they are independent. We now make that precise, in
any dimension. Given , bundle them into one linear map which is linear because each entry is. Its
kernel is , the common solution
set of the
equations.
Theorem
5.6.7 (Independent Functionals)
Let be a
vector space over , of any dimension, and
let . The following are
equivalent:
- (a) is linearly independent in ;
- (b) is
surjective;
- (c) has codimension exactly .
Idea. A dependence
says that for every in the image: the image lies in the
kernel of a non-zero functional on . Conversely, if the
image is a proper subspace of , some non-zero
functional on
kills it, and its coefficients give a dependence. The
First Isomorphism Theorem turns “surjective” into
“codimension ”.
Proof.
(a) (b). Suppose
is not
surjective. Then is a proper
subspace of , so
and, by Theorem 5.2.2, .
Take a non-zero functional in it; as at the start of
this section it is , , for a non-zero . For every
, , so
Thus with , and the list
is dependent. This proves the contrapositive.
(b) (a). Suppose
is surjective
and . For each , choose with , that
is, . Evaluating the relation at gives . So the list is
independent.
(c) (c). By
Theorem 4.4.7,
, and . So the codimension of is
, which
equals exactly
when
(Theorem 1.6.8).
For and
, the map is , where has rows . The theorem then
says: the rows of are independent if and
only if
is solvable for every . Independent
equations never contradict each other.
Quick check. In , consider , , . What
is the codimension of ? Is the system , , solvable?
Solution. , so the list is dependent, while
is independent (look at the
coefficients of
and ). The three
kernels intersect in , of codimension 2 by Theorem 5.6.7, so the
intersection is a line, not . The system is not
solvable: any solution would give . This is (b) failing: .
Summary and
transfer
The chapter has built a dictionary. On the left is a
finite-dimensional space of dimension , or a linear map between
finite-dimensional spaces; on the right is its mirror
image in the dual. Every entry has been proved in this
chapter, and every arrow reverses inclusions or
directions.
| a subspace ,
|
its annihilator , |
|
|
|
|
|
|
| itself,
recovered as |
determines |
| the quotient |
the subspace |
| the subspace |
the quotient |
| a hyperplane |
a non-zero functional, up to scale |
| a spanning list (parametric form) |
a list of equations (implicit form) |
| dimension (free parameters) |
codimension (independent equations) |
| a basis |
its dual basis |
|
, backwards |
|
injective |
surjective |
|
surjective |
injective |
|
|
|
|
|
|
| the matrix |
the transpose |
|
, as
|
|
,
naturally isomorphic via |
Three moves make the dictionary usable, and they
transfer to any situation with a pairing between two
spaces.
- Test against functionals. To show a
vector is zero, or lies in a subspace, check that enough
functionals vanish on it (Theorem 5.1.5, Lemma 5.6.1).
- Pass to the dual and count. A
question about a subspace can be translated into one
about its annihilator, where
often settles it. The third proof of row rank = column
rank (Corollary 5.4.4) and the
count in Theorem 5.6.5 both work
this way.
- Prefer the natural map.
Isomorphisms such as , and
are defined without a basis, so they can be used in any
coordinates and survive changes of basis. Isomorphisms
such as depend on a choice, and a proof that uses
one must say which.
In Chapter 11, an inner product will give a
chosen isomorphism , and the
annihilator
will reappear inside itself as the
orthogonal complement. The dictionary above is the part
of that story that needs no inner product.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Explain how a
row vector
(with )
defines a linear functional on , and why every
functional arises this way.
- (b) What is the
least number of homogeneous linear equations whose
solution set is a given -dimensional subspace of
?
- (c) True or false:
every system of three homogeneous equations in has a solution set
of dimension .
Justify your answer.
- (d) State the
relation between and in terms of
annihilators.
- (e) True or false:
if and have columns and , then
and have the same number
of rows. Justify your answer.
- (f) Name the dual
counterparts of: a sum of subspaces; an injective linear
map; the matrix of a linear map.
Solution.
(a) is linear by the rules of matrix
multiplication (Theorem 0.9.4). A
functional
equals
with , because both agree on the
standard basis (Theorem 2.1.5); this
is Theorem 5.1.1.
(b) , by Theorem 5.6.2.
(c) False. The
equations may be dependent: written three
times has a solution set of dimension . The dimension is , which is
only when the
three rows are independent.
(d) Identifying
rows with functionals,
(Theorem 5.6.5).
(e) False. By Corollary 5.6.6 they have
the same row space, but not necessarily the same number
of rows: and
both have null
space .
(f) An
intersection of annihilators, ; a surjective dual map; the transpose
matrix.
B. Practice
Exercise
(B1: Equations for a span)
Let .
- (a) Find .
- (b) Find a system of
homogeneous linear equations with solution set , using as few equations
as possible.
- (c) Hence write the
affine plane as the solution set of a linear system.
Solution.
(a) The third
vector is the sum of the first two, so by Theorem 1.3.5. These
two vectors are independent, since neither is a multiple
of the other, so they form a basis of and .
(b) By Theorem 5.6.3, we need a
basis of ,
where has the
three vectors as rows. Row reduction gives The free variables are the third and fourth.
Setting them to and to clear denominators gives the null vectors
and
. So
Check on the first two spanning vectors, which
suffice since they span : , ; , . Two
equations is the minimum, by Theorem 5.6.2
(b).
(c) By Proposition 5.6.4, replace
each right-hand side by the value of the left-hand side
at :
Exercise
(B2: A spanning list for a system)
Let .
- (a) Find a basis of
.
- (b) Run the
parametric-to-implicit algorithm on your basis, and
check that the resulting equations have the same
solution set as the given ones, by comparing row
spaces.
Solution.
(a) Row reduce
the coefficient matrix: subtract twice row 1 from row 2
to get , divide by 3, then add row 2 to row 1:
The pivots are in columns 1 and 3, and are free. By Theorem 3.5.4, a
basis is and .
(b) Put as the
rows of and
solve :
and
. So and , with free; the basic solutions are and . The new
system is , . Its rows lie in the row space of the
original matrix, which equals the row space of the RREF
(Theorem 3.5.1),
since and . Both row spaces are two-dimensional, so
they are equal (Theorem 1.6.8), and
the two systems have the same solution set by Corollary 5.6.6.
Exercise
(B3: Two planes in )
Let and in .
- (a) Find two
equations for and
two for .
- (b) Use them to find
.
- (c) Find a single
equation for ,
using .
Solution.
(a) Each pair is
independent, so each plane has dimension 2 and needs two
equations. The functionals and vanish at and , and they
are independent; since (Theorem 5.2.2), they form
a basis of .
So by Theorem 5.6.2. In the same
way and
form a
basis of , and
.
(b) is the solution
set of all four equations: , , , . They force
, so .
(c) A functional
in
has the form .
Comparing coefficients of : , , , . So and , and . By Theorem 5.2.3 (c) and Lemma 5.6.1, a hyperplane. Consistently, by Theorem 1.7.3.
C. Going deeper
Exercise
(C1: Avoiding finitely many subspaces)
Let be an
infinite field, a vector space over
with , and proper subspaces of .
- (a) Prove that for
each there is a
non-zero with .
- (b) Let be a
basis of , and for
put . Show that is given by a non-zero
polynomial of degree at most .
- (c) Deduce that some
vector of lies in
none of . In other words, is not a union of
finitely many proper subspaces.
- (d) Show that the
hypothesis that
is infinite cannot be dropped: over , the space is the union of
proper
subspaces.
Hint: for (c), use Lemma 3.7.2.
Solution.
(a) Since , pick . By Lemma 5.6.1 there is
with . Then and .
(b) By linearity,
, which
is the value at
of the polynomial of
degree at most . Its coefficients are , which are not all zero, since
otherwise
would vanish on a basis and be zero (Theorem 2.1.5). So
.
(c) By Lemma 3.7.2, each
has at most
roots in
, so together they
have at most roots. Since is infinite, there is
that is a
root of none of them. Then , so , for every
.
(d) has non-zero vectors,
and each line through contains of them (the
non-zero multiples of one vector). Two distinct lines
meet only in , so
there are lines, and every non-zero vector lies
on one of them. Hence is the union of
its lines,
each a proper subspace. For these are , and , as in Exercise (C1: Covering a Space by Subspaces).
The proof of (c) breaks exactly where it used infinitely
many : here exceeds
.
Exercise
(C2: The least number of equations for a system)
Let and , and suppose the solution set of is
non-empty.
- (a) Prove that if
, and has the same solution set , then .
- (b) Deduce that
every system with solution set has at least equations, and
that some system with solution set has exactly equations.
- (c) Show by an
example that (b) fails without the hypothesis .
Solution.
(a) Fix . By Theorem 3.1.3,
and also . For , , so . Swapping
the roles of and
gives the
reverse inclusion, so .
(b) Let (Theorem 3.5.7). If
with
equations has
solution set ,
then by (a), so by
Theorem 5.6.2 (b).
Conversely, take with ,
which exists by Theorem 5.6.2 (a) (if
, take the
empty system, whose solution set is ). By Proposition 5.6.4, or
directly by Theorem 3.1.3, the
system has solution set , and it
has equations.
(c) Over any
field, (in
) has empty
solution set and coefficient matrix of rank , yet no system with
equations has
empty solution set, since the empty system is solved by
every vector. So at least one equation is needed, which
is more than .