Books
Theme
Text size
Width

[ and ] go to the previous and next page.

Several of the vector spaces in Section 1.2 live inside a larger one and use its operations: 𝐶[0,1] inside ℝ[0,1], and 𝐹[𝑥]≤𝑛 inside 𝐹[𝑥]. So does every span. The span of a list in 𝑉 is a subset of 𝑉, and by Lemma 1.3.9, sums and scalar multiples of linear combinations of the list are again linear combinations of it. This section names such subsets and gives a quick test for recognizing them. The lecture defines subspaces later (L11–12), alongside dimension. We meet them now because the span is their prototype, and because the kernel and the image of a linear map (Section 2.6) are subspaces the moment they are defined.

1.4.1The subspace criterion

Throughout, 𝑉 is a vector space over a field 𝐹.

Definition 1.4.1 (Subspace). A subset 𝑊⊆𝑉 is a subspace of 𝑉 if 𝑊 is a vector space over 𝐹 under the operations of 𝑉, restricted to 𝑊. That is, for 𝐰,𝐰′∈𝑊 and 𝑎∈𝐹, the sum 𝐰+𝐰′ and the scalar multiple 𝑎𝐰 are computed in 𝑉. A subspace 𝑊≠𝑉 is a proper subspace.

So a subspace is a vector space in its own right, and its operations are not new: we add and scale elements of 𝑊 exactly as we do in 𝑉. In particular, sums and scalar multiples of elements of 𝑊 must lie in 𝑊, because closure is part of being a vector space (Remark 1.2.2).

Non-example 1.4.2 (A line that misses the origin). In ℝ2, the line 𝐿={(𝑐1,𝑐2)|𝑐1+𝑐2=1} is not a subspace. The operations of ℝ2 are not even operations on 𝐿: the vectors (1,0) and (0,1) lie on 𝐿, but their sum (1,1) does not, since 1+1≠1. Non-example 1.2.21 made the same observation for the line 𝑥+2𝑦=2. By contrast, the line {(𝑟,𝑟)|𝑟∈ℝ} through the origin is a subspace (Example 1.4.8).

Checking all eight axioms for every candidate would be tedious, and most of the work is redundant.

Intuition (What has to be checked). Suppose 𝑊⊆𝑉 is closed under the operations of 𝑉. Six of the axioms, (A1), (A2), and (A5)–(A8), are identities that hold for all vectors and scalars. An identity that holds for all vectors of 𝑉 holds in particular for all vectors of 𝑊, so these six come for free. The other two axioms assert that something exists: (A3) a zero vector, and (A4) an additive inverse of each vector. These are where a subset can fail, because the vector that exists in 𝑉 might not lie in 𝑊. Scalar multiplication produces both of them: 0𝐰=𝟎 and (−1)𝐰=−𝐰 (Proposition 1.2.32, Proposition 1.2.34). For the first we need some 𝐰∈𝑊 to start from, so 𝑊 must be nonempty. We used the same reasoning for subfields (Proposition 1.1.33) and for 𝐶[0,1] (Example 1.2.12).

The lecture packages this as a criterion with two equivalent tests. The first speaks about linear combinations, which suits spans; the second is the one we check in practice.

Theorem 1.4.3 (Subspace criterion). Let 𝑊⊆𝑉. The following are equivalent.
  1. (I)𝑊 is a subspace of 𝑉.
  2. (II)𝑊≠∅, and 𝑊 is stable under linear combinations: for every 𝑘≥1, all 𝐰1,…,𝐰𝑘∈𝑊, and all 𝑎1,…,𝑎𝑘∈𝐹, the vector 𝑎1𝐰1+⋯+𝑎𝑘𝐰𝑘 lies in 𝑊.
  3. (III)𝟎∈𝑊, and 𝑊 is closed under addition and scalar multiplication: 𝐰+𝐰′∈𝑊 and 𝑎𝐰∈𝑊 for all 𝐰,𝐰′∈𝑊 and 𝑎∈𝐹.
Here 𝟎 is the zero vector of 𝑉.

Proof.routine

Uses. Definition 1.4.1 (Subspace), Definition 1.2.1 (Vector space), Proposition 1.2.32 (The scalar zero), Proposition 1.2.34 (Negatives and the scalar −1), (1.3.1), induction on 𝑘

Techniques. Proving TFAE (Technique 2.7.1)

Hint 1. Sort the axioms (A1)–(A8) into identities that hold “for all” vectors and scalars, and statements that something exists. Which kind can fail for a subset that is closed under the operations?
Hint 2. For (I) ⇒ (III), the subspace 𝑊 has a zero vector of its own, but (III) asks for the zero vector of 𝑉. Multiply the zero vector of 𝑊 by the scalar 0.
Hint 3. For (III) ⇒ (II), induct on 𝑘 and split off the last term. For (II) ⇒ (I), produce the zero vector and negatives inside 𝑊 as 0𝐰0 and (−1)𝐰.
Sketch. (I) ⇒ (III): the operations of 𝑊 land in 𝑊, and 𝟎=0⋅𝟎𝑊∈𝑊. (III) ⇒ (II): induction on 𝑘, writing a combination of length 𝑘+1 as one of length 𝑘 plus a single term. (II) ⇒ (I): sums and multiples are combinations of length 2 and 1, so the operations restrict to 𝑊; the identities (A1), (A2), (A5)–(A8) are inherited from 𝑉; and 𝟎=0𝐰0 and −𝐰=(−1)𝐰 lie in 𝑊 and supply (A3) and (A4).

We prove (I) ⇒ (III) ⇒ (II) ⇒ (I).

(I) ⇒ (III). Suppose 𝑊 is a subspace. Since 𝑊 is a vector space under the operations of 𝑉, these operations map 𝑊×𝑊 and 𝐹×𝑊 into 𝑊; that is, 𝑊 is closed under addition and scalar multiplication. By (A3) for the vector space 𝑊, there is a zero vector 𝟎𝑊∈𝑊. By closure under scalar multiplication, 0⋅𝟎𝑊∈𝑊, and 0⋅𝟎𝑊=𝟎 by Proposition 1.2.32, applied in 𝑉. Hence 𝟎∈𝑊.

(III) ⇒ (II). Since 𝟎∈𝑊, 𝑊≠∅. We show by induction on 𝑘≥1 that 𝑎1𝐰1+⋯+𝑎𝑘𝐰𝑘∈𝑊 for all 𝐰1,…,𝐰𝑘∈𝑊 and 𝑎1,…,𝑎𝑘∈𝐹. For 𝑘=1 this is closure under scalar multiplication. Suppose it holds for some 𝑘≥1, and let 𝐰1,…,𝐰𝑘+1∈𝑊 and 𝑎1,…,𝑎𝑘+1∈𝐹. By (1.3.1),

∑𝑖=1𝑘+1𝑎𝑖𝐰𝑖=(∑𝑖=1𝑘𝑎𝑖𝐰𝑖)+𝑎𝑘+1𝐰𝑘+1.

The first summand lies in 𝑊 by the inductive hypothesis, and the second by closure under scalar multiplication. So their sum lies in 𝑊, by closure under addition.

(II) ⇒ (I). Let 𝐰,𝐰′∈𝑊 and 𝑎∈𝐹. Then 𝐰+𝐰′=1𝐰+1𝐰′ by (A5), and 𝑎𝐰 are linear combinations of elements of 𝑊, of lengths 2 and 1, so they lie in 𝑊 by (II). Hence the operations of 𝑉 restrict to functions 𝑊×𝑊→𝑊 and 𝐹×𝑊→𝑊. Axioms (A1), (A2), and (A5)–(A8) are identities that hold for all vectors of 𝑉 and all scalars, so in particular for all vectors of 𝑊. It remains to check (A3) and (A4).

(A3). Since 𝑊≠∅, we may choose some 𝐰0∈𝑊. By (II), 0𝐰0∈𝑊, and 0𝐰0=𝟎 by Proposition 1.2.32. So 𝟎∈𝑊, and 𝐰+𝟎=𝐰 for every 𝐰∈𝑊, because this holds in 𝑉.

(A4). Let 𝐰∈𝑊. By (II), (−1)𝐰∈𝑊, and 𝐰+(−1)𝐰=𝐰+(−𝐰)=𝟎 by Proposition 1.2.34, where 𝟎 is the zero vector of 𝑊 just found.

So 𝑊 satisfies all eight axioms, and 𝑊 is a subspace of 𝑉. □

Remark 1.4.4 (The zero vector of a subspace). Let 𝑊 be a subspace of 𝑉. The proof of (I) ⇒ (III) showed that 𝟎∈𝑊. Since 𝐰+𝟎=𝐰 for every 𝐰∈𝑊, the vector 𝟎 is a zero vector of the vector space 𝑊, so it is the zero vector of 𝑊 (Proposition 1.2.27, applied in 𝑊). That is, 𝟎𝑊=𝟎𝑉. Similarly, the additive inverse of 𝐰 in 𝑊 is the vector −𝐰 of 𝑉, by Proposition 1.2.28. So the vectors whose existence (A3) and (A4) promise are also inherited from 𝑉, and from now on we write 𝟎 for the zero vector of every subspace of 𝑉.

Remark 1.4.5 (Why nonemptiness matters). The empty set is closed under addition and scalar multiplication, because there are no elements to test: “for all 𝐰,𝐰′∈∅” is vacuously true. Likewise, it is stable under linear combinations of lists of length 𝑘≥1. But ∅ is not a vector space, since (A3) requires an element. So the conditions 𝑊≠∅ in (II) and 𝟎∈𝑊 in (III) cannot be dropped, and the proof shows where they enter: nonemptiness was used exactly once, to produce the zero vector of 𝑊 as 0𝐰0.

In practice, check 𝟎∈𝑊. It proves nonemptiness, and it is also the fastest test in the other direction: a set that does not contain 𝟎 is not a subspace, whatever else it does. If (II) also allowed 𝑘=0, the empty linear combination, which represents 𝟎 (Definition 1.3.4), would force 𝟎∈𝑊, and the condition 𝑊≠∅ would be automatic. Exercise 1.4.15 states the criterion in this form.

Exercise 1.4.6.routine Show that 𝑊⊆𝑉 is a subspace of 𝑉 if and only if 𝟎∈𝑊 and 𝑎𝐰+𝐰′∈𝑊 for all 𝐰,𝐰′∈𝑊 and all 𝑎∈𝐹.

Solution.

Uses. Theorem 1.4.3 (Subspace criterion)

Hint 1. Compare with (II) and (III) of Theorem 1.4.3. The vector 𝑎𝐰+𝐰′ is a linear combination of length 2.
Hint 2. For the converse, special values of 𝑎 and 𝐰′ recover the two closure conditions of (III).
Sketch. If 𝑊 is a subspace, then 𝟎∈𝑊 by (III), and 𝑎𝐰+1𝐰′∈𝑊 by (II). Conversely, 𝑎=1 gives 𝐰+𝐰′∈𝑊, and 𝐰′=𝟎 gives 𝑎𝐰=𝑎𝐰+𝟎∈𝑊, so (III) holds.

Suppose 𝑊 is a subspace. Then 𝟎∈𝑊 by (III) of Theorem 1.4.3, and for 𝐰,𝐰′∈𝑊 and 𝑎∈𝐹, the vector 𝑎𝐰+𝐰′=𝑎𝐰+1𝐰′ is a linear combination of elements of 𝑊, so it lies in 𝑊 by (II).

Conversely, suppose the condition holds, and let 𝐰,𝐰′∈𝑊 and 𝑎∈𝐹. Taking the scalar 1 gives 𝐰+𝐰′=1𝐰+𝐰′∈𝑊, by (A5). Taking 𝟎 as the second vector, which is allowed since 𝟎∈𝑊, gives 𝑎𝐰=𝑎𝐰+𝟎∈𝑊, by (A3). So 𝑊 satisfies (III), and it is a subspace by Theorem 1.4.3.

This one-line form is convenient when 𝑊 is defined by a condition that is visibly compatible with linear combinations, as for kernels in Section 2.6.

1.4.2Examples

To show that a subset is a subspace, we check (III). To show that it is not, one failure suffices: 𝟎∉𝑊, or particular vectors and scalars whose sum or scalar multiple leaves 𝑊.

Example 1.4.7 (Trivial subspaces). {𝟎} and 𝑉 are subspaces of 𝑉. For 𝑉 itself there is nothing to check. The set {𝟎} contains 𝟎, and 𝟎+𝟎=𝟎 and 𝑎𝟎=𝟎 by (A3) and Proposition 1.2.33. With the operations of 𝑉, {𝟎} is the zero space (Example 1.2.3). By (III), every subspace of 𝑉 contains it.

Example 1.4.8 (One equation in 𝐹𝑛). Let 𝑎1,…,𝑎𝑛∈𝐹, and let

𝐻={𝐱∈𝐹𝑛|𝑎1𝑥1+⋯+𝑎𝑛𝑥𝑛=0}.

Then 𝐻 is a subspace of 𝐹𝑛. It contains 𝟎, since 𝑎10+⋯+𝑎𝑛0=0. If 𝐱,𝐲∈𝐻 and 𝑐∈𝐹, then by the coordinatewise operations, distributivity, and regrouping,

∑𝑖=1𝑛𝑎𝑖(𝑥𝑖+𝑦𝑖)=∑𝑖=1𝑛𝑎𝑖𝑥𝑖+∑𝑖=1𝑛𝑎𝑖𝑦𝑖=0+0=0,∑𝑖=1𝑛𝑎𝑖(𝑐𝑥𝑖)=𝑐∑𝑖=1𝑛𝑎𝑖𝑥𝑖=𝑐⋅0=0,

so 𝐱+𝐲∈𝐻 and 𝑐𝐱∈𝐻. For 𝑛=2 and the equation 𝑥1−𝑥2=0 over ℝ, 𝐻 is the line {(𝑟,𝑟)|𝑟∈ℝ}. In ℝ3, the equation 𝑥1+𝑥2+𝑥3=0 gives a plane through 𝟎.

With a nonzero right-hand side, the solution set of 𝑎1𝑥1+⋯+𝑎𝑛𝑥𝑛=𝑏 is never a subspace, since it does not contain 𝟎: the left side at 𝟎 is 0≠𝑏. The solution set of a homogeneous system of 𝑚 equations is the set of vectors that lie in 𝑚 subspaces of the form 𝐻 at once, one for each equation; it is a subspace by Proposition 1.4.16 below. Corollary 3.1.16 reaches the same conclusion by recognizing it as a kernel.

Example 1.4.9 (Polynomials). For 𝑛≥0, 𝐹[𝑥]≤𝑛 is a subspace of 𝐹[𝑥]. It contains 𝟎, whose degree is −∞, and by Proposition 1.2.18(a) and (b), sums and nonzero multiples of polynomials of degree at most 𝑛 have degree at most 𝑛; the multiple 0𝑝=𝟎 does too.

Fix 𝑐∈𝐹. The polynomials that vanish at 𝑐 form a subspace {𝑝∈𝐹[𝑥]|𝑝(𝑐)=0} of 𝐹[𝑥]. Indeed 𝟎(𝑐)=0, and if 𝑝(𝑐)=𝑞(𝑐)=0 and 𝑎∈𝐹, then (𝑝+𝑞)(𝑐)=𝑝(𝑐)+𝑞(𝑐)=0 and (𝑎𝑝)(𝑐)=𝑎𝑝(𝑐)=0 by Proposition 1.2.18(c).

The polynomials of degree exactly 𝑛 do not form a subspace, since 𝟎 has degree −∞. Neither do the polynomials with 𝑝(𝑐)=1, since 𝟎(𝑐)=0.

Example 1.4.10 (Functions). Let 𝑋 be a set and 𝑡0∈𝑋. The functions vanishing at 𝑡0 form a subspace of 𝐹𝑋: the zero function vanishes at 𝑡0, and if 𝑓(𝑡0)=𝑔(𝑡0)=0, then (𝑓+𝑔)(𝑡0)=0+0=0 and (𝑎𝑓)(𝑡0)=𝑎⋅0=0 by the pointwise operations. The functions with 𝑓(𝑡0)=1 do not, since the zero function is not among them.

In ℝℝ, the even functions 𝐸={𝑓|𝑓(−𝑡)=𝑓(𝑡)for all𝑡} and the odd functions 𝑂={𝑓|𝑓(−𝑡)=−𝑓(𝑡)for all𝑡} form subspaces. For 𝑂: the zero function is odd, as 0=−0. If 𝑓,𝑔∈𝑂 and 𝑎∈ℝ, then for every 𝑡,

(𝑓+𝑔)(−𝑡)=𝑓(−𝑡)+𝑔(−𝑡)=−𝑓(𝑡)−𝑔(𝑡)=−(𝑓+𝑔)(𝑡),(𝑎𝑓)(−𝑡)=𝑎𝑓(−𝑡)=−(𝑎𝑓)(𝑡).

The argument for 𝐸 is the same without the signs. Finally, 𝐶[0,1] is a subspace of ℝ[0,1] (Example 1.2.12), and so are the continuous functions with integral 0.

Example 1.4.11 (Matrices). In 𝐹𝑛×𝑛, the symmetric matrices, those with 𝑎𝑖𝑗=𝑎𝑗𝑖 for all 𝑖,𝑗, form a subspace 𝑆, and so do the trace-zero matrices, those with 𝑎11+⋯+𝑎𝑛𝑛=0. For 𝑛=2,

𝑆={(𝑎𝑏𝑏𝑑)|𝑎,𝑏,𝑑∈𝐹},𝑇={(𝑎𝑏𝑐−𝑎)|𝑎,𝑏,𝑐∈𝐹}.

Both are cut out by equations among the entries that the zero matrix satisfies, and that survive entrywise sums and scalar multiples: if 𝑎𝑖𝑗=𝑎𝑗𝑖 and 𝑏𝑖𝑗=𝑏𝑗𝑖, then 𝑎𝑖𝑗+𝑏𝑖𝑗=𝑎𝑗𝑖+𝑏𝑗𝑖 and 𝑐𝑎𝑖𝑗=𝑐𝑎𝑗𝑖, and the trace-zero condition is the equation of Example 1.4.8 in the 𝑛2 entries. In the language of Section 2.4, 𝑆 consists of the 𝐴 with 𝐴𝖳=𝐴, and 𝑇 of the 𝐴 with tr𝐴=0.

Example 1.4.12 (The subspaces of 𝔽22). Over 𝔽2, the only scalars are 0 and 1, and 0𝐰=𝟎, 1𝐰=𝐰. So a subset of an 𝔽2-vector space that contains 𝟎 is automatically closed under scalar multiplication, and the subspaces are exactly the subsets that contain 𝟎 and are closed under addition.

The space 𝔽22 has four elements, 𝟎, 𝐞1=(1,0), 𝐞2=(0,1), and 𝐞1+𝐞2=(1,1). Each vector satisfies 𝐯+𝐯=𝟎, and the sum of any two different nonzero vectors is the third one. So a subset containing 𝟎 and at most one nonzero vector 𝐯 is closed under addition, since 𝐯+𝐯=𝟎 and 𝐯+𝟎=𝐯. A subset containing two different nonzero vectors contains their sum, hence all three nonzero vectors, and it is all of 𝔽22. Hence 𝔽22 has exactly five subspaces:

{𝟎},{𝟎,(1,0)},{𝟎,(0,1)},{𝟎,(1,1)},𝔽22.

The middle three are the spans of the nonzero vectors (Example 1.3.11), the analogues of lines through the origin. Section 1.4.6 shows that every 𝐹2 looks like this.

Figure 1.4.1. Three subsets of ℝ2 that fail to be subspaces, each in a different way. Left: the line 𝑐1+𝑐2=1 misses 𝟎; it also contains (1,0) and (0,1) but not their sum. Middle: the union of the axes contains 𝟎 and every multiple of its vectors, but not (1,0)+(0,1). Right: the closed first quadrant contains 𝟎 and all sums of its vectors, but not (−1)𝐯.

Non-example 1.4.13 (Three ways to fail). Each of the following subsets of ℝ2 violates a different condition of (III) (Figure 1.4.1).

  1. (a)The line 𝐿={(𝑐1,𝑐2)|𝑐1+𝑐2=1} does not contain 𝟎. (It fails the other two conditions as well.)
  2. (b)The union of the axes, 𝐴={(𝑥,𝑦)|𝑥𝑦=0}, contains 𝟎 and is closed under scalar multiplication: if 𝑥𝑦=0, then (𝑎𝑥)(𝑎𝑦)=𝑎2𝑥𝑦=0. But (1,0) and (0,1) lie in 𝐴, while their sum (1,1) does not.
  3. (c)The first quadrant 𝑄={(𝑥,𝑦)|𝑥≥0,𝑦≥0} contains 𝟎 and is closed under addition, since sums of nonnegative numbers are nonnegative. But (1,0)∈𝑄, while (−1)(1,0)=(−1,0)∉𝑄.

The empty set satisfies both closure conditions and fails only 𝟎∈𝑊 (Remark 1.4.5). Together with (b) and (c), this shows that none of the three conditions in (III) follows from the other two.

The set 𝐴 in (b) is the union of two subspaces, the two axes. We return to it in Section 1.4.4.

1.4.3The span is the smallest subspace

Intuition. Let 𝑈 be a subspace of 𝑉 that contains the entries of a list ℒ︀=𝐯1,…,𝐯𝑘. By (II) of Theorem 1.4.3, 𝑈 contains every linear combination of 𝐯1,…,𝐯𝑘, so span(ℒ︀)⊆𝑈. If span(ℒ︀) is itself a subspace, it is therefore the smallest subspace containing the entries of ℒ︀: it lies inside every other one. And it is a subspace, because sums and scalar multiples of linear combinations of ℒ︀ are linear combinations of ℒ︀. So the span can be described from the inside, as the set of all linear combinations, or from the outside, as the least subspace that the entries of ℒ︀ force on us.

Proposition 1.4.14 (The span is the smallest subspace containing a list). Let ℒ︀=𝐯1,…,𝐯𝑘 be a list in 𝑉.

  1. (a)span(ℒ︀) is a subspace of 𝑉, and ℒ︀⊆span(ℒ︀).
  2. (b)If 𝑈 is a subspace of 𝑉 and ℒ︀⊆𝑈, then span(ℒ︀)⊆𝑈.

Proof.routine

Uses. Theorem 1.4.3 (Subspace criterion), Proposition 1.3.17 (A list lies in its span), Lemma 1.3.9 (Arithmetic of linear combinations), Definition 1.3.10 (Span)

Techniques. Fix an arbitrary element and chase it (Technique 1.3.13)

Hint 1. For (a), check (III) of Theorem 1.4.3. What is the sum of two linear combinations of ℒ︀?
Hint 2. For (b), an element of span(ℒ︀) is a linear combination of vectors that lie in 𝑈. Which condition of Theorem 1.4.3 speaks about linear combinations? Treat the empty list separately.
Sketch. (a) 𝟎 and the entries of ℒ︀ lie in span(ℒ︀) by Proposition 1.3.17, and by Lemma 1.3.9, ∑𝑎𝑖𝐯𝑖+∑𝑏𝑖𝐯𝑖=∑(𝑎𝑖+𝑏𝑖)𝐯𝑖 and 𝑐∑𝑎𝑖𝐯𝑖=∑(𝑐𝑎𝑖)𝐯𝑖. (b) The subspace 𝑈 satisfies (II) of Theorem 1.4.3 and contains 𝐯1,…,𝐯𝑘, so it contains every linear combination of them; if 𝑘=0, span(ℒ︀)={𝟎}⊆𝑈.

(a) We check (III) of Theorem 1.4.3. By Proposition 1.3.17, 𝟎∈span(ℒ︀), and also ℒ︀⊆span(ℒ︀). Let 𝐮,𝐰∈span(ℒ︀) and 𝑐∈𝐹, say 𝐮=∑𝑖=1𝑘𝑎𝑖𝐯𝑖 and 𝐰=∑𝑖=1𝑘𝑏𝑖𝐯𝑖. By Lemma 1.3.9,

𝐮+𝐰=∑𝑖=1𝑘(𝑎𝑖+𝑏𝑖)𝐯𝑖and𝑐𝐮=∑𝑖=1𝑘(𝑐𝑎𝑖)𝐯𝑖,

which are linear combinations of ℒ︀. So 𝐮+𝐰 and 𝑐𝐮 lie in span(ℒ︀), and span(ℒ︀) is a subspace.

(b) Let 𝑈 be a subspace with ℒ︀⊆𝑈, and let 𝐰∈span(ℒ︀). If 𝑘=0, then 𝐰=𝟎, which lies in 𝑈 by (III) of Theorem 1.4.3. If 𝑘≥1, then 𝐰=𝑎1𝐯1+⋯+𝑎𝑘𝐯𝑘 for some scalars 𝑎𝑖, where each 𝐯𝑖 lies in 𝑈. By (II) of Theorem 1.4.3, 𝐰∈𝑈. Hence span(ℒ︀)⊆𝑈. □

In particular, span(ℒ︀) is a vector space in its own right, and ℒ︀ spans it. Part (b) gives the second proof of Proposition 1.3.18 promised in Section 1.3.4. If ℳ︀⊆span(ℒ︀), then span(ℒ︀) is a subspace, by (a), that contains the entries of ℳ︀, so it contains span(ℳ︀), by (b). The first proof expanded every linear combination of ℳ︀ into one of ℒ︀ and collected coefficients. The second needs only that span(ℒ︀) is closed under sums and scalar multiples; Theorem 1.4.3 upgrades this to closure under all linear combinations, by an induction done once and for all.

Part (b) also changes how we prove that a span lies in a given subspace: it suffices to check the finitely many entries of the list. For instance, the plane 𝑃={𝐱∈ℝ3|𝑥1+𝑥2+𝑥3=0} is a subspace (Example 1.4.8) that contains (1,0,−1) and (0,1,−1), so it contains their span. In Exercise 1.3.16 the same containment took a computation with an arbitrary linear combination.

Exercise 1.4.15.routine Show that a subset 𝑊⊆𝑉 is a subspace of 𝑉 if and only if span(ℒ︀)⊆𝑊 for every list ℒ︀ in 𝑊, the empty list included.

Solution.

Uses. Proposition 1.4.14 (The span is the smallest subspace containing a list), Theorem 1.4.3 (Subspace criterion), Example 1.3.11 (Small spans)

Hint 1. One direction is Proposition 1.4.14(b).
Hint 2. For the other, apply the condition to three kinds of list: the empty list, a list 𝐰,𝐰′ of length 2, and a list 𝐰 of length 1.
Sketch. (⇒) is Proposition 1.4.14(b). (⇐) span(())={𝟎} gives 𝟎∈𝑊; 𝐰+𝐰′∈span(𝐰,𝐰′) and 𝑎𝐰∈span(𝐰) give the closure conditions, so (III) of Theorem 1.4.3 holds.

If 𝑊 is a subspace and ℒ︀ is a list in 𝑊, then span(ℒ︀)⊆𝑊 by Proposition 1.4.14(b).

Conversely, suppose span(ℒ︀)⊆𝑊 for every list ℒ︀ in 𝑊. For the empty list, span(())={𝟎} (Definition 1.3.10), so 𝟎∈𝑊. Let 𝐰,𝐰′∈𝑊 and 𝑎∈𝐹. Then 𝐰+𝐰′=1𝐰+1𝐰′∈span(𝐰,𝐰′)⊆𝑊 and 𝑎𝐰∈span(𝐰)⊆𝑊. So 𝑊 satisfies (III) of Theorem 1.4.3, and it is a subspace.

In this form the criterion needs no separate nonemptiness condition: the empty list supplies 𝟎 (Remark 1.4.5).

1.4.4Intersections and unions

Given two subspaces, we would like to build new ones from them. Intersections always work; unions almost never do.

Proposition 1.4.16 (Intersections of subspaces). Let (𝑈𝑖)𝑖∈𝐼 be a family of subspaces of 𝑉, indexed by any set 𝐼. Then

⋂𝑖∈𝐼𝑈𝑖={𝐯∈𝑉|𝐯∈𝑈𝑖for every𝑖∈𝐼}

is a subspace of 𝑉.

Proof.routine

Hint 1. Check the three conditions of (III) in Theorem 1.4.3 for the intersection.
Hint 2. A vector lies in the intersection exactly when it lies in every 𝑈𝑖, and each 𝑈𝑖 satisfies (III) on its own.
Sketch. 𝟎 lies in every 𝑈𝑖. If 𝐮,𝐰 lie in every 𝑈𝑖, then so do 𝐮+𝐰 and 𝑎𝐮, since each 𝑈𝑖 is closed under the operations.
Write 𝑋=⋂𝑖∈𝐼𝑈𝑖. We check (III) of Theorem 1.4.3. Each 𝑈𝑖 is a subspace, so 𝟎∈𝑈𝑖 for every 𝑖, and 𝟎∈𝑋. Let 𝐮,𝐰∈𝑋 and 𝑎∈𝐹, and fix 𝑖∈𝐼. Then 𝐮,𝐰∈𝑈𝑖, and since 𝑈𝑖 is closed under addition and scalar multiplication, 𝐮+𝐰∈𝑈𝑖 and 𝑎𝐮∈𝑈𝑖. As 𝑖 was arbitrary, 𝐮+𝐰∈𝑋 and 𝑎𝐮∈𝑋. So 𝑋 is a subspace. □

The family may be infinite, or even empty; for 𝐼=∅ the condition “for every 𝑖∈𝐼” is vacuous, the intersection is 𝑉, and the proof still applies. The polynomials of degree at most 𝑛 that vanish at 𝑐 form a subspace, as the intersection of two subspaces from Example 1.4.9, and the solution set of a homogeneous system is the intersection of the subspaces 𝐻 of Example 1.4.8, one for each equation.

Intersections give a second description of the span, from the outside.

Corollary 1.4.17 (The span as an intersection). Let ℒ︀ be a list in 𝑉. Then span(ℒ︀) is the intersection of all subspaces of 𝑉 that contain the entries of ℒ︀.

Proof.routine

Uses. Proposition 1.4.14 (The span is the smallest subspace containing a list), Proposition 1.4.16 (Intersections of subspaces)

Techniques. Double containment (Technique 1.3.14)

Hint 1. Let 𝑋 be the intersection. Is span(ℒ︀) one of the subspaces being intersected?
Hint 2. Each subspace in the family contains span(ℒ︀), by Proposition 1.4.14(b).
Sketch. Since span(ℒ︀) belongs to the family, 𝑋⊆span(ℒ︀). Since every member contains span(ℒ︀), span(ℒ︀)⊆𝑋.
Let 𝑋 be the intersection of all subspaces 𝑈 of 𝑉 with ℒ︀⊆𝑈. We proceed by double containment. By Proposition 1.4.14(a), span(ℒ︀) is a member of the family, so 𝑋⊆span(ℒ︀). By Proposition 1.4.14(b), every member 𝑈 satisfies span(ℒ︀)⊆𝑈, so span(ℒ︀)⊆𝑋. □

The description in Definition 1.3.10 builds the span by listing its elements, and it is the one we compute with. The description in Corollary 1.4.17 uses no linear combinations at all, and so it makes sense for any subset 𝑆⊆𝑉, finite or not: by Proposition 1.4.16, the intersection of all subspaces containing 𝑆 is a subspace, and it is the smallest one containing 𝑆.

Unions

Now take two subspaces 𝑈 and 𝑊. The union 𝑈∪𝑊 contains 𝟎, and it is closed under scalar multiplication, since a multiple of a vector of 𝑈 lies in 𝑈 and a multiple of a vector of 𝑊 lies in 𝑊. Addition is the problem. The union of the two axes of ℝ2 (Figure 1.4.1, middle) is not closed under addition: a vector on one axis plus a vector on the other lies on neither. Reading off exactly why this example fails is a move worth naming.

Technique 1.4.18 (Finding counterexamples and minimal examples). To disprove a claim about all objects of some kind, a single object for which it fails is enough. Look for one by shrinking everything: the smallest space, the fewest vectors, the simplest field (Technique 1.2.38). Then read the counterexample. Ask which features made it work; often they point to the exact hypothesis under which the claim does hold, and the counterexample, run on general objects, turns into a proof.

Reach for it whenever a claim seems plausible but no proof suggests itself, and in every “prove or disprove”. The canonical example is the claim that the union of two subspaces is a subspace. It fails for the two axes of ℝ2, since (1,0)+(0,1) lies on neither (Non-example 1.4.13). The failure used only one vector of the first subspace outside the second and one vector of the second outside the first. So nested subspaces escape the counterexample, and Proposition 1.4.20 shows that only they do.

The key step in the counterexample is that a vector on one axis plus a vector off that axis lands off that axis. This holds for every subspace.

Lemma 1.4.19 (Adding a vector outside a subspace). Let 𝑈 be a subspace of 𝑉, let 𝐮∈𝑈, and let 𝐯∈𝑉 with 𝐯∉𝑈. Then 𝐮+𝐯∉𝑈.

Proof.routine

Uses. Theorem 1.4.3 (Subspace criterion), Proposition 1.2.34 (Negatives and the scalar −1)

Hint 1. Suppose 𝐮+𝐯∈𝑈. Can you recover 𝐯 from two vectors of 𝑈?
Hint 2. 𝐯=(𝐮+𝐯)+(−1)𝐮, a linear combination of two vectors of 𝑈.
Sketch. If 𝐮+𝐯∈𝑈, then 𝐯=(𝐮+𝐯)+(−1)𝐮 lies in 𝑈 by closure, a contradiction.

Suppose, to the contrary, that 𝐮+𝐯∈𝑈. By Proposition 1.2.34 and the axioms,

(𝐮+𝐯)+(−1)𝐮=(𝐯+𝐮)+(−𝐮)=𝐯+(𝐮+(−𝐮))=𝐯.

The left side is a linear combination of 𝐮+𝐯 and 𝐮, which lie in 𝑈, so 𝐯∈𝑈 by (II) of Theorem 1.4.3. This contradicts 𝐯∉𝑈. □

Proposition 1.4.20 (Unions of two subspaces). Let 𝑈 and 𝑊 be subspaces of 𝑉. Then 𝑈∪𝑊 is a subspace of 𝑉 if and only if 𝑈⊆𝑊 or 𝑊⊆𝑈.
Intuition. The backward direction is immediate, since 𝑈∪𝑊 is then 𝑊 or 𝑈. The forward direction concludes “𝑈⊆𝑊 or 𝑊⊆𝑈”, and there are two natural ways to prove a disjunction. One is to assume that the first alternative fails and deduce the second: a vector 𝐮∈𝑈 outside 𝑊 is a lever, and adding it to each vector of 𝑊 forces that vector into 𝑈. The other is the contrapositive: assume both alternatives fail, and build the counterexample of the two axes from one witness on each side.

Proof (assume one alternative fails).standard

Uses. Theorem 1.4.3 (Subspace criterion), Lemma 1.4.19 (Adding a vector outside a subspace)

Hint 1. The backward direction is immediate: if 𝑈⊆𝑊, then 𝑈∪𝑊=𝑊.
Hint 2. For the forward direction, assume 𝑈⊈𝑊 and prove 𝑊⊆𝑈. Fix 𝐮∈𝑈 with 𝐮∉𝑊.
Hint 3. For 𝐰∈𝑊, the sum 𝐮+𝐰 lies in 𝑈∪𝑊. Which of the two can it lie in? Use Lemma 1.4.19.
Sketch. (⇐) 𝑈∪𝑊 is 𝑊 or 𝑈. (⇒) Suppose 𝑈∪𝑊 is a subspace and 𝑈⊈𝑊; fix 𝐮∈𝑈∖𝑊. For 𝐰∈𝑊, 𝐮+𝐰∈𝑈∪𝑊 by closure, and 𝐮+𝐰∉𝑊 by Lemma 1.4.19 (applied to 𝑊, with 𝐰∈𝑊 and 𝐮∉𝑊). So 𝐮+𝐰∈𝑈, and 𝐰=(𝐮+𝐰)−𝐮∈𝑈. Hence 𝑊⊆𝑈.

(⇐) If 𝑈⊆𝑊, then 𝑈∪𝑊=𝑊, and if 𝑊⊆𝑈, then 𝑈∪𝑊=𝑈. Either way, 𝑈∪𝑊 is a subspace.

(⇒) Suppose 𝑈∪𝑊 is a subspace. If 𝑈⊆𝑊, we are done. Otherwise, fix a vector 𝐮∈𝑈 with 𝐮∉𝑊; we show 𝑊⊆𝑈. Let 𝐰∈𝑊. Both 𝐮 and 𝐰 lie in the subspace 𝑈∪𝑊, so 𝐮+𝐰∈𝑈∪𝑊. By Lemma 1.4.19, applied to the subspace 𝑊, the vector 𝐰∈𝑊, and the vector 𝐮∉𝑊, we have 𝐰+𝐮∉𝑊. Hence 𝐮+𝐰∈𝑈. Since 𝐮∈𝑈 as well, 𝐰=(𝐮+𝐰)+(−1)𝐮∈𝑈 by (II) of Theorem 1.4.3. As 𝐰 was arbitrary, 𝑊⊆𝑈. □

Proof (generalize the counterexample).standard

Uses. Theorem 1.4.3 (Subspace criterion), Lemma 1.4.19 (Adding a vector outside a subspace)

Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)

Hint 1. The backward direction is immediate. For the forward direction, prove the contrapositive: if neither subspace contains the other, then 𝑈∪𝑊 is not closed under addition.
Hint 2. Imitate the two axes: take 𝐮∈𝑈 outside 𝑊 and 𝐰∈𝑊 outside 𝑈, and locate 𝐮+𝐰.
Sketch. If 𝑈⊈𝑊 and 𝑊⊈𝑈, pick 𝐮∈𝑈∖𝑊 and 𝐰∈𝑊∖𝑈. By Lemma 1.4.19, applied once to 𝑈 and once to 𝑊, 𝐮+𝐰 lies in neither 𝑈 nor 𝑊. So 𝑈∪𝑊 is not closed under addition.
The backward direction is as in the first proof. For the forward direction, we prove the contrapositive. Suppose 𝑈⊈𝑊 and 𝑊⊈𝑈, and pick 𝐮∈𝑈 with 𝐮∉𝑊 and 𝐰∈𝑊 with 𝐰∉𝑈. By Lemma 1.4.19 applied to 𝑈, with 𝐮∈𝑈 and 𝐰∉𝑈, we get 𝐮+𝐰∉𝑈. By Lemma 1.4.19 applied to 𝑊, with 𝐰∈𝑊 and 𝐮∉𝑊, we get 𝐰+𝐮∉𝑊. So 𝐮 and 𝐰 lie in 𝑈∪𝑊, but 𝐮+𝐰 does not. Hence 𝑈∪𝑊 is not closed under addition, and it is not a subspace by Theorem 1.4.3. □

The second proof is the counterexample of the two axes, with 𝑈 and 𝑊 in place of the axes and the two witnesses in place of (1,0) and (0,1). The first proof shows a different habit: to prove “𝑃 or 𝑄”, assume 𝑃 fails and use the failure. Here the failure of 𝑈⊆𝑊 supplied a single vector 𝐮, and that one vector moved every vector of 𝑊 into 𝑈.

Exercise 1.4.21.routine Let 𝑈 and 𝑊 be subspaces of 𝑉 with 𝑈∪𝑊=𝑉. Show that 𝑈=𝑉 or 𝑊=𝑉.

Solution.

Uses. Proposition 1.4.20 (Unions of two subspaces), Example 1.4.7 (Trivial subspaces)

Hint 1. 𝑉 is a subspace of itself, so 𝑈∪𝑊 is a subspace.
Hint 2. Apply Proposition 1.4.20. If 𝑈⊆𝑊, what is 𝑈∪𝑊?
Sketch. 𝑈∪𝑊=𝑉 is a subspace, so 𝑈⊆𝑊 or 𝑊⊆𝑈 by Proposition 1.4.20. In the first case 𝑉=𝑈∪𝑊=𝑊, in the second 𝑉=𝑈.

Since 𝑈∪𝑊=𝑉 is a subspace of 𝑉, Proposition 1.4.20 gives 𝑈⊆𝑊 or 𝑊⊆𝑈. If 𝑈⊆𝑊, then 𝑉=𝑈∪𝑊=𝑊. If 𝑊⊆𝑈, then 𝑉=𝑈∪𝑊=𝑈.

So a vector space is never the union of two proper subspaces. Three can suffice: 𝔽22 is the union of its three lines {𝟎,(1,0)}, {𝟎,(0,1)}, {𝟎,(1,1)} (Example 1.4.12). Exercise 1.4.42 and Exercise 1.4.43 show how this depends on the size of the field.

Unions of chains

A union of subspaces can still be a subspace when the subspaces are nested. Closure under addition involves only two vectors at a time, so only two members of the family at a time, and for nested subspaces Proposition 1.4.20 applies to each pair.

Proposition 1.4.22 (Unions of chains). Let (𝑈𝑖)𝑖∈𝐼 be a family of subspaces of 𝑉, indexed by a nonempty set 𝐼, such that for all 𝑖,𝑗∈𝐼, 𝑈𝑖⊆𝑈𝑗 or 𝑈𝑗⊆𝑈𝑖. Then ⋃𝑖∈𝐼𝑈𝑖 is a subspace of 𝑉. In particular, if 𝑈1⊆𝑈2⊆𝑈3⊆⋯ are subspaces of 𝑉, then ⋃𝑛≥1𝑈𝑛 is a subspace of 𝑉.

Proof.routine

Hint 1. Check (III) of Theorem 1.4.3. Two vectors of the union lie in two members of the family.
Hint 2. If 𝐮∈𝑈𝑖 and 𝐰∈𝑈𝑗, one of 𝑈𝑖, 𝑈𝑗 contains both vectors.
Sketch. 𝟎 lies in any member. If 𝐮∈𝑈𝑖 and 𝐰∈𝑈𝑗, say with 𝑈𝑖⊆𝑈𝑗, then 𝐮+𝐰∈𝑈𝑗. Multiples of 𝐮 stay in 𝑈𝑖. For an increasing sequence, 𝑈𝑚⊆𝑈𝑛 whenever 𝑚≤𝑛, so any two members are nested.

Write 𝑋=⋃𝑖∈𝐼𝑈𝑖. We check (III) of Theorem 1.4.3. Since 𝐼 is nonempty, there is some 𝑖0∈𝐼, and 𝟎∈𝑈𝑖0⊆𝑋. Let 𝐮,𝐰∈𝑋 and 𝑎∈𝐹, say 𝐮∈𝑈𝑖 and 𝐰∈𝑈𝑗. Then 𝑎𝐮∈𝑈𝑖⊆𝑋. By hypothesis, 𝑈𝑖⊆𝑈𝑗 or 𝑈𝑗⊆𝑈𝑖; exchanging the names of 𝐮 and 𝐰 if necessary, we may assume 𝑈𝑖⊆𝑈𝑗. Then 𝐮 and 𝐰 both lie in the subspace 𝑈𝑗, so 𝐮+𝐰∈𝑈𝑗⊆𝑋. So 𝑋 is a subspace.

For an increasing sequence 𝑈1⊆𝑈2⊆⋯, we have 𝑈𝑚⊆𝑈𝑛 whenever 𝑚≤𝑛, by induction on 𝑛−𝑚, so any two members are nested and the first part applies. □

Example 1.4.23 (𝐹[𝑥] as a union of a chain). The subspaces 𝐹[𝑥]≤0⊆𝐹[𝑥]≤1⊆𝐹[𝑥]≤2⊆⋯ of Example 1.4.9 form an increasing sequence, and their union is all of 𝐹[𝑥], since every polynomial has a degree, which is −∞ or some 𝑛≥0. Each 𝐹[𝑥]≤𝑛 is a proper subspace, as 𝑥𝑛+1∉𝐹[𝑥]≤𝑛. So 𝐹[𝑥] is the union of infinitely many proper subspaces. By Exercise 1.4.21, two proper subspaces never suffice, and over an infinite field no finite number does (Exercise 1.4.43).

1.4.5Sums of subspaces

Since 𝑈∪𝑊 is usually not a subspace, we ask instead for the smallest subspace that contains both 𝑈 and 𝑊. Any subspace containing 𝑈 and 𝑊 contains every sum 𝐮+𝐰 with 𝐮∈𝑈 and 𝐰∈𝑊, and these sums already form a subspace.

Proposition 1.4.24 (The sum of two subspaces). Let 𝑈 and 𝑊 be subspaces of 𝑉, and let

𝑈+𝑊={𝐮+𝐰|𝐮∈𝑈,𝐰∈𝑊}.
  1. (a)𝑈+𝑊 is a subspace of 𝑉 that contains 𝑈 and 𝑊.
  2. (b)If 𝑋 is a subspace of 𝑉 with 𝑈⊆𝑋 and 𝑊⊆𝑋, then 𝑈+𝑊⊆𝑋.

Proof.routine

Uses. Theorem 1.4.3 (Subspace criterion), Definition 1.2.1 (Vector space)

Techniques. Fix an arbitrary element and chase it (Technique 1.3.13)

Hint 1. For (a), check (III) of Theorem 1.4.3. Regroup (𝐮+𝐰)+(𝐮′+𝐰′) so that the vectors of 𝑈 are together.
Hint 2. To see 𝑈⊆𝑈+𝑊, write 𝐮=𝐮+𝟎. For (b), use that 𝑋 is closed under addition.
Sketch. (a) 𝟎=𝟎+𝟎; (𝐮+𝐰)+(𝐮′+𝐰′)=(𝐮+𝐮′)+(𝐰+𝐰′) and 𝑎(𝐮+𝐰)=𝑎𝐮+𝑎𝐰; and 𝐮=𝐮+𝟎, 𝐰=𝟎+𝐰. (b) If 𝐮,𝐰∈𝑋, then 𝐮+𝐰∈𝑋.

(a) We check (III) of Theorem 1.4.3. Since 𝟎∈𝑈 and 𝟎∈𝑊, 𝟎=𝟎+𝟎∈𝑈+𝑊. Let 𝐮+𝐰 and 𝐮′+𝐰′ be elements of 𝑈+𝑊, with 𝐮,𝐮′∈𝑈 and 𝐰,𝐰′∈𝑊, and let 𝑎∈𝐹. By (A1) and (A2),

(𝐮+𝐰)+(𝐮′+𝐰′)=(𝐮+𝐮′)+(𝐰+𝐰′),

with 𝐮+𝐮′∈𝑈 and 𝐰+𝐰′∈𝑊, and by (A7), 𝑎(𝐮+𝐰)=𝑎𝐮+𝑎𝐰, with 𝑎𝐮∈𝑈 and 𝑎𝐰∈𝑊. So both lie in 𝑈+𝑊, and 𝑈+𝑊 is a subspace. Finally, for 𝐮∈𝑈 we have 𝐮=𝐮+𝟎∈𝑈+𝑊, and for 𝐰∈𝑊 we have 𝐰=𝟎+𝐰∈𝑈+𝑊, by (A3) and (A1).

(b) Let 𝐮+𝐰∈𝑈+𝑊, with 𝐮∈𝑈⊆𝑋 and 𝐰∈𝑊⊆𝑋. Since 𝑋 is closed under addition, 𝐮+𝐰∈𝑋. □

So 𝑈+𝑊 is the smallest subspace containing 𝑈∪𝑊, and 𝑈∪𝑊⊆𝑈+𝑊 with equality exactly when one of 𝑈, 𝑊 contains the other (Proposition 1.4.20). Sums of spans are spans: span(ℒ︀)+span(ℳ︀)=span(ℒ︀,ℳ︀) by Exercise 1.3.36. For example, in 𝐹3 the sum of the 𝑥1-axis span(𝐞1) and the 𝑥2-axis span(𝐞2) is span(𝐞1,𝐞2), the plane 𝑥3=0, while their union is just the two axes. Sums of more than two subspaces, the case where every vector of 𝑈+𝑊 has only one decomposition 𝐮+𝐰, and the dimension of 𝑈+𝑊 are the subject of Section 4.4.

1.4.6Subspaces of the plane

In ℝ2 we have met three kinds of subspace: {𝟎}, lines through the origin, and ℝ2 itself. There are no others, over any field.

Intuition. A subspace that contains one nonzero vector contains the whole line through it, and a subspace that contains two vectors pointing in different directions contains the whole plane. There is no room in between. The proof makes this precise with Proposition 1.4.14(b), which turns “contains these vectors” into “contains their span”, and with Exercise 1.3.37, which says when two vectors span 𝐹2.
Theorem 1.4.25 (The subspaces of 𝐹2). The subspaces of 𝐹2 are {𝟎}, the lines span(𝐯) with 𝐯≠𝟎, and 𝐹2. Two such lines span(𝐯) and span(𝐯′) are equal if and only if 𝐯′=𝑐𝐯 for some 𝑐≠0.

Proof.standard

Uses. Proposition 1.4.14 (The span is the smallest subspace containing a list), Exercise 1.3.37, Exercise 1.3.28, Example 1.4.7 (Trivial subspaces)

Hint 1. Each of the listed sets is a subspace. For the converse, let 𝑈 be a subspace and split into cases according to how much of 𝐹2 it contains.
Hint 2. If 𝑈≠{𝟎}, pick 𝐯∈𝑈 with 𝐯≠𝟎. Then span(𝐯)⊆𝑈. If this is not all of 𝑈, pick 𝐰∈𝑈 outside span(𝐯).
Hint 3. By Exercise 1.3.37(b), 𝐯,𝐰 spans 𝐹2. Now apply Proposition 1.4.14(b) again.
Sketch. The listed sets are subspaces by Example 1.4.7 and Proposition 1.4.14(a). Let 𝑈 be a subspace other than {𝟎}, and pick 𝐯≠𝟎 in 𝑈, so span(𝐯)⊆𝑈. Either 𝑈=span(𝐯), or there is 𝐰∈𝑈∖span(𝐯), and then 𝐹2=span(𝐯,𝐰)⊆𝑈 by Exercise 1.3.37(b). The statement about equal lines is Exercise 1.3.28(b).

The sets {𝟎} and 𝐹2 are subspaces (Example 1.4.7), and so is every span (Proposition 1.4.14(a)). Conversely, let 𝑈 be a subspace of 𝐹2. If 𝑈={𝟎}, we are done. Otherwise, choose 𝐯∈𝑈 with 𝐯≠𝟎. By Proposition 1.4.14(b), span(𝐯)⊆𝑈. If 𝑈=span(𝐯), then 𝑈 is a line. Otherwise, choose 𝐰∈𝑈 with 𝐰∉span(𝐯). Since 𝐯≠𝟎 and 𝐰∉span(𝐯), the list 𝐯,𝐰 spans 𝐹2 by Exercise 1.3.37(b). Both entries lie in 𝑈, so by Proposition 1.4.14(b),

𝐹2=span(𝐯,𝐰)⊆𝑈,

and 𝑈=𝐹2. The criterion for two lines to be equal is Exercise 1.3.28(b). □

Both vectors lie on the line span((2,1)), so their span is that line. In the interactive version, drag the second vector off the line: the span jumps from the line to all of ℝ2, with nothing in between.

Over ℝ, the lines span(𝐯) are the lines through the origin. Over 𝔽2 each line has two elements, and the theorem recovers the five subspaces of Example 1.4.12. Over a field with 𝑞 elements, 𝐹2 has 𝑞+1 lines (Exercise 1.4.33).

The proof was a count in disguise: 𝑈 contains no direction, one direction, or two. Section 4.1 makes this count precise. Every subspace 𝑈 of 𝐹𝑛 has a dimension between 0 and 𝑛, with 𝑈=𝐹𝑛 only for dimension 𝑛 (Proposition 4.1.21). In particular, the subspaces of ℝ3 are {𝟎}, the lines and the planes through 𝟎, and ℝ3.

Exercises

Exercise 1.4.26.routine Decide which of the following are subspaces, and justify each answer.

  1. (a){𝐱∈ℝ3|𝑥1=2𝑥3}.
  2. (b){𝐱∈ℝ3|𝑥1+𝑥2+𝑥3=1}.
  3. (c){𝐱∈ℝ3|𝑥1𝑥2=0}.
  4. (d){𝐱∈ℝ3|𝑥1≤𝑥2}.
  5. (e){𝐱∈ℝ3|𝑥12+𝑥22=0}, and the subset of ℂ3 defined by the same equation.

Solution.

Uses. Theorem 1.4.3 (Subspace criterion), Example 1.4.8 (One equation in 𝐹𝑛), Proposition 1.4.16 (Intersections of subspaces)

Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)

Hint 1. Check whether 𝟎 lies in the set first. When it does, test closure on simple vectors, such as standard vectors and their negatives.
Hint 2. For (e), over ℝ a sum of two squares vanishes only when both squares do. Over ℂ, look for a nonzero solution of 𝑧2+𝑤2=0.
Sketch. (a) Yes, an equation as in Example 1.4.8. (b) No, 𝟎 is missing. (c) No: 𝐞1+𝐞2. (d) No: (−1)𝐞2. (e) Over ℝ the set is {𝑥1=𝑥2=0}, a subspace. Over ℂ it contains (1,𝑖,0) and (1,−𝑖,0) but not their sum (2,0,0).

(a) Yes. It is the solution set of 𝑥1+0𝑥2−2𝑥3=0, a subspace by Example 1.4.8.

(b) No. The coordinates of 𝟎 add up to 0≠1.

(c) No. The vectors (1,0,0) and (0,1,0) lie in the set, but their sum (1,1,0) does not, since 1⋅1≠0.

(d) No. The vector (0,1,0) lies in the set, since 0≤1, but (−1)(0,1,0)=(0,−1,0) does not, since 0>−1.

(e) For real numbers, 𝑥12≥0 and 𝑥22≥0, so 𝑥12+𝑥22=0 holds exactly when 𝑥1=𝑥2=0. So the subset of ℝ3 is {𝐱|𝑥1=0}∩{𝐱|𝑥2=0}, an intersection of two subspaces of the form in Example 1.4.8, hence a subspace by Proposition 1.4.16. In ℂ3, the vectors (1,𝑖,0) and (1,−𝑖,0) satisfy the equation, since 1+𝑖2=1+(−𝑖)2=0, but their sum (2,0,0) gives 4+0≠0. So the subset of ℂ3 is not a subspace. The same equation defines a subspace over one field and not over the other.

Exercise 1.4.27.routine Decide which of the following are subspaces, and justify each answer. Write 𝑝=∑𝑘𝑎𝑘𝑥𝑘 for polynomials.

  1. (a){𝑓∈ℝℝ|𝑓(0)=𝑓(1)}.
  2. (b){𝑓∈ℝℝ|𝑓(1)=𝑓(0)2}.
  3. (c)The bounded functions in ℝℝ, those 𝑓 for which there is 𝑀 with |𝑓(𝑡)|≤𝑀 for all 𝑡.
  4. (d){𝑝∈ℝ[𝑥]|𝑝(1)𝑝(2)=0}.
  5. (e){𝑝∈ℝ[𝑥]|𝑎𝑘=0for every odd𝑘}.
  6. (f){𝐴∈𝐹2×2|𝑎11𝑎22=𝑎12𝑎21}.

Solution.

Uses. Theorem 1.4.3 (Subspace criterion), Definition 1.2.9 (Function spaces), Definition 1.2.13 (Polynomials), Definition 1.2.17 (Evaluation), Proposition 1.2.18 (Degree and evaluation versus the operations), Proposition 1.4.20 (Unions of two subspaces)

Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)

Hint 1. The sets defined by linear conditions, such as an equation between values or coefficients, are subspaces. For the others, look for constants, simple polynomials, or diagonal matrices that break closure.
Hint 2. For (b), try the constant function 1 and its double. For (d), try 𝑥−1 and 𝑥−2. For (f), try the two diagonal matrices with a single 1.
Sketch. (a) Yes: the condition survives sums and multiples. (b) No: the constant 1 is in it, the constant 2 is not. (c) Yes: |𝑓+𝑔|≤𝑀+𝑁 and |𝑎𝑓|≤|𝑎|𝑀. (d) No: (𝑥−1)+(𝑥−2)=2𝑥−3 is nonzero at 1 and 2. (e) Yes: coefficientwise operations. (f) No: (1000)+(0001)=𝐼.

(a) Yes. The zero function satisfies 0=0. If 𝑓(0)=𝑓(1) and 𝑔(0)=𝑔(1), then (𝑓+𝑔)(0)=𝑓(1)+𝑔(1)=(𝑓+𝑔)(1) and (𝑎𝑓)(0)=𝑎𝑓(1)=(𝑎𝑓)(1).

(b) No. The constant function 1 lies in the set, since 1=12, but 2⋅1 is the constant function 2, and 2≠22.

(c) Yes. The zero function is bounded by 𝑀=0. If |𝑓(𝑡)|≤𝑀 and |𝑔(𝑡)|≤𝑁 for all 𝑡, then |𝑓(𝑡)+𝑔(𝑡)|≤𝑀+𝑁 and |𝑎𝑓(𝑡)|≤|𝑎|𝑀 for all 𝑡, by the triangle inequality for real numbers.

(d) No. The polynomials 𝑥−1 and 𝑥−2 lie in the set, but their sum 𝑝=2𝑥−3 has 𝑝(1)𝑝(2)=(−1)⋅1=−1. In fact, since ℝ has no zero divisors, the set is the union of the subspaces {𝑝(1)=0} and {𝑝(2)=0} of Example 1.4.9, and neither contains the other (𝑥−1 is in the first only, 𝑥−2 in the second only), so Proposition 1.4.20 also shows that it is not a subspace.

(e) Yes. The operations of ℝ[𝑥] are coefficientwise, so if 𝑎𝑘=𝑏𝑘=0 for every odd 𝑘, then 𝑎𝑘+𝑏𝑘=0 and 𝑐𝑎𝑘=0 for every odd 𝑘; and 𝟎 has all coefficients 0.

(f) No, over every field. The matrices (1000) and (0001) satisfy the equation, since 1⋅0=0⋅0, but their sum (1001) gives 1⋅1≠0⋅0.

Exercise 1.4.28.standard By Proposition 1.2.19, ℂ2 is a vector space over ℂ and also over ℝ, with the same addition. For 𝑧=𝑎+𝑏𝑖 with 𝑎,𝑏∈ℝ, write 𝑧=𝑎−𝑏𝑖.

  1. (a)Show that every subspace of ℂ2 over ℂ is also a subspace of ℂ2 over ℝ.
  2. (b)For each of the sets ℝ2={(𝑎,𝑏)|𝑎,𝑏∈ℝ} and 𝐷={(𝑧,𝑧)|𝑧∈ℂ}, decide whether it is a subspace of ℂ2 over ℝ, and whether it is a subspace over ℂ.

Solution.

Uses. Theorem 1.4.3 (Subspace criterion), Proposition 1.2.19 (Restriction of scalars)

Hint 1. The conditions 𝟎∈𝑊 and closure under addition do not depend on the field. Only closure under scalar multiplication does, and over ℝ there are fewer scalars to test.
Hint 2. For (b), test multiplication by 𝑖. For 𝐷 over ℝ, check that 𝑧+𝑤=𝑧+𝑤 and 𝑟𝑧=𝑟𝑧 for real 𝑟.
Sketch. (a) A set closed under multiplication by all complex scalars is closed under multiplication by the real ones. (b) ℝ2 is a real subspace but not a complex one: 𝑖(1,0)=(𝑖,0). 𝐷 is a real subspace, since conjugation is additive and commutes with real scalars, but not a complex one: (1,1)∈𝐷 and 𝑖(1,1)=(𝑖,𝑖)∉𝐷.

(a) Let 𝑊 be a subspace of ℂ2 over ℂ. Then 𝟎∈𝑊, 𝑊 is closed under addition, and 𝑐𝐰∈𝑊 for all 𝑐∈ℂ and 𝐰∈𝑊, in particular for all real 𝑐. The real vector space ℂ2 has the same addition, and its scalar multiplication is the complex one restricted to real scalars. So 𝑊 satisfies (III) of Theorem 1.4.3 over ℝ.

(b) ℝ2. It contains 𝟎=(0,0), sums of pairs of real numbers are pairs of real numbers, and so are real multiples. So ℝ2 is a subspace of ℂ2 over ℝ. It is not a subspace over ℂ: (1,0)∈ℝ2 but 𝑖(1,0)=(𝑖,0)∉ℝ2.

𝐷. For 𝑧=𝑎+𝑏𝑖 and 𝑤=𝑐+𝑑𝑖,

𝑧+𝑤=(𝑎+𝑐)−(𝑏+𝑑)𝑖=𝑧+𝑤,

and for real 𝑟, 𝑟𝑧=𝑟𝑎−𝑟𝑏𝑖=𝑟𝑧. So 𝐷 contains (0,0)=𝟎, and

(𝑧,𝑧)+(𝑤,𝑤)=(𝑧+𝑤,𝑧+𝑤),𝑟(𝑧,𝑧)=(𝑟𝑧,𝑟𝑧)

lie in 𝐷. Hence 𝐷 is a subspace over ℝ. It is not a subspace over ℂ: (1,1)=(1,1)∈𝐷, but 𝑖(1,1)=(𝑖,𝑖), and 𝑖=−𝑖≠𝑖.

So the converse of (a) fails.

Exercise 1.4.29.routine Find the error in the following argument.

Claim. The set 𝑃={𝑡∈ℝ|𝑡>0} is a subspace of the real vector space ℝ.

Proof. For 𝑠,𝑡∈𝑃 and 𝑐∈ℝ, define 𝑠⊕𝑡=𝑠𝑡 and 𝑐⊙𝑡=𝑡𝑐. With these operations, 𝑃 is a real vector space, with zero vector 1. Hence 𝑃 is a subspace of ℝ.

(You may take for granted that 𝑃 is a real vector space under ⊕ and ⊙.)

Solution.

Uses. Definition 1.4.1 (Subspace), Theorem 1.4.3 (Subspace criterion), Remark 1.4.4 (The zero vector of a subspace)

Hint 1. Reread Definition 1.4.1. Under which operations must a subspace be a vector space?
Hint 2. Test 𝑃 against (III) of Theorem 1.4.3, with the usual operations of ℝ.
Sketch. A subspace must be a vector space under the operations of ℝ itself, not under new ones. Under the usual operations, 0∉𝑃 and (−1)⋅1=−1∉𝑃. The claimed zero vector 1 is also a giveaway: a subspace’s zero is the zero of ℝ (Remark 1.4.4).

The argument shows that 𝑃 is a vector space, but under operations that are not those of ℝ. Definition 1.4.1 requires 𝑃 to be a vector space under the addition and scalar multiplication of ℝ, restricted to 𝑃. Under these, 𝑃 fails (III) of Theorem 1.4.3: 0∉𝑃, and 1∈𝑃 while (−1)⋅1=−1∉𝑃. So 𝑃 is not a subspace of ℝ.

The zero vector 1 is a symptom of the error: by Remark 1.4.4, the zero vector of a subspace of ℝ must be the real number 0.

Exercise 1.4.30.routine Find the error in the following argument.

Claim. If 𝑈 and 𝑊 are subspaces of 𝑉, then 𝑈∪𝑊 is a subspace of 𝑉.

Proof. Since 𝟎∈𝑈, we have 𝟎∈𝑈∪𝑊. Let 𝐯∈𝑈∪𝑊 and 𝑎∈𝐹. Then 𝐯 lies in 𝑈 or in 𝑊, and in either case 𝑎𝐯 lies in the same subspace, hence in 𝑈∪𝑊. Finally, let 𝐯,𝐰∈𝑈∪𝑊. Each of them lies in 𝑈 or in 𝑊, and 𝑈 and 𝑊 are closed under addition, so 𝐯+𝐰∈𝑈 or 𝐯+𝐰∈𝑊. Hence 𝐯+𝐰∈𝑈∪𝑊.

Solution.

Uses. Proposition 1.4.20 (Unions of two subspaces), Lemma 1.4.19 (Adding a vector outside a subspace), Non-example 1.4.13 (Three ways to fail)

Hint 1. Two of the three steps are correct. Which one quietly assumes something about where 𝐯 and 𝐰 lie?
Hint 2. Closure of 𝑈 under addition says something about two vectors of 𝑈. What if 𝐯∈𝑈 and 𝐰∈𝑊?
Sketch. The last step applies closure of 𝑈 (or of 𝑊) to two vectors that need not both lie in 𝑈 (or both in 𝑊). In the mixed case 𝐯∈𝑈∖𝑊, 𝐰∈𝑊∖𝑈, the sum lies in neither (Lemma 1.4.19); the axes of ℝ2 are a counterexample to the claim.
The first two steps are correct: 𝑈∪𝑊 always contains 𝟎 and is closed under scalar multiplication. The error is in the last step. Closure of 𝑈 under addition applies when 𝐯 and 𝐰 both lie in 𝑈, and closure of 𝑊 when both lie in 𝑊. The argument ignores the mixed case, 𝐯∈𝑈 and 𝐰∈𝑊 with 𝐯∉𝑊 and 𝐰∉𝑈, and in that case 𝐯+𝐰 lies in neither subspace, by Lemma 1.4.19. The claim is false: for the two axes of ℝ2, (1,0)+(0,1)=(1,1) lies on neither axis (Non-example 1.4.13). By Proposition 1.4.20, it holds exactly when one subspace contains the other, which is exactly when the mixed case cannot occur.
Exercise 1.4.31.standard
  1. (a)Let 𝑝 be a prime, and let 𝑉 be a vector space over 𝔽𝑝. Show that a nonempty subset 𝑊⊆𝑉 that is closed under addition is a subspace.
  2. (b)Show that (a) fails over ℚ: find a nonempty subset of ℚ2 that is closed under addition and under 𝐯↦−𝐯, but is not a subspace of the ℚ-vector space ℚ2.

Solution.

Uses. Theorem 1.4.3 (Subspace criterion), Definition 1.1.19 (Integers modulo 𝑛), Definition 1.2.1 (Vector space)

Hint 1. In 𝔽𝑝, every scalar is a sum of 1′s: 𝑐=1+⋯+1 (𝑐 terms) for 1≤𝑐≤𝑝−1, and 0 is the sum of 𝑝 ones.
Hint 2. By (A8) and (A5), (1+⋯+1)𝐰=𝐰+⋯+𝐰. For (b), think of the integers inside ℚ.
Sketch. (a) For 𝐰∈𝑊 and 𝑚≥1, 𝑚∗𝐰∈𝑊 by closure, and (𝑚∗1)𝐰=𝑚∗𝐰 by (A8) and (A5). Every 𝑐∈𝔽𝑝 equals 𝑚∗1 for some 1≤𝑚≤𝑝, so 𝑐𝐰∈𝑊; with 𝑐=0 this gives 𝟎∈𝑊. (b) ℤ2: closed under sums and negatives, but 12(1,0)∉ℤ2.

(a) For a positive integer 𝑚, write 𝑚∗𝐰=𝐰+⋯+𝐰 (𝑚 terms) and 𝑚∗1=1+⋯+1 in 𝔽𝑝. We claim that (𝑚∗1)𝐰=𝑚∗𝐰, by induction on 𝑚. For 𝑚=1 this is (A5). For 𝑚≥2, by (A8), the inductive hypothesis, and (A5),

(𝑚∗1)𝐰=((𝑚−1)∗1+1)𝐰=(𝑚−1)∗𝐰+1𝐰=𝑚∗𝐰.

Now let 𝐰∈𝑊, which exists since 𝑊≠∅. By closure under addition and induction on 𝑚, 𝑚∗𝐰∈𝑊 for every 𝑚≥1. Every 𝑐∈𝔽𝑝 is of the form 𝑚∗1 with 1≤𝑚≤𝑝: for 𝑐∈{1,…,𝑝−1}, the sum of 𝑐 ones in 𝔽𝑝 is 𝑐, and the sum of 𝑝 ones is 𝑝mod𝑝=0. So 𝑐𝐰=𝑚∗𝐰∈𝑊 for every 𝑐∈𝔽𝑝. With 𝑐=0 this gives 𝟎=0𝐰∈𝑊. Hence 𝑊 satisfies (III) of Theorem 1.4.3.

(b) Let 𝑊=ℤ2={(𝑚,𝑛)|𝑚,𝑛∈ℤ}. It contains (0,0), and sums and negatives of pairs of integers are pairs of integers. But (1,0)∈𝑊 and 12(1,0)=(12,0)∉𝑊, so 𝑊 is not a subspace. The proof of (a) fails because 12 is not a sum of 1′s in ℚ.

Exercise 1.4.32.standard For which primes 𝑝 is 𝑆𝑝={(𝑥,𝑦)∈𝔽𝑝2|𝑥2=𝑦2} a subspace of 𝔽𝑝2?

Solution.

Uses. Exercise 1.1.40, Proposition 1.4.20 (Unions of two subspaces), Example 1.4.8 (One equation in 𝐹𝑛)

Techniques. Try small cases and small fields (Technique 1.2.38)

Hint 1. Factor: 𝑥2=𝑦2 if and only if 𝑥=𝑦 or 𝑥=−𝑦 (Exercise 1.1.40). So 𝑆𝑝 is a union of two lines.
Hint 2. When are the two lines 𝑥=𝑦 and 𝑥=−𝑦 the same line? If they differ, apply Proposition 1.4.20.
Sketch. By Exercise 1.1.40, 𝑆𝑝=𝐷∪𝐷′ with 𝐷={𝑥=𝑦} and 𝐷′={𝑥=−𝑦}, both subspaces. For 𝑝=2, −1=1, so 𝑆2=𝐷 is a subspace. For odd 𝑝, 1≠−1, so (1,1)∈𝐷∖𝐷′ and (1,−1)∈𝐷′∖𝐷, and 𝑆𝑝 is not a subspace by Proposition 1.4.20; indeed (1,1)+(1,−1)=(2,0)∉𝑆𝑝. Answer: 𝑝=2 only.

By Exercise 1.1.40, 𝑥2=𝑦2 holds if and only if 𝑥=𝑦 or 𝑥=−𝑦. So 𝑆𝑝=𝐷∪𝐷′, where

𝐷={(𝑥,𝑦)|𝑥−𝑦=0},𝐷′={(𝑥,𝑦)|𝑥+𝑦=0}

are subspaces of 𝔽𝑝2 by Example 1.4.8.

If 𝑝=2, then −1=1 in 𝔽2, so 𝐷′=𝐷 and 𝑆2=𝐷 is a subspace. (It is {𝟎,(1,1)}.)

If 𝑝 is odd, then 1+1=2≠0 in 𝔽𝑝, so 1≠−1. Then (1,1)∈𝐷 but (1,1)∉𝐷′, since 1+1≠0; and (1,−1)∈𝐷′ but (1,−1)∉𝐷, since 1−(−1)=2≠0. So neither of 𝐷, 𝐷′ contains the other, and 𝑆𝑝=𝐷∪𝐷′ is not a subspace by Proposition 1.4.20. Concretely, (1,1)+(1,−1)=(2,0), and 22=4≠0=02 in 𝔽𝑝.

So 𝑆𝑝 is a subspace exactly when 𝑝=2.

Exercise 1.4.33.standard
  1. (a)List all subspaces of 𝔽32, writing each line as a set of three vectors.
  2. (b)Let 𝐹 be a finite field with 𝑞 elements. Show that 𝐹2 has exactly 𝑞+1 lines span(𝐯), 𝐯≠𝟎, and hence exactly 𝑞+3 subspaces.

Solution.

Uses. Theorem 1.4.25 (The subspaces of 𝐹2), Exercise 1.3.28, Corollary 1.2.36 (Cancelling scalars and vectors)

Hint 1. By Theorem 1.4.25, it suffices to count lines. How many elements does a line span(𝐯) have, and how many of them are nonzero?
Hint 2. Every nonzero vector lies on exactly one line. So the lines split the 𝑞2−1 nonzero vectors into groups of equal size.
Sketch. (a) {𝟎}, four lines {𝟎,(1,0),(2,0)}, {𝟎,(0,1),(0,2)}, {𝟎,(1,1),(2,2)}, {𝟎,(1,2),(2,1)}, and 𝔽32. (b) A line has 𝑞 elements, 𝑞−1 of them nonzero, and each nonzero 𝐯 lies on exactly one line, span(𝐯). So there are (𝑞2−1)/(𝑞−1)=𝑞+1 lines, plus {𝟎} and 𝐹2.

(b) By Theorem 1.4.25, the subspaces of 𝐹2 are {𝟎}, the lines, and 𝐹2, and these are different: {𝟎} has 1 element, a line has 𝑞 (see below), and 𝐹2 has 𝑞2, with 1<𝑞<𝑞2 as 𝑞≥2. So it suffices to count the lines.

Let 𝐯≠𝟎. By Corollary 1.2.36(b), the vectors 𝑎𝐯, 𝑎∈𝐹, are distinct, so span(𝐯) has exactly 𝑞 elements, of which 𝑞−1 are nonzero. Every nonzero vector 𝐰 lies on exactly one line. It lies on span(𝐰). If it also lies on span(𝐯), then 𝐰=𝑐𝐯 with 𝑐≠0 (as 𝐰≠𝟎), and span(𝐰)=span(𝐯) by Exercise 1.3.28(b). So the lines partition the 𝑞2−1 nonzero vectors of 𝐹2 into blocks of 𝑞−1 vectors, and there are

𝑞2−1𝑞−1=𝑞+1

lines. Together with {𝟎} and 𝐹2, this gives 𝑞+3 subspaces.

(a) For 𝑞=3 there are 4 lines. Listing the multiples 0𝐯,1𝐯,2𝐯 of 𝐯=(1,0),(0,1),(1,1),(1,2) in 𝔽32, the six subspaces are

{𝟎},{𝟎,(1,0),(2,0)},{𝟎,(0,1),(0,2)},{𝟎,(1,1),(2,2)},{𝟎,(1,2),(2,1)},𝔽32.

The four lines contain 4⋅2=8 nonzero vectors, which are all the nonzero vectors of 𝔽32, as (b) predicts.

Exercise 1.4.34.standard Let 𝜎:𝐹2→𝐹2 swap the coordinates, 𝜎(𝑥,𝑦)=(𝑦,𝑥). Find all subspaces 𝑈 of 𝐹2 such that 𝜎(𝐮)∈𝑈 for every 𝐮∈𝑈. The answer depends on whether 1+1=0 in 𝐹.

Solution.

Uses. Theorem 1.4.25 (The subspaces of 𝐹2), Exercise 1.1.40, Exercise 1.3.28

Hint 1. By Theorem 1.4.25, only the lines span(𝐯) need thought. Show that such a line qualifies exactly when 𝜎(𝐯)=𝑐𝐯 for some 𝑐∈𝐹.
Hint 2. Write 𝐯=(𝑎,𝑏). From 𝑏=𝑐𝑎 and 𝑎=𝑐𝑏, deduce 𝑐2=1, so 𝑐=±1.
Sketch. {𝟎} and 𝐹2 qualify. A line span(𝐯) qualifies iff 𝜎(𝐯)∈span(𝐯), since 𝜎(𝑡𝐯)=𝑡𝜎(𝐯). With 𝐯=(𝑎,𝑏) and 𝜎(𝐯)=𝑐𝐯: 𝑎=𝑐2𝑎, 𝑏=𝑐2𝑏, so 𝑐2=1 and 𝑐=±1, giving the lines span((1,1)) and span((1,−1)). These are different iff 1+1≠0. So there are four such subspaces if 1+1≠0, and three if 1+1=0.

Call 𝑈 swap-closed if 𝜎(𝐮)∈𝑈 for all 𝐮∈𝑈. Clearly {𝟎} and 𝐹2 are swap-closed. By Theorem 1.4.25, every other subspace is a line span(𝐯) with 𝐯=(𝑎,𝑏)≠𝟎. For 𝑡∈𝐹, 𝜎(𝑡𝐯)=(𝑡𝑏,𝑡𝑎)=𝑡𝜎(𝐯). So if 𝜎(𝐯)∈span(𝐯), then 𝜎 maps all of span(𝐯) into span(𝐯); and conversely a swap-closed line contains 𝜎(𝐯). Hence span(𝐯) is swap-closed if and only if 𝜎(𝐯)=𝑐𝐯 for some 𝑐∈𝐹, that is, 𝑏=𝑐𝑎 and 𝑎=𝑐𝑏.

Suppose 𝑏=𝑐𝑎 and 𝑎=𝑐𝑏. Then 𝑎=𝑐2𝑎 and 𝑏=𝑐2𝑏. Since 𝑎 or 𝑏 is nonzero, 𝑐2=1, and by Exercise 1.1.40, 𝑐=1 or 𝑐=−1. If 𝑐=1, then 𝑎=𝑏 and 𝐯=𝑎(1,1). If 𝑐=−1, then 𝑏=−𝑎 and 𝐯=𝑎(1,−1). Either way 𝑎≠0, so span(𝐯) is span((1,1)) or span((1,−1)) by Exercise 1.3.28(b). Conversely, both lines are swap-closed, since 𝜎(1,1)=(1,1) and 𝜎(1,−1)=(−1,1)=−(1,−1).

If 1+1≠0, the two lines are different, because (1,−1)=𝑐(1,1) would force 𝑐=1 and 𝑐=−1. Then the swap-closed subspaces are the four subspaces {𝟎}, span((1,1)), span((1,−1)), and 𝐹2. If 1+1=0, then −1=1, the two lines coincide, and there are three: {𝟎}, span((1,1)), and 𝐹2. Over ℝ, the two lines are the diagonals, the mirror of 𝜎 and the line it reverses. Vectors 𝐯 with 𝜎(𝐯)=𝑐𝐯 are eigenvectors, the subject of Section 7.2.

Exercise 1.4.35.standard Let 𝐸 and 𝑂 be the subspaces of even and odd functions in ℝℝ (Example 1.4.10).

  1. (a)Show that 𝐸∩𝑂={𝟎} and 𝐸+𝑂=ℝℝ.
  2. (b)Over 𝔽2, call 𝑓:𝔽2→𝔽2 even if 𝑓(−𝑡)=𝑓(𝑡) for all 𝑡, and odd if 𝑓(−𝑡)=−𝑓(𝑡) for all 𝑡. Show that every such 𝑓 is both even and odd. Which steps of (a) fail over 𝔽2?

Solution.

Uses. Proposition 1.4.24 (The sum of two subspaces), Example 1.4.10 (Functions)

Techniques. Double containment (Technique 1.3.14)

Hint 1. For 𝐸∩𝑂: if 𝑓 is both even and odd, compare 𝑓(−𝑡) computed both ways.
Hint 2. For 𝐸+𝑂, guess the even part of 𝑓 by symmetrizing: average 𝑓(𝑡) and 𝑓(−𝑡). The odd part is what remains.
Sketch. (a) If 𝑓∈𝐸∩𝑂, then 𝑓(𝑡)=𝑓(−𝑡)=−𝑓(𝑡), so 2𝑓(𝑡)=0. Every 𝑓 is 𝑓𝑒+𝑓𝑜 with 𝑓𝑒(𝑡)=(𝑓(𝑡)+𝑓(−𝑡))/2 even and 𝑓𝑜(𝑡)=(𝑓(𝑡)−𝑓(−𝑡))/2 odd. (b) In 𝔽2, −𝑡=𝑡 and −𝑓(𝑡)=𝑓(𝑡), so both conditions read 𝑓(𝑡)=𝑓(𝑡). Then 𝐸+𝑂 is still everything, but 𝐸∩𝑂≠{𝟎}: the step 2𝑓(𝑡)=0⇒𝑓(𝑡)=0 divides by 2=0.

(a) If 𝑓∈𝐸∩𝑂, then for every 𝑡, 𝑓(𝑡)=𝑓(−𝑡)=−𝑓(𝑡), so 2𝑓(𝑡)=0 and 𝑓(𝑡)=0. Hence 𝐸∩𝑂={𝟎}.

For the sum, 𝐸+𝑂⊆ℝℝ holds trivially. Conversely, let 𝑓∈ℝℝ, and define

𝑓𝑒(𝑡)=𝑓(𝑡)+𝑓(−𝑡)2,𝑓𝑜(𝑡)=𝑓(𝑡)−𝑓(−𝑡)2.

Then 𝑓𝑒(−𝑡)=(𝑓(−𝑡)+𝑓(𝑡))/2=𝑓𝑒(𝑡), so 𝑓𝑒∈𝐸; 𝑓𝑜(−𝑡)=(𝑓(−𝑡)−𝑓(𝑡))/2=−𝑓𝑜(𝑡), so 𝑓𝑜∈𝑂; and 𝑓𝑒(𝑡)+𝑓𝑜(𝑡)=𝑓(𝑡) for every 𝑡. So 𝑓=𝑓𝑒+𝑓𝑜∈𝐸+𝑂, and 𝐸+𝑂=ℝℝ.

(b) In 𝔽2, −𝑎=𝑎 for every 𝑎, since 𝑎+𝑎=(1+1)𝑎=0. So for every 𝑓:𝔽2→𝔽2 and every 𝑡, 𝑓(−𝑡)=𝑓(𝑡) and −𝑓(𝑡)=𝑓(𝑡), and both conditions read 𝑓(𝑡)=𝑓(𝑡). Every function is even and odd: 𝐸=𝑂=𝔽2𝔽2. So 𝐸+𝑂=𝔽2𝔽2 still holds, trivially, but 𝐸∩𝑂≠{𝟎}, and a function no longer has just one decomposition into an even and an odd part. The first argument in (a) fails because it passes from 2𝑓(𝑡)=0 to 𝑓(𝑡)=0, and the formulas for 𝑓𝑒 and 𝑓𝑜 in the second involve 1/2. In 𝔽2, 2=0 has no inverse.

Exercise 1.4.36.standard Let 𝑛≥2. In 𝐹𝑛×𝑛, let 𝑆 be the symmetric matrices, 𝑁 the strictly upper triangular matrices (𝑎𝑖𝑗=0 whenever 𝑖≥𝑗), and 𝐾 the skew-symmetric matrices (𝑎𝑖𝑗=−𝑎𝑗𝑖 for all 𝑖,𝑗).

  1. (a)Show that 𝑁 and 𝐾 are subspaces, that 𝑆∩𝑁={𝟎}, and that 𝑆+𝑁=𝐹𝑛×𝑛. This holds over every field.
  2. (b)Show that 𝑆+𝐾=𝐹𝑛×𝑛 if and only if 1+1≠0 in 𝐹.

Solution.

Uses. Proposition 1.4.24 (The sum of two subspaces), Example 1.4.11 (Matrices), Theorem 1.4.3 (Subspace criterion)

Techniques. Double containment (Technique 1.3.14)

Hint 1. 𝑁 and 𝐾 are cut out by entrywise equations, as in Example 1.4.11. For 𝑆+𝑁=𝐹𝑛×𝑛, build the symmetric part of 𝐴 from the entries of 𝐴 on and below the diagonal.
Hint 2. For (b) with 1+1≠0, use (𝐴+𝐴𝖳)/2 and (𝐴−𝐴𝖳)/2, written entrywise. If 1+1=0, compare the conditions defining 𝐾 and 𝑆.
Sketch. (a) A matrix in 𝑆∩𝑁 vanishes on and below the diagonal, and its entries above equal entries below. For 𝐴, let 𝐵 copy 𝐴 on and below the diagonal and be symmetric; then 𝐴−𝐵∈𝑁. (b) If 1+1≠0, 𝑎𝑖𝑗=ℎ(𝑎𝑖𝑗+𝑎𝑗𝑖)+ℎ(𝑎𝑖𝑗−𝑎𝑗𝑖) with ℎ=(1+1)−1. If 1+1=0, then −𝑎=𝑎, so 𝐾=𝑆 and 𝑆+𝐾=𝑆, which misses the matrix with a single 1 in position (1,2).

(a) The zero matrix satisfies the conditions defining 𝑁 and 𝐾. If 𝐴,𝐵∈𝑁 and 𝑐∈𝐹, then for 𝑖≥𝑗, 𝑎𝑖𝑗+𝑏𝑖𝑗=0 and 𝑐𝑎𝑖𝑗=0, so 𝐴+𝐵,𝑐𝐴∈𝑁. If 𝐴,𝐵∈𝐾, then 𝑎𝑖𝑗+𝑏𝑖𝑗=−𝑎𝑗𝑖−𝑏𝑗𝑖=−(𝑎𝑗𝑖+𝑏𝑗𝑖) and 𝑐𝑎𝑖𝑗=−(𝑐𝑎𝑗𝑖), so 𝐴+𝐵,𝑐𝐴∈𝐾. So 𝑁 and 𝐾 are subspaces.

Let 𝐴∈𝑆∩𝑁. For 𝑖≥𝑗, 𝑎𝑖𝑗=0 because 𝐴∈𝑁. For 𝑖<𝑗, 𝑎𝑖𝑗=𝑎𝑗𝑖 because 𝐴∈𝑆, and 𝑎𝑗𝑖=0 because 𝑗>𝑖. So 𝐴=𝟎.

Let 𝐴∈𝐹𝑛×𝑛, and define 𝐵 by 𝑏𝑖𝑗=𝑎𝑖𝑗 if 𝑖≥𝑗 and 𝑏𝑖𝑗=𝑎𝑗𝑖 if 𝑖<𝑗. Then 𝐵 is symmetric: for 𝑖>𝑗, 𝑏𝑖𝑗=𝑎𝑖𝑗, and 𝑏𝑗𝑖=𝑎𝑖𝑗 since 𝑗<𝑖. Let 𝐶=𝐴−𝐵. For 𝑖≥𝑗, 𝑐𝑖𝑗=𝑎𝑖𝑗−𝑎𝑖𝑗=0, so 𝐶∈𝑁. Hence 𝐴=𝐵+𝐶∈𝑆+𝑁, and 𝑆+𝑁=𝐹𝑛×𝑛.

(b) Suppose 1+1≠0, and let ℎ=(1+1)−1. For 𝐴∈𝐹𝑛×𝑛, define 𝐵 and 𝐶 by

𝑏𝑖𝑗=ℎ(𝑎𝑖𝑗+𝑎𝑗𝑖),𝑐𝑖𝑗=ℎ(𝑎𝑖𝑗−𝑎𝑗𝑖).

Then 𝑏𝑗𝑖=𝑏𝑖𝑗 and 𝑐𝑗𝑖=−𝑐𝑖𝑗, so 𝐵∈𝑆 and 𝐶∈𝐾, and 𝑏𝑖𝑗+𝑐𝑖𝑗=ℎ(1+1)𝑎𝑖𝑗=𝑎𝑖𝑗. So 𝐴=𝐵+𝐶, and 𝑆+𝐾=𝐹𝑛×𝑛.

Suppose 1+1=0. Then −𝑎=𝑎 for all 𝑎∈𝐹, so the condition 𝑎𝑖𝑗=−𝑎𝑗𝑖 is the condition 𝑎𝑖𝑗=𝑎𝑗𝑖, and 𝐾=𝑆. Hence 𝑆+𝐾=𝑆 by Proposition 1.4.24. Since 𝑛≥2, the matrix 𝐸 with 1 in position (1,2) and 0 elsewhere is not symmetric (𝑒12=1≠0=𝑒21), so 𝑆+𝐾≠𝐹𝑛×𝑛.

Exercise 1.4.37.standard Let 𝑈, 𝑊, and 𝑋 be subspaces of 𝑉. Prove or disprove each statement.

  1. (a)If 𝑈+𝑊=𝑈+𝑋, then 𝑊=𝑋.
  2. (b)𝑈∩(𝑊+𝑋)=(𝑈∩𝑊)+(𝑈∩𝑋).
  3. (c)If 𝑊⊆𝑈, then 𝑈∩(𝑊+𝑋)=𝑊+(𝑈∩𝑋).

Solution.

Hint 1. Look for counterexamples among {𝟎}, ℝ2, and lines in ℝ2. For (b), use three different lines.
Hint 2. For (c), one containment follows from Proposition 1.4.24(b). For the other, write 𝐯∈𝑈∩(𝑊+𝑋) as 𝐰+𝐱 and show that 𝐱∈𝑈.
Sketch. (a) False: 𝑈=ℝ2, 𝑊={𝟎}, 𝑋=ℝ2. (b) False: with the lines 𝑈=span((1,1)), 𝑊=span(𝐞1), 𝑋=span(𝐞2), the left side is 𝑈 and the right side is {𝟎}. (c) True. 𝑊 and 𝑈∩𝑋 lie in 𝑈∩(𝑊+𝑋), which gives ⊇. If 𝐯=𝐰+𝐱∈𝑈, then 𝐱=𝐯−𝐰∈𝑈 because 𝐰∈𝑊⊆𝑈, so 𝐯∈𝑊+(𝑈∩𝑋).

(a) False. In 𝑉=ℝ2, take 𝑈=ℝ2, 𝑊={𝟎}, and 𝑋=ℝ2. Then 𝑈+𝑊=ℝ2=𝑈+𝑋, but 𝑊≠𝑋.

(b) False. In ℝ2, take 𝑈=span((1,1)), 𝑊=span(𝐞1), and 𝑋=span(𝐞2). Then 𝑊+𝑋=span(𝐞1,𝐞2)=ℝ2 (Exercise 1.3.36), so the left side is 𝑈. On the other hand, 𝑈∩𝑊={𝟎}: if (𝑡,𝑡)=(𝑠,0) then 𝑡=0. Likewise 𝑈∩𝑋={𝟎}. So the right side is {𝟎}+{𝟎}={𝟎}≠𝑈. (The containment ⊇ always holds: 𝑈∩𝑊 lies in 𝑈 and in 𝑊⊆𝑊+𝑋, likewise 𝑈∩𝑋, and Proposition 1.4.24(b) applies.)

(c) True. We proceed by double containment.

⊇. 𝑊⊆𝑈 by hypothesis and 𝑊⊆𝑊+𝑋 by Proposition 1.4.24(a), so 𝑊⊆𝑈∩(𝑊+𝑋). Also 𝑈∩𝑋⊆𝑈, and 𝑈∩𝑋⊆𝑋⊆𝑊+𝑋, so 𝑈∩𝑋⊆𝑈∩(𝑊+𝑋). The set 𝑈∩(𝑊+𝑋) is a subspace by Proposition 1.4.24(a) and Proposition 1.4.16, so it contains 𝑊+(𝑈∩𝑋) by Proposition 1.4.24(b).

⊆. Let 𝐯∈𝑈∩(𝑊+𝑋), and write 𝐯=𝐰+𝐱 with 𝐰∈𝑊 and 𝐱∈𝑋. Since 𝐰∈𝑊⊆𝑈 and 𝐯∈𝑈, we get 𝐱=𝐯−𝐰∈𝑈. So 𝐱∈𝑈∩𝑋, and 𝐯=𝐰+𝐱∈𝑊+(𝑈∩𝑋).

Statement (c) is called the modular law. The counterexample in (b) shows that the hypothesis 𝑊⊆𝑈 cannot simply be dropped.

Exercise 1.4.38.standard Let 𝑈 be a proper subspace of 𝑉. Show that the only subspace of 𝑉 that contains every vector outside 𝑈 is 𝑉 itself.

Solution.

Uses. Lemma 1.4.19 (Adding a vector outside a subspace), Theorem 1.4.3 (Subspace criterion)

Hint 1. Let 𝑋 be a subspace containing 𝑉∖𝑈. You need to show that 𝑈⊆𝑋 too. Fix a vector 𝐯 outside 𝑈.
Hint 2. For 𝐮∈𝑈, where does 𝐮+𝐯 lie? Then write 𝐮 in terms of 𝐮+𝐯 and 𝐯.
Sketch. Let 𝑋 contain 𝑉∖𝑈, and fix 𝐯∉𝑈. For 𝐮∈𝑈, 𝐮+𝐯∉𝑈 by Lemma 1.4.19, so 𝐮+𝐯∈𝑋; also 𝐯∈𝑋, so 𝐮=(𝐮+𝐯)−𝐯∈𝑋. Hence 𝑋⊇𝑈∪(𝑉∖𝑈)=𝑉.

Let 𝑋 be a subspace of 𝑉 that contains every vector of 𝑉∖𝑈. Since 𝑈≠𝑉, we may fix 𝐯∈𝑉 with 𝐯∉𝑈; then 𝐯∈𝑋. Let 𝐮∈𝑈. By Lemma 1.4.19, 𝐮+𝐯∉𝑈, so 𝐮+𝐯∈𝑋. Hence

𝐮=(𝐮+𝐯)+(−1)𝐯∈𝑋

by (II) of Theorem 1.4.3. So 𝑈⊆𝑋, and with 𝑉∖𝑈⊆𝑋 this gives 𝑋=𝑉.

In other words, the vectors outside a proper subspace generate everything: every 𝐮∈𝑈 is the difference of two vectors outside 𝑈.

Exercise 1.4.39.standard
  1. (a)Let 𝑈 be a subspace of 𝐹[𝑥] that contains a polynomial of degree 𝑘 for every 𝑘≥0. Show that 𝑈=𝐹[𝑥].
  2. (b)Find a proper subspace of 𝐹[𝑥] that contains polynomials of infinitely many different degrees.

Solution.

Uses. Exercise 1.3.33, Proposition 1.4.14 (The span is the smallest subspace containing a list), Example 1.4.23 (𝐹[𝑥] as a union of a chain), Exercise 1.4.27

Hint 1. Choose 𝑝𝑘∈𝑈 of degree 𝑘 for each 𝑘. What is span(𝑝0,…,𝑝𝑛)? See Exercise 1.3.33.
Hint 2. Every polynomial lies in some 𝐹[𝑥]≤𝑛. For (b), consider the even polynomials.
Sketch. (a) With deg𝑝𝑘=𝑘, 𝐹[𝑥]≤𝑛=span(𝑝0,…,𝑝𝑛)⊆𝑈 for every 𝑛, and every polynomial lies in some 𝐹[𝑥]≤𝑛. (b) The polynomials with 𝑎𝑘=0 for all odd 𝑘: a subspace containing 𝑥2𝑘 for every 𝑘, but not 𝑥.

(a) For each 𝑘≥0, choose 𝑝𝑘∈𝑈 with deg𝑝𝑘=𝑘. Let 𝑛≥0. By Exercise 1.3.33(a), span(𝑝0,…,𝑝𝑛)=𝐹[𝑥]≤𝑛, and since 𝑝0,…,𝑝𝑛∈𝑈, Proposition 1.4.14(b) gives 𝐹[𝑥]≤𝑛⊆𝑈. Every polynomial lies in 𝐹[𝑥]≤𝑛 for some 𝑛: take 𝑛=deg𝑝 if 𝑝≠𝟎 and 𝑛=0 if 𝑝=𝟎. Hence 𝐹[𝑥]=⋃𝑛≥0𝐹[𝑥]≤𝑛⊆𝑈.

(b) Let 𝑈 be the set of polynomials whose coefficients 𝑎𝑘 vanish for every odd 𝑘. It is a subspace (the argument of Exercise 1.4.27(e) works over every field), it contains 𝑥2𝑘 for every 𝑘≥0, and it does not contain 𝑥. So it is proper. Part (a) shows that it must miss some degree, and it misses all the odd ones.

Exercise 1.4.40.hard A function 𝑓:ℝ→ℝ has period 𝑝>0 if 𝑓(𝑡+𝑝)=𝑓(𝑡) for all 𝑡∈ℝ, and 𝑓 is periodic if it has some period.

  1. (a)Show that the functions with period 1 form a subspace of ℝℝ.
  2. (b)Is the set of all periodic functions a subspace of ℝℝ?

Solution.

Uses. Theorem 1.4.3 (Subspace criterion), Definition 1.2.9 (Function spaces)

Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)

Hint 1. For (b), the trouble is addition: two functions with periods that have no common multiple. You need a sum whose lack of a period you can actually prove.
Hint 2. Let 𝑔 be 1 on ℚ and 0 elsewhere, and let ℎ be 1 on 2ℚ={2𝑟|𝑟∈ℚ} and 0 elsewhere. Find periods of 𝑔 and ℎ.
Hint 3. At which points does 𝑔+ℎ take the value 2? A period would move one such point to another.
Sketch. (a) The condition 𝑓(𝑡+1)=𝑓(𝑡) survives sums and multiples. (b) No. 𝑔=1 on ℚ has period 1, and ℎ=1 on 2ℚ has period 2. Since ℚ∩2ℚ={0}, the function 𝑔+ℎ equals 2 at 0 and at most 1 elsewhere. If 𝑝>0 were a period, then (𝑔+ℎ)(𝑝)=(𝑔+ℎ)(0)=2, forcing 𝑝=0.

(a) The zero function has period 1. If 𝑓(𝑡+1)=𝑓(𝑡) and 𝑔(𝑡+1)=𝑔(𝑡) for all 𝑡, then (𝑓+𝑔)(𝑡+1)=𝑓(𝑡)+𝑔(𝑡)=(𝑓+𝑔)(𝑡) and (𝑎𝑓)(𝑡+1)=𝑎𝑓(𝑡)=(𝑎𝑓)(𝑡).

(b) No: the periodic functions are not closed under addition. Let 𝑔(𝑡)=1 if 𝑡∈ℚ and 𝑔(𝑡)=0 otherwise, and let ℎ(𝑡)=1 if 𝑡∈2ℚ and ℎ(𝑡)=0 otherwise, where 2ℚ={2𝑟|𝑟∈ℚ}.

The function 𝑔 has period 1, since 𝑡+1∈ℚ if and only if 𝑡∈ℚ. The function ℎ has period 2, since 𝑡+2=2𝑟 with 𝑟∈ℚ if and only if 𝑡=2(𝑟−1). So 𝑔 and ℎ are periodic.

Next, ℚ∩2ℚ={0}. Indeed, if 𝑟=2𝑠 with 𝑟,𝑠∈ℚ and 𝑠≠0, then 2=𝑟/𝑠 would be rational; so 𝑠=0 and 𝑟=0. Hence (𝑔+ℎ)(0)=2, while (𝑔+ℎ)(𝑡)≤1 for every 𝑡≠0, because 𝑡 lies in at most one of ℚ and 2ℚ.

Suppose 𝑔+ℎ had a period 𝑝>0. Then (𝑔+ℎ)(𝑝)=(𝑔+ℎ)(0+𝑝)=(𝑔+ℎ)(0)=2, so 𝑝=0, a contradiction. So 𝑔+ℎ is not periodic, although 𝑔 and ℎ are.

The same happens for many nicer functions, such as sin𝑡+sin(2𝑡), but proving that this one has no period takes more work. The indicator functions are chosen so that the proof is short.

Exercise 1.4.41.hard Let 𝑛≥2. Call a subspace 𝑈 of 𝐹𝑛 symmetric if permuting the coordinates of any vector of 𝑈 gives a vector of 𝑈. Let 𝐬=(1,1,…,1) and 𝑍={𝐱∈𝐹𝑛|𝑥1+⋯+𝑥𝑛=0}.

  1. (a)Show that the symmetric subspaces of 𝐹𝑛 are exactly {𝟎}, span(𝐬), 𝑍, and 𝐹𝑛.
  2. (b)When is span(𝐬)⊆𝑍?

Solution.

Uses. Proposition 1.4.14 (The span is the smallest subspace containing a list), Example 1.4.8 (One equation in 𝐹𝑛), Exercise 1.2.45

Hint 1. The four subspaces are symmetric. For the converse, split into two cases: every vector of 𝑈 has all coordinates equal, or some vector 𝐱∈𝑈 has 𝑥𝑖≠𝑥𝑗.
Hint 2. In the second case, subtract from 𝐱 the vector obtained by swapping coordinates 𝑖 and 𝑗. Then move the result around with other permutations to get every 𝐞𝑘−𝐞𝑙 into 𝑈.
Hint 3. The vectors 𝐞𝑘−𝐞𝑛 span 𝑍. If 𝑈 is bigger than 𝑍, pick 𝐮∈𝑈 with nonzero coordinate sum and write any 𝐲 as an element of 𝑍 plus a multiple of 𝐮.
Sketch. If all vectors of 𝑈 are constant, 𝑈⊆span(𝐬), so 𝑈={𝟎} or span(𝐬). Otherwise some 𝐱∈𝑈 has 𝑥𝑖≠𝑥𝑗; subtracting its swap gives (𝑥𝑖−𝑥𝑗)(𝐞𝑖−𝐞𝑗)∈𝑈, and permuting gives every 𝐞𝑘−𝐞𝑙∈𝑈, so 𝑍=span(𝐞1−𝐞𝑛,…,𝐞𝑛−1−𝐞𝑛)⊆𝑈. If some 𝐮∈𝑈 has coordinate sum 𝜎≠0, then 𝐲=(𝐲−(𝜏/𝜎)𝐮)+(𝜏/𝜎)𝐮∈𝑈, where 𝜏 is the coordinate sum of 𝐲. (b) Exactly when 𝑛∗1=0 in 𝐹.

For a bijection 𝜋 of {1,…,𝑛} and 𝐱∈𝐹𝑛, write 𝜋𝐱=(𝑥𝜋(1),…,𝑥𝜋(𝑛)); so 𝑈 is symmetric if 𝜋𝐱∈𝑈 for all 𝐱∈𝑈 and all 𝜋. The sum of the coordinates of 𝐱 is denoted Σ(𝐱); it does not change under permutations.

(a) The four subspaces are symmetric: for {𝟎} and 𝐹𝑛 there is nothing to check, 𝜋(𝑐𝐬)=𝑐𝐬, and Σ(𝜋𝐱)=Σ(𝐱). Note that 𝑍 is a subspace by Example 1.4.8. Now let 𝑈 be a symmetric subspace.

Case 1: every 𝐱∈𝑈 has all coordinates equal. Then 𝑈⊆span(𝐬). If 𝑈≠{𝟎}, it contains some 𝑐𝐬 with 𝑐≠0, hence 𝐬=𝑐−1(𝑐𝐬), hence span(𝐬) by Proposition 1.4.14(b). So 𝑈={𝟎} or 𝑈=span(𝐬).

Case 2: some 𝐱∈𝑈 has 𝑥𝑖≠𝑥𝑗 for some 𝑖≠𝑗. Let 𝐲 be 𝐱 with coordinates 𝑖 and 𝑗 swapped. Then 𝐲∈𝑈, and 𝐱−𝐲 has 𝑖-th coordinate 𝑥𝑖−𝑥𝑗, 𝑗-th coordinate 𝑥𝑗−𝑥𝑖, and all others 0:

𝐱−𝐲=(𝑥𝑖−𝑥𝑗)(𝐞𝑖−𝐞𝑗)∈𝑈.

Multiplying by (𝑥𝑖−𝑥𝑗)−1 gives 𝐞𝑖−𝐞𝑗∈𝑈. Now let 𝑘≠𝑙, and choose a bijection 𝜋 of {1,…,𝑛} with 𝜋(𝑘)=𝑖 and 𝜋(𝑙)=𝑗. Then 𝜋(𝐞𝑖−𝐞𝑗) has 𝑘-th coordinate 1, 𝑙-th coordinate −1, and all others 0; that is, 𝐞𝑘−𝐞𝑙∈𝑈.

Every 𝐳∈𝑍 satisfies 𝑧𝑛=−(𝑧1+⋯+𝑧𝑛−1), so

𝐳=𝑧1(𝐞1−𝐞𝑛)+⋯+𝑧𝑛−1(𝐞𝑛−1−𝐞𝑛),

as both sides have the same first 𝑛−1 coordinates and the same 𝑛-th coordinate. So 𝑍⊆span(𝐞1−𝐞𝑛,…,𝐞𝑛−1−𝐞𝑛)⊆𝑈 by Proposition 1.4.14(b). If 𝑈=𝑍, we are done. Otherwise there is 𝐮∈𝑈 with 𝜎=Σ(𝐮)≠0. For any 𝐲∈𝐹𝑛, let 𝜏=Σ(𝐲). Then Σ(𝐲−(𝜏/𝜎)𝐮)=𝜏−(𝜏/𝜎)𝜎=0, so

𝐲=(𝐲−(𝜏/𝜎)𝐮)+(𝜏/𝜎)𝐮∈𝑍+𝑈⊆𝑈.

Hence 𝑈=𝐹𝑛.

(b) span(𝐬)⊆𝑍 if and only if 𝐬∈𝑍, that is, Σ(𝐬)=𝑛∗1=0 in 𝐹 (in the notation of Exercise 1.2.45). This happens exactly when char𝐹 divides 𝑛; over 𝔽2 with 𝑛 even, for example. In that case the four subspaces form a chain {𝟎}⊆span(𝐬)⊆𝑍⊆𝐹𝑛. For 𝐹=𝔽2 and 𝑛=2, span(𝐬)=𝑍={𝟎,(1,1)}, so there are only three symmetric subspaces.

Exercise 1.4.42.hard
  1. (a)Show that 𝔽22 is the union of three subspaces, none of which contains the other two.
  2. (b)Suppose 𝐹 has at least three elements, and let 𝑈1, 𝑈2, 𝑈3 be subspaces of 𝑉 whose union is a subspace. Show that one of the 𝑈𝑖 contains the other two.

Solution.

Uses. Proposition 1.4.20 (Unions of two subspaces), Lemma 1.4.19 (Adding a vector outside a subspace), Example 1.4.12 (The subspaces of 𝔽22), Corollary 1.2.36 (Cancelling scalars and vectors)

Techniques. Try small cases and small fields (Technique 1.2.38)

Hint 1. For (a), use the lines of Example 1.4.12. For (b), let 𝑈=𝑈1∪𝑈2∪𝑈3, and suppose no 𝑈𝑖 equals 𝑈. First show that 𝑈1 is not contained in 𝑈2∪𝑈3.
Hint 2. Pick 𝐮∈𝑈1 outside 𝑈2∪𝑈3 and 𝐯∈𝑈 outside 𝑈1. Consider the vectors 𝐯+𝜆𝐮 for 𝜆∈𝐹. Which of the 𝑈𝑖 can contain them?
Hint 3. None lies in 𝑈1, and 𝑈2 contains at most one of them: if it contains two, it contains their difference, a nonzero multiple of 𝐮.
Sketch. (a) The three lines of 𝔽22. (b) Suppose no 𝑈𝑖 is all of 𝑈=𝑈1∪𝑈2∪𝑈3. If 𝑈1⊆𝑈2∪𝑈3, then 𝑈=𝑈2∪𝑈3, and Proposition 1.4.20 gives a contradiction; so pick 𝐮∈𝑈1 outside 𝑈2∪𝑈3, and 𝐯∈𝑈∖𝑈1. The vectors 𝐯+𝜆𝐮, 𝜆∈𝐹, are at least three distinct vectors of 𝑈, none in 𝑈1 (Lemma 1.4.19), and at most one in each of 𝑈2, 𝑈3. Contradiction.

(a) By Example 1.4.12, the lines {𝟎,(1,0)}, {𝟎,(0,1)}, {𝟎,(1,1)} are subspaces of 𝔽22, and their union is 𝔽22. Each contains exactly one nonzero vector, and these are different, so no line contains another.

(b) Let 𝑈=𝑈1∪𝑈2∪𝑈3, a subspace by hypothesis. One of the 𝑈𝑖 contains the other two if and only if it equals 𝑈, so suppose, to the contrary, that 𝑈𝑖≠𝑈 for each 𝑖.

First, 𝑈1⊈𝑈2∪𝑈3. Otherwise 𝑈=𝑈2∪𝑈3 is a subspace, so by Proposition 1.4.20 one of 𝑈2, 𝑈3 contains the other and equals 𝑈, contrary to our assumption. So we may pick 𝐮∈𝑈1 with 𝐮∉𝑈2 and 𝐮∉𝑈3. In particular 𝐮≠𝟎. Since 𝑈1≠𝑈, we may also pick 𝐯∈𝑈 with 𝐯∉𝑈1.

For 𝜆∈𝐹, the vector 𝐯+𝜆𝐮 lies in the subspace 𝑈. It does not lie in 𝑈1, by Lemma 1.4.19, since 𝜆𝐮∈𝑈1 and 𝐯∉𝑈1. Suppose 𝑈2 contained 𝐯+𝜆𝐮 and 𝐯+𝜇𝐮 with 𝜆≠𝜇. Then it would contain their difference (𝜆−𝜇)𝐮, and hence 𝐮=(𝜆−𝜇)−1(𝜆−𝜇)𝐮, which is false. So 𝑈2 contains at most one of the vectors 𝐯+𝜆𝐮, and likewise 𝑈3. These vectors are distinct for distinct 𝜆, by Corollary 1.2.36(b), since 𝐮≠𝟎, and 𝐹 has at least three elements. So at least three distinct vectors of 𝑈 lie in 𝑈2∪𝑈3, which contains at most two of them, and none of them lies in 𝑈1. This contradicts 𝑈=𝑈1∪𝑈2∪𝑈3.

Part (a) shows that the hypothesis on 𝐹 is needed. The proof needs three values of 𝜆 to outnumber 𝑈2 and 𝑈3; over 𝔽2 there are only two.

Exercise 1.4.43.challengeBeyond 21-242 Let 𝑉 be a vector space over 𝐹, and let 𝑈1,…,𝑈𝑛 be proper subspaces of 𝑉, where 𝑛≥1.

  1. (a)Show that if 𝐹 has at least 𝑛 elements, then 𝑈1∪⋯∪𝑈𝑛≠𝑉.
  2. (b)Deduce that over an infinite field, no vector space is a union of finitely many proper subspaces.
  3. (c)Show that (a) is sharp: if 𝐹 has 𝑞 elements, then 𝐹2 is a union of 𝑞+1 proper subspaces.

Solution.

Uses. Lemma 1.4.19 (Adding a vector outside a subspace), Exercise 1.4.33, Corollary 1.2.36 (Cancelling scalars and vectors)

Hint 1. Suppose 𝑉=𝑈1∪⋯∪𝑈𝑛, and choose such a covering with 𝑛 as small as possible. Why is 𝑈1 then not contained in 𝑈2∪⋯∪𝑈𝑛?
Hint 2. Pick 𝐮∈𝑈1 outside the other 𝑈𝑗, and 𝐯∉𝑈1. Count how many of the vectors 𝐯+𝜆𝐮, 𝜆∈𝐹, each 𝑈𝑗 can contain.
Sketch. (a) Take a counterexample with 𝑛 minimal. Then 𝑛≥2 and 𝑈1⊈𝑈2∪⋯∪𝑈𝑛; pick 𝐮 in 𝑈1 only, and 𝐯∉𝑈1. The |𝐹|≥𝑛 distinct vectors 𝐯+𝜆𝐮 avoid 𝑈1, and each 𝑈𝑗 with 𝑗≥2 contains at most one of them, so at most 𝑛−1 are covered. (b) An infinite field has at least 𝑛 elements for every 𝑛. (c) 𝐹2 is the union of its 𝑞+1 lines.

(a) Suppose the statement fails, and among all coverings 𝑉=𝑈1∪⋯∪𝑈𝑛 of 𝑉 by proper subspaces with 𝑛≤|𝐹|, choose one with 𝑛 as small as possible. Then 𝑛≥2, since 𝑈1≠𝑉. If 𝑈1⊆𝑈2∪⋯∪𝑈𝑛, then 𝑉=𝑈2∪⋯∪𝑈𝑛 is a covering by 𝑛−1≤|𝐹| proper subspaces, contradicting minimality. So we may pick 𝐮∈𝑈1 with 𝐮∉𝑈𝑗 for all 𝑗≥2; in particular 𝐮≠𝟎. Since 𝑈1≠𝑉, we may also pick 𝐯∈𝑉 with 𝐯∉𝑈1.

Consider the vectors 𝐯+𝜆𝐮 for 𝜆∈𝐹. They are distinct, by Corollary 1.2.36(b), since 𝐮≠𝟎, so there are |𝐹|≥𝑛 of them. None lies in 𝑈1, by Lemma 1.4.19, since 𝜆𝐮∈𝑈1 and 𝐯∉𝑈1. For 𝑗≥2, 𝑈𝑗 contains at most one of them: if 𝐯+𝜆𝐮 and 𝐯+𝜇𝐮 lie in 𝑈𝑗 with 𝜆≠𝜇, then so does (𝜆−𝜇)−1((𝐯+𝜆𝐮)−(𝐯+𝜇𝐮))=𝐮, which is false. So at most 𝑛−1 of these at least 𝑛 vectors lie in 𝑈1∪⋯∪𝑈𝑛=𝑉, a contradiction.

(b) If 𝐹 is infinite, it has at least 𝑛 elements for every 𝑛, so (a) applies to every finite collection of proper subspaces.

(c) By Exercise 1.4.33, 𝐹2 has 𝑞+1 lines, each a proper subspace with 𝑞<𝑞2 elements. Every nonzero 𝐯∈𝐹2 lies on the line span(𝐯), and 𝟎 lies on every line, so 𝐹2 is the union of the 𝑞+1 lines. Since 𝑞+1>𝑞, this does not contradict (a), and it shows that the bound 𝑛≤|𝐹| in (a) cannot be relaxed to 𝑛≤|𝐹|+1.

Exercise 1.4.44.routine
  1. (a)Find the smallest subspace of ℝ3 containing (1,1,0) and (1,−1,0), and describe it by one equation.
  2. (b)Find the smallest subspace of ℝ[𝑥] containing 1+𝑥2 and 1−𝑥2.

Solution.

Uses. Proposition 1.4.14 (The span is the smallest subspace containing a list), Example 1.4.8 (One equation in 𝐹𝑛), Corollary 1.3.19 (Equal spans)

Techniques. Double containment (Technique 1.3.14)

Hint 1. By Proposition 1.4.14, the smallest subspace containing a list is its span.
Hint 2. For (a), both vectors satisfy 𝑥3=0. For the reverse containment, solve 𝑎+𝑏=𝑥1 and 𝑎−𝑏=𝑥2. For (b), add and subtract the two polynomials.
Sketch. (a) span((1,1,0),(1,−1,0))={𝑥3=0}: the plane is a subspace containing both vectors, and (𝑥1,𝑥2,0)=𝑥1+𝑥22(1,1,0)+𝑥1−𝑥22(1,−1,0). (b) span(1+𝑥2,1−𝑥2)=span(1,𝑥2)={𝑎+𝑏𝑥2|𝑎,𝑏∈ℝ}.

By Proposition 1.4.14, the smallest subspace containing the entries of a list is the span of the list.

(a) Let 𝑃={𝐱∈ℝ3|𝑥3=0}, a subspace by Example 1.4.8. Both vectors lie in 𝑃, so span((1,1,0),(1,−1,0))⊆𝑃 by Proposition 1.4.14(b). Conversely, for (𝑥1,𝑥2,0)∈𝑃,

𝑥1+𝑥22(1,1,0)+𝑥1−𝑥22(1,−1,0)=(𝑥1,𝑥2,0).

So the smallest subspace is the plane 𝑥3=0.

(b) Since 1=12((1+𝑥2)+(1−𝑥2)) and 𝑥2=12((1+𝑥2)−(1−𝑥2)), and conversely 1±𝑥2 are combinations of 1 and 𝑥2, Corollary 1.3.19 gives

span(1+𝑥2,1−𝑥2)=span(1,𝑥2)={𝑎+𝑏𝑥2|𝑎,𝑏∈ℝ}.

More practice

The practice bank has 46 exercises on this section’s topics.