Skip to content

Rank

Definition

The rank of a matrix is the number of nonzero rows in its reduced row echelon form.

Full row, full column, and full rank

For an m×nm\times n matrix A\boldsymbol{A}:

  • A\boldsymbol{A} has full row rank if rank⁡(A)=m\operatorname{rank}(\boldsymbol{A})=m. This corresponds to the rows being linearly independent, so that Ax=b\boldsymbol{A}\boldsymbol{x}=\boldsymbol{b} has at least one solution for every right-hand side b∈Rm\boldsymbol{b}\in\mathbb{R}^m.
  • A\boldsymbol{A} has full column rank if rank⁡(A)=n\operatorname{rank}(\boldsymbol{A})=n. This corresponds to columns being linearly independent, so Ax=b\boldsymbol{A}\boldsymbol{x}=\boldsymbol{b} has at most one solution.
  • A square matrix has full rank if rank⁡(A)=n\operatorname{rank}(\boldsymbol{A})=n; this is equivalent to invertibility and to a nonzero determinant.

Interpretation

Rank measures how many independent pieces of information a matrix contains. It is the number of linearly independent columns, which equals the number of independent rows and the number of pivots left after row reduction.

Two panels: two column vectors pointing in different directions, which span the plane and give rank 2, and two parallel column vectors, which span only a line and give rank 1.

On the left, A=(2.40.80.62.0)\boldsymbol{A}=\begin{pmatrix}2.4&0.8\\0.6&2.0\end{pmatrix} has independent columns spanning R2\mathbb{R}^2, so its rank is 22. On the right, A=(2.41.21.20.6)\boldsymbol{A}=\begin{pmatrix}2.4&1.2\\1.2&0.6\end{pmatrix} has proportional columns, a2=12a1\boldsymbol{a}_2=\tfrac{1}{2}\boldsymbol{a}_1, spanning only a line, so its rank is 11 and its determinant is zero.

Rank counts the dimensions of the current image of Mt=(1−t)I+tA\boldsymbol{M}_t=(1-t)\boldsymbol{I}+t\boldsymbol{A}. Rank two gives the whole plane and kernel {0}\{\boldsymbol{0}\}; rank one gives a line image and line kernel; rank zero gives image {0}\{\boldsymbol{0}\} and the whole plane as kernel. At t=1t=1 this is the target A\boldsymbol{A}.

Row operations do not change the solutions of Ax=0\boldsymbol{A}\boldsymbol{x}=\boldsymbol{0}, so they keep every linear relation between the columns. In the echelon form the pivot columns are independent and every other column is a combination of them, and the same holds for A\boldsymbol{A} itself. So the number of pivots is the dimension of the range of x↦Ax\boldsymbol{x}\mapsto\boldsymbol{A}\boldsymbol{x}, the span of the columns.

For a system Ax=b\boldsymbol{A}\boldsymbol{x}=\boldsymbol{b} with nn unknowns, the system is solvable if and only if the augmented matrix (A∣b)(\boldsymbol{A}\mid\boldsymbol{b}) has the same rank as A\boldsymbol{A}, and then the solutions have n−rank⁡(A)n-\operatorname{rank}(\boldsymbol{A}) free variables. That number is the dimension of the kernel, by the fundamental theorem of linear maps.

A common slip is to count the nonzero rows of A\boldsymbol{A} itself rather than of its echelon form: (1224)\begin{pmatrix}1&2\\2&4\end{pmatrix} has two nonzero rows but rank 11, because the second row is twice the first.


Key Results

  • The full row, full column, and full rank cases are special cases of rank.
  • The rank equals the dimension of the range of the corresponding linear map.
  • For an m×nm\times n matrix, rank⁡(A)≤m\operatorname{rank}(\boldsymbol{A})\leq m and rank⁡(A)≤n\operatorname{rank}(\boldsymbol{A})\leq n.

Examples

  • A zero matrix has rank 00.
  • In\boldsymbol{I}_n has rank nn.

Prerequisites

Sources

Aliases: matrix rank Keywords: full rank, full row rank, full column rank Symbols: element of, real numbers

Last updated: 27 October 2026 11:52