A vector is in the span of when some weights combine them into , that is, when the system with augmented matrix is consistent. The same row reduction, without , tells you whether the set spans the whole space.
| Step | On , , | |
|---|---|---|
| 1 | Decide which question is asked. One target vector: membership. Every vector of : spanning. | membership of |
| 2 | Put the vectors in the columns. For membership, add as the last column of an augmented matrix. | |
| 3 | Row reduce. Use Gaussian elimination. | , then : |
| 4 | Look for a contradiction row (or count row pivots). Membership: a row with means no. Spanning: every row of needs a pivot. | last row is : consistent |
| 5 | State the answer with the weights. Back-substitute for the weights and check them. | : ✓ |