How to Find a Basis for the Image of a Matrix
At a glance
- 1. Write the columns
The image of a matrix is the span of its columns.
- 2. Row-reduce
Use row operations to locate the pivot columns.
- 3. Keep original columns
Take the corresponding columns from the original matrix, not the reduced matrix.
- 4. Check independence
The selected columns form a basis for the image.
Try it: Matrix calculator
The image of a matrix is the set of all output vectors the matrix can produce. To find a basis for it, identify which columns are independent of the others. The standard method is to row-reduce the matrix, locate its pivot columns, and select the columns in those positions from the original matrix.
This method works because elementary row operations preserve which columns are linearly independent, and hence preserve the pivot-column positions. But row operations change the actual column vectors, so the basis vectors must come from the original matrix.
What is the image of a matrix?
For an matrix , multiplication by defines a linear map from to . Its image is
Writing by its columns, , shows that every output is a linear combination of those columns:
Therefore, the image is exactly the column space, . A basis for the image is a linearly independent selection of columns that still spans all the columns.
The pivot-column method
- Row-reduce to echelon form or reduced row-echelon form.
- Mark the columns containing leading entries (pivots) in the reduced matrix.
- Select the columns in those same positions from the original matrix.
- Those selected columns form a basis for .
The number of pivot columns is the rank of , so it also gives the dimension of the image.
Worked example
Find a basis for the image of
Row-reduce. First replace row 2 by row 2 minus twice row 1, and row 3 by row 3 minus row 1:
Subtract the new row 2 from row 3 to obtain
The pivots are in columns 1 and 3. Now take columns 1 and 3 from the original matrix:
Thus one basis for the image is
You can verify that the other original columns are combinations of these: and . So the two selected columns span every column. They are independent because the reduced matrix has a pivot in each of their positions.
Why use the original columns?
Row operations preserve the solutions to relationships of the form . In particular, they preserve which sets of columns are independent. That is why row reduction correctly reveals the pivot positions.
However, a row operation changes the entries in the columns themselves. The columns of the row-reduced matrix generally are not the original vectors in the image of . For the example above, the first and third columns of the reduced matrix are not the two vectors listed as a basis; the basis comes from columns 1 and 3 of .
Common mistakes
- Using columns from the reduced matrix. Use the reduced matrix to find pivot positions, but use the original matrix for the basis vectors.
- Confusing row space with column space. The nonzero rows of an echelon form give a basis for the row space. They do not generally give a basis for the image, which is the column space.
- Keeping every column. The columns span the image, but they may be dependent. Keep only the pivot columns.
- Assuming there must be a nonzero basis vector. If is the zero matrix, its image is the zero subspace. Its basis is the empty set, and its dimension is zero.
A quick check
If your selected columns are , check that you selected one original column for each pivot and that no other columns are needed to span the column space. The number should equal the number of pivots and the rank of . A disagreement usually means a pivot position was misread or a reduced column was used by mistake.
References
- Linear Algebra and Its Applications — David C. Lay, Steven R. Lay, and Judi J. McDonald
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.