Basics of rank
1Introduction
In this lecture, the
2Terms and definitions
Let be an
The matrix-level definition of
The
3Plan
Rank is computed by pivots, but the meaning of the row and column operations must be separated. Row operations preserve rank but usually move the column space. Column operations preserve the column space itself. The number of pivots counts the independent directions that remain in the columns.
4Intuitive explanation
The columns of a matrix are generators in the output space. A column that is a linear combination of previous columns adds no new direction. Rank counts the number of genuinely independent directions spanned by the columns. For a square matrix, failure of full rank means some input direction is collapsed, so no inverse matrix exists.
5Precise explanation
5.11. Why row operations preserve rank
An elementary row operation is left multiplication by an invertible matrix . Hence
Since is an invertible linear map, it preserves dimension, so . The column space itself may move, so row operations should not be used to read a concrete basis of the original column space without returning to the original pivot columns.
5.22. Why column operations preserve the column space
An elementary column operation is right multiplication by an invertible matrix . The columns of are linear combinations of the columns of , so . Since , the reverse inclusion also holds. Therefore
5.33. Why pivots count rank
Row reduction preserves rank. In echelon form, pivot columns provide the independent directions, and non-pivot columns are linear combinations of pivot columns. Thus rank equals the number of pivots.
5.44. Row rank equals column rank
In echelon form, the number of nonzero rows equals the number of pivots. The nonzero rows are linearly independent, so row rank is . The pivot count also gives column rank . Since row operations preserve both dimensions, row rank and column rank agree for the original matrix.
5.55. Relation to the solution space
For , if there are pivot columns among variables, then there are free variables. Hence the matrix-level kernel satisfies
This is the matrix version of the rank-nullity theorem proved in the next lecture.
6Worked example
For
row reduction gives
There are two pivots, so . To obtain a basis of the original column space, use the original pivot columns, not the reduced columns. Since there are three variables and two pivots, .
7Generalization to linear maps
This lecture used the matrix-level definition. In the next lecture, rank is redefined for a linear map by
After bases are chosen, the generalized definition agrees with the matrix definition above.
data/lecture/math/linear-algebra/rank-and-nullity-of-linear-maps.lecture.n.md8How to recognize what to use
Pivot count is rank. For a basis of the original column space, row-reduce to locate pivot positions but return to the original columns. Column operations preserve the column space itself but change the coordinate reading of unknowns. For square matrices, full rank connects to inverse matrices and determinants.
9Scope
This lecture defines rank for finite matrices. For abstract linear maps, the natural definition is image dimension. Determinants belong to square matrices, but rank is defined for rectangular matrices as well.
10Final forms
11In one sentence
- Matrix rank is the dimension of the column space.
- Pivots compute that dimension.
- The next lecture generalizes rank to image dimension for linear maps.