Every theorem about bases so far has assumed a finite
spanning list. Yet several of our running examples have
none: is not
finite-dimensional (Theorem 1.3.3), and
neither are the sequences or the functions . Do such
spaces have a basis at all? This section shows that they
always do, using a principle from set theory called
Zorn’s Lemma, and then looks honestly at the price. The
basis exists, but often nobody can write it down, and
several finite-dimensional facts stop being true.
Bases of
infinite sets of vectors
An infinite-dimensional space cannot have a finite
basis, so a basis now has to be an infinite collection
of vectors. We recall the conventions for arbitrary
subsets, set up with the span (Definition 1.3.2)
and with independence (Definition 1.4.1). A
linear combination always involves finitely
many vectors, because the axioms only let us
add two vectors at a time.
Let be any subset, finite or infinite.
- is the
set of all linear combinations with , , and .
- is
linearly independent if every
finite list of distinct vectors of is linearly independent
in the sense of Definition 1.4.1.
- is a
basis of if is linearly independent
and .
For a finite set of distinct
vectors, these agree with the notions for the list , since a sub-list of an independent
list is independent. The empty set is independent: its
only finite list of distinct vectors is the empty list.
In the infinite case we lose the ordering of a basis,
and we will not need it.
Example
(A Basis of )
Show that is a basis of
.
Solution. Spanning. By Definition 0.8.1,
every polynomial can be written as for some . This is a finite linear combination of
.
Independence. Let
be distinct monomials and suppose . The left side is the polynomial whose
coefficient of is , because the
exponents are
distinct. The zero polynomial has every coefficient
equal to , so by
the definition of equality of polynomials, for every .
Hence is a basis of .
The sequence space behaves differently. Let be the space of
all sequences with entries in , with entrywise
addition and scaling. For let be the
sequence with in
position and
everywhere
else.
Example
(The Vectors Do Not Span
)
Show that is linearly independent in , but is
not a basis of .
Solution. Independence.
Let
be distinct and suppose . Position of the left side is
, since only
has
a nonzero entry there. Position of the zero sequence
is , so for every .
Not spanning. A linear combination has nonzero entries only in
the positions
. So
every vector in has only finitely many nonzero entries.
The sequence has infinitely many, so it is not in the
span.
The same example shows that is
infinite-dimensional. For each , the list is independent of length . If a list of
length spanned
, then for every
by Theorem 1.6.1, which
is impossible.
Warning. It is tempting to write
.
In a vector space this sum means
nothing: the axioms define sums of two vectors,
hence of finitely many, and an infinite sum would need a
notion of limit. So “the span” is
false, even though every sequence is “made of” its
entries. Infinite sums return only in spaces with a
notion of distance, much later.
Quick check. Let be the space of formal
power series over , that is, with standing for . Is a
basis of ?
Solution. No. It is independent, by
the argument of Example (The Vectors Do Not Span
). But
its span consists of the series with only finitely many
nonzero coefficients, which are the polynomials. The
series is not among them, so the set does not
span .
So does
have a basis? In finite dimension we built bases by
sifting (Theorem 1.5.4) or by
extending one vector at a time (Theorem 1.6.5). Both
constructions stop after finitely many steps. For no step-by-step
process can stop, and we need a different kind of
existence argument.
Zorn’s
Lemma
Look again at what a basis is in finite dimension: an
independent list that cannot be enlarged (Theorem 1.6.6).
“Cannot be enlarged” is a statement about the family of
all independent sets, ordered by inclusion. Zorn’s Lemma
is a general principle that produces objects which
cannot be enlarged. To state it we need words for
orderings.
A partial order is a way of comparing elements in
which some pairs may be incomparable.
Definition
1.8.1 (Partial Order, Chain, Upper Bound,
Maximal Element)
Let be a set.
A partial order on is a relation on (Definition 0.5.1) such
that, for all :
- (P1) (reflexive);
- (P2) if and , then
(antisymmetric);
- (P3) if and , then
(transitive).
Let be
a partially ordered set.
- A chain in is a subset such that
for all , or .
- An upper bound of a subset is an
element
with
for every .
- A maximal element of is an element such that
no satisfies and .
In words: a chain is a subset in which any two
elements can be compared. An upper bound of sits above everything
in , but it only
has to lie in ,
not in . A maximal element has
nothing strictly above it. It is not
required to lie above everything else.
Example
(Inclusion as a Partial Order)
Let be a set
and the power set
of (Definition 0.3.12),
ordered by . Check that
this is a partial order, and describe chains, upper
bounds, and maximal elements when . Then do the
same for the subsets of with at most one
element.
Solution. Every set satisfies , which is
(P1). If and , then by Theorem 0.3.1, which
is (P2). Inclusion is transitive, which is (P3).
For , the set is a chain,
while and
are
incomparable, so is not a chain. The set is an upper
bound of every subset of , and it is the only
maximal element.
Now let , still ordered by
. Both
and are maximal:
nothing in
strictly contains either. Neither is above the other.
The subset has no upper bound in .
Theorem
1.8.1 (Zorn’s Lemma)
Let be
a nonempty partially ordered set in
which every nonempty chain has an upper
bound in . Then
has a maximal
element.
We do not prove Zorn’s Lemma, and no proof is
possible from the other everyday rules of set theory. It
is equivalent to the axiom of choice,
the principle already used to build right inverses of
surjections in Theorem 0.4.6: from
any family of nonempty sets one may choose one element
from each. Mathematicians accept it as an axiom, and we
do too. In this section we point out each place where it
is used.
Warning. “Maximal” is not
“largest”. The partially ordered set in Example (Inclusion as a Partial Order)
has two maximal elements and no largest one. For bases
this is the familiar fact that a space has many bases:
in , both
and are
maximal independent sets, and neither contains the
other.
Every
vector space has a basis
We prove the more general extension statement first,
since the existence of a basis is the case .
Theorem
1.8.2 (Basis Extension, General Form)
Let be a
vector space over , and let be a
linearly independent subset. Then there is a basis of with .
Idea. ① Let be the family of
independent sets containing , ordered by . ② A chain has
the union as an upper bound, because an independence
test uses only finitely many vectors, and finitely many
members of a chain all fit inside one of them. ③ Zorn
gives a maximal .
④ If some
were outside , then would
be a bigger independent set, so spans.
Proof. Let be the set of all
linearly independent subsets with , partially
ordered by (see Example (Inclusion as a Partial Order)).
Since is
independent, , so is
nonempty.
Step 1: every nonempty chain has an upper
bound. Let be a nonempty chain and let .
Every
contains and
is nonempty, so
, and
for
every .
Claim. If
with , then
one of them contains all the others.
Proof. We use induction on . For there is nothing to
prove. Suppose the claim holds for , and let . By the induction hypothesis some contains . Since
is a chain, or
. In the first case contains all of
, and in the second case does.
Now let be a list of distinct
vectors of . If
, the empty
list is independent. Otherwise, each lies in some
, and by
the Claim one of , say , contains all the
. Since
is independent,
the list is independent. Hence is independent, so
, and is an upper bound of
.
Step 2: a maximal element. By Step 1
and Theorem 1.8.1, has a maximal element
. Thus is independent and
.
Step 3: spans . Suppose not,
and let with . Then , since
. We show is independent. Take a list
of distinct vectors of . If is not in the
list, the list lies in and is independent.
Otherwise, after reordering (which does not affect
independence, as addition is commutative), the list is
with distinct . Let
If , then , a contradiction. So , and then
because is
independent. Hence , it contains , and it is not equal to
. This contradicts
the maximality of . Therefore , and is a basis of containing .
Notice where finiteness went. Steps 1 and 3 each look
at only finitely many vectors at a time, which is all
that linear algebra ever does. The one infinite step,
“keep enlarging until you cannot”, is handed to Zorn’s
Lemma.
Theorem
1.8.3 (Every Vector Space Has a Basis)
Every vector space over a field has a basis.
Proof. The empty set is linearly
independent. By Theorem 1.8.2 with
,
has a basis. For
that basis is , since .
So has a
basis, and so do and the
continuous functions on . The theorem does not tell us what these
bases are.
Existence
without construction: over
The real numbers form a vector space over : add reals as usual,
and multiply a real by a rational. By Theorem 1.8.3 this
space has a basis, often called a Hamel
basis. Nobody has ever written one down, and
nobody will. It is known that the existence of such a
basis cannot be proved without some form of the axiom of
choice. What we can prove is that this
basis is infinite. The tool is counting.
A countable set is one whose elements can be
listed as a sequence, possibly with repeats.
Definition
1.8.2 (Countable Set)
A set is
countable if or there
is a surjective function . Otherwise
is
uncountable.
A surjection lists as , and every element of appears somewhere.
Repeats are allowed, so every finite nonempty set is
countable. The next lemma collects what we need.
Lemma
1.8.4 (Countable Sets)
- (a) If is countable and is
surjective, then is countable.
- (b) is
countable.
- (c) If and are countable,
then is countable.
- (d) is countable, and
is countable
for every .
Proof.
(a) If , then
. Otherwise take a surjection .
Then is surjective by Theorem 0.4.3 (a
composite of surjections is surjective).
(b) For , let be the largest
power of dividing
; it exists
because bounds . Then is odd, so it
equals for a
unique .
Put .
Given , let . The largest power of dividing is , because
would force . Hence , and
is surjective.
(c) If or is empty, so is
.
Otherwise take surjections
and . The map , , is surjective. By (b) and (a), is
countable.
(d) The map sending an
even to and an odd to is surjective,
so is
countable. The map , ,
is surjective, so is countable by (c)
and (a). Finally is after
identifying with , so induction on with (c) shows that
is countable
for every .
The real numbers are not countable. This is a fact
about , not
about linear algebra, and its proof needs one property
of that we take
from analysis: the nested interval
property. If
are closed bounded intervals with , then some
real number lies in every .
Lemma
1.8.5 (
Is Uncountable)
Assuming the nested interval property, there is no
surjection .
Proof. Let be
any function. We build closed intervals of positive length with . Split
into the
thirds
and .
They are disjoint, so misses at least one
of them; let be
such a third. Given with , the intervals
and are disjoint and lie in , so misses one of
them; let
be that one. By the nested interval property some lies in every . For each , and , so . Hence is not a value of , and is not surjective.
Theorem
1.8.6 (
Is Infinite-Dimensional over )
The vector space over is not
finite-dimensional.
Proof. Suppose a finite list spans
over . Appending keeps it spanning, so
we may take a spanning list with
. Then the
map is surjective, since every real number is a
rational linear combination of . By Lemma 1.8.4 (d) and
(a), is
countable. This contradicts Lemma 1.8.5. Hence
is not
finite-dimensional over .
The proof really shows more: every
finite-dimensional vector space over is countable. It is
honest about its inputs. Linear algebra supplied only “a
spanning list gives a surjection from ”; the rest is
counting and one property of the real line.
Quick check. Is finite-dimensional as
a vector space over ?
Solution. No. If were countable, then
would be countable too: pick any and send
to if and to otherwise, a
surjection , and apply Lemma 1.8.4 (a).
That contradicts Lemma 1.8.5. So
is uncountable,
and the proof of Theorem 1.8.6, with
in place of
, shows it is
not finite-dimensional over .
What
changes in infinite dimension
Several finite-dimensional theorems use a count, and
counting is exactly what fails here.
Warning. A proper subspace
can be as big as the whole space. In finite
dimension, with forces (Theorem 1.6.8). Now
let . By the argument of Example (A Basis of ),
has the basis
, and matches it one-to-one
with the basis of . Yet , so . The same
happens in :
the sequences with first entry form a proper subspace,
and deleting that first entry matches it one-to-one with
all of ,
respecting addition and scaling. In Chapter 2 this
becomes the shift map, which is injective but not
surjective.
Scope. From here on the book is
mostly about finite-dimensional spaces, where bases are
finite lists and counting works. Every theorem that
needs finite dimension says so in its hypotheses.
Infinite-dimensional spaces return with more structure,
such as inner products and limits, where infinite sums
can finally be given a meaning.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Define what it
means for an arbitrary subset of a vector space to be a basis of .
- (b) State Zorn’s
Lemma, including the meaning of “chain” and “upper
bound”.
- (c) True or false:
is a basis of . Justify your
answer.
- (d) True or false:
every linearly independent subset of an
infinite-dimensional space is infinite. Justify your
answer.
- (e) True or false:
in a partially ordered set, a maximal element satisfies for every . Justify your
answer.
Solution.
(a) is a basis if every
finite list of distinct vectors of is linearly
independent, and every vector of is a linear combination
of finitely many vectors of .
(b) See Theorem 1.8.1 and Definition 1.8.1: a
nonempty partially ordered set in which every nonempty
chain (a subset whose elements are pairwise comparable)
has an upper bound (an element of above every element of
the chain) has a maximal element.
(c) False. The
set is independent, but is not a finite linear combination
of the
(Example (The Vectors Do Not Span
)).
(d) False. The
empty set and are finite independent subsets
of the infinite-dimensional space .
(e) False. In
ordered by , the element
is maximal,
but (Example (Inclusion as a Partial Order)).
B. Practice
Exercise
(B1: Finitely Supported Sequences)
Let be the set of sequences with only
finitely many nonzero entries.
- (a) Prove that is a subspace
of .
- (b) Prove that is a basis of .
Solution.
(a) We use Theorem 1.2.1. (1)
The zero sequence has no nonzero entries, so .
(2) Let , with nonzero entries only in
finite sets of positions and . If ,
then . So has nonzero entries only in the finite
set ,
and . (3) Let . If , then , so
. Hence is a
subspace.
(b) Each lies in , and the set is
independent by Example (The Vectors Do Not Span
). For
spanning, let have nonzero entries only in
positions . Then and agree in positions and are
both elsewhere,
so they are equal. Hence is a basis of .
Exercise
(B2: Exponentials Are Independent)
For
let be . Prove that is
linearly independent. Hence deduce that is
infinite-dimensional.
Hint: divide by the fastest-growing
term.
Solution. Suppose not. Then there
are distinct and scalars , not all
zero, with for every . Discarding
terms with zero coefficient, we may assume . Dividing by
gives, for every , Since for , each as , so the right side tends to . The left side is the
constant , so
, a
contradiction. Hence the set is independent.
For each , the
list is independent of length . If a list of
length spanned
, Theorem 1.6.1 would
give
for every , which
is impossible. Hence is
infinite-dimensional.
Exercise
(B3: Continuous Functions)
Let be
the space of continuous functions . Prove
that is
infinite-dimensional.
Hint: use “tent” functions supported on disjoint
intervals, and choose good points.
Solution. For , let and , the midpoint and
half-length of . Define This is continuous, as built from continuous
functions by and . Also exactly
when , that is, when lies in the open
interval . These open intervals are pairwise
disjoint, and
lies in the -th
one. Hence for , while .
Let . Evaluating at gives , so since . Hence is
independent for every . As in Exercise (B2: Exponentials Are Independent),
Theorem 1.6.1 shows
that no finite list spans .
C. Going deeper
Exercise
(C1: Complements in Any Dimension)
Let be a
subspace of a vector space , of any dimension.
Prove that there is a subspace of with , that is,
every can be written uniquely as
with , .
Hint: Theorem 1.8.2.
Solution. By Theorem 1.8.3, has a basis . It is independent in
, so by Theorem 1.8.2 there
is a basis of
with . Let
, a subspace by Theorem 1.3.1.
Existence. Let . Since
spans, , a finite sum with and
. The first sum lies in and the second in .
. Let .
Since spans
and spans
, we have with distinct and
distinct . Then is a combination of a
list of distinct vectors of , because and are
disjoint. Since
is independent, every and is , so .
Uniqueness. If with and , then lies in .
Hence and .
This proves .
Exercise
(C2: Bases of
over Are
Uncountable)
- (a) Let be
countable sets. Prove that
is countable. (You may use the axiom of choice.)
- (b) Let be a vector space over
with a
countable basis. Prove that is countable.
- (c) Deduce that
every basis of
over is
uncountable.
Hint: for (b), write as a union of spans of
finite lists.
Solution.
(a) Let . If
there is nothing to prove; otherwise fix . For each with ,
choose a surjection (this is where choice is
used). Define by if
, and otherwise.
Every lies
in some nonempty and equals for some
, so is surjective. By Lemma 1.8.4 (b) and
(a), is
countable.
(b) If the basis
is empty, is countable. Otherwise list the
basis as for a surjection .
Every is a combination of finitely many basis
vectors, all among for some . Hence with
. The map , , is surjective, so each is countable by Lemma 1.8.4 (d) and
(a). By (a), is
countable.
(c) By Theorem 1.8.3, has a basis over
. If some basis
were countable, then would be countable by
(b), contradicting Lemma 1.8.5. Hence
every basis is uncountable.