Elementary operations, echelon form and rank
Row-reducing a matrix to echelon form, reading the rank off the staircase, and the minor method as a cross-check.
Module contents
The rank of a matrix measures how much genuinely independent information it carries. It is the number that decides whether a system of equations has one solution, many, or none.
Elementary operations
Three moves are permitted on rows (and the same three on columns):
| Operation | Notation |
|---|---|
| Interchange two rows | |
| Multiply a row by a non-zero scalar | |
| Add a multiple of one row to another |
Matrices and are equivalent, written , if one can be obtained from the other by such operations. Elementary operations never change the rank. That is the entire basis of the method.
Echelon form
A matrix is in row echelon form when:
- All zero rows sit at the bottom.
- In each non-zero row, the first non-zero entry (the pivot or leading entry) lies strictly to the right of the pivot in the row above.
- All entries below a pivot are zero.
The pivots form a descending staircase:
Reduced row echelon form (RREF) goes further: every pivot is , and every pivot is the only non-zero entry in its column. Gauss–Jordan elimination produces this.
Rank
Equivalently, the number of pivots.
Written or or .
Facts about rank
- for a matrix of order .
- if and only if .
- — row rank equals column rank, always.
- For a square matrix of order : is non-singular. Such a matrix is said to have full rank.
- for a square singular matrix.
- .
Method 1 — Echelon form (preferred)
- Get a non-zero entry into the top-left position, swapping rows if necessary.
- Use it to clear everything below it in that column.
- Move down one row and right one column; repeat.
- Count the non-zero rows.
Work with integers where possible. Adding multiples of rows is nearly always cheaper than scaling to make a leading .
Method 2 — Minors
means:
- there exists at least one non-zero minor of order , and
- every minor of order (and higher) is zero.
Start from the largest possible order and work down until you find a non-zero minor.
This is quick for small matrices and for confirming an answer, but the number of minors explodes with size, so echelon form is the practical method.
Normal (canonical) form
Using both row and column operations, any matrix of rank can be reduced to
called the normal form of . The order of the identity block is the rank. This is sometimes asked directly.
Worked examples
3 solvedEvery step is shown, in the order you would write it in an answer book.
Rank by reduction to echelon form
Question
Find the rank of .
Use the pivot to clear column 1
:
:
Clear below the next pivot
The next pivot is the in row 2, column 3. Apply :
This is echelon form: pivots at and , staircase descending, zero row at the bottom.
Count non-zero rows
Two non-zero rows, so .
Cross-check with minors
Rank predicts and some non-zero minor.
Both conditions hold, confirming .
Answer
NoteColumn 2 is exactly 2 × column 1 — that dependence is what costs the matrix a unit of rank.
Rank of a rectangular matrix
Question
Find the rank of .
Note the ceiling
is , so .
Clear column 1
:
:
Clear below the second pivot
Pivot is the at position . Apply :
Count
Two non-zero rows: .
Answer
Rank depending on a parameter
Question
Find the values of for which has rank , rank , and rank .
Test for rank 3 first
Rank requires . But row 3 row 1 regardless of , so by the proportional-rows property
Rank is impossible.
Reduce
and :
Split on the pivot in row 2
If , i.e. : two non-zero rows, so .
If : row 2 vanishes, leaving one non-zero row, so .
Answer
when ; for every ; rank never occurs.
NoteWith a parameter, always reduce first and split into cases only at the point where a pivot could vanish.
Practice problems
6 with solutionsWork each one on paper first. The full solution — not just the answer — is one click away.
Find the rank of by both methods.
Show solutionHide solution
Echelon. gives — one non-zero row.
Minors. The only order- minor is . There is a non-zero order- minor (for instance ).
Largest non-zero minor has order , so ✓
Reduce to echelon form and state its rank.
Show solutionHide solution
The entry is , so swap first: .
:
The pivot pattern is out of order, so swap :
This is echelon form with three pivots.
Being of full rank, is non-singular. (Indeed the echelon form is upper triangular with determinant , and the two swaps make .)
Find the rank of .
Show solutionHide solution
Rows and are and row , so they will vanish immediately.
, , :
Move the non-zero row up: .
Echelon form with two non-zero rows.
Find the rank of .
Show solutionHide solution
Pivot . Apply and :
:
:
Pivot is now the at . Clear below: , .
:
:
Echelon form with three non-zero rows.
(Scaling by is legitimate — multiplying a row by a non-zero scalar preserves rank. It keeps the arithmetic in integers.)
For what value of does have rank less than ?
Show solutionHide solution
Rank for a matrix means .
Expand along column 1:
Setting :
Confirm the rank at . Apply :
Two non-zero rows, so when , and otherwise.
Reduce to normal form and state its rank.
Show solutionHide solution
Row operations first. :
:
:
Now column operations. :
Column 3 becomes .
The identity block has order , so