Home page for accesible maths 2 Vector spaces

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

2.B Subspaces and spanning sequences

To check whether something is a vector space, one method is to check all of the vector space axioms. But there is usually a shorter way. Usually the vector spaces we encounter naturally sit inside a larger vector space; in the same way that sits inside , which sits inside . We formalize this idea as follows.

Definition 2.7:

If V is a vector space over the field F, then any subset WV that also forms a vector space over F, (with the same addition and scalar multiplication operations as in V) is called a subspace of V.

There is an easy check to test whether a subset is a subspace:

Theorem 2.8.

Let V be a vector space over the field F, and let W be a subset of V. Then W is a subspace of V if and only if all of the following conditions hold:

  1. S1.

    0W,

  2. S2.

    If v,wW then v+wW,

  3. S3.

    If αF and vW then αvW.

Proof.

If W is a vector space, then the conditions follow from V4, V1, and V6.

Conversely, if W satisfies the above three conditions, then we need to prove all 10 vector space axioms. Since V is a vector space, and WV, this automatically gives us V2,V3,V7,V8,V9, and V10. Clearly S2 V1; S1 V4; and S3 V6. Finally, S3 together with Lemma 2.5(iv) implies V5. Therefore W is a vector space over F. ∎

Example 2.9.
  1. i.

    Prove W:={(x,y)2|x+y=0}2 is a subspace.

    Solution: Since (0,0)W, S1 is satisfied. To check S2, assume we have (x1,y1),(x2,y2)W. This means x1+y1=0 and x2+y2=0. Therefore, (x1+x2)+(y1+y2)=0. So the vector (x1,y1)+(x2,y2)=(x1+x2,y1+y2)W. This verifies S2. Finally, we use that x1+y1=0 implies that αx1+αy1=0 is true for any α, and hence α(x1,y1)W, which proves S3 is satisfied.

  2. ii.

    The subset {0} is always a subspace. This is because 0+0=0, and α0=0, for any αF by Lemma 2.5.

  3. iii.

    In the vector space M3() over , the set of diagonal matrices forms a subspace:

    W:={[a11000a22000a33]|a11,a22,a33}.

    We will write diagonal matrices as diag(a11,a22,a33). To prove this is a subspace, we use that M3() is a vector space, together with Theorem 2.8. The zero matrix 0=diag(0,0,0)W, so S1 is satisfied. The sum of any two diagonal matrices is again diagonal, so S2 is satisfied. Finally, for any α, we have that

    αdiag(a11,a22,a33)=diag(αa11,αa22,αa33)W.

    So the scalar multiple of any diagonal matrix is diagonal; S3 is verified.

Exercise 2.10:

Consider the set W of real polynomials of degree equal to 3, which is a subset of the vector space 𝒫3(), from Example 2.1(v). So

W:={c0+c1x+c2x2+c3x3|ci, and c30}.

Recall the degree of a polynomial is the largest r such that the coefficient of xr is non-zero. Prove that W satisfies none of S1, S2, nor S3.

[End of Exercise]

Exercise 2.11:

Each of the following are subsets of a given vector space. Determine which are subspaces. Justify your answer.

  1. i.

    W:={(a,2a+b,b)|a,b}3.

  2. ii.

    W:={AM3()|AT=A}M3(). A matrix is symmetric when A=AT.

  3. iii.

    W:={AM3()|AT=-A}M3(). A matrix is skew-symmetric when A=-AT.

  4. iv.

    The set of invertible matrices in Mn().

  5. v.

    The set of non-invertible matrices in M2().

[End of Exercise]

Exercise 2.12:

Let V be a vector space over a field F.

  1. i.

    Prove that if a non-empty subset WV satisfies S3 of Theorem 2.8, then it also must satisfy S1.

  2. ii.

    Is it true that if WV satisfies S2 of Theorem 2.8, then W must also satisfy S1?

[End of Exercise]

It will be desirable to express our subspaces as the set of all linear combinations of some finite set of vectors (when it is possible to do so!). For example, the subspace from Example 2.9(i) is equal to {αv|α}, where v=(1,-1); so it equals the set of all linear combinations of {v}. In this case, we say {v} spans the subspace.

Definition 2.13:

Let v1,,vrV be a collection of vectors. We define the span of these vectors to be:

spanF{v1,,vr}:={α1v1+α2v2++αrvr|αiF}.

In other words, the it is the set of all possible linear combinations of the given vectors. More generally, if SV is any subset of vectors, possibly infinitely many, then the span of S is the smallest subspace of V that contains S.

[Technical note: A particularly careful reader should question whether such a subspace always exists, whether it is unique, and whether it agrees with the apparently different definition immediately above.]

Theorem 2.14.

The span of a set of vectors is always a subspace.

If WV is a subspace, and W=spanF{v1,,vr}, then we say W is spanned by the sequence v1,,vrV. We also say the sequence v1,,vr spans W.

Notice how the definition of span depends on the field, which is the purpose of the subscript F in the notation. If F=, then we take all linear combinations with scalars in . But if the field is , then there are more linear combinations. If there is no doubt about what the field is, then one may omit the subscript F from the notation.

Example 2.15.
  1. i.

    In the vector space M2() over the field , consider the subspace spanned by the following set of matrices:

    W:=span{[1000],[0100],[0001]}={[ab0c]|a,b,c}.

    So, the span is all complex upper-triangular matrices.

  2. ii.

    Consider the following system of equations in 4:

    1. x+y=0

    2. z-w=0

    There are several ways of writing the set of all solutions:

    S={(x,y,z,w)=(x,-x,z,z)|x,z}={s(1,-1,0,0)+t(0,0,1,1)|s,t}

    Here S is called the solution space. The right-most expression says that S=span{(1,-1,0,0),(0,0,1,1)}; so in this case, the solution set is a subspace.

Exercise 2.16:
  1. i.

    Give an example of a pair of vectors in 2 whose span is 2, and whose coordinates are all non-zero.

  2. ii.

    Give an example of three vectors in 3 whose span is 3, and whose coordinates are all not rational.

  3. iii.

    Can you find a sequence of 100 vectors in 2 whose span is 2?

Exercise 2.17:

True or false: [123]span{[2-11],[3-4-1]}.

Exercise 2.18:

For each of the following systems of linear equations, find a finite set of vectors which spans the solution space.

  1. i.

    The set of (x,y,z,w)4 such that

    1. x+z=2w,

    2. x-3y=0

  2. ii.

    [31002i][xyz]=[00], x,y,z.

  3. iii.

    x+2y=0, x,y.

[End of Exercise]