Original English by Jim Hefferon — selected foundation sections. The original mathematics and supplied answers below are preserved. This is a partial-book reading edition, not the complete book or an Everyday-English rewrite.

Source revision df2262e089a02651c127f1dd12649c4622ee1383; CC BY-SA 2.5 option, with original component credits retained. This is not an Everyday-English rewrite. The complete source file is included. A cross-section reference points to the bound earlier local reader; include that sibling file for offline use.

Ten notes about errors in the original source

These AI-assisted checks are separate from the unchanged original text and formulas. They are not an exhaustive correctness audit or human review.

  1. Source note 1: In the proof of scalar identity for matrices, the final matrix contains sa, sb, sc, sd. Those entries must be a, b, c, d: the scalar is 1, not a free s.
  2. Source note 2: In the closure-under-addition display for upper-triangular matrices, an equals sign is missing between the second addend and the resulting sum matrix.
  3. Source note 3: For the operation r·(x,y)=(rx,0), the preceding distributivity counterexample does not work: both sides equal (0,0). The separately stated scalar-identity counterexample is valid and the answer “not a vector space” remains correct.
  4. Source note 4: The requested arrowed-operation restatement is inconsistent in axioms (6)–(8): scalar multiplication still uses plain · in (6)–(7), and vector addition uses plain + in (8). These should use the newly defined arrowed scalar and vector operations; scalar addition r+s remains plain.
  5. Source note 5: The span-membership row reduction omits a step. The two labelled row operations produce third row (0, 3/2, 7/2), not (0,0,3). Adding the resulting second row to the third then gives (0,0,3), so the “no solution” conclusion is unchanged.
  6. Source note 6: In the three-dimensional superhero answer, the three device vectors span all of R³, not a plane. Their column matrix has determinant 18. The “no place to hide” conclusion and the displayed elimination are correct.
  7. Source note 7: The span-extension proof should assume v belongs to span(S), not necessarily S. Its displayed linear-combination representation is exactly the weaker hypothesis needed by the proof.
  8. Source note 8: The intersection proof changes its vector names: it assumes w and s belong to the intersection, then forms r v+s w. Use v and w consistently as vectors, with r and s as scalars.
  9. Source note 9: The union-of-subspaces counterexample names ambient space R³ but displays two-entry coordinate vectors. Either use R² as the ambient space or append a zero third coordinate to each vector.
  10. Source note 10: The condition given for span(S∪T)=span(S)∪span(T) is too strong. Equality holds exactly when one span contains the other, not only when one original set contains the other. For S={(1,0)} and T={(2,0)}, neither set contains the other but both spans are the same line. The following noncontainment argument confuses membership in a set with membership in its span.

Source-preserving rebuild, navigation, source packaging and current deterministic checks: OpenAI Codex — GPT-6 Astra, Ultra effort. Jim Hefferon remains the author of the mathematics. Earlier intermediate-conversion runtime identity is not established by its retained receipts and is not reassigned to this rebuild. No human review or exhaustive proof certification is claimed.

Vector Spaces

The first chapter finished with a fair understanding of how Gauss’s Method solves a linear system. It systematically takes linear combinations of the rows. Here we move to a general study of linear combinations.

We need a setting. At times in the first chapter we’ve combined vectors from ℝ 2 , at other times vectors from ℝ 3 , and at other times vectors from higher-dimensional spaces. So our first impulse might be to work in ℝ n , leaving n unspecified. This would have the advantage that any of the results would hold for ℝ 2 and for ℝ 3 and for many other spaces, simultaneously.

But if having the results apply to many spaces at once is advantageous then sticking only to ℝ n ’s is restrictive. We’d like our results to apply to combinations of row vectors, as in the final section of the first chapter. We’ve even seen some spaces that are not simply a collection of all of the same-sized column vectors or row vectors. For instance, we’ve seen a homogeneous system’s solution set that is a plane inside of ℝ 3 . This set is a closed system in that a linear combination of these solutions is also a solution. But it does not contain all of the three-tall column vectors, only some of them.

We want the results about linear combinations to apply anywhere that linear combinations make sense. We shall call any such set a vector space. Our results, instead of being phrased as “Whenever we have a collection in which we can sensibly take linear combinations …”, will be stated “In any vector space …”

Such a statement describes at once what happens in many spaces. To understand the advantages of moving from studying a single space to studying a class of spaces, consider this analogy. Imagine that the government made laws one person at a time: “Leslie Jones can’t jay walk.” That would be bad; statements have the virtue of economy when they apply to many cases at once. Or suppose that they said, “Kim Ke must stop when passing an accident.” Contrast that with, “Any doctor must stop when passing an accident.” More general statements, in some ways, are clearer.

Definition of Vector Space

We shall study structures with two operations, an addition and a scalar multiplication, that are subject to some simple conditions. We will reflect more on the conditions later but on first reading notice how reasonable they are. For instance, surely any operation that can be called an addition (e.g., column vector addition, row vector addition, or real number addition) will satisfy conditions (1) through (5) below.

Definition and Examples

Definition 1.1 A vector space (over ℝ ) consists of a set V along with two operations ‘+’ and ‘ ⋅ ’ subject to the conditions that for all vectors v → , w → , u → ∈ V and all scalars r , s ∈ ℝ :

  1. the set V is closed under vector addition, that is, v → + w → ∈ V

  2. vector addition is commutative, v → + w → = w → + v →

  3. vector addition is associative, ( v → + w → ) + u → = v → + ( w → + u → )

  4. there is a zero vector 0 → ∈ V such that v → + 0 → = v → for all v → ∈ V

  5. each v → ∈ V has an additive inverse w → ∈ V such that w → + v → = 0 →

  6. the set V is closed under scalar multiplication, that is, r ⋅ v → ∈ V

  7. scalar multiplication distributes over scalar addition, ( r + s ) ⋅ v → = r ⋅ v → + s ⋅ v →

  8. scalar multiplication distributes over vector addition, r ⋅ ( v → + w → ) = r ⋅ v → + r ⋅ w →

  9. ordinary multiplication of scalars associates with scalar multiplication, ( r s ) ⋅ v → = r ⋅ ( s ⋅ v → )

  10. multiplication by the scalar  1 is the identity operation, 1 ⋅ v → = v → .

Remark 1.2 The definition involves two kinds of addition and two kinds of multiplication, and so may at first seem confused. For instance, in condition (7) the ‘ + ’ on the left is addition of two real numbers while the ‘ + ’ on the right is addition of two vectors in V . These expressions aren’t ambiguous because of context; for example, r and s are real numbers so ‘ r + s ’ can only mean real number addition. In the same way, item (9)’s left side ‘ r s ’ is ordinary real number multiplication, while its right side ‘ s ⋅ v → ’ is the scalar multiplication defined for this vector space.

The best way to understand the definition is to go through the examples below and for each, check all ten conditions. The first example includes that check, written out at length. Use it as a model for the others. Especially important are the closure conditions, (1) and (6). They specify that the addition and scalar multiplication operations are always sensible—they are defined for every pair of vectors and every scalar and vector, and the result of the operation is a member of the set.

Example 1.3 This subset of ℝ 2 is a line through the origin.

L = { ( x y ) ∣ y = 3 x }

We shall verify that it is a vector space under the usual meaning of ‘+’ and ‘ ⋅ ’.

( x 1 y 1 ) + ( x 2 y 2 ) = ( x 1 + x 2 y 1 + y 2 ) r ⋅ ( x y ) = ( r x r y )

These operations are just the ordinary ones, reused on its subset L . We say that L inherits these operations from ℝ 2 .

We shall check all ten conditions. The paragraph having to do with addition has five conditions. For condition (1), closure under addition, suppose that we start with two vectors from the line  L ,

v → 1 = ( x 1 y 1 ) v → 2 = ( x 2 y 2 )

so that they satisfy the restrictions that y 1 = 3 x 1 and  y 2 = 3 x 2 . Their sum

v → 1 + v → 2 = ( x 1 + x 2 y 1 + y 2 )

is also a member of the line L because the fact that its second component is three times its first y 1 + y 2 = 3 ( x 1 + x 2 ) follows from the restrictions on v → 1 and  v → 2 . For (2), that addition of vectors commutes, just compare

v → 1 + v → 2 = ( x 1 + x 2 y 1 + y 2 ) v → 2 + v → 1 = ( x 2 + x 1 y 2 + y 1 )

and note that they are equal since their entries are real numbers and real numbers commute. (That the vectors satisfy the restriction of lying in the line is not relevant for this condition; they commute just because all vectors in the plane commute.) Condition (3), associativity of vector addition, is similar.

( ( x 1 y 1 ) + ( x 2 y 2 ) ) + ( x 3 y 3 ) = ( ( x 1 + x 2 ) + x 3 ( y 1 + y 2 ) + y 3 ) = ( x 1 + ( x 2 + x 3 ) y 1 + ( y 2 + y 3 ) ) = ( x 1 y 1 ) + ( ( x 2 y 2 ) + ( x 3 y 3 ) )

For the fourth condition we must produce a vector that acts as the zero element. The vector of zero entries will do.

( x y ) + ( 0 0 ) = ( x y )

Note that 0 → ∈ L as its second component is triple its first. For (5), that given any  v → ∈ L we can produce an additive inverse, we have

( − x − y ) + ( x y ) = ( 0 0 )

and so the vector − v → is the desired inverse. As with the prior condition, observe here that if v → ∈ L , so that y = 3 x , then − v → ∈ L also, since − y = 3 ( − x ) .

The checks for the five conditions having to do with scalar multiplication are similar. For (6), closure under scalar multiplication, suppose that r ∈ ℝ and v → ∈ L , that is,

v → = ( x y )

satisfies that  y = 3 x . Then

r ⋅ v → = r ⋅ ( x y ) = ( r x r y )

is also a member of L : the relation r y = 3 ⋅ r x holds because y = 3 x . Next, this checks (7).

( r + s ) ⋅ ( x y ) = ( ( r + s ) x ( r + s ) y ) = ( r x + s x r y + s y ) = r ⋅ ( x y ) + s ⋅ ( x y )

For (8) we have this.

r ⋅ ( ( x 1 y 1 ) + ( x 2 y 2 ) ) = ( r ( x 1 + x 2 ) r ( y 1 + y 2 ) ) = ( r x 1 + r x 2 r y 1 + r y 2 ) = r ⋅ ( x 1 y 1 ) + r ⋅ ( x 2 y 2 )

The ninth

( r s ) ⋅ ( x y ) = ( ( r s ) x ( r s ) y ) = ( r ( s x ) r ( s y ) ) = r ⋅ ( s ⋅ ( x y ) )

and tenth conditions are also straightforward.

1 ⋅ ( x y ) = ( 1 x 1 y ) = ( x y )

Example 1.4 The whole plane, the set ℝ 2 , is a vector space where the operations ‘ + ’ and ‘ ⋅ ’ have their usual meaning.

( x 1 y 1 ) + ( x 2 y 2 ) = ( x 1 + x 2 y 1 + y 2 ) r ⋅ ( x y ) = ( r x r y )

We shall check just two of the conditions, the closure conditions.

For (1) observe that the result of the vector sum

( x 1 y 1 ) + ( x 2 y 2 ) = ( x 1 + x 2 y 1 + y 2 )

is a column array with two real entries, and so is a member of the plane  ℝ 2 . In contrast with the prior example, here there is no restriction on the first and second components of the vectors.

Condition (6) is similar. The vector

r ⋅ ( x y ) = ( r x r y )

has two real entries, and so is a member of  ℝ 2 .

In a similar way, each ℝ n is a vector space with the usual operations of vector addition and scalar multiplication. (In ℝ 1 , we usually do not write the members as column vectors, i.e., we usually do not write ‘ ( π ) ’. Instead we just write ‘ π ’.)

Example 1.5 Example 1.3 gives a subset of ℝ 2 that is a vector space. For contrast, consider the set of two-tall columns with entries that are integers, under the same operations of component-wise addition and scalar multiplication. This is a subset of ℝ 2 but it is not a vector space: it is not closed under scalar multiplication, that is, it does not satisfy condition (6). For instance, on the left below is a vector with integer entries, and a scalar.

0.5 ⋅ ( 4 3 ) = ( 2 1.5 )

On the right is a column vector that is not a member of the set, since its entries are not all integers.

Example 1.6 The one-element set

{ ( 0 0 0 0 ) }

is a vector space under the operations

( 0 0 0 0 ) + ( 0 0 0 0 ) = ( 0 0 0 0 ) r ⋅ ( 0 0 0 0 ) = ( 0 0 0 0 )

that it inherits from ℝ 4 .

A vector space must have at least one element, its zero vector. Thus a one-element vector space is the smallest possible.

Definition 1.7 A one-element vector space is a trivial space.

The examples so far involve sets of column vectors with the usual operations. But vector spaces need not be collections of column vectors, or even of row vectors. Below are some other types of vector spaces. The term ‘vector space’ does not mean ‘collection of columns of reals’. It means something more like ‘collection in which any linear combination is sensible’.

Example 1.8 Consider 𝒫 3 = { a 0 + a 1 x + a 2 x 2 + a 3 x 3 ∣ a 0 , … , a 3 ∈ ℝ } , the set of polynomials of degree three or less (in this book, we’ll take constant polynomials, including the zero polynomial, to be of degree zero). It is a vector space under the operations

( a 0 + a 1 x + a 2 x 2 + a 3 x 3 ) + ( b 0 + b 1 x + b 2 x 2 + b 3 x 3 ) = ( a 0 + b 0 ) + ( a 1 + b 1 ) x + ( a 2 + b 2 ) x 2 + ( a 3 + b 3 ) x 3

and

r ⋅ ( a 0 + a 1 x + a 2 x 2 + a 3 x 3 ) = ( r a 0 ) + ( r a 1 ) x + ( r a 2 ) x 2 + ( r a 3 ) x 3

(the verification is easy). This vector space is worthy of attention because these are the polynomial operations familiar from high school algebra. For instance, 3 ⋅ ( 1 − 2 x + 3 x 2 − 4 x 3 ) − 2 ⋅ ( 2 − 3 x + x 2 − ( 1 / 2 ) x 3 ) = − 1 + 7 x 2 − 11 x 3 .

Although this space is not a subset of any ℝ n , there is a sense in which we can think of 𝒫 3 as “the same” as ℝ 4 . If we identify these two space’s elements in this way

a 0 + a 1 x + a 2 x 2 + a 3 x 3 corresponds to ( a 0 a 1 a 2 a 3 )

then the operations also correspond. Here is an example of corresponding additions.

1 − 2 x + 0 x 2 + 1 x 3 + 2 + 3 x + 7 x 2 − 4 x 3 3 + 1 x + 7 x 2 − 3 x 3 corresponds to ( 1 − 2 0 1 ) + ( 2 3 7 − 4 ) = ( 3 1 7 − 3 )

Things we are thinking of as “the same” add to “the same” sum. Chapter Three makes precise this idea of vector space correspondence. For now we shall just leave it as an intuition.

In general we write 𝒫 n for the vector space of polynomials of degree  n or less { a 0 + a 1 x + a 2 x 2 + ⋯ + a n x n ∣ a 0 , … , a n ∈ ℝ } , under the operations of the usual polynomial addition and scalar multiplication. We will often use these spaces as examples.

Example 1.9 The set ℳ 2 × 2 of 2 × 2 matrices with real number entries is a vector space under the natural entry-by-entry operations.

( a b c d ) + ( w x y z ) = ( a + w b + x c + y d + z ) r ⋅ ( a b c d ) = ( r a r b r c r d )

As in the prior example, we can think of this space as “the same” as ℝ 4 .

We write ℳ n × m for the vector space of n × m matrices under the natural operations of matrix addition and scalar multiplication. As with the polynomial spaces, we will often use these as examples.

Example 1.10 The set { f ∣ f : ℕ → ℝ } of all real-valued functions of one natural number variable is a vector space under the operations

( f 1 + f 2 ) ( n ) = f 1 ( n ) + f 2 ( n ) ( r ⋅ f ) ( n ) = r f ( n )

so that if, for example, f 1 ( n ) = n 2 + 2 sin ⁡ ( n ) and f 2 ( n ) = − sin ⁡ ( n ) + 0.5 then ( f 1 + 2 f 2 ) ( n ) = n 2 + 1 .

We can view this space as a generalization of Example 1.4—instead of 2 -tall vectors, these functions are like infinitely-tall vectors.

n f ( n ) = n 2 + 1 0 1 1 2 2 5 3 10 ⋮ ⋮ corresponds to ( 1 2 5 10 ⋮ 10 )

Addition and scalar multiplication are component-wise, as in Example 1.4. (We can formalize “infinitely-tall” by saying that it means an infinite sequence, or that it means a function from ℕ to ℝ .)

Example 1.11 The set of polynomials with real coefficients

{ a 0 + a 1 x + ⋯ + a n x n ∣ n ∈ ℕ  and  a 0 , … , a n ∈ ℝ }

makes a vector space when given the natural ‘ + ’

( a 0 + a 1 x + ⋯ + a n x n ) + ( b 0 + b 1 x + ⋯ + b n x n ) = ( a 0 + b 0 ) + ( a 1 + b 1 ) x + ⋯ + ( a n + b n ) x n

and ‘ ⋅ ’.

r ⋅ ( a 0 + a 1 x + … a n x n ) = ( r a 0 ) + ( r a 1 ) x + … ( r a n ) x n

This space differs from the space 𝒫 3 of Example 1.8. This space contains not just degree three polynomials, but degree thirty polynomials and degree three hundred polynomials, too. Each individual polynomial of course is of a finite degree, but the set has no single bound on the degree of all of its members.

We can think of this example, like the prior one, in terms of infinite-tuples. For instance, we can think of 1 + 3 x + 5 x 2 as corresponding to ( 1 , 3 , 5 , 0 , 0 , … ) . However, this space differs from the one in Example 1.10. Here, each member of the set has a finite degree, that is, under the correspondence there is no element from this space matching ( 1 , 2 , 5 , 10 , … ) . Vectors in this space correspond to infinite-tuples that end in zeroes.

Example 1.12 The set { f ∣ f : ℝ → ℝ } of all real-valued functions of one real variable is a vector space under these.

( f 1 + f 2 ) ( x ) = f 1 ( x ) + f 2 ( x ) ( r ⋅ f ) ( x ) = r f ( x )

The difference between this and Example 1.10 is the domain of the functions.

Example 1.13 The set F = { a cos ⁡ θ + b sin ⁡ θ ∣ a , b ∈ ℝ } of real-valued functions of the real variable θ is a vector space under the operations

( a 1 cos ⁡ θ + b 1 sin ⁡ θ ) + ( a 2 cos ⁡ θ + b 2 sin ⁡ θ ) = ( a 1 + a 2 ) cos ⁡ θ + ( b 1 + b 2 ) sin ⁡ θ

and

r ⋅ ( a cos ⁡ θ + b sin ⁡ θ ) = ( r a ) cos ⁡ θ + ( r b ) sin ⁡ θ

inherited from the space in the prior example. (We can think of F as “the same” as ℝ 2 in that a cos ⁡ θ + b sin ⁡ θ corresponds to the vector with components a and b .)

Example 1.14 The set

{ f : ℝ → ℝ ∣ d 2 f d x 2 + f = 0 }

is a vector space under the, by now natural, interpretation.

( f + g ) ( x ) = f ( x ) + g ( x ) ( r ⋅ f ) ( x ) = r f ( x )

In particular, notice that basic Calculus gives

d 2 ( f + g ) d x 2 + ( f + g ) = ( d 2 f d x 2 + f ) + ( d 2 g d x 2 + g )

and

d 2 ( r f ) d x 2 + ( r f ) = r ( d 2 f d x 2 + f )

and so the space is closed under addition and scalar multiplication. This turns out to equal the space from the prior example—functions satisfying this differential equation have the form a cos ⁡ θ + b sin ⁡ θ —but this description suggests an extension to solutions sets of other differential equations.

Example 1.15 The set of solutions of a homogeneous linear system in n variables is a vector space under the operations inherited from ℝ n . For example, for closure under addition consider a typical equation in that system c 1 x 1 + ⋯ + c n x n = 0 and suppose that both these vectors

v → = ( v 1 ⋮ v 1 v n ) w → = ( w 1 ⋮ w 1 w n )

satisfy the equation. Then their sum v → + w → also satisfies that equation: c 1 ( v 1 + w 1 ) + ⋯ + c n ( v n + w n ) = ( c 1 v 1 + ⋯ + c n v n ) + ( c 1 w 1 + ⋯ + c n w n ) = 0 . The checks of the other vector space conditions are just as routine.

We often omit the multiplication symbol ‘ ⋅ ’ between the scalar and the vector. We distinguish the multiplication in c 1 v 1 from that in r v → by context, since if both multiplicands are real numbers then it must be real-real multiplication while if one is a vector then it must be scalar-vector multiplication.

Example 1.15 has brought us full circle since it is one of our motivating examples. Now, with some feel for the kinds of structures that satisfy the definition of a vector space, we can reflect on that definition. For example, why specify in the definition the condition that 1 ⋅ v → = v → but not a condition that 0 ⋅ v → = 0 → ?

One answer is that this is just a definition—it gives the rules and you need to follow those rules to continue.

Another answer is perhaps more satisfying. People in this area have worked to develop the right balance of power and generality. This definition is shaped so that it contains the conditions needed to prove all of the interesting and important properties of spaces of linear combinations. As we proceed, we shall derive all of the properties natural to collections of linear combinations from the conditions given in the definition.

The next result is an example. We do not need to include these properties in the definition of vector space because they follow from the properties already listed there.

Lemma 1.16 In any vector space V , for any v → ∈ V and r ∈ ℝ , we have (1)  0 ⋅ v → = 0 → , (2)  ( − 1 ⋅ v → ) + v → = 0 → , and (3)  r ⋅ 0 → = 0 → .

Proof For (1) note that v → = ( 1 + 0 ) ⋅ v → = v → + ( 0 ⋅ v → ) . Add to both sides the additive inverse of v → , the vector w → such that w → + v → = 0 → .

w → + v → = w → + v → + 0 ⋅ v → 0 → = 0 → + 0 ⋅ v → 0 → = 0 ⋅ v →

Item (2) is easy: ( − 1 ⋅ v → ) + v → = ( − 1 + 1 ) ⋅ v → = 0 ⋅ v → = 0 → . For (3), r ⋅ 0 → = r ⋅ ( 0 ⋅ 0 → ) = ( r ⋅ 0 ) ⋅ 0 → = 0 → will do.

QED

The second item shows that we can write the additive inverse of v → as ‘ − v → ’ without worrying about any confusion with ( − 1 ) ⋅ v → .

A recap: our study in Chapter One of Gaussian reduction led us to consider collections of linear combinations. So in this chapter we have defined a vector space to be a structure in which we can form such combinations, subject to simple conditions on the addition and scalar multiplication operations. In a phrase: vector spaces are the right context in which to study linearity.

From the fact that it forms a whole chapter, and especially because that chapter is the first one, a reader could suppose that our purpose in this book is the study of linear systems. The truth is that we will not so much use vector spaces in the study of linear systems as we instead have linear systems start us on the study of vector spaces. The wide variety of examples from this subsection shows that the study of vector spaces is interesting and important in its own right. Linear systems won’t go away. But from now on our primary objects of study will be vector spaces.

Exercises

  1. Exercise 1.17 Worked answer

    Name the zero vector for each of these vector spaces.

    1. The space of degree three polynomials under the natural operations.

    2. The space of 2 × 4 matrices.

    3. The space { f : [ 0. .1 ] → ℝ ∣ f  is continuous } .

    4. The space of real-valued functions of one natural number variable.

    Back to Exercise 1.17

    Answer.

    1. 0 + 0 x + 0 x 2 + 0 x 3

    2. ( 0 0 0 0 0 0 0 0 )

    3. The constant function f ( x ) = 0

    4. The constant function f ( n ) = 0

  2. Exercise 1.18 Worked answer

    Recommended. Find the additive inverse, in the vector space, of the vector.

    1. In 𝒫 3 , the vector − 3 − 2 x + x 2 .

    2. In the space 2 × 2 ,

      ( 1 − 1 0 3 ) .

    3. In { a e x + b e − x ∣ a , b ∈ ℝ } , the space of functions of the real variable x under the natural operations, the vector 3 e x − 2 e − x .

    Back to Exercise 1.18

    Answer.

    1. 3 + 2 x − x 2

    2. ( − 1 + 1 0 − 3 )

    3. − 3 e x + 2 e − x

  3. Exercise 1.19 Worked answer

    Recommended. For each, list three elements and then show it is a vector space.

    1. The set of linear polynomials 𝒫 1 = { a 0 + a 1 x ∣ a 0 , a 1 ∈ ℝ } under the usual polynomial addition and scalar multiplication operations.

    2. The set of linear polynomials { a 0 + a 1 x ∣ a 0 − 2 a 1 = 0 } , under the usual polynomial addition and scalar multiplication operations.

    Hint. Use Example 1.3 as a guide. Most of the ten conditions are just verifications.

    Back to Exercise 1.19

    Answer.

    1. Three elements are: 1 + 2 x , 2 − 1 x , and x . (Of course, many answers are possible.)

      The verification is just like Example 1.4. We first do conditions 1 - 5 from Definition 1.1, having to do with addition. For closure under addition, condition (1), note that where a + b x , c + d x ∈ 𝒫 1 we have that ( a + b x ) + ( c + d x ) = ( a + c ) + ( b + d ) x is a linear polynomial with real coefficients and so is an element of 𝒫 1 . Condition (2) is verified with: where a + b x , c + d x ∈ 𝒫 1 then ( a + b x ) + ( c + d x ) = ( a + c ) + ( b + d ) x , while in the other order they are ( c + d x ) + ( a + b x ) = ( c + a ) + ( d + b ) x , and both a + c = c + a and b + d = d + b as these are real numbers. Condition (3) is similar: suppose a + b x , c + d x , e + f x ∈ 𝒫 then ( ( a + b x ) + ( c + d x ) ) + ( e + f x ) = ( a + c + e ) + ( b + d + f ) x while ( a + b x ) + ( ( c + d x ) + ( e + f x ) ) = ( a + c + e ) + ( b + d + f ) x , and the two are equal (that is, real number addition is associative so ( a + c ) + e = a + ( c + e ) and ( b + d ) + f = b + ( d + f ) ). For condition (4) observe that the linear polynomial 0 + 0 x ∈ 𝒫 1 has the property that ( a + b x ) + ( 0 + 0 x ) = a + b x and ( 0 + 0 x ) + ( a + b x ) = a + b x . For the last condition in this paragraph, condition (5), note that for any a + b x ∈ 𝒫 1 the additive inverse is − a − b x ∈ 𝒫 1 since ( a + b x ) + ( − a − b x ) = ( − a − b x ) + ( a + b x ) = 0 + 0 x .

      We next also check conditions (6)-(10), involving scalar multiplication. For (6), the condition that the space be closed under scalar multiplication, suppose that r is a real number and a + b x is an element of 𝒫 1 , and then r ( a + b x ) = ( r a ) + ( r b ) x is an element of 𝒫 1 because it is a linear polynomial with real number coefficients. Condition (7) holds because ( r + s ) ( a + b x ) = r ( a + b x ) + s ( a + b x ) is true from the distributive property for real number multiplication. Condition (8) is similar: r ( ( a + b x ) + ( c + d x ) ) = r ( ( a + c ) + ( b + d ) x ) = r ( a + c ) + r ( b + d ) x = ( r a + r c ) + ( r b + r d ) x = r ( a + b x ) + r ( c + d x ) . For (9) we have ( r s ) ( a + b x ) = ( r s a ) + ( r s b ) x = r ( s a + s b x ) = r ( s ( a + b x ) ) . Finally, condition (10) is 1 ( a + b x ) = ( 1 a ) + ( 1 b ) x = a + b x .

    2. Call the set P . In the prior item in this exercise there was no restriction on the coefficients but here we are restricting attention to those linear polynomials where a 0 − 2 a 1 = 0 , that is, where the constant term minus twice the coefficient of the linear term is zero. Thus, three typical elements of P are 2 + 1 x , 6 + 3 x , and − 4 − 2 x .

      For condition (1) we must show that if we add two linear polynomials that satisfy the restriction then we get a linear polynomial also satisfying the restriction: here that argument is that if a + b x , c + d x ∈ P then ( a + b x ) + ( c + d x ) = ( a + c ) + ( b + d ) x is an element of P because ( a + c ) − 2 ( b + d ) = ( a − 2 b ) + ( c − 2 d ) = 0 + 0 = 0 . We can verify condition (2) with: where a + b x , c + d x ∈ 𝒫 1 then ( a + b x ) + ( c + d x ) = ( a + c ) + ( b + d ) x , while in the other order they are ( c + d x ) + ( a + b x ) = ( c + a ) + ( d + b ) x , and both a + c = c + a and b + d = d + b as these are real numbers. (That is, this condition is not affected by the restriction and the verification is the same as the verification in the first item of this exercise). Condition (3) is also not affected by the extra restriction: suppose that a + b x , c + d x , e + f x ∈ 𝒫 then ( ( a + b x ) + ( c + d x ) ) + ( e + f x ) = ( a + c + e ) + ( b + d + f ) x while ( a + b x ) + ( ( c + d x ) + ( e + f x ) ) = ( a + c + e ) + ( b + d + f ) x , and the two are equal. For condition (4) observe that the linear polynomial satisfies the restriction 0 + 0 x ∈ P because its constant term minus twice the coefficient of its linear term is zero, and then the verification from the first item of this question applies: 0 + 0 x ∈ 𝒫 1 has the property that ( a + b x ) + ( 0 + 0 x ) = a + b x and ( 0 + 0 x ) + ( a + b x ) = a + b x . To check condition (5), note that for any a + b x ∈ P the additive inverse is − a − b x since it is an element of P (because a + b x ∈ P we know that a − 2 b = 0 and multiplying both sides by − 1 gives that − a + 2 b = 0 ), and as in the first item it acts as the additive inverse ( a + b x ) + ( − a − b x ) = ( − a − b x ) + ( a + b x ) = 0 + 0 x .

      We must also check conditions (6)-(10), those for scalar multiplication. For (6), the condition that the space be closed under scalar multiplication, suppose that r is a real number and a + b x ∈ P (so that a − 2 b = 0 ), then r ( a + b x ) = ( r a ) + ( r b ) x is an element of P because it is a linear polynomial with real number coefficients satisfying that ( r a ) − 2 ( r b ) = r ( a − 2 b ) = 0 . Condition (7) holds for the same reason that it holds in the first item of this exercise, because ( r + s ) ( a + b x ) = r ( a + b x ) + s ( a + b x ) is true from the distributive property for real number multiplication. Condition (8) is also unchanged from the first item: r ( ( a + b x ) + ( c + d x ) ) = r ( ( a + c ) + ( b + d ) x ) = r ( a + c ) + r ( b + d ) x = ( r a + r c ) + ( r b + r d ) x = r ( a + b x ) + r ( c + d x ) . So is (9): ( r s ) ( a + b x ) = ( r s a ) + ( r s b ) x = r ( s a + s b x ) = r ( s ( a + b x ) ) . Finally, so is condition (10): 1 ( a + b x ) = ( 1 a ) + ( 1 b ) x = a + b x .

  4. Exercise 1.20 Worked answer

    For each, list three elements and then show it is a vector space.

    1. The set of 2 × 2 matrices with real entries under the usual matrix operations.

    2. The set of 2 × 2 matrices with real entries where the 2 , 1 entry is zero, under the usual matrix operations.

    Back to Exercise 1.20

    Answer. Use Example 1.4 as a guide. (Comment. Because many of the conditions are quite easy to check, sometimes a person can feel that they must have missed something. Keep in mind that easy to do, or routine, is different from not necessary to do.)

    1. Here are three elements.

      ( 1 2 3 4 ) , ( − 1 − 2 − 3 − 4 ) , ( 0 0 0 0 )

      For (1), the sum of 2 × 2 real matrices is a 2 × 2 real matrix. For (2) we consider the sum of two matrices

      ( a b c d ) + ( e f g h ) = ( a + e b + f c + g d + h )

      and apply commutativity of real number addition

      = ( e + a f + b g + c h + d ) = ( e f g h ) + ( a b c d )

      to verify that the addition of the matrices is commutative. The verification for condition (3), associativity of matrix addition, is similar to the prior verification:

      ( ( a b c d ) + ( e f g h ) ) + ( i j k l ) = ( ( a + e ) + i ( b + f ) + j ( c + g ) + k ( d + h ) + l )

      while

      ( a b c d ) + ( ( e f g h ) + ( i j k l ) ) = ( a + ( e + i ) b + ( f + j ) c + ( g + k ) d + ( h + l ) )

      and the two are the same entry-by-entry because real number addition is associative. For (4), the zero element of this space is the 2 × 2 matrix of zeroes. Condition (5) holds because for any 2 × 2 matrix  A the additive inverse is the matrix whose entries are the negative of A ’s, the matrix − 1 ⋅ A .

      Condition ( 6 ) holds because a scalar multiple of a 2 × 2 matrix is a 2 × 2 matrix. For condition (7) we have this.

      ( r + s ) ( a b c d ) = ( ( r + s ) a ( r + s ) b ( r + s ) c ( r + s ) d ) = ( r a + s a r b + s b r c + s c r d + s d ) = r ( a b c d ) + s ( a b c d )

      Condition (8) goes the same way.

      r ( ( a b c d ) + ( e f g h ) ) = r ( a + e b + f c + g d + h ) = ( r a + r e r b + r f r c + r g r d + r h ) = r ( a b c d ) + r ( e f g h ) = r ( ( a b c d ) + ( e f g h ) )

      For (9) we have this.

      ( r s ) ( a b c d ) = ( r s a r s b r s c r s d ) = r ( s a s b s c s d ) = r ( s ( a b c d ) )

      Condition (10) is just as easy.

      1 ( a b c d ) = ( 1 ⋅ a 1 ⋅ b 1 ⋅ c 1 ⋅ d ) = ( s a s b s c s d )

    2. This differs from the prior item in this exercise only in that we are restricting to the set T of matrices with a zero in the second row and first column. Here are three elements of T .

      ( 1 2 0 4 ) , ( − 1 − 2 0 − 4 ) , ( 0 0 0 0 )

      Some of the verifications for this item are the same as for the first item in this exercise, and below we’ll just do the ones that are different.

      For (1), the sum of 2 × 2 real matrices with a zero in the 2 , 1 entry is also a 2 × 2 real matrix with a zero in the 2 , 1 entry.

      ( a b 0 d ) + ( e f 0 h ) ( a + e b + f 0 d + h )

      The verification for condition (2) given in the prior item works in this item also. The same holds for condition (3). For (4), note that the 2 × 2 matrix of zeroes is an element of T . Condition (5) holds because for any 2 × 2 matrix  A the additive inverse is the matrix − 1 ⋅ A and so the additive inverse of a matrix with a zero in the 2 , 1 entry is also a matrix with a zero in the 2 , 1 entry.

      Condition  6 holds because a scalar multiple of a 2 × 2 matrix with a zero in the 2 , 1 entry is a 2 × 2 matrix with a zero in the 2 , 1 entry. Condition (7)’s verification is the same as in the prior item. So are condition (8)’s, (9)’s, and (10)’s.

  5. Exercise 1.21 Worked answer

    Recommended. For each, list three elements and then show it is a vector space.

    1. The set of three-component row vectors with their usual operations.

    2. The set

      { ( x y z w ) ∈ ℝ 4 ∣ x + y − z + w = 0 }

      under the operations inherited from ℝ 4 .

    Back to Exercise 1.21

    Answer.

    1. Three elements are ( 1 2 3 ) , ( 2 1 3 ) , and ( 0 0 0 ) .

      We must check conditions (1)-(10) in Definition 1.1. Conditions (1)-(5) concern addition. For condition (1) recall that the sum of two three-component row vectors

      ( a b c ) + ( d e f ) = ( a + d b + e c + f )

      is also a three-component row vector (all of the letters a , … , f represent real numbers). Verification of (2) is routine

      ( a b c ) + ( d e f ) = ( a + d b + e c + f ) = ( d + a e + b f + c ) = ( d e f ) + ( a b c )

      (the second equality holds because the three entries are real numbers and real number addition commutes). Condition (3)’s verification is similar.

      ( ( a b c ) + ( d e f ) ) + ( g h i ) = ( ( a + d ) + g ( b + e ) + h ( c + f ) + i ) = ( a + ( d + g ) b + ( e + h ) c + ( f + i ) ) = ( a b c ) + ( ( d e f ) + ( g h i ) )

      For (4), observe that the three-component row vector ( 0 0 0 ) is the additive identity: ( a b c ) + ( 0 0 0 ) = ( a b c ) . To verify condition (5), assume we are given the element ( a b c ) of the set and note that ( − a − b − c ) is also in the set and has the desired property: ( a b c ) + ( − a − b − c ) = ( 0 0 0 ) .

      Conditions (6)-(10) involve scalar multiplication. To verify (6), that the space is closed under the scalar multiplication operation that was given, note that r ( a b c ) = ( r a r b r c ) is a three-component row vector with real entries. For (7) we compute.

      ( r + s ) ( a b c ) = ( ( r + s ) a ( r + s ) b ( r + s ) c ) = ( r a + s a r b + s b r c + s c ) = ( r a r b r c ) + ( s a s b s c ) = r ( a b c ) + s ( a b c )

      Condition (8) is very similar.

      r ( ( a b c ) + ( d e f ) ) = r ( a + d b + e c + f ) = ( r ( a + d ) r ( b + e ) r ( c + f ) ) = ( r a + r d r b + r e r c + r f ) = ( r a r b r c ) + ( r d r e r f ) = r ( a b c ) + r ( d e f )

      So is the computation for condition (9).

      ( r s ) ( a b c ) = ( r s a r s b r s c ) = r ( s a s b s c ) = r ( s ( a b c ) )

      Condition (10) is just as routine 1 ( a b c ) = ( 1 ⋅ a 1 ⋅ b 1 ⋅ c ) = ( a b c ) .

    2. Call the set L . Closure of addition, condition (1), involves checking that if the summands are members of  L then the sum

      ( a b c d ) + ( e f g h ) = ( a + e b + f c + g d + h )

      is also a member of L , which is true because it satisfies the criteria for membership in L : ( a + e ) + ( b + f ) − ( c + g ) + ( d + h ) = ( a + b − c + d ) + ( e + f − g + h ) = 0 + 0 . The verifications for conditions (2), (3), and (5) are similar to the ones in the first part of this exercise. For condition (4) note that the vector of zeroes is a member of  L because its first component plus its second, minus its third, and plus its fourth, totals to zero.

      Condition (6), closure of scalar multiplication, is similar: where the vector is an element of  L ,

      r ( a b c d ) = ( r a r b r c r d )

      is also an element of  L because r a + r b − r c + r d = r ( a + b − c + d ) = r ⋅ 0 = 0 . The verification for conditions (7), (8), (9), and (10) are as in the prior item of this exercise.

  6. Exercise 1.22 Worked answer

    Recommended. Show that each of these is not a vector space. (Hint. Check closure by listing two members of each set and trying some operations on them.)

    1. Under the operations inherited from ℝ 3 , this set

      { ( x y z ) ∈ ℝ 3 ∣ x + y + z = 1 }

    2. Under the operations inherited from ℝ 3 , this set

      { ( x y z ) ∈ ℝ 3 ∣ x 2 + y 2 + z 2 = 1 }

    3. Under the usual matrix operations,

      { ( a 1 b c ) ∣ a , b , c ∈ ℝ }

    4. Under the usual polynomial operations,

      { a 0 + a 1 x + a 2 x 2 ∣ a 0 , a 1 , a 2 ∈ ℝ + }

      where ℝ + is the set of reals greater than zero

    5. Under the inherited operations,

      { ( x y ) ∈ ℝ 2 ∣ x + 3 y = 4  and  2 x − y = 3  and  6 x + 4 y = 10 }

    Back to Exercise 1.22

    Answer. In each item the set is called Q . For some items, there are other correct ways to show that Q is not a vector space.

    1. It is not closed under addition; it fails to meet condition (1).

      ( 1 0 0 ) , ( 0 1 0 ) ∈ Q ( 1 1 0 ) ∉ Q

    2. It is not closed under addition.

      ( 1 0 0 ) , ( 0 1 0 ) ∈ Q ( 1 1 0 ) ∉ Q

    3. It is not closed under addition.

      ( 0 1 0 0 ) , ( 1 1 0 0 ) ∈ Q ( 1 2 0 0 ) ∉ Q

    4. It is not closed under scalar multiplication.

      1 + 1 x + 1 x 2 ∈ Q − 1 ⋅ ( 1 + 1 x + 1 x 2 ) ∉ Q

    5. It is empty, violating condition (4).

  7. Exercise 1.23 Worked answer

    Define addition and scalar multiplication operations to make the complex numbers a vector space over ℝ .

    Back to Exercise 1.23

    Answer. The usual operations ( v 0 + v 1 i ) + ( w 0 + w 1 i ) = ( v 0 + w 0 ) + ( v 1 + w 1 ) i and r ( v 0 + v 1 i ) = ( r v 0 ) + ( r v 1 ) i suffice. The check is easy.

  8. Exercise 1.24 Worked answer

    Is the set of rational numbers a vector space over ℝ under the usual addition and scalar multiplication operations?

    Back to Exercise 1.24

    Answer. No, it is not closed under scalar multiplication since, e.g., π ⋅ ( 1 ) is not a rational number.

  9. Exercise 1.25 Worked answer

    Show that the set of linear combinations of the variables x , y , z is a vector space under the natural addition and scalar multiplication operations.

    Back to Exercise 1.25

    Answer. The natural operations are ( v 1 x + v 2 y + v 3 z ) + ( w 1 x + w 2 y + w 3 z ) = ( v 1 + w 1 ) x + ( v 2 + w 2 ) y + ( v 3 + w 3 ) z and r ⋅ ( v 1 x + v 2 y + v 3 z ) = ( r v 1 ) x + ( r v 2 ) y + ( r v 3 ) z . The check that this is a vector space is easy; use Example 1.4 as a guide.

  10. Exercise 1.26 Worked answer

    Prove that this is not a vector space: the set of two-tall column vectors with real entries subject to these operations.

    ( x 1 y 1 ) + ( x 2 y 2 ) = ( x 1 − x 2 y 1 − y 2 ) r ⋅ ( x y ) = ( r x r y )

    Back to Exercise 1.26

    Answer. The ‘ + ’ operation is not commutative (that is, condition (2) is not met); producing two members of the set witnessing this assertion is easy.

  11. Exercise 1.27 Worked answer

    Prove or disprove that ℝ 3 is a vector space under these operations.

    1. ( x 1 y 1 z 1 ) + ( x 2 y 2 z 2 ) = ( 0 0 0 ) and r ( x y z ) = ( r x r y r z )

    2. ( x 1 y 1 z 1 ) + ( x 2 y 2 z 2 ) = ( 0 0 0 ) and r ( x y z ) = ( 0 0 0 )

    Back to Exercise 1.27

    Answer.

    1. It is not a vector space.

      ( 1 + 1 ) ⋅ ( 1 0 0 ) ≠ ( 1 0 0 ) + ( 1 0 0 )

    2. It is not a vector space.

      1 ⋅ ( 1 0 0 ) ≠ ( 1 0 0 )

  12. Exercise 1.28 Worked answer

    Recommended. For each, decide if it is a vector space; the intended operations are the natural ones.

    1. The diagonal 2 × 2 matrices

      { ( a 0 0 b ) ∣ a , b ∈ ℝ }

    2. This set of 2 × 2 matrices

      { ( x x + y x + y y ) ∣ x , y ∈ ℝ }

    3. This set

      { ( x y z w ) ∈ ℝ 4 ∣ x + y + z + w = 1 }

    4. The set of functions { f : ℝ → ℝ ∣ d f / d x + 2 f = 0 }

    5. The set of functions { f : ℝ → ℝ ∣ d f / d x + 2 f = 1 }

    Back to Exercise 1.28

    Answer. For each “yes” answer, you can just check a couple of linear combinations in the space. For each “no” answer, give a specific example of the failure of one of the conditions.

    1. Yes. One linear combination picked out of the air is this.

      2 ⋅ ( 3 0 0 4 ) + 5 ⋅ ( 6 0 0 7 )

      The key point about the collection being a vector space is that the result is a diagonal matrix.

      = ( 36 0 0 43 )

    2. Yes. Here is a linear combination.

      10 ⋅ ( 1 3 3 2 ) + 11 ⋅ ( 3 7 7 4 )

      We look for the result to follow the form that the upper left and lower right entries add to make the upper right entry, and also the lower left.

      = ( 43 107 107 64 )

    3. No, this set is not closed under the natural addition operation. The vector of all 1 / 4 ’s is a member of this set but when added to itself the result, the vector of all 1 / 2 ’s, is a nonmember.

    4. Yes.

    5. No, f ( x ) = e − 2 x + ( 1 / 2 ) is in the set but 2 ⋅ f is not (that is, condition (6) fails).

  13. Exercise 1.29 Worked answer

    Recommended. Prove or disprove that this is a vector space: the real-valued functions f of one real variable such that f ( 7 ) = 0 .

    Back to Exercise 1.29

    Answer. It is a vector space. Most conditions of the definition of vector space are routine; we here check only closure. For addition, ( f 1 + f 2 ) ( 7 ) = f 1 ( 7 ) + f 2 ( 7 ) = 0 + 0 = 0 . For scalar multiplication, ( r ⋅ f ) ( 7 ) = r f ( 7 ) = r 0 = 0 .

  14. Exercise 1.30 Worked answer

    Recommended. Show that the set ℝ + of positive reals is a vector space when we interpret ‘ x + y ’ to mean the product of x and y (so that 2 + 3 is 6 ), and we interpret ‘ r ⋅ x ’ as the r -th power of x .

    Back to Exercise 1.30

    Answer. We check Definition 1.1.

    First, closure under ‘ + ’ holds because the product of two positive reals is a positive real. The second condition is satisfied because real multiplication commutes. Similarly, as real multiplication associates, the third checks. For the fourth condition, observe that multiplying a number by 1 ∈ ℝ + won’t change the number. Fifth, any positive real has a reciprocal that is a positive real.

    The sixth, closure under ‘ ⋅ ’, holds because any power of a positive real is a positive real. The seventh condition is just the rule that v r + s equals the product of v r and v s . The eight condition says that ( v w ) r = v r w r . The ninth condition asserts that ( v r ) s = v r s . The final condition says that v 1 = v .

  15. Exercise 1.31 Worked answer

    Is { ( x , y ) ∣ x , y ∈ ℝ } a vector space under these operations?

    1. ( x 1 , y 1 ) + ( x 2 , y 2 ) = ( x 1 + x 2 , y 1 + y 2 ) and r ⋅ ( x , y ) = ( r x , y )

    2. ( x 1 , y 1 ) + ( x 2 , y 2 ) = ( x 1 + x 2 , y 1 + y 2 ) and r ⋅ ( x , y ) = ( r x , 0 )

    Back to Exercise 1.31

    Answer.

    1. No: 1 ⋅ ( 0 , 1 ) + 1 ⋅ ( 0 , 1 ) ≠ ( 1 + 1 ) ⋅ ( 0 , 1 ) .

    2. No; the same calculation as the prior answer shows a condition in the definition of a vector space that is violated. Another example of a violation of the conditions for a vector space is that 1 ⋅ ( 0 , 1 ) ≠ ( 0 , 1 ) .

  16. Exercise 1.32 Worked answer

    Prove or disprove that this is a vector space: the set of polynomials of degree greater than or equal to two, along with the zero polynomial.

    Back to Exercise 1.32

    Answer. It is not a vector space since it is not closed under addition, as ( x 2 ) + ( 1 + x − x 2 ) is not in the set.

  17. Exercise 1.33 Worked answer

    At this point “the same” is only an intuition, but nonetheless for each vector space identify the k for which the space is “the same” as ℝ k .

    1. The 2 × 3 matrices under the usual operations

    2. The n × m matrices (under their usual operations)

    3. This set of 2 × 2 matrices

      { ( a 0 b c ) ∣ a , b , c ∈ ℝ }

    4. This set of 2 × 2 matrices

      { ( a 0 b c ) ∣ a + b + c = 0 }

    Back to Exercise 1.33

    Answer.

    1. 6

    2. n m

    3. 3

    4. To see that the answer is 2 , rewrite it as

      { ( a 0 b − a − b ) ∣ a , b ∈ ℝ }

      so that there are two parameters.

  18. Exercise 1.34 Worked answer

    Using + → to represent vector addition and ⋅ → for scalar multiplication, restate the definition of vector space.

    Back to Exercise 1.34

    Answer. A vector space (over ℝ ) consists of a set V along with two operations ‘ + → ’ and ‘ ⋅ → ’ subject to these conditions. Where v → , w → ∈ V , (1) their vector sum v → + → w → is an element of V . If u → , v → , w → ∈ V then (2)  v → + → w → = w → + → v → and (3)  ( v → + → w → ) + → u → = v → + → ( w → + → u → ) . (4) There is a zero vector 0 → ∈ V such that v → + → 0 → = v → for all v → ∈ V . (5) Each v → ∈ V has an additive inverse w → ∈ V such that w → + → v → = 0 → . If r , s are scalars, that is, members of ℝ ), and v → , w → ∈ V then (6) each scalar multiple r ⋅ v → is in V . If r , s ∈ ℝ and v → , w → ∈ V then (7)  ( r + s ) ⋅ v → = r ⋅ v → + → s ⋅ v → , and (8)  r ⋅ → ( v → + w → ) = r ⋅ → v → + r ⋅ → w → , and (9)  ( r s ) ⋅ → v → = r ⋅ → ( s ⋅ → v → ) , and (10)  1 ⋅ → v → = v → .

  19. Exercise 1.35 Worked answer

    Prove these.

    1. For any v → ∈ V , if w → ∈ V is an additive inverse of v → , then v → is an additive inverse of w → . So a vector is an additive inverse of any additive inverse of itself.

    2. Vector addition left-cancels: if v → , s → , t → ∈ V then v → + s → = v → + t → implies that s → = t → .

    Back to Exercise 1.35

    Answer.

    1. Let V be a vector space, let v → ∈ V , and assume that w → ∈ V is an additive inverse of v → so that w → + v → = 0 → . Because addition is commutative, 0 → = w → + v → = v → + w → , so therefore v → is also the additive inverse of w → .

    2. Let V be a vector space and suppose v → , s → , t → ∈ V . The additive inverse of v → is − v → so v → + s → = v → + t → gives that − v → + v → + s → = − v → + v → + t → , which says that 0 → + s → = 0 → + t → and so s → = t → .

  20. Exercise 1.36 Worked answer

    The definition of vector spaces does not explicitly say that 0 → + v → = v → (it instead says that v → + 0 → = v → ). Show that it must nonetheless hold in any vector space.

    Back to Exercise 1.36

    Answer. Addition is commutative, so in any vector space, for any vector v → we have that v → = v → + 0 → = 0 → + v → .

  21. Exercise 1.37 Worked answer

    Recommended. Prove or disprove that this is a vector space: the set of all matrices, under the usual operations.

    Back to Exercise 1.37

    Answer. It is not a vector space since addition of two matrices of unequal sizes is not defined, and thus the set fails to satisfy the closure condition.

  22. Exercise 1.38 Worked answer

    In a vector space every element has an additive inverse. Can some elements have two or more?

    Back to Exercise 1.38

    Answer. Each element of a vector space has one and only one additive inverse.

    For, let V be a vector space and suppose that v → ∈ V . If w → 1 , w → 2 ∈ V are both additive inverses of v → then consider w → 1 + v → + w → 2 . On the one hand, we have that it equals w → 1 + ( v → + w → 2 ) = w → 1 + 0 → = w → 1 . On the other hand we have that it equals ( w → 1 + v → ) + w → 2 = 0 → + w → 2 = w → 2 . Therefore, w → 1 = w → 2 .

  23. Exercise 1.39 Worked answer

    1. Prove that every point, line, or plane through the origin in ℝ 3 is a vector space under the inherited operations.

    2. What if it doesn’t contain the origin?

    Back to Exercise 1.39

    Answer.

    1. Every such set has the form { r ⋅ v → + s ⋅ w → ∣ r , s ∈ ℝ } where either or both of v → , w → may be 0 → . With the inherited operations, closure of addition ( r 1 v → + s 1 w → ) + ( r 2 v → + s 2 w → ) = ( r 1 + r 2 ) v → + ( s 1 + s 2 ) w → and scalar multiplication c ( r v → + s w → ) = ( c r ) v → + ( c s ) w → are easy. The other conditions are also routine.

    2. No such set can be a vector space under the inherited operations because it does not have a zero element.

  24. Exercise 1.40 Worked answer

    Using the idea of a vector space we can easily reprove that the solution set of a homogeneous linear system has either one element or infinitely many elements. Assume that v → ∈ V is not 0 → .

    1. Prove that r ⋅ v → = 0 → if and only if r = 0 .

    2. Prove that r 1 ⋅ v → = r 2 ⋅ v → if and only if r 1 = r 2 .

    3. Prove that any nontrivial vector space is infinite.

    4. Use the fact that a nonempty solution set of a homogeneous linear system is a vector space to draw the conclusion.

    Back to Exercise 1.40

    Answer. Assume that v → ∈ V is not 0 → .

    1. One direction of the if and only if is clear: if r = 0 then r ⋅ v → = 0 → . For the other way, let r be a nonzero scalar. If r v → = 0 → then ( 1 / r ) ⋅ r v → = ( 1 / r ) ⋅ 0 → shows that v → = 0 → , contrary to the assumption.

    2. Where r 1 , r 2 are scalars, r 1 v → = r 2 v → holds if and only if ( r 1 − r 2 ) v → = 0 → . By the prior item, then r 1 − r 2 = 0 .

    3. A nontrivial space has a vector v → ≠ 0 → . Consider the set { k ⋅ v → ∣ k ∈ ℝ } . By the prior item this set is infinite.

    4. The solution set is either trivial, or nontrivial. In the second case, it is infinite.

  25. Exercise 1.41 Worked answer

    Is this a vector space under the natural operations: the real-valued functions of one real variable that are differentiable?

    Back to Exercise 1.41

    Answer. Yes. A theorem of first semester calculus says that a sum of differentiable functions is differentiable and that ( f + g ) ′ = f ′ + g ′ , and that a multiple of a differentiable function is differentiable and that ( r ⋅ f ) ′ = r f ′ .

  26. Exercise 1.42 Worked answer

    A vector space over the complex numbers ℂ has the same definition as a vector space over the reals except that scalars are drawn from ℂ instead of from ℝ . Show that each of these is a vector space over the complex numbers. (Recall how complex numbers add and multiply: ( a 0 + a 1 i ) + ( b 0 + b 1 i ) = ( a 0 + b 0 ) + ( a 1 + b 1 ) i and ( a 0 + a 1 i ) ( b 0 + b 1 i ) = ( a 0 b 0 − a 1 b 1 ) + ( a 0 b 1 + a 1 b 0 ) i .)

    1. The set of degree two polynomials with complex coefficients

    2. This set

      { ( 0 a b 0 ) ∣ a , b ∈ ℂ  and  a + b = 0 + 0 i }

    Back to Exercise 1.42

    Answer. The check is routine. Note that ‘ 1 ’ is 1 + 0 i and the zero elements are these.

    1. ( 0 + 0 i ) + ( 0 + 0 i ) x + ( 0 + 0 i ) x 2

    2. ( 0 + 0 i 0 + 0 i 0 + 0 i 0 + 0 i )

  27. Exercise 1.43 Worked answer

    Name a property shared by all of the ℝ n ’s but not listed as a requirement for a vector space.

    Back to Exercise 1.43

    Answer. Notably absent from the definition of a vector space is a distance measure.

  28. Exercise 1.44 Worked answer

    1. Prove that for any four vectors v → 1 , … , v → 4 ∈ V we can associate their sum in any way without changing the result.

      ( ( v → 1 + v → 2 ) + v → 3 ) + v → 4 = ( v → 1 + ( v → 2 + v → 3 ) ) + v → 4 = ( v → 1 + v → 2 ) + ( v → 3 + v → 4 ) = v → 1 + ( ( v → 2 + v → 3 ) + v → 4 ) = v → 1 + ( v → 2 + ( v → 3 + v → 4 ) )

      This allows us to write ‘ v → 1 + v → 2 + v → 3 + v → 4 ’ without ambiguity.

    2. Prove that any two ways of associating a sum of any number of vectors give the same sum. (Hint. Use induction on the number of vectors.)

    Back to Exercise 1.44

    Answer.

    1. A small rearrangement does the trick.

      ( v → 1 + ( v → 2 + v → 3 ) ) + v → 4 = ( ( v → 1 + v → 2 ) + v → 3 ) + v → 4 = ( v → 1 + v → 2 ) + ( v → 3 + v → 4 ) = v → 1 + ( v → 2 + ( v → 3 + v → 4 ) ) = v → 1 + ( ( v → 2 + v → 3 ) + v → 4 )

      Each equality above follows from the associativity of three vectors that is given as a condition in the definition of a vector space. For instance, the second ‘ = ’ applies the rule ( w → 1 + w → 2 ) + w → 3 = w → 1 + ( w → 2 + w → 3 ) by taking w → 1 to be v → 1 + v → 2 , taking w → 2 to be v → 3 , and taking w → 3 to be v → 4 .

    2. The base case for induction is the three vector case. This case v → 1 + ( v → 2 + v → 3 ) = ( v → 1 + v → 2 ) + v → 3 is one of the conditions in the definition of a vector space.

      For the inductive step, assume that any two sums of three vectors, any two sums of four vectors, …, any two sums of k vectors are equal no matter how we parenthesize the sums. We will show that any sum of k + 1 vectors equals this one ( ( ⋯ ( ( v → 1 + v → 2 ) + v → 3 ) + ⋯ ) + v → k ) + v → k + 1 .

      Any parenthesized sum has an outermost ‘ + ’. Assume that it lies between v → m and v → m + 1 so the sum looks like this.

      ( ⋯ v → 1 ⋯ v → m ⋯ ) + ( ⋯ v → m + 1 ⋯ v → k + 1 ⋯ )

      The second half involves fewer than k + 1 additions, so by the inductive hypothesis we can re-parenthesize it so that it reads left to right from the inside out, and in particular, so that its outermost ‘ + ’ occurs right before v → k + 1 .

      = ( ⋯ v → 1 ⋯ v → m ⋯ ) + ( ( ⋯ ( v → m + 1 + v → m + 2 ) + ⋯ + v → k ) + v → k + 1 )

      Apply the associativity of the sum of three things

      = ( ( ⋯ v → 1 ⋯ v → m ⋯ ) + ( ⋯ ( v → m + 1 + v → m + 2 ) + ⋯ v → k ) ) + v → k + 1

      and finish by applying the inductive hypothesis inside these outermost parenthesis.

  29. Exercise 1.45 Worked answer

    Example 1.5 gives a subset of ℝ 2 that is not a vector space, under the obvious operations, because while it is closed under addition, it is not closed under scalar multiplication. Consider the set of vectors in the plane whose components have the same sign or are  0 . Show that this set is closed under scalar multiplication but not addition.

    Back to Exercise 1.45

    Answer. Let v → be a member of ℝ 2 with components v 1 and v 2 . We can abbreviate the condition that both components have the same sign or are  0 by v 1 v 2 ≥ 0 .

    To show the set is closed under scalar multiplication, observe that the components of r v → satisfy ( r v 1 ) ( r v 2 ) = r 2 ( v 1 v 2 ) and r 2 ≥ 0 so r 2 v 1 v 2 ≥ 0 .

    To show the set is not closed under addition we need only produce one example. The vector with components − 1 and  0 , when added to the vector with components 0 and  1 makes a vector with mixed-sign components of − 1 and  1 .

Subspaces and Spanning Sets

In Example 1.3 we saw a vector space that is a subset of ℝ 2 , a line through the origin. There, the vector space ℝ 2 contains inside it another vector space, the line.

Definition 2.1 For any vector space, a subspace is a subset that is itself a vector space, under the inherited operations.

Example 2.2 This plane through the origin

P = { ( x y z ) ∣ x + y + z = 0 }

is a subspace of ℝ 3 . As required by the definition the plane’s operations are inherited from the larger space, that is, vectors add in P as they add in ℝ 3

( x 1 y 1 z 1 ) + ( x 2 y 2 z 2 ) = ( x 1 + x 2 y 1 + y 2 z 1 + z 2 )

and scalar multiplication is also the same as in ℝ 3 . To show that P is a subspace we need only note that it is a subset and then verify that it is a space. We won’t check all ten conditions, just the two closure ones. For closure under addition, note that if the summands satisfy that x 1 + y 1 + z 1 = 0 and x 2 + y 2 + z 2 = 0 then the sum satisfies that ( x 1 + x 2 ) + ( y 1 + y 2 ) + ( z 1 + z 2 ) = ( x 1 + y 1 + z 1 ) + ( x 2 + y 2 + z 2 ) = 0 . For closure under scalar multiplication, if x + y + z = 0 then the scalar multiple has r x + r y + r z = r ( x + y + z ) = 0 .

Example 2.3 The x -axis in ℝ 2 is a subspace, where the addition and scalar multiplication operations are the inherited ones.

( x 1 0 ) + ( x 2 0 ) = ( x 1 + x 2 0 ) r ⋅ ( x 0 ) = ( r x 0 )

As in the prior example, to verify directly from the definition that this is a subspace we simply note that it is a subset and then check that it satisfies the conditions in definition of a vector space. For instance the two closure conditions are satisfied: adding two vectors with a second component of zero results in a vector with a second component of zero and multiplying a scalar times a vector with a second component of zero results in a vector with a second component of zero.

Example 2.4 Another subspace of ℝ 2 is its trivial subspace.

{ ( 0 0 ) }

Any vector space has a trivial subspace { 0 → } . At the opposite extreme, any vector space has itself for a subspace. A subspace that is not the entire space is a proper subspace.

Example 2.5 Vector spaces that are not ℝ n ’s also have subspaces. The space of cubic polynomials { a + b x + c x 2 + d x 3 ∣ a , b , c , d ∈ ℝ } has a subspace comprised of all linear polynomials { m + n x ∣ m , n ∈ ℝ } .

Example 2.6 Another example of a subspace that is not a subset of an ℝ n followed the definition of a vector space. The space in Example 1.12 of all real-valued functions of one real variable { f ∣ f : ℝ → ℝ } has the subspace in Example 1.14 of functions satisfying the restriction ( d 2 f / d x 2 ) + f = 0 .

Example 2.7 The definition requires that the addition and scalar multiplication operations must be the ones inherited from the larger space. The set S = { 1 } is a subset of ℝ 1 . And, under the operations 1 + 1 = 1 and r ⋅ 1 = 1 the set S is a vector space, specifically, a trivial space. However, S is not a subspace of ℝ 1 because those aren’t the inherited operations, since of course ℝ 1 has 1 + 1 = 2 .

Example 2.8 Being vector spaces themselves, subspaces must satisfy the closure conditions. The set ℝ + is not a subspace of the vector space ℝ 1 because with the inherited operations it is not closed under scalar multiplication: if v → = 1 then − 1 ⋅ v → ∉ ℝ + .

The next result says that Example 2.8 is prototypical. The only way that a subset can fail to be a subspace, if it is nonempty and uses the inherited operations, is if it isn’t closed.

Lemma 2.9 For a nonempty subset S of a vector space, under the inherited operations the following are equivalent statements.1

  1. S is a subspace of that vector space

  2. S is closed under linear combinations of pairs of vectors: for any vectors s → 1 , s → 2 ∈ S and scalars r 1 , r 2 the vector r 1 s → 1 + r 2 s → 2 is in S

  3. S is closed under linear combinations of any number of vectors: for any vectors s → 1 , … , s → n ∈ S and scalars r 1 , … , r n the vector r 1 s → 1 + ⋯ + r n s → n is an element of S .

Briefly, a subset is a subspace if and only if it is closed under linear combinations.

Proof ‘The following are equivalent’ means that each pair of statements are equivalent.

( 1 ) ⟺ ( 2 ) ( 2 ) ⟺ ( 3 ) ( 3 ) ⟺ ( 1 )

We will prove the equivalence by establishing that ( 1 ) ⟹ ( 3 ) ⟹ ( 2 ) ⟹ ( 1 ) . This strategy is suggested by the observation that the implications ( 1 ) ⟹ ( 3 ) and ( 3 ) ⟹ ( 2 ) are easy and so we need only argue that ( 2 ) ⟹ ( 1 ) .

Assume that S is a nonempty subset of a vector space V that is closed under combinations of pairs of vectors. We will show that S is a vector space by checking the conditions.

The vector space definition has five conditions on addition. First, for closure under addition, if s → 1 , s → 2 ∈ S then s → 1 + s → 2 ∈ S , as it is a combination of a pair of vectors and we are assuming that  S is closed under those. Second, for any s → 1 , s → 2 ∈ S , because addition is inherited from V , the sum s → 1 + s → 2 in S equals the sum s → 1 + s → 2 in V , and that equals the sum s → 2 + s → 1 in V (because V is a vector space, its addition is commutative), and that in turn equals the sum s → 2 + s → 1 in S . The argument for the third condition is similar to that for the second. For the fourth, consider the zero vector of V and note that closure of S under linear combinations of pairs of vectors gives that 0 ⋅ s → + 0 ⋅ s → = 0 → is an element of S (where s → is any member of the nonempty set S ); checking that 0 → acts under the inherited operations as the additive identity of S is easy. The fifth condition is satisfied because for any s → ∈ S , closure under linear combinations of pairs of vectors shows that 0 ⋅ 0 → + ( − 1 ) ⋅ s → is an element of  S , and it is obviously the additive inverse of s → under the inherited operations. The verifications for the scalar multiplication conditions are similar; see Exercise 2.35.

QED

We will usually verify that a subset is a subspace by checking that it satisfies statement (2).

Remark 2.10 At the start of this chapter we introduced vector spaces as collections in which linear combinations “make sense.” Lemma 2.9’s statements (1)-(3) say that we can always make sense of an expression like r 1 s → 1 + r 2 s → 2 in that the vector described is in the set  S .

As a contrast, consider the set T of two-tall vectors whose entries add to a number greater than or equal to zero. Here we cannot just write any linear combination such as 2 t → 1 − 3 t → 2 and be confident the result is an element of T .

Lemma 2.9 suggests that a good way to think of a vector space is as a collection of unrestricted linear combinations. The next two examples take some spaces and recasts their descriptions to be in that form.

Example 2.11 We can show that this plane through the origin subset of ℝ 3

S = { ( x y z ) ∣ x − 2 y + z = 0 }

is a subspace under the usual addition and scalar multiplication operations of column vectors by checking that it is nonempty and closed under linear combinations of two vectors. But there is another way. Think of x − 2 y + z = 0 as a one-equation linear system and parametrize it by expressing the leading variable in terms of the free variables x = 2 y − z .

S = { ( 2 y − z y z ) ∣ y , z ∈ ℝ } = { y ( 2 1 0 ) + z ( − 1 0 1 ) ∣ y , z ∈ ℝ } ( ∗ )

Now, to show that this is a subspace consider r 1 s → 1 + r 2 s → 2 . Each s → i is a linear combination of the two vectors in ( ∗ ) so this is a linear combination of linear combinations.

r 1 ⋅ ( y 1 ( 2 1 0 ) + z 1 ( − 1 0 1 ) ) + r 2 ⋅ ( y 2 ( 2 1 0 ) + z 2 ( − 1 0 1 ) )

The Linear Combination Lemma, Lemma One.III.2.3, shows that the total is a linear combination of the two vectors and so Lemma 2.9’s statement (2) is satisfied.

Example 2.12 This is a subspace of the 2 × 2 matrices ℳ 2 × 2 .

L = { ( a 0 b c ) ∣ a + b + c = 0 }

To parametrize, express the condition as a = − b − c .

L = { ( − b − c 0 b c ) ∣ b , c ∈ ℝ } = { b ( − 1 0 1 0 ) + c ( − 1 0 0 1 ) ∣ b , c ∈ ℝ }

As above, we’ve described the subspace as a collection of unrestricted linear combinations. To show it is a subspace, note that a linear combination of vectors from L is a linear combination of linear combinations and so statement (2) is true.

Definition 2.13 The span (or linear closure) of a nonempty subset S of a vector space is the set of all linear combinations of vectors from S .

[ S ] = { c 1 s → 1 + ⋯ + c n s → n ∣ c 1 , … , c n ∈ ℝ  and  s → 1 , … , s → n ∈ S }

The span of the empty subset of a vector space is its trivial subspace.

No notation for the span is completely standard. The square brackets used here are common but so are ‘ span ( S ) ’ and ‘ sp ( S ) ’.

Remark 2.14 In Chapter One, after we showed that we can write the solution set of a homogeneous linear system as { c 1 β → 1 + ⋯ + c k β → k ∣ c 1 , … , c k ∈ ℝ } , we described that as the set ‘generated’ by the β → ’s. We now call that the span of { β → 1 , … , β → k } .

Recall also from that proof that the span of the empty set is defined to be the set { 0 → } because of the convention that a trivial linear combination, a combination of zero-many vectors, adds to  0 → . Besides, defining the empty set’s span to be the trivial subspace is convenient because it keeps results like the next one from needing exceptions for the empty set.

Lemma 2.15 In a vector space, the span of any subset is a subspace.

Proof If the subset S is empty then by definition its span is the trivial subspace. If S is not empty then by Lemma 2.9 we need only check that the span [ S ] is closed under linear combinations of pairs of elements. For a pair of vectors from that span, v → = c 1 s → 1 + ⋯ + c n s → n and w → = c n + 1 s → n + 1 + ⋯ + c m s → m , a linear combination

p ⋅ ( c 1 s → 1 + ⋯ + c n s → n ) + r ⋅ ( c n + 1 s → n + 1 + ⋯ + c m s → m ) = p c 1 s → 1 + ⋯ + p c n s → n + r c n + 1 s → n + 1 + ⋯ + r c m s → m

is a linear combination of elements of  S and so is an element of [ S ] (possibly some of the s → i ’s from v → equal some of the s → j ’s from w → but that does not matter).

QED

The converse of the lemma holds: any subspace is the span of some set, because a subspace is obviously the span of itself, the set of all of its members. Thus a subset of a vector space is a subspace if and only if it is a span. This fits the intuition that a good way to think of a vector space is as a collection in which linear combinations are sensible.

Taken together, Lemma 2.9 and Lemma 2.15 show that the span of a subset S of a vector space is the smallest subspace containing all of the members of S .

Example 2.16 In any vector space V , for any vector v → ∈ V , the set { r ⋅ v → ∣ r ∈ ℝ } is a subspace of V . For instance, for any vector v → ∈ ℝ 3 the line through the origin containing that vector { k v → ∣ k ∈ ℝ } is a subspace of ℝ 3 . This is true even if v → is the zero vector, in which case it is the degenerate line, the trivial subspace.

Example 2.17 The span of this set is all of ℝ 2 .

{ ( 1 1 ) , ( 1 − 1 ) }

We know that the span is some subspace of  ℝ 2 . To check that it is all of  ℝ 2 we must show that any member of ℝ 2 is a linear combination of these two vectors. So we ask: for which vectors with real components x and  y are there scalars c 1 and c 2 such that this holds?

c 1 ( 1 1 ) + c 2 ( 1 − 1 ) = ( x y ) ( ∗ )

Gauss’s Method

c 1 + c 2 = x c 1 − c 2 = y ⟶ − ρ 1 + ρ 2 ( c 1 + c 2 = x − 2 c 2 = − x + y

with back substitution gives c 2 = ( x − y ) / 2 and c 1 = ( x + y ) / 2 . This shows that for any x , y there are appropriate coefficients c 1 , c 2 making ( ∗ ) true— we can write any element of ℝ 2 as a linear combination of the two given ones. For instance, for x = 1 and y = 2 the coefficients c 2 = − 1 / 2 and c 1 = 3 / 2 will do.

Since spans are subspaces, and we know that a good way to understand a subspace is to parametrize its description, we can try to understand a set’s span in that way.

Example 2.18 Consider, in the vector space of quadratic polynomials  𝒫 2 , the span of the set S = { 3 x − x 2 , 2 x } . By the definition of span, it is the set of unrestricted linear combinations of the two { c 1 ( 3 x − x 2 ) + c 2 ( 2 x ) ∣ c 1 , c 2 ∈ ℝ } . Clearly polynomials in this span must have a constant term of zero. Is that necessary condition also sufficient?

We are asking: for which members a 2 x 2 + a 1 x + a 0 of 𝒫 2 are there c 1 and c 2 such that a 2 x 2 + a 1 x + a 0 = c 1 ( 3 x − x 2 ) + c 2 ( 2 x ) ? Polynomials are equal when their coefficients are equal so we want conditions on a 2 , a 1 , and a 0 making that triple a solution of this system.

− c 1 = a 2 3 c 1 + 2 c 2 = a 1 0 = a 0

Gauss’s Method and back-substitution gives c 1 = − a 2 , and c 2 = ( 3 / 2 ) a 2 + ( 1 / 2 ) a 1 , and 0 = a 0 . Thus as long as there is no constant term a 0 = 0 we can give coefficients c 1 and c 2 to describe that polynomial as an element of the span. For instance, for the polynomial 0 − 4 x + 3 x 2 , the coefficients c 1 = − 3 and c 2 = 5 / 2 will do. So the span of the given set is [ S ] = { a 1 x + a 2 x 2 ∣ a 1 , a 2 ∈ ℝ } .

Incidentally, this shows that the set { x , x 2 } spans the same subspace. A space can have more than one spanning set. Two other sets spanning this subspace are { x , x 2 , − x + 2 x 2 } and { x , x + x 2 , x + 2 x 2 , … } .

Example 2.19 The picture below shows the subspaces of ℝ 3 that we now know of: the trivial subspace, lines through the origin, planes through the origin, and the whole space. (Of course, the picture shows only a few of the infinitely many cases. Line segments connect subsets with their supersets.) In the next section we will prove that ℝ 3 has no other kind of subspace, so in fact this lists them all.

This describes each subspace as the span of a set with a minimal number of members. With this, the subspaces fall naturally into levels—planes on one level, lines on another, etc.

Selected subspaces of real three-dimensional space are arranged in four levels. At the top is the span of the three coordinate vectors. Below are the xy-plane, the xz-plane, and the plane spanned by (1,1,0) and (0,0,1). The next level shows lines spanned by (1,0,0), (0,1,0), (2,1,0), and (1,1,1). The bottom is the zero subspace. Lines connect the pictured subspaces to pictured superspaces. Dots indicate further planes and lines, not exhaustively displayed.

So far in this chapter we have seen that to study the properties of linear combinations, the right setting is a collection that is closed under these combinations. In the first subsection we introduced such collections, vector spaces, and we saw a great variety of examples. In this subsection we saw still more spaces, ones that are subspaces of others. In all of the variety there is a commonality. Example 2.19 above brings it out: vector spaces and subspaces are best understood as a span, and especially as a span of a small number of vectors. The next section studies spanning sets that are minimal.

Exercises

  1. Exercise 2.20 Worked answer

    Recommended. Which of these subsets of the vector space of 2 × 2 matrices are subspaces under the inherited operations? For each one that is a subspace, parametrize its description. For each that is not, give a condition that fails.

    1. { ( a 0 0 b ) ∣ a , b ∈ ℝ }

    2. { ( a 0 0 b ) ∣ a + b = 0 }

    3. { ( a 0 0 b ) ∣ a + b = 5 }

    4. { ( a c 0 b ) ∣ a + b = 0 , c ∈ ℝ }

    Back to Exercise 2.20

    Answer. By Lemma 2.9, to see if each subset of ℳ 2 × 2 is a subspace, we need only check if it is nonempty and closed.

    1. Yes, we can easily check that it is nonempty and closed. This is a parametrization.

      { a ( 1 0 0 0 ) + b ( 0 0 0 1 ) ∣ a , b ∈ ℝ }

      By the way, the parametrization also shows that it is a subspace, since it is given as the span of the two-matrix set, and any span is a subspace.

    2. Yes; it is easily checked to be nonempty and closed. Alternatively, as mentioned in the prior answer, the existence of a parametrization shows that it is a subspace. For the parametrization, the condition a + b = 0 can be rewritten as a = − b . Then we have this.

      { ( − b 0 0 b ) ∣ b ∈ ℝ } = { b ( − 1 0 0 1 ) ∣ b ∈ ℝ }

    3. No. It is not closed under addition. For instance,

      ( 5 0 0 0 ) + ( 5 0 0 0 ) = ( 10 0 0 0 )

      is not in the set. (This set is also not closed under scalar multiplication, for instance, it does not contain the zero matrix.)

    4. Yes.

      { b ( − 1 0 0 1 ) + c ( 0 1 0 0 ) ∣ b , c ∈ ℝ }

  2. Exercise 2.21 Worked answer

    Recommended. Is this a subspace of 𝒫 2 : { a 0 + a 1 x + a 2 x 2 ∣ a 0 + 2 a 1 + a 2 = 4 } ? If it is then parametrize its description.

    Back to Exercise 2.21

    Answer. No, it is not closed. In particular, it is not closed under scalar multiplication because it does not contain the zero polynomial.

  3. Exercise 2.22 Worked answer

    Is the vector in the span of the set?

    ( 1 0 3 ) { ( 2 1 − 1 ) , ( 1 − 1 1 ) }

    Back to Exercise 2.22

    Answer. The equation

    ( 1 0 3 ) = c 1 ( 2 1 − 1 ) + c 2 ( 1 − 1 1 )

    gives rise to a linear system

    ( 2 1 1 1 − 1 0 − 1 1 3 ) ⟶ ( 1 / 2 ) ρ 1 + ρ 3 ( − 1 / 2 ) ρ 1 + ρ 2 ( ( 2 1 1 0 − 3 / 2 − 1 / 2 0 0 3 )

    that has no solution, so the vector is not in the span.

  4. Exercise 2.23 Worked answer

    Recommended. Decide if the vector lies in the span of the set, inside of the space.

    1. ( 2 0 1 ) , { ( 1 0 0 ) , ( 0 0 1 ) } , in ℝ 3

    2. x − x 3 , { x 2 , 2 x + x 2 , x + x 3 } , in 𝒫 3

    3. ( 0 1 4 2 ) , { ( 1 0 1 1 ) , ( 2 0 2 3 ) } , in ℳ 2 × 2

    Back to Exercise 2.23

    Answer.

    1. Yes, solving the linear system arising from

      r 1 ( 1 0 0 ) + r 2 ( 0 0 1 ) = ( 2 0 1 )

      gives r 1 = 2 and r 2 = 1 .

    2. Yes; the linear system arising from r 1 ( x 2 ) + r 2 ( 2 x + x 2 ) + r 3 ( x + x 3 ) = x − x 3

      2 r 2 + r 3 = 1 r 1 + r 2 = 0 r 3 = − 1

      gives that − 1 ( x 2 ) + 1 ( 2 x + x 2 ) − 1 ( x + x 3 ) = x − x 3 .

    3. No; any combination of the two given matrices has a zero in the upper right.

  5. Exercise 2.24 Worked answer

    A superhero is at the origin of a two dimensional plane. The superhero has two devices, a hoverboard that moves any distance in the direction ( 3 1 ) and a magic carpet that moves any distance in the direction ( 1 2 ) .

    1. An evil villain is hiding out in the plane at the point ( − 5 , 7 ) . How many hoverboard units and magic carpet units does the superhero have to move to get to the villain?

    2. Is there anywhere in the plane that the villain could safely hide and not be reached? If so, give one such location. If not, explain why not.

    3. The superhero and the villain are transported to a three dimensional space where the superhero now has three devices.

      hoverboard:  ( − 1 0 3 ) magic carpet:  ( 2 1 0 ) scooter:  ( 5 4 − 9 )

      Is there anywhere that the villain could safely hide? If so, give one such location and if not, explain why not.

    Back to Exercise 2.24

    Answer.

    1. This relationship

      ( − 5 7 ) = a ( 3 1 ) + b ( 1 2 )

      gives this system of equations.

      3 a + b = − 5 a + 2 b = 7 ⟶ − ( 1 / 3 ) ρ 1 + ρ 2 ( 3 a + b = − 5 ( 5 / 3 ) b = 26 / 3

      So b = 26 / 5 . Substituting 3 a + ( 26 / 5 ) = − 5 gives a = − 17 / 5 . In the terms of the section, the vector ( − 5 7 ) is in the span of the set of the other two.

    2. There is no place to hide. This Gauss’s method reduction

      3 a + b = x a + 2 b = y ⟶ − ( 1 / 3 ) ρ 1 + ρ 2 ( 3 a + b = x ( 5 / 3 ) b = − ( 1 / 3 ) x + y

      shows that for any x , y ∈ ℝ there is a pair a , b ∈ ℝ . In the terms of the section, the span of the two vectors is the entire plane.

    3. No place to hide. Consider this system.

      a ( − 1 0 3 ) + b ( 2 1 0 ) + c ( 5 4 − 9 ) = ( x y z )

      After reduction

      − a + 2 b + 5 c = x b + 4 c = y 3 a − 9 c = z ⟶ 3 ρ 1 + ρ 3 ( − a + 2 b + 5 c = x b + 4 c = y 6 b + 6 c = 3 x + z ⟶ − 6 ρ 2 + ρ 3 ( − a + 2 b + 5 c = x b + 4 c = y − 18 c = 3 x + − 6 y + z

      it shows that for any x , y , z ∈ ℝ the required a , b , and  c exist. The superhero’s devices span the plane.

  6. Exercise 2.25 Worked answer

    Which of these are members of the span [ { cos 2 ⁡ x , sin 2 ⁡ x } ] in the vector space of real-valued functions of one real variable?

    1. f ( x ) = 1

    2. f ( x ) = 3 + x 2

    3. f ( x ) = sin ⁡ x

    4. f ( x ) = cos ⁡ ( 2 x )

    Back to Exercise 2.25

    Answer.

    1. Yes; it is in that span since 1 ⋅ cos 2 ⁡ x + 1 ⋅ sin 2 ⁡ x = f ( x ) .

    2. No, since r 1 cos 2 ⁡ x + r 2 sin 2 ⁡ x = 3 + x 2 has no scalar solutions that work for all x . For instance, setting x to be 0 and π gives the two equations r 1 ⋅ 1 + r 2 ⋅ 0 = 3 and r 1 ⋅ 1 + r 2 ⋅ 0 = 3 + π 2 , which are not consistent with each other.

    3. No; consider what happens on setting x to be π / 2 and 3 π / 2 .

    4. Yes, cos ⁡ ( 2 x ) = 1 ⋅ cos 2 ⁡ ( x ) − 1 ⋅ sin 2 ⁡ ( x ) .

  7. Exercise 2.26 Worked answer

    Recommended. Which of these sets spans ℝ 3 ? That is, which of these sets has the property that any three-tall vector can be expressed as a suitable linear combination of the set’s elements?

    1. { ( 1 0 0 ) , ( 0 2 0 ) , ( 0 0 3 ) }

    2. { ( 2 0 1 ) , ( 1 1 0 ) , ( 0 0 1 ) }

    3. { ( 1 1 0 ) , ( 3 0 0 ) }

    4. { ( 1 0 1 ) , ( 3 1 0 ) , ( − 1 0 0 ) , ( 2 1 5 ) }

    5. { ( 2 1 1 ) , ( 3 0 1 ) , ( 5 1 2 ) , ( 6 0 2 ) }

    Back to Exercise 2.26

    Answer.

    1. Yes, for any x , y , z ∈ ℝ this equation

      r 1 ( 1 0 0 ) + r 2 ( 0 2 0 ) + r 3 ( 0 0 3 ) = ( x y z )

      has the solution r 1 = x , r 2 = y / 2 , and r 3 = z / 3 .

    2. Yes, the equation

      r 1 ( 2 0 1 ) + r 2 ( 1 1 0 ) + r 3 ( 0 0 1 ) = ( x y z )

      gives rise to this

      2 r 1 + r 2 = x r 2 = y r 1 + r 3 = z ⟶ − ( 1 / 2 ) ρ 1 + ρ 3 ( ⟶ ( 1 / 2 ) ρ 2 + ρ 3 ( 2 r 1 + r 2 = x r 2 = y r 3 = − ( 1 / 2 ) x + ( 1 / 2 ) y + z

      so that, given any x , y , and z , we can compute that r 3 = ( − 1 / 2 ) x + ( 1 / 2 ) y + z , r 2 = y , and r 1 = ( 1 / 2 ) x − ( 1 / 2 ) y .

    3. No. In particular, we cannot get the vector

      ( 0 0 1 )

      as a linear combination since the two given vectors both have a third component of zero.

    4. Yes. The equation

      r 1 ( 1 0 1 ) + r 2 ( 3 1 0 ) + r 3 ( − 1 0 0 ) + r 4 ( 2 1 5 ) = ( x y z )

      leads to this reduction.

      ( 1 3 − 1 2 x 0 1 0 1 y 1 0 0 5 z ) ⟶ − ρ 1 + ρ 3 ( ⟶ 3 ρ 2 + ρ 3 ( ( 1 3 − 1 2 x 0 1 0 1 y 0 0 1 6 − x + 3 y + z )

      We have infinitely many solutions. We can, for example, set r 4 to be zero and solve for r 3 , r 2 , and r 1 in terms of x , y , and z by the usual methods of back-substitution.

    5. No. The equation

      r 1 ( 2 1 1 ) + r 2 ( 3 0 1 ) + r 3 ( 5 1 2 ) + r 4 ( 6 0 2 ) = ( x y z )

      leads to this reduction.

      ( 2 3 5 6 x 1 0 1 0 y 1 1 2 2 z ) ⟶ − ( 1 / 2 ) ρ 1 + ρ 3 − ( 1 / 2 ) ρ 1 + ρ 2 ( ⟶ − ( 1 / 3 ) ρ 2 + ρ 3 ( ( 2 3 5 6 x 0 − 3 / 2 − 3 / 2 − 3 − ( 1 / 2 ) x + y 0 0 0 0 − ( 1 / 3 ) x − ( 1 / 3 ) y + z )

      This shows that not every three-tall vector can be so expressed. Only the vectors satisfying the restriction that − ( 1 / 3 ) x − ( 1 / 3 ) y + z = 0 are in the span. (To see that any such vector is indeed expressible, take r 3 and r 4 to be zero and solve for r 1 and r 2 in terms of x , y , and z by back-substitution.)

  8. Exercise 2.27 Worked answer

    Recommended. Parametrize each subspace’s description. Then express each subspace as a span.

    1. The subset { ( a b c ) ∣ a − c = 0 } of the three-wide row vectors

    2. This subset of ℳ 2 × 2

      { ( a b c d ) ∣ a + d = 0 }

    3. This subset of ℳ 2 × 2

      { ( a b c d ) ∣ 2 a − c − d = 0  and  a + 3 b = 0 }

    4. The subset { a + b x + c x 3 ∣ a − 2 b + c = 0 } of 𝒫 3

    5. The subset of 𝒫 2 of quadratic polynomials p such that p ( 7 ) = 0

    Back to Exercise 2.27

    Answer.

    1. { ( c b c ) ∣ b , c ∈ ℝ } = { b ( 0 1 0 ) + c ( 1 0 1 ) ∣ b , c ∈ ℝ } The obvious choice for the set that spans is { ( 0 1 0 ) , ( 1 0 1 ) } .

    2. { ( − d b c d ) ∣ b , c , d ∈ ℝ } = { b ( 0 1 0 0 ) + c ( 0 0 1 0 ) + d ( − 1 0 0 1 ) ∣ b , c , d ∈ ℝ } One set that spans this space consists of those three matrices.

    3. The system

      a + 3 b = 0 2 a − c − d = 0

      gives b = − ( c + d ) / 6 and a = ( c + d ) / 2 . So one description is this.

      { c ( 1 / 2 − 1 / 6 1 0 ) + d ( 1 / 2 − 1 / 6 0 1 ) ∣ c , d ∈ ℝ }

      That shows that a set spanning this subspace consists of those two matrices.

    4. The a = 2 b − c gives that the set { ( 2 b − c ) + b x + c x 3 ∣ b , c ∈ ℝ } equals the set { b ( 2 + x ) + c ( − 1 + x 3 ) ∣ b , c ∈ ℝ } . So the subspace is the span of the set { 2 + x , − 1 + x 3 } .

    5. The set { a + b x + c x 2 ∣ a + 7 b + 49 c = 0 } can be parametrized as

      { b ( − 7 + x ) + c ( − 49 + x 2 ) ∣ b , c ∈ ℝ }

      and so has the spanning set { − 7 + x , − 49 + x 2 } .

  9. Exercise 2.28 Worked answer

    Recommended. Find a set to span the given subspace of the given space. (Hint. Parametrize each.)

    1. the x z -plane in ℝ 3

    2. { ( x y z ) ∣ 3 x + 2 y + z = 0 } in ℝ 3

    3. { ( x y z w ) ∣ 2 x + y + w = 0  and  y + 2 z = 0 } in ℝ 4

    4. { a 0 + a 1 x + a 2 x 2 + a 3 x 3 ∣ a 0 + a 1 = 0  and  a 2 − a 3 = 0 } in 𝒫 3

    5. The set 𝒫 4 in the space 𝒫 4

    6. ℳ 2 × 2 in ℳ 2 × 2

    Back to Exercise 2.28

    Answer.

    1. We can parametrize in this way

      { ( x 0 z ) ∣ x , z ∈ ℝ } = { x ( 1 0 0 ) + z ( 0 0 1 ) ∣ x , z ∈ ℝ }

      giving this for a spanning set.

      { ( 1 0 0 ) , ( 0 0 1 ) }

    2. Here is a parametrization, and the associated spanning set.

      { y ( − 2 / 3 1 0 ) + z ( − 1 / 3 0 1 ) ∣ y , z ∈ ℝ } { ( − 2 / 3 1 0 ) , ( − 1 / 3 0 1 ) }

    3. { ( 1 − 2 1 0 ) , ( − 1 / 2 0 0 1 ) }

    4. Parametrize the description as { − a 1 + a 1 x + a 3 x 2 + a 3 x 3 ∣ a 1 , a 3 ∈ ℝ } to get { − 1 + x , x 2 + x 3 } .

    5. { 1 , x , x 2 , x 3 , x 4 }

    6. { ( 1 0 0 0 ) , ( 0 1 0 0 ) , ( 0 0 1 0 ) , ( 0 0 0 1 ) }

  10. Exercise 2.29 Worked answer

    Is ℝ 2 a subspace of ℝ 3 ?

    Back to Exercise 2.29

    Answer. Technically, no. Subspaces of ℝ 3 are sets of three-tall vectors, while ℝ 2 is a set of two-tall vectors. Clearly though, ℝ 2 is “just like” this subspace of ℝ 3 .

    { ( x y 0 ) ∣ x , y ∈ ℝ }

  11. Exercise 2.30 Worked answer

    Recommended. Decide if each is a subspace of the vector space of real-valued functions of one real variable.

    1. The even functions { f : ℝ → ℝ ∣ f ( − x ) = f ( x )  for all  x } . For example, two members of this set are f 1 ( x ) = x 2 and f 2 ( x ) = cos ⁡ ( x ) .

    2. The odd functions { f : ℝ → ℝ ∣ f ( − x ) = − f ( x )  for all  x } . Two members are f 3 ( x ) = x 3 and f 4 ( x ) = sin ⁡ ( x ) .

    Back to Exercise 2.30

    Answer. Of course, the addition and scalar multiplication operations are the ones inherited from the enclosing space.

    1. This is a subspace. It is not empty as it contains at least the two example functions given. It is closed because if f 1 , f 2 are even and c 1 , c 2 are scalars then we have this.

      ( c 1 f 1 + c 2 f 2 ) ( − x ) = c 1 f 1 ( − x ) + c 2 f 2 ( − x ) = c 1 f 1 ( x ) + c 2 f 2 ( x ) = ( c 1 f 1 + c 2 f 2 ) ( x )

    2. This is also a subspace; the check is similar to the prior one.

  12. Exercise 2.31 Worked answer

    Example 2.16 says that for any vector v → that is an element of a vector space V , the set { r ⋅ v → ∣ r ∈ ℝ } is a subspace of V . (This is simply the span of the singleton set { v → } .) Must any such subspace be a proper subspace?

    Back to Exercise 2.31

    Answer. It can be improper. For instance, if the vector space is ℝ 1 and v → ≠ 0 → then the subspace { r ⋅ v → ∣ r ∈ ℝ } is all of ℝ 1 .

  13. Exercise 2.32 Worked answer

    An example following the definition of a vector space shows that the solution set of a homogeneous linear system is a vector space. In the terminology of this subsection, it is a subspace of ℝ n where the system has n variables. What about a non-homogeneous linear system; do its solutions form a subspace (under the inherited operations)?

    Back to Exercise 2.32

    Answer. No, such a set is not closed. For one thing, it does not contain the zero vector.

  14. Exercise 2.33 Worked answer

    [Cleary] Give an example of each or explain why it would be impossible to do so.

    1. A nonempty subset of ℳ 2 × 2 that is not a subspace.

    2. A set of two vectors in ℝ 2 that does not span the space.

    Back to Exercise 2.33

    Answer.

    1. This nonempty subset of ℳ 2 × 2 is not a subspace.

      A = { ( 1 2 3 4 ) , ( 5 6 7 8 ) }

      One reason that it is not a subspace of ℳ 2 × 2 is that it does not contain the zero matrix. (Another reason is that it is not closed under addition, since the sum of the two is not an element of A . It is also not closed under scalar multiplication.)

    2. This set of two vectors does not span ℝ 2 .

      { ( 1 1 ) , ( 3 3 ) }

      No linear combination of these two can give a vector whose second component is unequal to its first component.

  15. Exercise 2.34 Worked answer

    Example 2.19 shows that ℝ 3 has infinitely many subspaces. Does every nontrivial space have infinitely many subspaces?

    Back to Exercise 2.34

    Answer. No. The only subspaces of ℝ 1 are the space itself and its trivial subspace. Any subspace S of ℝ that contains a nonzero member v → must contain the set of all of its scalar multiples { r ⋅ v → ∣ r ∈ ℝ } . But this set is all of ℝ .

  16. Exercise 2.35 Worked answer

    Finish the proof of Lemma 2.9.

    Back to Exercise 2.35

    Answer. Item (1) is checked in the text.

    Item (2) has five conditions. First, for closure, if c ∈ ℝ and s → ∈ S then c ⋅ s → ∈ S as c ⋅ s → = c ⋅ s → + 0 ⋅ 0 → . Second, because the operations in S are inherited from V , for c , d ∈ ℝ and s → ∈ S , the scalar product ( c + d ) ⋅ s → in S equals the product ( c + d ) ⋅ s → in V , and that equals c ⋅ s → + d ⋅ s → in V , which equals c ⋅ s → + d ⋅ s → in S .

    The check for the third, fourth, and fifth conditions are similar to the second condition’s check just given.

  17. Exercise 2.36 Worked answer

    Show that each vector space has only one trivial subspace.

    Back to Exercise 2.36

    Answer. An exercise in the prior subsection shows that every vector space has only one zero vector (that is, there is only one vector that is the additive identity element of the space). But a trivial space has only one element and that element must be this (unique) zero vector.

  18. Exercise 2.37 Worked answer

    Show that for any subset S of a vector space, the span of the span equals the span [ [ S ] ] = [ S ] . (Hint. Members of [ S ] are linear combinations of members of S . Members of [ [ S ] ] are linear combinations of linear combinations of members of S .)

    Back to Exercise 2.37

    Answer. As the hint suggests, the basic reason is the Linear Combination Lemma from the first chapter. For the full proof, we will show mutual containment between the two sets.

    The first containment [ [ S ] ] ⊇ [ S ] is an instance of the more general, and obvious, fact that for any subset T of a vector space, [ T ] ⊇ T .

    For the other containment, that [ [ S ] ] ⊆ [ S ] , take m vectors from [ S ] , namely c 1 , 1 s → 1 , 1 + ⋯ + c 1 , n 1 s → 1 , n 1 , …, c 1 , m s → 1 , m + ⋯ + c 1 , n m s → 1 , n m , and note that any linear combination of those

    r 1 ( c 1 , 1 s → 1 , 1 + ⋯ + c 1 , n 1 s → 1 , n 1 ) + ⋯ + r m ( c 1 , m s → 1 , m + ⋯ + c 1 , n m s → 1 , n m )

    is a linear combination of elements of S

    = ( r 1 c 1 , 1 ) s → 1 , 1 + ⋯ + ( r 1 c 1 , n 1 ) s → 1 , n 1 + ⋯ + ( r m c 1 , m ) s → 1 , m + ⋯ + ( r m c 1 , n m ) s → 1 , n m

    and so is in [ S ] . That is, simply recall that a linear combination of linear combinations (of members of S ) is a linear combination (again of members of S ).

  19. Exercise 2.38 Worked answer

    All of the subspaces that we’ve seen in some way use zero in their description. For example, the subspace in Example 2.3 consists of all the vectors from ℝ 2 with a second component of zero. In contrast, the collection of vectors from ℝ 2 with a second component of one does not form a subspace (it is not closed under scalar multiplication). Another example is Example 2.2, where the condition on the vectors is that the three components add to zero. If the condition there were that the three components add to one then it would not be a subspace (again, it would fail to be closed). However, a reliance on zero is not strictly necessary. Consider the set

    { ( x y z ) ∣ x + y + z = 1 }

    under these operations.

    ( x 1 y 1 z 1 ) + ( x 2 y 2 z 2 ) = ( x 1 + x 2 − 1 y 1 + y 2 z 1 + z 2 ) r ( x y z ) = ( r x − r + 1 r y r z )

    1. Show that it is not a subspace of ℝ 3 . (Hint. See Example 2.7).

    2. Show that it is a vector space. Note that by the prior item, Lemma 2.9 can not apply.

    3. Show that any subspace of ℝ 3 must pass through the origin, and so any subspace of ℝ 3 must involve zero in its description. Does the converse hold? Does any subset of ℝ 3 that contains the origin become a subspace when given the inherited operations?

    Back to Exercise 2.38

    Answer.

    1. It is not a subspace because these are not the inherited operations. For one thing, in this space,

      0 ⋅ ( x y z ) = ( 1 0 0 )

      while this does not, of course, hold in ℝ 3 .

    2. We can combine the argument showing closure under addition with the argument showing closure under scalar multiplication into one single argument showing closure under linear combinations of two vectors. If r 1 , r 2 , x 1 , x 2 , y 1 , y 2 , z 1 , z 2 are in ℝ then

      r 1 ( x 1 y 1 z 1 ) + r 2 ( x 2 y 2 z 2 ) = ( r 1 x 1 − r 1 + 1 r 1 y 1 r 1 z 1 ) + ( r 2 x 2 − r 2 + 1 r 2 y 2 r 2 z 2 ) = ( r 1 x 1 − r 1 + r 2 x 2 − r 2 + 1 r 1 y 1 + r 2 y 2 r 1 z 1 + r 2 z 2 )

      (note that the definition of addition in this space is that the first components combine as ( r 1 x 1 − r 1 + 1 ) + ( r 2 x 2 − r 2 + 1 ) − 1 , so the first component of the last vector does not say ‘ + 2 ’). Adding the three components of the last vector gives r 1 ( x 1 − 1 + y 1 + z 1 ) + r 2 ( x 2 − 1 + y 2 + z 2 ) + 1 = r 1 ⋅ 0 + r 2 ⋅ 0 + 1 = 1 .

      Most of the other checks of the conditions are easy (although the oddness of the operations keeps them from being routine). Commutativity of addition goes like this.

      ( x 1 y 1 z 1 ) + ( x 2 y 2 z 2 ) = ( x 1 + x 2 − 1 y 1 + y 2 z 1 + z 2 ) = ( x 2 + x 1 − 1 y 2 + y 1 z 2 + z 1 ) = ( x 2 y 2 z 2 ) + ( x 1 y 1 z 1 )

      Associativity of addition has

      ( ( x 1 y 1 z 1 ) + ( x 2 y 2 z 2 ) ) + ( x 3 y 3 z 3 ) = ( ( x 1 + x 2 − 1 ) + x 3 − 1 ( y 1 + y 2 ) + y 3 ( z 1 + z 2 ) + z 3 )

      while

      ( x 1 y 1 z 1 ) + ( ( x 2 y 2 z 2 ) + ( x 3 y 3 z 3 ) ) = ( x 1 + ( x 2 + x 3 − 1 ) − 1 y 1 + ( y 2 + y 3 ) z 1 + ( z 2 + z 3 ) )

      and they are equal. The identity element with respect to this addition operation works this way

      ( x y z ) + ( 1 0 0 ) = ( x + 1 − 1 y + 0 z + 0 ) = ( x y z )

      and the additive inverse is similar.

      ( x y z ) + ( − x + 2 − y − z ) = ( x + ( − x + 2 ) − 1 y − y z − z ) = ( 1 0 0 )

      The conditions on scalar multiplication are also easy. For the first condition,

      ( r + s ) ( x y z ) = ( ( r + s ) x − ( r + s ) + 1 ( r + s ) y ( r + s ) z )

      while

      r ( x y z ) + s ( x y z ) = ( r x − r + 1 r y r z ) + ( s x − s + 1 s y s z ) = ( ( r x − r + 1 ) + ( s x − s + 1 ) − 1 r y + s y r z + s z )

      and the two are equal. The second condition compares

      r ⋅ ( ( x 1 y 1 z 1 ) + ( x 2 y 2 z 2 ) ) = r ⋅ ( x 1 + x 2 − 1 y 1 + y 2 z 1 + z 2 ) = ( r ( x 1 + x 2 − 1 ) − r + 1 r ( y 1 + y 2 ) r ( z 1 + z 2 ) )

      with

      r ( x 1 y 1 z 1 ) + r ( x 2 y 2 z 2 ) = ( r x 1 − r + 1 r y 1 r z 1 ) + ( r x 2 − r + 1 r y 2 r z 2 ) = ( ( r x 1 − r + 1 ) + ( r x 2 − r + 1 ) − 1 r y 1 + r y 2 r z 1 + r z 2 )

      and they are equal. For the third condition,

      ( r s ) ( x y z ) = ( r s x − r s + 1 r s y r s z )

      while

      r ( s ( x y z ) ) = r ( ( s x − s + 1 s y s z ) ) = ( r ( s x − s + 1 ) − r + 1 r s y r s z )

      and the two are equal. For scalar multiplication by 1 we have this.

      1 ⋅ ( x y z ) = ( 1 x − 1 + 1 1 y 1 z ) = ( x y z )

      Thus all the conditions on a vector space are met by these two operations.

      Remark. A way to understand this vector space is to think of it as the plane in ℝ 3

      P = { ( x y z ) ∣ x + y + z = 0 }

      displaced away from the origin by 1 along the x -axis. Then addition becomes: to add two members of this space,

      ( x 1 y 1 z 1 ) , ( x 2 y 2 z 2 )

      (such that x 1 + y 1 + z 1 = 1 and x 2 + y 2 + z 2 = 1 ) move them back by 1 to place them in P and add as usual,

      ( x 1 − 1 y 1 z 1 ) + ( x 2 − 1 y 2 z 2 ) = ( x 1 + x 2 − 2 y 1 + y 2 z 1 + z 2 ) (in  P )

      and then move the result back out by 1 along the x -axis.

      ( x 1 + x 2 − 1 y 1 + y 2 z 1 + z 2 ) .

      Scalar multiplication is similar.

    3. For the subspace to be closed under the inherited scalar multiplication, where v → is a member of that subspace,

      0 ⋅ v → = ( 0 0 0 )

      must also be a member.

      The converse does not hold. Here is a subset of ℝ 3 that contains the origin

      { ( 0 0 0 ) , ( 1 0 0 ) }

      (this subset has only two elements) but is not a subspace.

  20. Exercise 2.39 Worked answer

    We can give a justification for the convention that the sum of zero-many vectors equals the zero vector. Consider this sum of three vectors v → 1 + v → 2 + v → 3 .

    1. What is the difference between this sum of three vectors and the sum of the first two of these three?

    2. What is the difference between the prior sum and the sum of just the first one vector?

    3. What should be the difference between the prior sum of one vector and the sum of no vectors?

    4. So what should be the definition of the sum of no vectors?

    Back to Exercise 2.39

    Answer.

    1. ( v → 1 + v → 2 + v → 3 ) − ( v → 1 + v → 2 ) = v → 3

    2. ( v → 1 + v → 2 ) − ( v → 1 ) = v → 2

    3. Surely, v → 1 .

    4. Taking the one-long sum and subtracting gives ( v → 1 ) − v → 1 = 0 → .

  21. Exercise 2.40 Worked answer

    Is a space determined by its subspaces? That is, if two vector spaces have the same subspaces, must the two be equal?

    Back to Exercise 2.40

    Answer. Yes; any space is a subspace of itself, so each space contains the other.

  22. Exercise 2.41 Worked answer

    1. Give a set that is closed under scalar multiplication but not addition.

    2. Give a set closed under addition but not scalar multiplication.

    3. Give a set closed under neither.

    Back to Exercise 2.41

    Answer.

    1. The union of the x -axis and the y -axis in ℝ 2 is one.

    2. The set of integers, as a subset of ℝ 1 , is one.

    3. The subset { v → } of ℝ 2 is one, where v → is any nonzero vector.

  23. Exercise 2.42 Worked answer

    Show that the span of a set of vectors does not depend on the order in which the vectors are listed in that set.

    Back to Exercise 2.42

    Answer. Because vector space addition is commutative, a reordering of summands leaves a linear combination unchanged.

  24. Exercise 2.43 Worked answer

    Which trivial subspace is the span of the empty set? Is it

    { ( 0 0 0 ) } ⊆ ℝ 3 , or { 0 + 0 x } ⊆ 𝒫 1 ,

    or some other subspace?

    Back to Exercise 2.43

    Answer. We always consider that span in the context of an enclosing space.

  25. Exercise 2.44 Worked answer

    Show that if a vector is in the span of a set then adding that vector to the set won’t make the span any bigger. Is that also ‘only if’?

    Back to Exercise 2.44

    Answer. It is both ‘if’ and ‘only if’.

    For ‘if’, let S be a subset of a vector space V and assume v → ∈ S satisfies v → = c 1 s → 1 + ⋯ + c n s → n where c 1 , … , c n are scalars and s → 1 , … , s → n ∈ S . We must show that [ S ∪ { v → } ] = [ S ] .

    Containment one way, [ S ] ⊆ [ S ∪ { v → } ] is obvious. For the other direction, [ S ∪ { v → } ] ⊆ [ S ] , note that if a vector is in the set on the left then it has the form d 0 v → + d 1 t → 1 + ⋯ + d m t → m where the d ’s are scalars and the t → ’s are in S . Rewrite that as d 0 ( c 1 s → 1 + ⋯ + c n s → n ) + d 1 t → 1 + ⋯ + d m t → m and note that the result is a member of the span of S .

    The ‘only if’ is clearly true—adding v → enlarges the span to include at least v → .

  26. Exercise 2.45 Worked answer

    Recommended. Subspaces are subsets and so we naturally consider how ‘is a subspace of’ interacts with the usual set operations.

    1. If A , B are subspaces of a vector space, must their intersection A ∩ B be a subspace? Always? Sometimes? Never?

    2. Must the union A ∪ B be a subspace?

    3. If A is a subspace of some  V , must its set complement V − A be a subspace?

    (Hint. Try some test subspaces from Example 2.19.)

    Back to Exercise 2.45

    Answer.

    1. Always.

      Assume that A , B are subspaces of V . Note that their intersection is not empty as both contain the zero vector. If w → , s → ∈ A ∩ B and r , s are scalars then r v → + s w → ∈ A because each vector is in A and so a linear combination is in A , and r v → + s w → ∈ B for the same reason. Thus the intersection is closed. Now Lemma 2.9 applies.

    2. Sometimes (more precisely, only if A ⊆ B or B ⊆ A ).

      To see the answer is not ‘always’, take V to be ℝ 3 , take A to be the x -axis, and B to be the y -axis. Note that

      ( 1 0 ) ∈ A  and  ( 0 1 ) ∈ B but ( 1 0 ) + ( 0 1 ) ∉ A ∪ B

      as the sum is in neither A nor B .

      The answer is not ‘never’ because if A ⊆ B or B ⊆ A then clearly A ∪ B is a subspace.

      To show that A ∪ B is a subspace only if one subspace contains the other, we assume that A ⊈ B and B ⊈ A and prove that the union is not a subspace. The assumption that A is not a subset of B means that there is an a → ∈ A with a → ∉ B . The other assumption gives a b → ∈ B with b → ∉ A . Consider a → + b → . Note that sum is not an element of A or else ( a → + b → ) − a → would be in A , which it is not. Similarly the sum is not an element of B . Hence the sum is not an element of A ∪ B , and so the union is not a subspace.

    3. Never. As A is a subspace it contains the zero vector and therefore the set that is A ’s complement, V − A , does not. Without the zero vector, the complement cannot be a vector space.

  27. Exercise 2.46 Worked answer

    Does the span of a set depend on the enclosing space? That is, if W is a subspace of V and S is a subset of W (and so also a subset of V ), might the span of S in W differ from the span of S in V ?

    Back to Exercise 2.46

    Answer. The span of a set does not depend on the enclosing space. A linear combination of vectors from S gives the same sum whether we regard the operations as those of W or as those of V , because the operations of W are inherited from V .

  28. Exercise 2.47 Worked answer

    Is the relation ‘is a subspace of’ transitive? That is, if V is a subspace of W and W is a subspace of X , must V be a subspace of X ?

    Back to Exercise 2.47

    Answer. It is; apply Lemma 2.9. (You must consider the following. Suppose B is a subspace of a vector space V and suppose A ⊆ B ⊆ V is a subspace. From which space does A inherit its operations? The answer is that it doesn’t matter— A will inherit the same operations in either case.)

  29. Exercise 2.48 Worked answer

    Because ‘span of’ is an operation on sets we naturally consider how it interacts with the usual set operations.

    1. If S ⊆ T are subsets of a vector space, is [ S ] ⊆ [ T ] ? Always? Sometimes? Never?

    2. If S , T are subsets of a vector space, is [ S ∪ T ] = [ S ] ∪ [ T ] ?

    3. If S , T are subsets of a vector space, is [ S ∩ T ] = [ S ] ∩ [ T ] ?

    4. Is the span of the complement equal to the complement of the span?

    Back to Exercise 2.48

    Answer.

    1. Always; if S ⊆ T then a linear combination of elements of S is also a linear combination of elements of T .

    2. Sometimes (more precisely, if and only if S ⊆ T or T ⊆ S ).

      The answer is not ‘always’ as is shown by this example from ℝ 3

      S = { ( 1 0 0 ) , ( 0 1 0 ) } , T = { ( 1 0 0 ) , ( 0 0 1 ) }

      because of this.

      ( 1 1 1 ) ∈ [ S ∪ T ] ( 1 1 1 ) ∉ [ S ] ∪ [ T ]

      The answer is not ‘never’ because if either set contains the other then equality is clear. We can characterize equality as happening only when either set contains the other by assuming S ⊈ T (implying the existence of a vector s → ∈ S with s → ∉ T ) and T ⊈ S (giving a t → ∈ T with t → ∉ S ), noting s → + t → ∈ [ S ∪ T ] , and showing that s → + t → ∉ [ S ] ∪ [ T ] .

    3. Sometimes.

      Clearly [ S ∩ T ] ⊆ [ S ] ∩ [ T ] because any linear combination of vectors from S ∩ T is a combination of vectors from S and also a combination of vectors from T .

      Containment the other way does not always hold. For instance, in ℝ 2 , take

      S = { ( 1 0 ) , ( 0 1 ) } , T = { ( 2 0 ) }

      so that [ S ] ∩ [ T ] is the x -axis but [ S ∩ T ] is the trivial subspace.

      Characterizing exactly when equality holds is tough. Clearly equality holds if either set contains the other, but that is not ‘only if’ by this example in ℝ 3 .

      S = { ( 1 0 0 ) , ( 0 1 0 ) } , T = { ( 1 0 0 ) , ( 0 0 1 ) }

    4. Never, as the span of the complement is a subspace, while the complement of the span is not (it does not contain the zero vector).

  30. Exercise 2.49 Worked answer

    Find a structure that is closed under linear combinations, and yet is not a vector space.

    Back to Exercise 2.49

    Answer. For this to happen, one of the conditions giving the sensibleness of the addition and scalar multiplication operations must be violated. Consider ℝ 2 with these operations.

    ( x 1 y 1 ) + ( x 2 y 2 ) = ( 0 0 ) r ( x y ) = ( 0 0 )

    The set ℝ 2 is closed under these operations. But it is not a vector space.

    1 ⋅ ( 1 1 ) ≠ ( 1 1 )

References cited in this section

Cleary

R. Cleary, private communication, Nov. 2011.


  1. More information on equivalence of statements is in the appendix.↩︎