A linear combination is a vector built from other vectors by scalar multiplication and addition. The span of a set of vectors is the set of all vectors that can be built in this way. These two ideas connect vector arithmetic with geometry, systems of equations, subspaces, basis, rank, and dimension.
If are vectors in a vector space over a field , then a linear combination has the form
where . The span of is the set of all such linear combinations.
19.1 Linear Combinations
Let be a vector space over a field . Let
A vector is called a linear combination of if there exist scalars
such that
The scalars are called coefficients.
Only two operations are used: scalar multiplication and vector addition. No products of vectors appear. No nonlinear functions appear. This is why the expression is called linear.
19.2 First Examples
In , let
Then
Thus
is a linear combination of and .
More generally,
Every vector in can be written as a linear combination of these two vectors.
19.3 Linear Combinations in
Let
A general linear combination is
Computing component by component,
As and vary over , this expression produces many vectors in . It does not produce all of . It produces a plane through the origin.
19.4 Span
The span of vectors is the set of all their linear combinations:
The span is also written as
Both notations mean the same thing.
If
then the vectors are said to span , or generate .
The word generate is useful. A spanning set is a collection of vectors from which the whole subspace can be generated by linear combinations.
19.5 Span as a Subspace
The span of any set of vectors is a subspace.
Let
Then contains all vectors of the form
First, contains the zero vector, because
Next, let
and
Then
This is again a linear combination of . Hence
For a scalar ,
This is also a linear combination of the same vectors. Hence
Therefore is a subspace.
19.6 The Smallest Subspace Containing a Set
The span of a set is the smallest subspace containing that set.
Let
The span contains every , since
Now suppose is any subspace containing . Since is closed under scalar multiplication and addition, it must contain every linear combination
Therefore
Thus the span is contained in every subspace that contains the original vectors.
19.7 Geometric Meaning of Span
In , the span of one nonzero vector is a line through the origin.
If
then
- $$
- \operatorname{span}(v) =
- \left{
- c
- \begin{bmatrix}
- 2 \
- 1
- \end{bmatrix}
- c \in \mathbb{R} \right}. $$
This set is the line through the origin in the direction of .
In , the span of one nonzero vector is also a line through the origin. The span of two nonparallel vectors is a plane through the origin. The span of three suitable vectors may be all of .
The word suitable means linearly independent. This will be made precise in the next chapter.
19.8 Spanning the Plane
Let
We ask whether these vectors span .
A general linear combination is
Given an arbitrary vector
we need
and
Adding these equations gives
so
Subtracting gives
so
For every , such scalars and exist. Therefore
19.9 Failing to Span the Plane
Let
A general linear combination is
The second component is always twice the first component:
Thus every vector in the span lies on the line
Therefore
The second vector gives no new direction, since
It is redundant.
19.10 Span and Systems of Equations
Span questions are equivalent to systems of linear equations.
Let
The columns are
A vector belongs to the column space of exactly when there exists such that
Writing
we get
Thus solving
means deciding whether is a linear combination of the columns of .
This is one of the central interpretations of matrix multiplication.
19.11 Column Space
The column space of a matrix is the span of its columns:
If is an matrix, then
The column space is the set of all possible outputs of the transformation
Therefore
has a solution if and only if
This gives a geometric interpretation of consistency for linear systems.
19.12 Spanning Sets
A set spans a vector space if
In this case, every vector in can be expressed as a linear combination of vectors from .
For example,
spans .
The set
also spans , but it contains a redundant vector because
A spanning set can have redundant vectors. A basis cannot.
19.13 Redundancy
A vector in a spanning set is redundant if it can be written as a linear combination of the other vectors.
Suppose
Then
Adding does not enlarge the span.
This observation is the bridge from spanning sets to bases. A basis is a spanning set with all redundancy removed.
19.14 Linear Combinations of Polynomials
Let
A general linear combination is
Thus
the vector space of all polynomials of degree at most .
Now consider
Their span contains all polynomials of the form
This is every polynomial of degree at most . Therefore
19.15 Linear Combinations of Matrices
Matrices of the same size form a vector space.
Let
A general linear combination is
Therefore
These four matrices behave like the standard basis vectors for matrices.
19.16 Linear Combinations of Functions
Function spaces also use the same idea.
Let
A general linear combination is
The span is
This is a three-dimensional subspace of the vector space of all real-valued functions.
The same formal definition applies even though the vectors are functions instead of columns.
19.17 Finite Linear Combinations
A linear combination always uses finitely many vectors.
If is an infinite subset of a vector space, then
means the set of all finite linear combinations of vectors from .
For example, the space of all polynomials is spanned by
Every individual polynomial uses only finitely many powers of . For instance,
uses only
Infinite sums require additional notions of convergence. Those belong to analysis, not elementary vector space theory.
19.18 Span and Dimension
The dimension of a span is the number of independent directions generated by the vectors.
A single nonzero vector spans a one-dimensional subspace.
Two nonparallel vectors span a two-dimensional subspace.
Three vectors in may span:
| Case | Span |
|---|---|
| All zero | |
| All multiples of one nonzero vector | A line |
| Contained in one plane through the origin | A plane |
| Independent directions |
Thus the number of vectors alone does not determine the dimension of the span. Their relationships determine it.
19.19 Span and Linear Independence
Span and linear independence are complementary ideas.
Span asks whether the vectors are enough.
Linear independence asks whether the vectors are necessary.
A list of vectors can fail in two ways:
| Property | Failure |
|---|---|
| Spanning | The list misses some directions |
| Linear independence | The list contains redundant directions |
A basis has both properties. It spans the space and has no redundancy.
This makes span the first half of the basis concept.
19.20 Summary
A linear combination is a sum of scalar multiples of vectors. The span of a set of vectors is the collection of all such linear combinations.
The key ideas are:
| Concept | Meaning |
|---|---|
| Linear combination | |
| Coefficients | Scalars used in a linear combination |
| Span | Set of all linear combinations |
| Spanning set | A set whose span is the whole space |
| Redundant vector | A vector already in the span of the others |
| Column space | Span of matrix columns |
| Generated subspace | Another name for a span |
Span gives the language for describing what vectors can be built from a given set. It turns linear algebra into a study of generation, redundancy, dimension, and structure.