The rank is the number of independent rows, which always equals the number of independent columns. Row reduce the matrix to echelon form and count the pivots: that count is the rank.
| Step | On | |
|---|---|---|
| 1 | Row reduce to echelon form. Clear below each pivot with row operations; they do not change the rank. | , ; swap: |
| 2 | Count the pivots. A pivot is the first nonzero entry of a nonzero row; each sits to the right of the one above. | pivots in columns and : |
| 3 | Check against the bound. The rank cannot exceed the number of rows or of columns. | ✓; not full rank, so |
| 4 | Read off what the rank tells you. Nullity by the rank-nullity theorem; the pivot columns of the original form a basis of the column space. | nullity ; columns and of span the column space |