Spans
Linear combinations, spans and membership tested by linear systems.
The span of a set is everything its vectors produce by linear combination. This page shows that the span is the smallest subspace containing the set and turns membership of the span into a linear system.
Combining chosen vectors
Subspace
Let be a vector space over . A subset is a subspace of when it is a vector space over the same field and uses the addition and scalar multiplication inherited from . A proper subspace is a subspace that is not equal to .
Linear combination
Let be vectors in a vector space over . A linear combination of these vectors is an expression
The vectors are fixed while the scalars vary. For non-zero, non-parallel , the vectors
form the plane through the origin determined by and , with each coefficient moving along one direction.
Closure under linear combinations
Every linear combination of a finite set of vectors in a vector space is an element of .
- [1]:Linear combination
- [2]:Vector space
- [3]:Proof
For one vector, by scalar closure. Suppose every combination of vectors lies in . If
then scalar closure gives and addition closure gives
Induction proves the claim for every finite number of vectors.
The smallest subspace containing the chosen vectors
Span
For a subset (possibly infinite) in a vector space over , the span of is the set of all finite linear combinations of vectors in :
For a finite set , this is the same as allowing one coefficient for each listed vector. When , the sum is the empty sum .
The span is the subspace generated by the chosen vectors. The empty-sum convention gives , which is needed for the zero vector space.
The span is a subspace
If is a subset of a vector space , then is a subspace of . It is the smallest subspace of that contains .
The empty combination gives . If and are finite linear combinations of vectors in , concatenating their lists of terms expresses as another finite linear combination. For , multiplying every coefficient in a finite combination for by expresses in the span. The subspace test therefore applies.
If is any subspace containing , then is closed under scalar multiplication and addition. It must therefore contain every linear combination of the vectors in , so . Hence the span is the smallest such subspace.
Lines and planes through the origin
For ,
which is the line . The coefficient can be any real number, so the whole line is obtained; restricting it to an interval would give a bounded segment, which is not closed under scalar multiplication. Any plane through the origin containing this line is a larger subspace containing .
[routine]
- [1]:Span
Spanning familiar spaces
The examples from here on are over , so means and matrix entries are real.
Spanning set
A subset in a vector space is a spanning set for when
A spanning set may contain redundant vectors.
Standard spanning sets
The set
spans , since every is
The set
spans , since each polynomial of degree at most is a linear combination of these powers. The four matrices
span , because
[routine]
- [1]:Spanning set
Column space
If is a set of vectors in and , then the span of is the column space of :
where records the coefficients of the columns. Thus multiplying by is exactly the linear combination represented by those coefficients.
- [1]:Span
- [2]:Image
- [3]:Test membership in a span
Membership as a linear system
Because is a linear combination of the columns of , asking whether a vector lies in a span is asking whether a linear system has a solution.
Test membership in a span
To decide whether lies in , form and solve
A solution for the scalar coefficients exists if and only if belongs to the span, equivalently to .
Use row reduction on the augmented matrix . A contradictory row means that is not in the span.
A vector outside a span
Let
To test whether belongs to , row-reduce
The last row is contradictory, so the system has no solution and
[routine]
[routine]
Membership in a polynomial span
Let
and write
Then
The constant and linear coefficients require and ; the quadratic and cubic coefficients require and . Thus exactly when
[routine]
A set that does not span
Consider
For
the equation
gives
The first two equations give and . Substituting into the third gives the condition
Conversely, when this condition holds, those choices of and solve all three equations for any . The polynomial fails the condition, so these three polynomials do not span .
[routine]
Linear independence asks when the coefficients in a span are unique.