Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

13.2: Spanning Sets

( \newcommand{\kernel}{\mathrm{null}\,}\)

Outcomes

  1. Determine if a vector is within a given span.

In this section we will examine the concept of spanning introduced earlier in terms of Rn. Here, we will discuss these concepts in terms of abstract vector spaces.

Consider the following definition.

Definition 13.2.1: Subset

Let X and Y be two sets. If all elements of X are also elements of Y then we say that X is a subset of Y and we write XY

In particular, we often speak of subsets of a vector space, such as XV. By this we mean that every element in the set X is contained in the vector space V.

Definition 13.2.2: Linear Combination

Let V be a vector space and let v1,v2,,vnV. A vector vV is called a linear combination of the vi if there exist scalars ciR such that v=c1v1+c2v2++cnvn

This definition leads to our next concept of span.

Definition 13.2.3: Span of Vectors

Let {v1,,vn}V. Then span{v1,,vn}={ni=1civi:ciR}

When we say that a vector w is in span{v1,,vn} we mean that w can be written as a linear combination of the v1. We say that a collection of vectors {v1,,vn} is a spanning set for V if V=span{v1,,vn}.

Consider the following example.

Example 13.2.1: Matrix Span

Let A=[1002], B=[0110]. Determine if A and B are in span{M1,M2}=span{[1000],[0001]}

Solution

First consider A. We want to see if scalars s,t can be found such that A=sM1+tM2. [1002]=s[1000]+t[0001]

The solution to this equation is given by 1=s2=t
and it follows that A is in span{M1,M2}.

Now consider B. Again we write B=sM1+tM2 and see if a solution can be found for s,t. [0110]=s[1000]+t[0001]

Clearly no values of s and t can be found such that this equation holds. Therefore B is not in span{M1,M2}.

Consider another example.

Example 13.2.2: Polynomial Span

Show that p(x)=7x2+4x3 is in span{4x2+x,x22x+3}.

Solution

To show that p(x) is in the given span, we need to show that it can be written as a linear combination of polynomials in the span. Suppose scalars a,b existed such that 7x2+4x3=a(4x2+x)+b(x22x+3)

If this linear combination were to hold, the following would be true: 4a+b=7a2b=43b=3

You can verify that a=2,b=1 satisfies this system of equations. This means that we can write p(x) as follows: 7x2+4x3=2(4x2+x)(x22x+3)

Hence p(x) is in the given span.

Consider the following example.

Example 13.2.3: Spanning Set

Let S={x2+1,x2,2x2x}. Show that S is a spanning set for P2, the set of all polynomials of degree at most 2.

Solution

Let p(x)=ax2+bx+c be an arbitrary polynomial in P2. To show that S is a spanning set, it suffices to show that p(x) can be written as a linear combination of the elements of S. In other words, can we find r,s,t such that: p(x)=ax2+bx+c=r(x2+1)+s(x2)+t(2x2x)

If a solution r,s,t can be found, then this shows that for any such polynomial p(x), it can be written as a linear combination of the above polynomials and S is a spanning set.

ax2+bx+c=r(x2+1)+s(x2)+t(2x2x)=rx2+r+sx2s+2tx2tx=(r+2t)x2+(st)x+(r2s)

For this to be true, the following must hold: a=r+2tb=stc=r2s

To check that a solution exists, set up the augmented matrix and row reduce: [102a011b120c][10012a+2b+12c01014a14c00114ab14c]

Clearly a solution exists for any choice of a,b,c. Hence S is a spanning set for P2.


This page titled 13.2: Spanning Sets is shared under a CC BY license and was authored, remixed, and/or curated by Ken Kuttler (Lyryx) .

  • Was this article helpful?

Support Center

How can we help?