13.2: Spanning Sets
- Last updated
- Jul 20, 2020
- Save as PDF
- Page ID
- 44331
( \newcommand{\kernel}{\mathrm{null}\,}\)
Outcomes
- 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 X⊆Y
In particular, we often speak of subsets of a vector space, such as X⊆V. 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,⋯,→vn⊆V. A vector →v∈V is called a linear combination of the →vi if there exist scalars ci∈R such that →v=c1→v1+c2→v2+⋯+cn→vn
This definition leads to our next concept of span.
Definition 13.2.3: Span of Vectors
Let {→v1,⋯,→vn}⊆V. Then span{→v1,⋯,→vn}={n∑i=1ci→vi:ci∈R}
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]
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]
Consider another example.
Example 13.2.2: Polynomial Span
Show that p(x)=7x2+4x−3 is in span{4x2+x,x2−2x+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+4x−3=a(4x2+x)+b(x2−2x+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+4x−3=2(4x2+x)−(x2−2x+3)
Hence p(x) is in the given span.
Consider the following example.
Example 13.2.3: Spanning Set
Let S={x2+1,x−2,2x2−x}. 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(x−2)+t(2x2−x)
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(x−2)+t(2x2−x)=rx2+r+sx−2s+2tx2−tx=(r+2t)x2+(s−t)x+(r−2s)
For this to be true, the following must hold: a=r+2tb=s−tc=r−2s
To check that a solution exists, set up the augmented matrix and row reduce: [102a01−1b1−20c]→⋯→[10012a+2b+12c01014a−14c00114a−b−14c]
Clearly a solution exists for any choice of a,b,c. Hence S is a spanning set for P2.