|
An m x n matrix has n columns, but they are usually linearly dependent. To find a basis of the column space, you could transpose the matrix and then find a basis of the row space of the transpose. You can also use the dependency algorithm on the columns – the columns are already conveniently stacked into a matrix, so you just need to row reduce the matrix and use the result to pick out the independent columns of the original matrix. Either method will give you a basis of the column space; the dependency algorithm selects a basis from the original matrix columns.
To find a basis of the column space of a matrix |
|
|
This algorithm also gives you the dimension of the column space.
|
Proof. The dependency algorithm picks out a basis of the column space consisting of those columns of the original matrix corresponding to the columns of the reduced matrix with leading 1's. The number of those columns is thus the dimension of the column space. |
The column space of A is intimately related to the consistency of linear systems of the form Ax = b.
|
Proof. Suppose the matrix A has columns a1, a2, ..., an and suppose x is the column [x1, x2, ..., xn]. The left-hand side of Ax = b can be expanded into a linear combination of the columns of A:
This equation says that b is a linear combination of the columns a1, a2, ..., an, so the equation Ax = b holds if and only if b is in the column space of A. |