Loading…
Treat span as a precise set of outputs, connect it to linear systems, and learn how to decide whether a vector can or cannot be built from a given list.
Given a list of vectors, which vectors can be obtained by adding scalar multiples of its members? Linear combinations describe individual outputs, and span collects all such outputs.
Definition 6.3.1
(Linear combination)
Let be vectors in a vector space , and let . Then
is called a linear combination of .
Throughout this section, is a real vector space and the generating list is finite, with . A coefficient belongs to , whereas a generator belongs to : these are different kinds of objects. The generators remain fixed while the coefficients vary. For example, finding coefficients for one target does not require the same coefficients to work for every other target.
“Finite” means that every expression uses only finitely many additions and scalar multiplications. No infinite series or limiting operation is part of this definition. Repetitions and zero vectors are allowed in a generating list; whether they contribute anything new is a separate question.
The coefficients may be any real numbers: positive, negative, fractional, irrational, or zero.
Definition 6.3.2
(Span)
Let be vectors in a vector space . The span of these vectors is the set of all linear combinations of them:
So the span is not one vector. It is the whole collection of vectors that can be built from the given list.
This is why span is often read as "the subspace generated by" or "the set spanned by" the given vectors.
Worked example 6.3.3
(Examples of linear combinations)
For a list with , the following are linear combinations:
and
There is also a closure fact: if and are themselves linear combinations of , then any expression is again a linear combination of .
So linear combinations are stable under the very operations that created them in the first place.
More generally, suppose for . Substituting these finite sums gives
Each bracket is a real coefficient. Thus repeatedly forming linear combinations cannot escape the collection of combinations of the original generators. The two indices distinguish the original generators from the intermediate vectors; the number of intermediate vectors need not equal the number of generators.
In practice, the question "Is a linear combination of ?" is not answered by inspection. It is answered by solving a linear system.
Theorem 6.3.4
(Linear combinations and linear systems)
Let and be vectors in , and let
Then can be expressed as a linear combination of if and only if the linear system
has a solution.
A generation question is therefore equivalent to a consistency question for a matrix equation.
Worked example 6.3.5
(Testing whether a vector is a linear combination)
Let
Consider the vector
To ask whether is a linear combination of and is to ask whether there exist scalars such that
Equivalently,
Apply and , then :
The last row imposes no extra restriction. Back substitution gives
Hence
So belongs to the span of and .
For comparison, replace only the target by . The same operations now give the last augmented row , which asserts . The first two equations still force , but that candidate fails the third equation. Matching some coordinates is insufficient: one coefficient vector must satisfy every coordinate equation simultaneously.
The same method can also prove non-membership: if the system is inconsistent, then the target vector is not in the span.
The theorem above gives a practical routine. Given vectors and a target vector , do the following.
Row-reduce the augmented matrix .
If the reduced system has a contradiction, then is not in .
If the system is consistent, read off one solution and write
The matrix-vector product
is exactly
Therefore is solvable exactly when is a linear combination of the columns of . Row reduction decides whether such a coefficient vector exists.
Here has size , , and . A column of represents one available generator, while a row represents one coordinate equation. Consequently, a free variable is a choice of coefficient, not a new coordinate of the target. Consistency must be checked before assigning values to free variables. If the system is consistent, setting all free variables to zero gives one representation; retaining parameters describes all representations.
Worked example 6.3.6
(Using inconsistency to prove non-membership)
Let
The augmented matrix for is
Since the second row is twice the first on the coefficient side but not on the augmented side, row reduction produces a contradiction. Hence is inconsistent, and
The operation gives , so the second equation becomes .
The following sequence compares the sets generated by one nonzero vector and by two independent vectors. Membership means that at least one choice of coefficients reaches the target. A zero generator gives only , because every scalar multiple of zero is zero.
Follow coefficients sweep out a line, a plane, and a missed target so the definition of span reads as a set of reachable outputs.
Build one output
Choosing coefficients such as α=2 and β=-1 turns αu+βv into one concrete output vector.
One generator gives a line
For nonzero u, all multiples tu form one line through the origin, so Span{u} is one-dimensional. If u=0, its span is the zero subspace instead.
Two directions give a plane
If u and v are not parallel in R^2, α and β move independently and the span reaches every point in the plane.
Membership asks for coefficients
A target b lies in Span{u,v} exactly when the equation αu+βv=b is solvable.
Collinear generators can miss
Replacing v by 2u adds no new direction, so an off-line target is not in Span{u,2u}.
Then use the explorer
The interactive span explorer below lets you vary α and β after this sequence establishes the geometric picture.
A span is the full output set of a linear-combination recipe. One nonzero generator gives a line; two nonparallel generators in R^2 can fill the plane; membership asks whether the needed coefficients exist.
Worked example 6.3.7
(What span looks like in )
Let
Then every vector in has the form
So
is exactly the -plane in .
If we include as well, then every vector in can be written as
so
The span of a set of vectors is not just some arbitrary subset. It is the smallest natural vector-space object generated by those vectors.
Theorem 6.3.8
(The span of any set of vectors is a subspace)
If are vectors in a vector space , then
is a subspace of .
Moreover, this span is the smallest subspace of containing every generator: if is a subspace and for every , then .
Proof
(Why the span is a subspace)
The span is nonempty because it contains the zero vector:
Now take two vectors and in the span. Then there exist scalars and such that
Then
which is again a linear combination of the same vectors. So the span is closed under addition.
If , then
which is also a linear combination of the same vectors. So the span is closed under scalar multiplication.
Therefore the span is a subspace of .
For the minimality assertion, each belongs to the span by choosing its coefficient to be one and all others zero. Now let be any subspace containing the generators. Scalar closure puts every in , and repeated addition puts their finite sum in . Every vector in the span therefore lies in , proving the required inclusion. This argument uses finiteness: no closure under infinite sums has been assumed.
“Smallest” refers to inclusion of sets, not to the number of vectors written in the generating list. Any subspace containing the generators must contain all the outputs that their linear combinations force. For example, the -plane is the smallest subspace containing , even though the larger space also contains them. This is also a useful proof method: to show that a span lies in a known subspace, check its generators rather than an unspecified vector with many coefficients.
Worked example 6.3.9
(A redundant generator and a free coefficient)
Consider a new list and target:
For , first use and . Then divide the second row by seven, subtract six times that row from the third, and add four times it to the first:
The system is consistent. Its equations are and , so all coefficient vectors are described by
In particular, and give
Both expressions evaluate to . We have not found two target vectors: we have found two ways to obtain the one prescribed target. Every real value of works, because it satisfies the complete reduced system.
Concept lensAlgebraic
The expression has an input and an output in . Span asks which outputs occur at least once. It does not ask whether each output has a unique input. In the example, , so increasing by while decreasing by leaves the output unchanged.
More precisely, if , then another coefficient vector gives the same target exactly when . Conversely, every satisfying produces another representation . This follows by distributivity and explains the free parameter without confusing the fixed target with its variable representations. Here records a cancellation among the generators.
The extra generator is redundant for every target, not just the one calculated above. Indeed,
Thus every combination of the three generators is a combination of the first two. Conversely, a combination of the first two is a combination of all three with third coefficient zero. Removing preserves the span. This is a local application of the generator-comparison method in 4.2 Set language and solution sets.
Appending a generator already in the span therefore changes the available representations without enlarging the set of outputs. If the appended vector lies outside the old span, the span strictly enlarges: the old combinations remain available by assigning the new coefficient zero, and the new vector itself is an additional output. Neither conclusion follows merely from counting the listed vectors.
Before changing the controls, predict whether two generators will sweep out a line or a plane. Then vary one coefficient at a time. If the generators are dependent, identify two coefficient pairs that reach the same target; if they are independent, explain why that cannot happen.
Build one vector from a span
Change the coefficients and watch where lands. Try to reach the target .
Coefficients ,
= = = target
Target not reached yet
; the target is still away.
NoticeEvery output vector is built from the horizontal and vertical directions.
Common mistake
(Span is not the set of positive multiples only)
The coefficients in a linear combination may be any real numbers. Negative and zero coefficients are just as legitimate as positive ones.
Common mistake
(To prove membership in a span, prove that suitable coefficients exist)
It is not enough to say that a target vector "looks similar." You must prove that suitable coefficients exist, either by producing them explicitly or by showing that the associated linear system is consistent.
Quick check
(Is the zero vector always in the span of any finite list of vectors?)
Use the definition of linear combination directly.
Yes. Set every coefficient equal to . The resulting linear combination is the zero vector, so the span always contains .
Quick check
(Why does in contain ?)
Write the vector as a combination of and .
Because
So the vector is a linear combination of and .
Quick check
(Explain why every vector in a generating list automatically lies in .)
Use coefficients.
To isolate , choose coefficient for and coefficient for every other vector. Then
so is a linear combination of the full list and therefore belongs to its span.
Quick check
(Why does the theorem if and only if is solvable matter so much in practice?)
Answer in terms of what it lets you do computationally.
It turns a generation question into a linear-system question. Instead of guessing coefficients by inspection, you form the matrix with columns and row-reduce the augmented system . Consistency then tells you exactly whether lies in the span.
Quick check
(In the redundant-generator example, find a representation of the target using only the second and third generators.)
Choose the parameter so that the first coefficient vanishes.
Since , choose . Then and . The first generator may be omitted for this target; the preceding identity also shows that this pair generates the entire same span.
Quick check
(A subspace contains two vectors. Must it contain every linear combination of them? Must it equal their span?)
Distinguish containment from equality.
It must contain their span by scalar and additive closure. Equality need not hold: contains and all their combinations, but also contains , which is outside their span because its third coordinate is one. Equality needs the additional inclusion of the subspace in the span.
Read 6.2 Subspaces for the subspace tests used here, and then continue to 6.4 Linear dependence and independence, where span is paired with the question of redundancy in a generating list.