How to find a column space and decide whether Ax = b has a solution
A matrix-vector product is a combination of the columns of the matrix. That means we can solve Ax = b exactly when those columns can combine to make b. Let’s find a column-space basis and connect it with the null space.
Read the pivot positions from a reduced matrix
Row reduction gives the following matrix.
The pivots are in columns 1, 2, and 3. Use those positions to select the corresponding columns from the original matrix A.
Choose the basis from the original columns
A column-space basis is , , and . These are three independent vectors in three-dimensional space, so the column space is all of three-dimensional space. For this matrix, has a solution for every three-component vector .
Use the free column to find the null-space dimension
There are four variable columns and three pivots. The fourth variable is free. Letting in the reduced system gives
So the null space has dimension 1 and the column space has dimension 3. The dimensions add to the number of columns, 4. More generally, a matrix with n columns and r pivots has null-space dimension n minus r.