Ora

What is the Dimension of the Column Space of a Matrix?

Published in Matrix Rank and Column Space 4 mins read

The dimension of the column space of a matrix is called its rank.

The column space of a matrix, denoted as Col($A$), is the set of all possible linear combinations of the matrix's column vectors. In simpler terms, it's the span of the columns. The dimension of this space tells us how many linearly independent vectors are needed to form a basis for it. This crucial value, known as the rank of the matrix, provides deep insights into the matrix's properties and the linear system it represents.

Understanding the Rank of a Matrix

The rank of a matrix is a fundamental concept in linear algebra that quantifies the "size" of its column space. It has several equivalent definitions, each offering a different perspective on its meaning:

  • Number of Linearly Independent Columns: The rank represents the maximum number of column vectors that are linearly independent. This means you can choose this many columns such that none of them can be expressed as a linear combination of the others.
  • Number of Pivots in Row Echelon Form: When a matrix is transformed into its reduced row echelon form (RREF), the rank is exactly equal to the number of pivot positions (or leading 1s). Each pivot corresponds to a linearly independent column in the original matrix.
  • Dimension of the Row Space: Interestingly, the dimension of the column space is always equal to the dimension of the row space (the space spanned by the row vectors). This reinforces the idea that the rank is a property of the matrix itself, not just its columns or rows in isolation.

How to Determine the Dimension (Rank)

The most common and practical method to find the dimension of the column space (i.e., the rank) is by reducing the matrix to its row echelon form (REF) or reduced row echelon form (RREF).

  1. Start with the Matrix: Take the given matrix, for example, matrix $A$.
  2. Perform Row Operations: Apply elementary row operations (swapping rows, multiplying a row by a non-zero scalar, adding a multiple of one row to another) to transform the matrix into its REF or RREF.
  3. Count the Pivots: Once in REF or RREF, count the number of non-zero rows. Each non-zero row will contain a leading entry (a pivot). The number of these pivots directly corresponds to the rank of the matrix.

Example:
Consider the matrix:
$A = \begin{bmatrix} 1 & 2 & 3 \ 2 & 4 & 6 \ 3 & 1 & 2 \end{bmatrix}$

Let's find its RREF:

  1. $R_2 \to R_2 - 2R_1$
    $R_3 \to R_3 - 3R_1$
    $\begin{bmatrix} 1 & 2 & 3 \ 0 & 0 & 0 \ 0 & -5 & -7 \end{bmatrix}$
  2. Swap $R_2$ and $R_3$:
    $\begin{bmatrix} 1 & 2 & 3 \ 0 & -5 & -7 \ 0 & 0 & 0 \end{bmatrix}$
  3. $R_2 \to -\frac{1}{5}R_2$:
    $\begin{bmatrix} 1 & 2 & 3 \ 0 & 1 & 7/5 \ 0 & 0 & 0 \end{bmatrix}$
  4. $R_1 \to R_1 - 2R_2$:
    $\begin{bmatrix} 1 & 0 & 1/5 \ 0 & 1 & 7/5 \ 0 & 0 & 0 \end{bmatrix}$ (This is the RREF)

In the RREF, we can clearly see two pivot positions (the leading 1s in the first and second rows). Therefore, the dimension of the column space of matrix $A$ is 2. This also means that there are two linearly independent columns in the original matrix $A$.

Key Properties and Practical Insights

The rank of a matrix is a powerful indicator of various aspects of a linear system:

  • Solvability of Linear Systems: For a linear system $A\mathbf{x} = \mathbf{b}$:
    • If the rank of $A$ equals the number of rows, the system is consistent for all $\mathbf{b}$ (i.e., it always has a solution).
    • If the rank of $A$ equals the number of columns, the system has at most one solution.
    • If the rank of $A$ is less than the number of columns, the system, if consistent, has infinitely many solutions.
  • Rank-Nullity Theorem: This fundamental theorem states that for any matrix $A$ with $n$ columns, the sum of its rank and the dimension of its null space (nullity) equals $n$: $\text{rank}(A) + \text{nullity}(A) = n$. The null space's dimension tells us how many "free variables" are in the solution to $A\mathbf{x} = \mathbf{0}$.
  • Maximum Rank: For an $m \times n$ matrix (m rows, n columns), the maximum possible rank is $\min(m, n)$. A matrix achieving this maximum rank is called a "full rank" matrix.
  • Invertibility: A square matrix ($n \times n$) is invertible if and only if its rank is $n$.

Summary Table: Key Aspects of Rank

Aspect Description
Definition Dimension of the column space (or row space) of a matrix.
Synonym Dimension of Col($A$), Dimension of Row($A$).
Calculation Method Count the number of pivots in the RREF of the matrix.
Interpretation Maximum number of linearly independent columns (or rows).
Notation rank($A$)
Significance Determines solvability of linear systems, matrix invertibility.

Understanding the dimension of the column space, or the rank, is essential for anyone working with matrices, as it underpins many theoretical and practical applications in engineering, computer science, physics, and economics.