1.8  Infinite-Dimensional Spaces

Every theorem about bases so far has assumed a finite spanning list. Yet several of our running examples have none: F[x] is not finite-dimensional (Theorem 1.3.3), and neither are the sequences or the functions R→R. 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.

1.8.1. 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 S⊆V be any subset, finite or infinite.

  • span(S) is the set of all linear combinations a1v1+⋯+akvk with k∈N, ai∈F, and vi∈S.
  • S is linearly independent if every finite list of distinct vectors of S is linearly independent in the sense of Definition 1.4.1.
  • S is a basis of V if S is linearly independent and span(S)=V.

For a finite set S={v1,…,vk} of distinct vectors, these agree with the notions for the list (v1,…,vk), 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 F[x])

Show that {xk:k∈N}={1,x,x2,…} is a basis of F[x].

Solution. Spanning. By Definition 0.8.1, every polynomial can be written as a0+a1x+⋯+aNxN for some N∈N. This is a finite linear combination of 1,x,…,xN.

Independence. Let xk1,…,xkm be distinct monomials and suppose a1xk1+⋯+amxkm=0. The left side is the polynomial whose coefficient of xkj is aj, because the exponents kj are distinct. The zero polynomial has every coefficient equal to 0, so by the definition of equality of polynomials, aj=0 for every j.

Hence {xk:k∈N} is a basis of F[x].

The sequence space behaves differently. Let FN be the space of all sequences (a0,a1,a2,…) with entries in F, with entrywise addition and scaling. For i∈N let ei be the sequence with 1 in position i and 0 everywhere else.

Example (The Vectors ei Do Not Span FN)

Show that {ei:i∈N} is linearly independent in FN, but is not a basis of FN.

Solution. Independence. Let i1,…,im be distinct and suppose a1ei1+⋯+ameim=0. Position ij of the left side is aj, since only eij has a nonzero entry there. Position ij of the zero sequence is 0, so aj=0 for every j.

Not spanning. A linear combination a1ei1+⋯+ameim has nonzero entries only in the m positions i1,…,im. So every vector in span{ei:i∈N} has only finitely many nonzero entries. The sequence (1,1,1,…) has infinitely many, so it is not in the span.

The same example shows that FN is infinite-dimensional. For each n, the list (e0,…,en) is independent of length n+1. If a list of length m spanned FN, then n+1≤m for every n by Theorem 1.6.1, which is impossible.

Warning. It is tempting to write (1,1,1,…)=e0+e1+e2+⋯. 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 ei 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 V be the space of formal power series a0+a1x+a2x2+⋯ over F, that is, FN with xk standing for ek. Is {1,x,x2,…} a basis of V?

Solution. No. It is independent, by the argument of Example (The Vectors ei Do Not Span FN). But its span consists of the series with only finitely many nonzero coefficients, which are the polynomials. The series 1+x+x2+⋯ is not among them, so the set does not span V.

So does FN 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 FN no step-by-step process can stop, and we need a different kind of existence argument.

1.8.2. 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 P be a set. A partial order on P is a relation ≤ on P (Definition 0.5.1) such that, for all p,q,r∈P:

  • (P1) p≤p (reflexive);
  • (P2) if p≤q and q≤p, then p=q (antisymmetric);
  • (P3) if p≤q and q≤r, then p≤r (transitive).

Let (P,≤) be a partially ordered set.

  • A chain in P is a subset C⊆P such that for all p,q∈C, p≤q or q≤p.
  • An upper bound of a subset C⊆P is an element u∈P with c≤u for every c∈C.
  • A maximal element of P is an element m∈P such that no p∈P satisfies m≤p and p≠m.

In words: a chain is a subset in which any two elements can be compared. An upper bound of C sits above everything in C, but it only has to lie in P, not in C. A maximal element has nothing strictly above it. It is not required to lie above everything else.

Example (Inclusion as a Partial Order)

Let X be a set and P the power set of X (Definition 0.3.12), ordered by ⊆. Check that this is a partial order, and describe chains, upper bounds, and maximal elements when X={1,2}. Then do the same for the subsets of {1,2} with at most one element.

Solution. Every set satisfies A⊆A, which is (P1). If A⊆B and B⊆A, then A=B by Theorem 0.3.1, which is (P2). Inclusion is transitive, which is (P3).

For X={1,2}, the set C={∅,{1},{1,2}} is a chain, while {1} and {2} are incomparable, so {{1},{2}} is not a chain. The set {1,2} is an upper bound of every subset of P, and it is the only maximal element.

Now let Q={∅,{1},{2}}, still ordered by ⊆. Both {1} and {2} are maximal: nothing in Q strictly contains either. Neither is above the other. The subset {{1},{2}} has no upper bound in Q.

Theorem 1.8.1 (Zorn’s Lemma)

Let (P,≤) be a nonempty partially ordered set in which every nonempty chain has an upper bound in P. Then P 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 Q 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 R2, both {e1,e2} and {(1,1),(1,−1)} are maximal independent sets, and neither contains the other.

1.8.3. Every vector space has a basis

We prove the more general extension statement first, since the existence of a basis is the case S=∅.

Theorem 1.8.2 (Basis Extension, General Form)

Let V be a vector space over F, and let S⊆V be a linearly independent subset. Then there is a basis B of V with S⊆B.

Idea. ① Let P be the family of independent sets containing S, 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 B. ④ If some v were outside span(B), then B∪{v} would be a bigger independent set, so B spans.

Proof. Let P be the set of all linearly independent subsets T⊆V with S⊆T, partially ordered by ⊆ (see Example (Inclusion as a Partial Order)). Since S is independent, S∈P, so P is nonempty.

Step 1: every nonempty chain has an upper bound. Let C⊆P be a nonempty chain and let U=⋃T∈CT. Every T∈C contains S and C is nonempty, so S⊆U, and T⊆U for every T∈C.

Claim. If T1,…,Tk∈C with k≥1, then one of them contains all the others.

Proof. We use induction on k. For k=1 there is nothing to prove. Suppose the claim holds for k, and let T1,…,Tk+1∈C. By the induction hypothesis some Tj contains T1,…,Tk. Since C is a chain, Tj⊆Tk+1 or Tk+1⊆Tj. In the first case Tk+1 contains all of T1,…,Tk+1, and in the second case Tj does.

Now let (u1,…,uk) be a list of distinct vectors of U. If k=0, the empty list is independent. Otherwise, each ui lies in some Ti∈C, and by the Claim one of T1,…,Tk, say Tj, contains all the ui. Since Tj is independent, the list (u1,…,uk) is independent. Hence U is independent, so U∈P, and U is an upper bound of C.

Step 2: a maximal element. By Step 1 and Theorem 1.8.1, P has a maximal element B. Thus B is independent and S⊆B.

Step 3: B spans V. Suppose not, and let v∈V with v∉span(B). Then v∉B, since B⊆span(B). We show B∪{v} is independent. Take a list of distinct vectors of B∪{v}. If v is not in the list, the list lies in B and is independent. Otherwise, after reordering (which does not affect independence, as addition is commutative), the list is (v,w1,…,wm) with distinct wi∈B. Let av+b1w1+⋯+bmwm=0. If a≠0, then v=−a−1(b1w1+⋯+bmwm)∈span(B), a contradiction. So a=0, and then b1=⋯=bm=0 because B is independent. Hence B∪{v}∈P, it contains B, and it is not equal to B. This contradicts the maximality of B. Therefore span(B)=V, and B is a basis of V containing S.

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 V over a field F has a basis.

Proof. The empty set is linearly independent. By Theorem 1.8.2 with S=∅, V has a basis. For V={0} that basis is ∅, since span(∅)={0}.

So FN has a basis, and so do RR and the continuous functions on [0,1]. The theorem does not tell us what these bases are.

1.8.4. Existence without construction: R over Q

The real numbers form a vector space over Q: 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 A is countable if A=∅ or there is a surjective function N→A. Otherwise A is uncountable.

A surjection σ:N→A lists A as σ(0),σ(1),σ(2),…, and every element of A 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 A is countable and f:A→A′ is surjective, then A′ is countable.
  • (b) N×N is countable.
  • (c) If A and A′ are countable, then A×A′ is countable.
  • (d) Q is countable, and Qn is countable for every n≥1.

Proof.

  • (a) If A=∅, then A′=f(A)=∅. Otherwise take a surjection σ:N→A. Then f∘σ:N→A′ is surjective by Theorem 0.4.3 (a composite of surjections is surjective).

  • (b) For n∈N, let 2a be the largest power of 2 dividing n+1; it exists because 2a≤n+1 bounds a. Then (n+1)/2a is odd, so it equals 2b+1 for a unique b∈N. Put g(n)=(a,b). Given (a,b)∈N×N, let n=2a(2b+1)−1. The largest power of 2 dividing 2a(2b+1) is 2a, because 2a+1∣2a(2b+1) would force 2∣2b+1. Hence g(n)=(a,b), and g is surjective.

  • (c) If A or A′ is empty, so is A×A′. Otherwise take surjections σ:N→A and τ:N→A′. The map N×N→A×A′, (m,n)↦(σ(m),τ(n)), is surjective. By (b) and (a), A×A′ is countable.

  • (d) The map N→Z sending an even m to m/2 and an odd m to −(m+1)/2 is surjective, so Z is countable. The map Z×N→Q, (p,q)↦p/(q+1), is surjective, so Q is countable by (c) and (a). Finally Qn+1 is Qn×Q after identifying (q1,…,qn+1) with ((q1,…,qn),qn+1), so induction on n with (c) shows that Qn is countable for every n≥1.

The real numbers are not countable. This is a fact about R, not about linear algebra, and its proof needs one property of R that we take from analysis: the nested interval property. If I0⊇I1⊇I2⊇⋯ are closed bounded intervals [an,bn] with an≤bn, then some real number lies in every In.

Lemma 1.8.5 (R Is Uncountable)

Assuming the nested interval property, there is no surjection N→R.

Proof. Let r:N→R be any function. We build closed intervals I0⊇I1⊇⋯ of positive length with r(n)∉In. Split [0,1] into the thirds [0,13] and [23,1]. They are disjoint, so r(0) misses at least one of them; let I0 be such a third. Given In=[a,b] with a<b, the intervals [a,a+b−a3] and [b−b−a3,b] are disjoint and lie in In, so r(n+1) misses one of them; let In+1 be that one. By the nested interval property some x lies in every In. For each n, x∈In and r(n)∉In, so x≠r(n). Hence x is not a value of r, and r is not surjective.

Theorem 1.8.6 (R Is Infinite-Dimensional over Q)

The vector space R over Q is not finite-dimensional.

Proof. Suppose a finite list spans R over Q. Appending 1 keeps it spanning, so we may take a spanning list (b1,…,bn) with n≥1. Then the map Qn→R,(q1,…,qn)↦q1b1+⋯+qnbn is surjective, since every real number is a rational linear combination of b1,…,bn. By Lemma 1.8.4 (d) and (a), R is countable. This contradicts Lemma 1.8.5. Hence R is not finite-dimensional over Q.

The proof really shows more: every finite-dimensional vector space over Q is countable. It is honest about its inputs. Linear algebra supplied only “a spanning list gives a surjection from Qn”; the rest is counting and one property of the real line.

Quick check. Is C finite-dimensional as a vector space over Q?

Solution. No. If C were countable, then R⊆C would be countable too: pick any y0∈R and send z∈C to z if z∈R and to y0 otherwise, a surjection C→R, and apply Lemma 1.8.4 (a). That contradicts Lemma 1.8.5. So C is uncountable, and the proof of Theorem 1.8.6, with C in place of R, shows it is not finite-dimensional over Q.

1.8.5. 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, U⊆V with dim⁡U=dim⁡V forces U=V (Theorem 1.6.8). Now let U={p∈F[x]:the constant coefficient of p is 0}. By the argument of Example (A Basis of F[x]), U has the basis {x,x2,x3,…}, and xk↔xk+1 matches it one-to-one with the basis {1,x,x2,…} of F[x]. Yet 1∉U, so U≠F[x]. The same happens in FN: the sequences with first entry 0 form a proper subspace, and deleting that first entry matches it one-to-one with all of FN, respecting addition and scaling. In Chapter 2 this becomes the shift map, which is injective but not surjective.

Remark. In an infinite-dimensional space, “dim⁡V=∞” hides real differences of size: F[x] has a countable basis, while every basis of R over Q is uncountable (Exercise (C2: Bases of R over Q Are Uncountable)), and set theory shows that all bases of one space have the same cardinality, a fact we will not develop.

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.

1.8.6. Exercises

A. Check your understanding

Exercise (A1)
  • (a) Define what it means for an arbitrary subset S of a vector space V to be a basis of V.
  • (b) State Zorn’s Lemma, including the meaning of “chain” and “upper bound”.
  • (c) True or false: {ei:i∈N} is a basis of FN. 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 m satisfies p≤m for every p. Justify your answer.

Solution.

  • (a) S is a basis if every finite list of distinct vectors of S is linearly independent, and every vector of V is a linear combination of finitely many vectors of S.

  • (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 P above every element of the chain) has a maximal element.

  • (c) False. The set is independent, but (1,1,1,…) is not a finite linear combination of the ei (Example (The Vectors ei Do Not Span FN)).

  • (d) False. The empty set and {x}⊆F[x] are finite independent subsets of the infinite-dimensional space F[x].

  • (e) False. In Q={∅,{1},{2}} ordered by ⊆, the element {1} is maximal, but {2}⊈{1} (Example (Inclusion as a Partial Order)).

B. Practice

Exercise (B1: Finitely Supported Sequences)

Let F(N)⊆FN be the set of sequences with only finitely many nonzero entries.

  • (a) Prove that F(N) is a subspace of FN.
  • (b) Prove that {ei:i∈N} is a basis of F(N).

Solution.

  • (a) We use Theorem 1.2.1. (1) The zero sequence has no nonzero entries, so 0∈F(N). (2) Let x,y∈F(N), with nonzero entries only in finite sets of positions A and A′. If i∉A∪A′, then xi+yi=0+0=0. So x+y has nonzero entries only in the finite set A∪A′, and x+y∈F(N). (3) Let c∈F. If i∉A, then cxi=c⋅0=0, so cx∈F(N). Hence F(N) is a subspace.

  • (b) Each ei lies in F(N), and the set is independent by Example (The Vectors ei Do Not Span FN). For spanning, let x∈F(N) have nonzero entries only in positions i1,…,im. Then x and xi1ei1+⋯+ximeim agree in positions i1,…,im and are both 0 elsewhere, so they are equal. Hence {ei:i∈N} is a basis of F(N).

Exercise (B2: Exponentials Are Independent)

For k∈N let fk∈RR be fk(x)=ekx. Prove that {fk:k∈N} is linearly independent. Hence deduce that RR is infinite-dimensional.

Hint: divide by the fastest-growing term.

Solution. Suppose not. Then there are distinct k1<k2<⋯<km and scalars a1,…,am, not all zero, with a1ek1x+⋯+amekmx=0 for every x∈R. Discarding terms with zero coefficient, we may assume am≠0. Dividing by ekmx>0 gives, for every x∈R, am=−∑j=1m−1aje(kj−km)x. Since kj−km<0 for j<m, each e(kj−km)x→0 as x→∞, so the right side tends to 0. The left side is the constant am, so am=0, a contradiction. Hence the set is independent.

For each n, the list (f0,…,fn) is independent of length n+1. If a list of length m spanned RR, Theorem 1.6.1 would give n+1≤m for every n, which is impossible. Hence RR is infinite-dimensional.

Exercise (B3: Continuous Functions)

Let C[0,1] be the space of continuous functions [0,1]→R. Prove that C[0,1] is infinite-dimensional.

Hint: use “tent” functions supported on disjoint intervals, and choose good points.

Solution. For k≥1, let mk=12(1k+1+1k) and rk=12(1k−1k+1)>0, the midpoint and half-length of Jk=[1k+1,1k]. Define tk(x)=max(0,rk−|x−mk|). This is continuous, as built from continuous functions by |⋅| and max. Also tk(x)>0 exactly when |x−mk|<rk, that is, when x lies in the open interval (1k+1,1k). These open intervals are pairwise disjoint, and mj lies in the j-th one. Hence tk(mj)=0 for j≠k, while tk(mk)=rk.

Let a1t1+⋯+antn=0. Evaluating at mj gives ajrj=0, so aj=0 since rj≠0. Hence (t1,…,tn) is independent for every n. As in Exercise (B2: Exponentials Are Independent), Theorem 1.6.1 shows that no finite list spans C[0,1].

C. Going deeper

Exercise (C1: Complements in Any Dimension)

Let U be a subspace of a vector space V, of any dimension. Prove that there is a subspace W of V with V=U⊕W, that is, every v∈V can be written uniquely as u+w with u∈U, w∈W.

Hint: Theorem 1.8.2.

Solution. By Theorem 1.8.3, U has a basis BU. It is independent in V, so by Theorem 1.8.2 there is a basis B of V with BU⊆B. Let W=span(B∖BU), a subspace by Theorem 1.3.1.

Existence. Let v∈V. Since B spans, v=∑iaiui+∑jbjwj, a finite sum with ui∈BU and wj∈B∖BU. The first sum lies in U and the second in W.

U∩W={0}. Let v∈U∩W. Since BU spans U and B∖BU spans W, we have v=∑iaiui=∑jbjwj with distinct ui∈BU and distinct wj∈B∖BU. Then ∑iaiui−∑jbjwj=0 is a combination of a list of distinct vectors of B, because BU and B∖BU are disjoint. Since B is independent, every ai and bj is 0, so v=0.

Uniqueness. If u+w=u′+w′ with u,u′∈U and w,w′∈W, then u−u′=w′−w lies in U∩W={0}. Hence u=u′ and w=w′. This proves V=U⊕W.

Exercise (C2: Bases of R over Q Are Uncountable)
  • (a) Let A0,A1,A2,… be countable sets. Prove that ⋃n∈NAn is countable. (You may use the axiom of choice.)
  • (b) Let V be a vector space over Q with a countable basis. Prove that V is countable.
  • (c) Deduce that every basis of R over Q is uncountable.

Hint: for (b), write V as a union of spans of finite lists.

Solution.

  • (a) Let A=⋃nAn. If A=∅ there is nothing to prove; otherwise fix a∗∈A. For each n with An≠∅, choose a surjection σn:N→An (this is where choice is used). Define h:N×N→A by h(n,m)=σn(m) if An≠∅, and h(n,m)=a∗ otherwise. Every a∈A lies in some nonempty An and equals σn(m) for some m, so h is surjective. By Lemma 1.8.4 (b) and (a), A is countable.

  • (b) If the basis is empty, V={0} is countable. Otherwise list the basis as σ(0),σ(1),… for a surjection σ:N→B. Every v∈V is a combination of finitely many basis vectors, all among σ(0),…,σ(n) for some n. Hence V=⋃nVn with Vn=span(σ(0),…,σ(n)). The map Qn+1→Vn, (q0,…,qn)↦∑iqiσ(i), is surjective, so each Vn is countable by Lemma 1.8.4 (d) and (a). By (a), V is countable.

  • (c) By Theorem 1.8.3, R has a basis over Q. If some basis were countable, then R would be countable by (b), contradicting Lemma 1.8.5. Hence every basis is uncountable.

Found a typo or a mistake? Report it, or read this page’s source

The text of this book is licensed under CC BY-NC-SA 4.0.