Let be an -vector space and . The span of , written is the set of all linear combinations of , so
For technical reasons we define the span of the empty sequence of vectors to be .
To understand the definition a bit better, let’s look at two simple special cases. The span of a single element of an -vector space is
since any linear combination of is just a scalar multiple of . The span of two elements of is
If are elements of a vector space then is a subspace of .
Write for . Recall that consists of every linear combination , where the are scalars.
contains the zero vector because it contains , and each is the zero vector.
is closed under addition because if and are any two elements of then
is in .
is closed under scalar multiplication because if is in and is a scalar then
is also in .
fulfils all three conditions in the Definition 4.4.1 of a subspace, so . ∎
Elements of a vector space are a spanning sequence for if and only if .
The term spanning set is also used.
We also say spans to mean that it is a spanning sequence.
Often deciding whether or not a sequence of vectors is a spanning sequence is equivalent to solving some linear equations.
If you want to check whether and are a spanning sequence for , what you need to do is to verify that for every there are real numbers and such that
In other words, you have to prove that for every the system of linear equations
has a solution. That’s easy in this case, because you can just notice that is a solution, but for bigger and more complicated systems you can use the method of RREF.
and are a spanning sequence for , as we have just seen.
Let’s try to determine whether , , are a spanning sequence for . We need to find out whether it’s true that for all there exist such that
This is equivalent to asking whether for every the simultaneous equations
have a solution. Again, in this special case you might just notice that (adding the three equations) there is no solution unless , so this collection of vectors is not a spanning sequence. In general, to find out if a system of linear equations has a solution you can put the augmented matrix into row reduced echelon form. In this case the augmented matrix is
Doing the row operations followed by leads to
These equations have no solutions if , so for example is not in the span of because .