We now have vector spaces and, inside them,
subspaces. So far every subspace has been handed to us
by a condition, such as “” or “”. This section goes the other way. We start
from a few vectors, build everything that can be built
from them, and show that the result is always a
subspace: the smallest one containing the vectors we
started with. Along the way we meet the first way of
measuring a space, by asking whether finitely many
vectors are enough to build all of it.
Linear
combinations
Take two vectors in , say and
.
Which vectors can we build from them, using only the two
operations a vector space gives us? Scaling gives and , and adding gives
Adding or scaling again produces nothing new:
for instance has the same shape. So the vectors we
can reach are exactly those of the form : the plane
through
the origin. The expression will appear
in almost every argument from now on, so it deserves a
name.
The vectors we combine come as a
list : a finite sequence of vectors, in
order, in which repeats are allowed. A list of length
is the
empty list . Why lists rather than
sets becomes important in the next section; for now it
costs nothing.
Definition
1.3.1 (Linear Combination)
Let be a
vector space over , and let be a
list of vectors in , where . A linear
combination of is a
vector of the form The scalars are the
coefficients of the combination. A
linear combination of the empty list is, by convention,
the empty sum .
In words: scale each vector of the list by a scalar
from , then add up
the results. Two small points hide in the notation.
First, a sum of
vectors needs no brackets, because addition in is associative (VS2);
so the expression names a single vector. Second, the
coefficients must lie in the field we are working over.
Changing the field can change what counts as a
combination, as Exercise (C2: The Span Depends on the Field)
shows.
The empty sum convention is the additive twin of
and , where a product
with no factors is the neutral element for multiplication: a
sum with no terms is the neutral element for addition. It will
make several statements true without exceptions.
Example
(Linear Combinations in Four Families)
Show that each vector is a linear combination of the
given list.
- (a) , of
the list .
- (b) , of
the list .
- (c) The function
in , of the list
, where
is the constant
function.
- (d) The zero vector
of any vector space , of any list in
.
Solution.
- (a) We need to equal . The first two entries force and , and then the
third entry is , as required. Hence .
- (b) Expanding, . So the coefficients are
and .
- (c) The double-angle
formula holds for every real . Hence for every , which is an equality
of functions by Definition 0.4.1. The
coefficients and are real, as
they must be.
- (d) Take every
coefficient to be . By Theorem 1.1.5, for each , so . For the empty list, is the empty sum. This
degenerate case matters: it says the zero vector can
always be built, from anything, even from nothing.
Notice that the question in (a) was a small system of
equations in the unknown coefficients. That is typical:
deciding whether a vector is a combination of a list
means deciding whether a system of linear equations has
a solution. Here we solve such systems by hand; Chapter
3 gives a systematic method.
The
span
The span of some vectors is everything you can
build from them by scaling and adding.
We have two kinds of input to cover. Usually we start
from a list, as above. But sometimes the natural input
is a set, possibly infinite, such as all the powers
in
. A linear
combination only ever uses finitely many vectors, so for
a set we allow every finite list drawn from it.
Definition
1.3.2 (Span)
Let be a
vector space over .
- The span of a list of
vectors in is the
set of all its linear combinations:
- The span of a subset , possibly
infinite, is the set of all vectors that are linear
combinations of some finite list of
vectors in :
In particular . When the field
matters we write .
In words: for a list, the span collects every choice
of coefficients. For a set, we may first pick any finite
number of vectors from (the same vector more
than once is allowed), and then any coefficients. The
value is
allowed, and it contributes the empty sum . So for
every , including .
One thing to check. A list now
has two spans: the span of the list, and the span of the
set of its entries. They agree. A combination of
the list is a combination of a finite list from the set,
so the first is contained in the second. Conversely,
take a combination where each is one of the ; for each , choose one index with . Group
the terms with the same index together, using (VS1),
(VS2) and (VS6). The result is , where is the sum of the
with (and if there are
none, by Theorem 1.1.5). So
the second is contained in the first. In particular the
span of a list does not change if we reorder the list or
repeat an entry.
Why ? The definition forces it through
the empty sum, but it is also the only sensible choice.
We will prove that the span of is the smallest
subspace containing . The smallest subspace
containing nothing in particular is , since every
subspace contains . Any other convention
would make that theorem false for , and the
empty list will turn out to be a basis of the zero
space.
Example
(Computing Spans)
Describe each span.
- (a) in . Is in it? Is ?
- (b) for a single
vector in a
vector space .
- (c) in .
- (d) in .
Solution.
- (a) As computed at
the start of the section, the combinations are . So the span is , a plane through the origin. For membership,
a vector
is in the span exactly when the entries fit: the first
two entries force and , and then we need . Since , the vector
is in the span. Since , the vector
is
not.
- (b) . If and or , this is the line
through the origin in the direction of . If , then for every (Theorem 1.1.6), so
. This degenerate case shows that a span can
be as small as the zero space even when the list is not
empty.
- (c) The combinations
are with
: the
polynomials of degree at most with no term. For example is
not in the span, because its
coefficient of is
and
polynomials are equal only when all coefficients agree
(Definition 0.8.1).
- (d) Every polynomial
is a combination of the finite list
of vectors in the set. Conversely every combination of
finitely many powers of is a polynomial. So the
span is all of . No single
polynomial here is a combination of infinitely
many powers: each one uses only the powers up to its
degree.
Quick check. Is a subset of
in
? Are they
equal?
Solution. Yes to both. Since , every
lies in . Since
, every lies in . Both spans
are the line . Different lists can have the same span.
The span is
the smallest subspace
The plane in Example (Computing Spans)
(a) was a subspace. That was no accident. Adding two
combinations gives a combination, and so does scaling
one. And any subspace that contains the vectors must
contain all their combinations, because a subspace is
closed under exactly the operations that build them. So
the span is both a subspace and the smallest one
available:
Theorem
1.3.1 (Span Is the Smallest Subspace)
Let be a
vector space over
and let . Then:
- (1) is a subspace of
;
- (2) ;
- (3) if is a subspace of with , then .
The same holds for the span of a list, which equals
the span of the set of its entries.
Idea. Part (1) is the three-check
subspace test. Part (2) is the combination . Part (3) is “a
subspace is closed under the operations that build
combinations”; since a combination has terms for an arbitrary
, we add one term
at a time, by induction on .
Proof.
- We apply Theorem 1.2.1.
- Zero. The empty list is a finite list of
vectors in , and
its only combination is . Hence .
- Addition. Let . Then
and for some and
scalars . Therefore which is a combination of the list of vectors in . (If some equals some , the list has a
repeat, which lists allow.) Hence .
This shows
is closed under addition.
- Scaling. Let and
. By (VS5),
applied
times, and by (VS7) for each term, which is a combination of the same list. Hence
.
This shows
is closed under scalar multiplication.
Therefore is a subspace of
.
Let . By (VS8), , which is a combination of the list . Hence .
Let be a
subspace with . By Theorem 1.2.1, contains and is closed under
addition and scalar multiplication. We prove by
induction on (Theorem 0.2.7) that
every combination with lies in . For the combination is
. Suppose
the claim holds for , and consider . By the induction hypothesis
. Since and is
closed under scaling, .
Since is closed
under addition, . This completes the
induction, and shows .
In one phrase: is a subspace
containing , and
it sits inside every other one. So “the smallest
subspace containing ” makes sense, and it is
. This
gives a second, top-down description of the span, which
does not mention combinations at all.
Corollary
1.3.2 (Span as an Intersection)
Let be a
vector space and . Let
be the set of all subspaces of with . Then
Proof. The index set is non-empty, because
is a subspace of
itself containing ; so the intersection is
defined (Definition 0.3.9).
By
Theorem 1.3.1 (3),
for every . Hence is contained in
the intersection.
By
Theorem 1.3.1 (1)
and (2),
is itself a member of . An intersection is
contained in each of its members, so the intersection is
contained in .
By Theorem 0.3.1, the two
sets are equal.
By Theorem 1.2.2, an
intersection of subspaces is a subspace, so the
right-hand side is a subspace for a reason that never
mentions combinations. The two descriptions complement
each other. The bottom-up one (combinations) tells us
what the elements look like. The top-down one
(intersection) is convenient for proving that the span
lies inside something.
Warning. The span of is not
, and it is a
subspace even when is not. For
example is a two-element set, and not a subspace
of (it does
not contain ). Its span is the whole plane , since . By Theorem 1.3.1, holds
exactly when is
already a subspace. Also keep the two uses of the word
apart: “the span of ” is a noun, a subspace;
“ spans ” is a verb, defined
next.
Spanning
lists and finite-dimensional spaces
The most important case is when the span is
everything. Then the list is a complete toolkit for the
space: every vector can be built from it.
Definition
1.3.3 (Spanning List, Spanning Set)
Let be a
vector space over . A list in
spans , or is a
spanning list of , if . A subset spans , or is a
spanning set of , if .
Since every span is contained in , to show that a list
spans we must
show one thing: every can be written
as for some scalars. The
scalars may depend on , and they need not be
unique.
Example
(Spanning Lists)
Show that each list spans the given space.
- (a) in
, where has in position and elsewhere.
- (b) in .
- (c) in
.
- (d) in , where has in entry and elsewhere.
- (e) The empty list,
in the zero space .
Solution.
- (a) Let . Adding entry by entry, . So every vector is a combination,
with its own entries as coefficients.
- (b) Every has
the form (Definition 0.8.4),
which is the combination .
- (c) Let . We look
for with , that is, Adding the equations gives , and
subtracting gives . So and . Check: and . Hence , and the list spans
. For instance
.
- (d) For any matrix,
, by adding entry by entry.
- (e) by Definition 1.3.2. So
the empty list spans the zero space. (So does the list
.)
The solution of (3) divided by , which is fine in . Over , where , the same list
fails: there , so both vectors equal , and their span is
. Whether a list spans depends on the
field.
Now the non-example, by a minimal change of (3).
Replace the list by . It still has two vectors, and neither
is zero. But every combination is a vector whose second entry is twice its
first. So is
not reached, and the list does
not span . The clause that
fails is “every is a
combination”. The two vectors point along the same line,
so their span is only the line .
Some spaces are spanned by a short list; others need
infinitely many vectors. That distinction is the first
coarse measurement of size in this book.
Definition
1.3.4 (Finite-Dimensional)
A vector space
over is
finite-dimensional if
some finite list of vectors in spans . Otherwise is
infinite-dimensional.
By Example (Spanning Lists),
, , and are
finite-dimensional. The same argument as in (2) and (4)
shows that and are finite-dimensional too. The word
“dimension” is used before we have defined a number
called dimension; that number, and the fact that it is
well defined, are the subject of section 6 of this
chapter.
For the whole polynomial space no finite list is
enough. The reason is degree: finitely many polynomials
have a largest degree, and combining them never climbs
above it.
Theorem
1.3.3 ( Is Infinite-Dimensional)
For every field , the vector space is
infinite-dimensional.
Proof. Let be any
finite list in . We show it does not
span . Each
is either
a natural number or , and there are
finitely many, so we can choose with for every
.
Let . The coefficients of are times those of (Example (The Standard Vector Spaces)
(c)). Every coefficient of with in is , by Definition 0.8.3, and
by
(F6) and Theorem 0.7.1 (d);
hence . By Theorem 0.8.2, , so a sum of two polynomials of degree at
most has degree
at most . Applying
this times,
. (For the combination is
, of degree .)
Hence every element of
has degree at most . But has
degree , so . Since the list
was arbitrary, no finite list spans . This shows is
infinite-dimensional.
(In the proof we wrote polynomials in plain italic,
, as in Chapter 0;
they are vectors of all the same.) The
proof is the move “find a quantity that combinations
cannot increase”. The space of all functions
is infinite-dimensional too, and so are the sequence
spaces; we return to such spaces in section 8 of this
chapter.
Working
with spans
Three facts make spans easy to manipulate. Each
follows from Theorem 1.3.1
without writing a single combination.
Proposition
1.3.4 (Basic Properties of Span)
Let be a
vector space and .
- (1) If ,
then .
- (2) (Monotonicity)
If ,
then .
- (3) .
Proof.
By Theorem 1.3.1 (1),
is a
subspace, and by hypothesis it contains . By Theorem 1.3.1 (3)
applied to , .
By Theorem 1.3.1 (2),
. Now apply (1).
Taking in (1) gives . The reverse inclusion is Theorem 1.3.1 (2)
applied to the set .
Part (1) is the workhorse. To show , it is enough to check that each
vector of is a
combination of vectors of ; we do not have to
handle every combination of .
The next fact is the one later sections lean on most.
If a vector can already be built from , then adding it to
builds nothing
new.
Theorem
1.3.5 (Absorbing a Vector into a Span)
Let be a
vector space, and . If , then In particular, for a list: if , then , and the same holds
with inserted at
any position of the list.
Proof. Since , monotonicity (Proposition 1.3.4
(2)) gives .
By
Theorem 1.3.1 (2),
, and by hypothesis. Hence , and Proposition 1.3.4
(1) gives .
For the list version, the span of a list equals the
span of the set of its entries, whatever the order. The
entries of form the set , so the first part applies.
Concretely, the proof substitutes. If , then any combination equals , which no
longer uses .
Read backwards, the lemma says that a vector lying in
the span of the others can be deleted
from a list without shrinking its span. The next section
turns this into the idea of a redundant vector, and
section 6 of this chapter uses it at every step of the
Exchange Theorem.
Example
(Two Lists with the Same Span)
Show that in .
Solution. Both and lie in . By Proposition 1.3.4
(1), .
Conversely, so both
and lie in . By
Proposition 1.3.4
(1) again, .
Hence the spans are equal; both are . Notice
that we only checked four vectors, not all combinations.
We also used , so the argument
needs in
the field.
Quick check. Is in ?
Solution. No. Suppose . The left side is .
Comparing coefficients (Definition 0.8.1):
from , from the constant
term, and
from . But then
, a
contradiction. So no such exist.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Define the span
of a subset of a
vector space .
What is , and
why?
- (b) Determine
whether the following statement is true: “for a subset
,
if and
only if is a
subspace of .”
Justify your answer.
- (c) Determine
whether the following statement is true: “if , then
.” Justify
your answer.
- (d) Is the zero
vector in the span of every list? Is it in the span of
the empty list?
- (e) State what it
means for to be
finite-dimensional, and name the quantity used to show
that is
not.
Solution.
- (a) is the set of
all linear combinations
with , and . : the only combination with no vectors is the
empty sum . This
is also the smallest subspace containing , as Theorem 1.3.1
requires.
- (b) True. If , then is a subspace by Theorem 1.3.1 (1).
Conversely, if is
a subspace, then by Theorem 1.3.1 (3)
with , and
by (2).
- (c) False. In , take
and . Both span (Example (Spanning Lists)),
but .
- (d) Yes to both:
take all coefficients , or, for the empty
list, the empty sum. See Example (Linear Combinations in Four Families)
(d).
- (e) is finite-dimensional
if some finite list of vectors in spans . For the quantity is the
degree: combinations of a finite list have degree at
most the largest degree in the list (Theorem 1.3.3).
B. Practice
Exercise
(B1: Membership in a Span)
Determine whether each vector lies in the given span.
If it does, write it as a linear combination. Justify
your answer.
- (a) and , in .
- (b) and , in .
Solution.
- (a) A combination is
. For , the first and
third entries force and ; then the middle entry would be . Hence is
not in the span. For , we get , , and the middle
entry is , as
required. Hence is in the span.
- (b) A combination is
. Compare coefficients (Definition 0.8.1). For
:
, so , and then , as required.
Hence is in the span. For : , , and then . Hence
is
not in the span. (Every element of this span has ,
and indeed has value at .)
Exercise
(B2: Two Lists with the Same Span)
Prove that
in .
Solution. Write , .
We
have and : indeed and . So , and Proposition 1.3.4
(1) gives the inclusion.
We
have and . So both lie in , and Proposition 1.3.4
(1) gives the reverse inclusion.
Hence the two spans are equal.
Exercise
(B3: Spans in ,
Geometrically)
Describe each span as the origin, a line through the
origin, a plane through the origin (give an equation),
or all of .
Justify your answer.
- (a) .
- (b) .
- (c) .
- (d) .
Solution.
- (a) The span is
: the line through the origin and .
- (b) Since , Theorem 1.3.5 gives
: the plane .
- (c) A combination is
, whose entries sum to . Conversely, if , take and ; then , so
. Hence the span is the plane .
- (d) , by Example (Computing Spans)
(b): the origin alone.
C. Going deeper
Exercise
(C1: Spans of Intersections and Unions)
Let be
subsets of a vector space .
- (a) Prove that .
- (b) Give an example
in where the
inclusion in (a) is strict.
- (c) Prove that .
Hint for (c): in a combination of vectors of
, sort the
terms into two groups.
Solution.
(a) Since ,
monotonicity (Proposition 1.3.4
(2)) gives . By symmetry, . Hence .
(b) Take
and . Then , so . But (Example (Spanning Lists)),
so , the line , which contains
. The
inclusion is strict.
(c) Write .
Let
, say with each . Let
be the sum of
the terms
with ,
and the sum of
the remaining terms, whose vectors lie in . Since addition is
commutative and associative, . Now and ; if a
group is empty, its sum is , which lies in every
span. Hence .
Let
and
. By
monotonicity, both lie in , which is
closed under addition by Theorem 1.3.1 (1).
Hence .
By Theorem 0.3.1, . (So
is the set of Exercise (C2: The Sum of Two Subspaces),
the sum of the two subspaces, studied
in section 7 of this chapter.)
Exercise
(C2: The Span Depends on the Field)
The set is
a vector space over . With the same
addition, and scalar multiplication restricted to real
scalars, it is also a vector space over , by Exercise (C3: Shrinking the Field):
every axiom holds for all complex scalars, so in
particular for real ones.
- (a) Show that spans
over .
- (b) Explain why
does not span over .
- (c) Find a finite
list that spans over . Hence is
finite-dimensional over as well.
Solution.
- (a) For , with .
- (b) Over the coefficients must
be real, and with has real entries. So is not in .
- (c) Take . Write and with (Definition 0.6.1).
Then a combination with real coefficients. So this
list spans
over , and is
finite-dimensional over by Definition 1.3.4.