Span and Linear Combinations
A linear combination mixes vectors using scalar weights.
For vectors v_1 and v_2, a linear combination looks like:
The span of a set of vectors is the set of all vectors you can make this way.
The weights can be positive, negative, zero, whole numbers, or fractions. Span is not just a short list of examples. It is the full set of reachable vectors after all possible weights are allowed.
Span as Reachability
If b is in the span of the columns of A, then the system Ax = b has at
least one solution.
If b is not in that span, the system has no exact solution.
Span tells what a matrix can reach.
This connects directly to the previous page. A matrix-vector product is a linear combination of the columns of the matrix:
The columns are the available directions. The entries of x are the weights.
Small Example
Let:
Then:
The standard basis vectors span the whole plane.
Now change the available vectors:
Every combination of u_1 and u_2 has the form [c, 0]. These vectors span a
line, not the whole plane. The vector [0, 1] is outside that span.
This is the first appearance of a pattern that will matter throughout the chapter: adding more columns does not always add a new direction. Sometimes a new column repeats what the old columns could already do.
That is why span is about reachability, not quantity. Ten columns can still span only a line if all ten point along the same direction. Two well-chosen columns can span the whole plane.
Let v_1 = [1, 0] and v_2 = [0, 1].
Compute 4v_1 - 3v_2.
Compute it first, then check your number.
Hint
Scale each vector, then add.
Solution
4[1, 0] - 3[0, 1] = [4, 0] + [0, -3] = [4, -3]. The two weights become the
horizontal and vertical coordinates because the vectors are the standard basis.
Let v_1 = [1, 0] and v_2 = [0, 1].
Which weight on v_2 reaches the target [5, 7]?
Compute it first, then check your number.
Hint
With these two vectors, the second coordinate is exactly the weight on v_2.
Solution
The target [5, 7] equals 5v_1 + 7v_2, so the weight on v_2 is 7.
Here v_2 controls the second coordinate directly.
Let u_1 = [1, 0] and u_2 = [2, 0].
Is [3, 0] in their span?
Answer it first, then check.
Hint
Try using only u_1.
Solution
Yes. For example, 3u_1 + 0u_2 = [3, 0]. The target is horizontal, so it lies
on the line spanned by the available horizontal vectors.
Let u_1 = [1, 0] and u_2 = [2, 0].
Is [0, 1] in their span?
Answer it first, then check.
Hint
Every combination has second coordinate 0.
Solution
No. Both available vectors point horizontally, so no weighted sum can produce a nonzero second coordinate.
Enter 1 if adding [3, 0] to the set [1, 0], [2, 0] still leaves the span
as only the horizontal line.
Compute it first, then check your number.
Hint
All three vectors have second coordinate 0.
Solution
Enter 1. The vector [3,0] is another multiple of [1,0]. It adds another
way to move horizontally, but no new direction.
Before Moving On
Span is the set of outputs reachable by combining available directions.