How to Pare Down a Set to Form a Basis
At a glance
- 1. Arrange the vectors
Place the vectors as columns of a matrix, keeping their original order.
- 2. Find pivot columns
Row-reduce the matrix and identify the pivot-column positions.
- 3. Keep original vectors
Select the vectors in those positions from the original set, not from the reduced matrix.
- 4. Check the result
The selected vectors are independent and span the same space as the original set.
If a finite set of vectors spans a space, you can pare it down to a basis by removing vectors that are redundant. The most reliable method is to put the vectors into a matrix as columns, row-reduce, and keep the original vectors whose column positions contain pivots.
A basis must satisfy two conditions: its vectors are linearly independent, and they span the space. Starting with a spanning set, removing a vector that is a linear combination of the others preserves the span; when no more such vectors can be removed, the remaining set is a basis.
The pivot-column method
Suppose your vectors are in . Form the matrix
Row-reduce to echelon form or reduced row-echelon form. The columns containing leading entries are the pivot columns. Keep the vectors in those positions from the original matrix. Those vectors form a basis for the span of the original set.
Why does this work? Row operations are invertible operations on the equations , so they preserve which coefficient lists give linear dependencies among the columns. The pivot-column positions therefore identify a maximal independent subset of the original columns. Also, every non-pivot column is a linear combination of the pivot columns, so keeping the pivot columns preserves the original span.
Worked example
Consider these four vectors in :
Place them in a matrix as columns:
Row-reduce, for example by replacing the third row first with the third row minus the first, then subtracting the second row from the new third row:
The pivot columns are 1, 2, and 4. Therefore keep , , and . These three vectors are a basis for the same space as all four original vectors. The discarded vector is redundant: directly,
Notice that the pivot columns in the reduced matrix are not the vectors to keep. For instance, the reduced matrix’s fourth column is , but in other examples a reduced column need not equal the corresponding original vector. Use the pivot positions to select columns from the original matrix.
A quick alternative: remove dependencies directly
If you can see a dependence relation, you can remove a vector without row-reducing. In the example, , so deleting leaves the span unchanged. Repeating this process until the remaining vectors are independent produces a basis.
For a larger set, row reduction is usually less error-prone. It identifies all pivot positions at once and provides a systematic test for independence. A set is already independent exactly when every column is a pivot column; if it is also known to span the space, it is already a basis.
Common mistakes
- Keeping columns of the reduced matrix. Row operations change the vectors. Keep original columns at the pivot positions.
- Choosing arbitrary vectors to delete. A vector can be removed only if it is a linear combination of the others, or if the remaining vectors otherwise still span the same space.
- Confusing spanning with independence. A spanning set can contain redundant vectors. A basis has no redundancy: neither condition can be dropped.
- Assuming every set can be pared down. This procedure applies directly to a finite spanning set. For an infinite set, the question requires more care; in a finite-dimensional space, a finite subset can be selected as a basis when the set spans the space.
If you have an independent set instead
Sometimes the goal is to make a basis for a larger space, not to pare down a spanning set. If your vectors are independent but do not span the target space, add vectors outside their current span until they do. In , an independent set can be extended this way until it has vectors. In contrast, if the starting set spans the target space, use the pivot-column method to remove redundancy.
References
- Linear Algebra and Its Applications, David C. Lay, Steven R. Lay, and Judi J. McDonald
- Linear Algebra Done Right, Sheldon Axler
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.