Matrix Rank Calculator
Find the rank of a matrix by counting the pivots after row reduction.
Write rows separated by semicolons, like 1, 2; 3, 4.
Result
You entered
Row echelon form
Nullity
Show the work
Gauss-Jordan elimination
The rank is unchanged by row operations, so reduce the matrix to reduced row echelon form. Work column by column: make a pivot (a leading 1) with a swap or a scaling, then clear every other entry in its column.
Row operation: add a multiple of one row to another
Subtract times from to turn the entry in row 2, column 1 into 0.
Row operation: scale a row
Multiply by so that the pivot in row 2, column 2 becomes 1.
Row operation: add a multiple of one row to another
Subtract times from to turn the entry in row 1, column 2 into 0.
Count the non-zero rows
The rank is the number of non-zero rows in the reduced matrix, which is the number of pivots. The pivots are in row 1, column 1; row 2, column 2.
Using
Rank and nullity
The nullity counts the columns with no pivot, that is, the free directions: the number of columns minus the rank. Here has 3 columns.
Using
Result
So the rank of is . It is at most the smaller of 2 rows and 3 columns.
Worked examples
Gauss-Jordan elimination, Row operation: add a multiple of one row to another
Gauss-Jordan elimination, Row operation: add a multiple of one row to another
Gauss-Jordan elimination, Count the non-zero rows
Gauss-Jordan elimination, Count the non-zero rows
Gauss-Jordan elimination, Row operation: add a multiple of one row to another