Matrix Rank Calculator

Find the rank of a matrix by counting the pivots after row reduction.

Matrix A
Rows
2
Columns
2

Write rows separated by semicolons, like 1, 2; 3, 4.

Try

Result

You enteredrank⁡(0000)\operatorname{rank}\begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix}

0\displaystyle 0

Row echelon form

(0000)\displaystyle \begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix}

Nullity

2\displaystyle 2
Show the work
  1. Gauss-Jordan elimination

    The matrix is already in reduced row echelon form, so no row operation is needed. The rank is the number of non-zero rows that remain.

    A=(0000)A = \begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix}
  2. Count the non-zero rows

    Every row is zero, so there is no pivot and the rank is 0.

    Using rank⁡(A)=number of non-zero rows\operatorname{rank}\left(A\right) = \text{number of non-zero rows}

    rank⁡(A)=rank⁡(0000)=0\operatorname{rank}\left(A\right) = \operatorname{rank}\begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix} = 0
  3. Rank and nullity

    The nullity counts the columns with no pivot, that is, the free directions: the number of columns minus the rank. Here AA has 2 columns.

    Using rank⁡(A)+nullity⁡(A)=number of columns\operatorname{rank}\left(A\right) + \operatorname{nullity}\left(A\right) = \text{number of columns}

    nullity⁡(A)=2−0=2\begin{aligned} \operatorname{nullity}\left(A\right) &= 2 - 0 \\ &= 2 \end{aligned}
  4. Result

    So the rank of AA is 00. It is at most the smaller of 2 rows and 2 columns, and it is smaller here because some rows (or columns) are combinations of the others.

Worked examples