Is a Vector in the Span?
Deciding whether a vector lies in comes down to one question: is the linear system consistent? This lesson shows how to set it up, read the answer from row reduction, and recover the coefficients when is in the span.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
True or False:
You row reduce and reach . What does this tell you?
What you’ll be able to do
- Translate the question "is in ?" into the linear system with augmented matrix .
- Use row reduction and the consistency criterion to decide whether is in the span.
- Find the coefficient vector that writes as a linear combination when is in the span.
- Distinguish a unique solution from infinitely many, and recognize inconsistency (a pivot in the augmented column) as "not in the span".
- Connect the algebra to its geometry: spans as lines and planes through the origin.
In your course
· MATH2015 · Linear Algebra & Probability- Definition 2.4Span — membership reduces to solving
From a question about vectors to a question about equations
A linear combination of vectors (each in ) is any sum where the weights (coefficients) are real numbers. The span, written , is the set of all such combinations.
So the question "is in ?" really asks: can I choose weights so that
- If yes, then is in the span, and those weights tell you exactly how to build out of the given vectors.
- If no choice of weights works, then is not in the span.
Geometrically, (one nonzero vector) is a line through the origin, (two non-parallel vectors) is a plane through the origin, and so on. Asking whether is in the span is asking whether sits on that line/plane.
Setting up the augmented matrix $[A\mid b]$
The vector equation is a linear system in disguise. Stack the vectors as the columns of a matrix so is (here is the number of entries in each vector and is the number of vectors). The equation becomes the matrix equation
To solve it, build the augmented matrix by placing as one extra column on the right:
Each original vector is a column on the left of the bar; is the single column to the right. Row reducing this matrix solves the system — and the answer to "is in the span?" is read directly off the result.
The consistency criterion: reading the row-reduced form
A system is consistent if it has at least one solution and inconsistent if it has none. Span membership is exactly consistency:
To check, row reduce to echelon form and inspect the last column:
- If some row has the form with — a pivot in the augmented column — that row asserts , a contradiction. The system is inconsistent, so is not in the span.
- If no such row appears, the system is consistent, so is in the span.
Equivalently, in rank language: the system is consistent iff — that is, adjoining created no new pivot.
Finding the coefficients — and how many there are
When the system is consistent, finishing the row reduction hands you the weights.
- Unique solution — a pivot in every coefficient column, i.e. no free variables. There is exactly one weight vector . This occurs precisely when are linearly independent. For example, reducing to gives .
- Infinitely many solutions — at least one free variable (a coefficient column with no pivot). Then is still in the span, but it can be written as a combination in infinitely many ways. This happens when the spanning vectors are linearly dependent.
To read off a solution, set any free variables to a convenient value (often ) and back-substitute. Always sanity-check: plug the weights back in and confirm .
For vectors , , the set of all linear combinations of the . A vector is in the span iff for some scalars .
Let be the matrix whose columns are the spanning vectors. Then if and only if the linear system (augmented matrix ) is consistent.
A linear system with augmented matrix is consistent if and only if, after row reduction, there is no row of the form with — equivalently, no pivot in the augmented column, equivalently .
Worked examples
Determine whether lies in . If it does, find the coefficients.
- 1
Set up the vector equation. We seek scalars with . This is exactly the question of whether is a linear combination of the two given vectors.
- 2
Write it as a system by matching components: (top entries) and (bottom entries).
- 3
Form the augmented matrix , where column 1 is , column 2 is , and the last column is .
- 4
Eliminate below the first pivot: gives .
- 5
Scale the second row: gives , so .
- 6
Clear above the second pivot: gives , so .
- 7
Apply the consistency criterion. There is no row with , so the system is consistent: is in the span. A pivot sits in each coefficient column, so the solution is unique.
- 8
Verify: ✓
Is in ?
Find scalars with , or show none exist.