Vector Spaces
Rank from RREF
Find the rank of a matrix by row-reducing it to row echelon form (REF) and counting pivot columns. The number of free variables equals the number of columns minus the rank.
rank
The rank of a matrix is the number of pivot columns in its REF. It equals the dimension of the column space. The nullity (number of free variables) satisfies rank + nullity = number of columns.