Column Space

Learn about a matrix’s column space and its relationship with the solution of a linear system.

Definition

The column space of a matrix, AA, often denoted by C(A)C(A), is a vector space spanned by the column vectors of AA.

The column-space of an m×nm \times n matrix AA is a subspace of Rm\R^m. The dimensions of the column space are the number of linearly independent columns, that is, the rank of the matrix AA.

Examples

  1. The column space of [1001]\begin{bmatrix}1 &0\\0&1\end{bmatrix} is R2\R^2.

  2. The column space of [1224]\begin{bmatrix}1 &2\\2&4\end{bmatrix} is a one-dimensional subspace of R2\R^2. This is because there’s a single linearly independent vector as 2c1=c22\bold{c_1} =\bold{c_2}. Any of these columns can be a basis for the subspace.

  3. The column space of [0000]\begin{bmatrix}0 &0\\0&0\end{bmatrix} is a zero-dimensional subspace of R2\R^2.

  4. The column space of an n×nn \times n invertible matrix AA is Rn\R^n. This is because all the columns of such a matrix are linearly independent. That is, rank(A)=nrank(A)=n.

The columns of every n×nn \times n invertible matrix form a basis of RnR^n.

Basis of column space

A basis of the column space of a matrix, AA, is a set of linearly independent columns of AA. One algorithm for computing the basis is as follows:

  1. Take the transpose of the matrix to convert the columns into rows.

  2. Compute the rrefrref (reduced row echelon form) of the transposed matrix.

  3. The set of non-zero rows in rrefrref is a linearly-independent set. These form the basis of the column space.

Note that the basis found by the algorithm above may not contain the original column vectors, but their linear combinations as elementary row operations have transformed the matrix into rrefrref.

Let’s try it out by using the following code:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy