Definition. Let A be an matrix. The column vectors of A are the vectors in corresponding to the columns of A. The column space of A is the subspace of spanned by the column vectors of A.
For example, consider the real matrix
The column vectors are and . The column space is the subspace of spanned by these vectors. Thus, the column space consists of all vectors of the form
We've seen how to find a basis for the row space of a matrix. We'll now give an algorithm for finding a basis for the column space.
First, here's a reminder about matrix multiplication. If A is an matrix and , then you can think of the multiplication as multiplying the columns of A by the components of v:
This means that if is the i-th column of A and , the product is a linear combination of the columns of A:
Proposition. Let A be a matrix, and let R be the row reduced echelon matrix which is row equivalent to A. Suppose the leading entries of R occur in columns , where , and let denote the i-th column of A. Then is independent.
Proof. Suppose that
Form the vector , where
The equation above implies that .
It follows that v is in the solution space of the system . Since has the same solution space, . Let denote the i-th column of R. Then
However, since R is in row reduced echelon form, is a vector with 1 in the k-th row and 0's elsewhere. Hence, is independent, and .
The proof provides an algorithm for finding a basis for the column space of a matrix. Specifically, row reduce the matrix A to a row reduced echelon matrix R. If the leading entries of R occur in columns , then consider the columns of A. These columns form a basis for the column space of A.
Example. Find a basis for the column space of the real matrix
Row reduce the matrix:
The leading entries occur in columns 1 and 2. Therefore, and form a basis for the column space of A.
Note that if A and B are row equivalent, they don't necessarily have the same column space. For example,
However, all the elements of the column space of the second matrix have their second component equal to 0; this is obviously not true of elements of the column space of the first matrix.
Example. Find a basis for the column space of the following matrix over :
Row reduce the matrix:
The leading entries occur in columns 1, 2, and 4. Hence, columns 1, 2, and 4 of A are independent and form a basis for the column space of A:
I showed earlier that you can add vectors to an independent set to get a basis. The column space basis algorithm shows how to remove vectors from a spanning set to get a basis.
Example. Find a subset of the following set of vectors which forms a basis for .
Make a matrix with the vectors as columns and row reduce:
The leading entries occur in columns 1, 2, and 4. Therefore, the corresponding columns of the original matrix are independent, and form a basis for :
Definition. Let A be a matrix. The column rank of A is the dimension of the column space of A.
This is really just a temporary definition, since we'll show that the column rank is the same as the rank we define earlier (the dimension of the row space).
Proposition. Let A be a matrix. Then
Proof. Let R be the row reduced echelon matrix which is row equivalent to A. Suppose the leading entries of R occur in columns , where , and let denote the i-th column of A. By the preceding lemma, is independent. There is one vector in this set for each leading entry, and the number of leading entries equals the row rank. Therefore,
Now consider . This is A with the rows and columns swapped, so
Applying the first part of the proof to ,
Therefore,
Proposition. Let A, B, P and Q be matrices, where P and Q are invertible. Suppose . Then
Proof. I showed earlier that . This was row rank; a similar proof shows that
Since row rank and column rank are the same, .
Now
But , so repeating the computation gives . Therefore, .
Copyright 2023 by Bruce Ikenaga