Calculation Results
1. Definition and formula: What is the rank of a matrix?
The rank of a matrix is the number of linearly independent rows or columns. Equivalently, the rank is the number of pivot positions in the matrix's reduced row echelon form (RREF).
Rank applies to both square and rectangular matrices. Row rank equals column rank.
Practical method (summary):
- Compute the RREF of matrix $A$ (Gauss–Jordan elimination).
- Count the number of nonzero (pivot) rows in RREF.
- That count is $\operatorname{rank}(A)$.
2. How to compute rank (quick recipe)
- Convert $A$ to RREF using elementary row operations.
- Count pivot rows (rows with leading 1's).
- Alternatively, count maximal number of linearly independent columns (column rank).
Rank = number of pivots = number of nonzero rows in RREF.
3. Worked examples
Example 1
Compute the rank of
Row-reduce (summary):
There are 2 pivot rows, so
Example 2
Find the rank of
Row-reduce (summary):
Two pivot rows ⇒
4. Common mistakes (pitfalls)
- Counting nonzero entries: Rank counts independent rows/columns, not nonzero entries.
- Stopping too early in elimination: REF might hide dependencies; RREF clarifies pivots.
- Mixing determinant logic: For square matrices, $\det\neq 0$ ⇒ full rank, but determinant is not defined for non-square matrices.
- Assuming visually independent: Rows that look different may still be linearly dependent—use elimination to be sure.
5. Practice problems (click to show answers)
Try these. Answers are hidden — click Show Answer to reveal each rank.
Exercise 1
Show Answer
Rows 1 and 2 are dependent (row2 = 2·row1), so at most 2 independent rows; RREF confirms 2 pivots.
Exercise 2
Show Answer
Column 2 is a multiple of column 1? Here row 2 = 2·row1, so only one independent row remains.
Exercise 3
Show Answer
Each row is proportional (row3 = 1.5·row1, row2 = 0.5·row1), so only one independent row.
Exercise 4
Show Answer
All rows are scalar multiples of the first row (row2 = 3·row1, row3 = 5·row1), so rank = 1.
To study matrix rank from different angles, try the matrix inverse calculator, matrix multiplication calculator, and LU decomposition calculator.