The matrix rank of an matrix over a field is the dimension of its column space, equivalently the dimension of its row space. It counts linearly independent column directions, with . Counting nonzero matrix entries gives a different quantity: an all-ones matrix can have arbitrarily many nonzero matrix entries and still have matrix rank one.[ref]
The Rank Theorem. Interactive Linear Algebra, §2.9, Definition: rank is column-space dimension; the row-space equality is proved below
Consider the following matrix over the real numbers, with columns written as vectors:The vectors are linearly independent: requires both and , so . The third column adds no new direction to their linear span, hence despite all nine matrix entries being nonzero. The second row likewise repeats twice the first row.
The column space is a plane through the origin:Every output has second coordinate twice its first coordinate. Conversely, any vector equals , so this condition describes the entire plane, not just part of it. For example, is attainable, whereas lies outside the plane.
Elementary row operations expose the same count algebraically. Apply and , interchange the last two rows, multiply the second row by , and subtract twice the second row from the first. The resulting reduced row echelon form isThere are two pivot columns, so the matrix rank is two. The corresponding original columns form a basis of the original column space. The pivot columns of itself span the different plane with third coordinate zero: row operations preserve column linear relations, but generally move the column space.[ref]
Row Reduction. Interactive Linear Algebra, §1.2.2, Echelon Forms; §1.2.3, definitions of pivot position and pivot column
Solving the homogeneous linear system gives and . Taking the free variable givesThe kernel is the input direction that trades one unit of each of the first two columns for one unit of the third. This trade leaves the output unchanged. The rank-nullity theorem expresses the general balance: for an matrix of matrix rank , the nullity is . The column space describes reachable outputs; the kernel describes invisible changes to inputs.[ref]
The Rank Theorem. Interactive Linear Algebra, §2.9, Rank Theorem: rank plus nullity equals the number of columns
For the attainable output , one solution is . Every solution lies in the affine solution space of a linear equationIndeed, and . Conversely, subtracting from any solution gives a vector in the kernel, so this describes every solution. For , the same row operations on the augmented matrix expose : the second requirement demands where twice the first requires .
Two pivot columns, one kernel direction, and the same row operations distinguishing attainable from impossible
. Details. In general, a linear system is solvable exactly when appending leaves the matrix rank unchanged:Appending a vector outside the column space adds an independent direction. When a solution exists, every solution is , because . Thus one count predicts both how many output directions are reachable and, through the rank-nullity theorem, how many independent input directions remain free.[ref]
Solution Sets. Interactive Linear Algebra, §2.4.2, Key Observation and its proof; §2.4.3, Solution Sets and Column Spans
For a matrix of matrix rank , choose an ordered basis of its column space as the columns of . Express every column of in that basis and put its coordinates in . Then , has full column rank and has full row rank. Choosing independent original columns makes the corresponding columns of the standard basis vectors, directly proving its rank.
The basis choice is not unique: for any invertible matrix , the factors and have the same product. Once is fixed, its coordinate matrix is unique. For rank zero, the empty factors of the displayed shapes represent the zero matrix.
Let be a real matrix of matrix rank , and let the columns of be bases of and , respectively. Then has matrix rank , , and is an invertible matrix.
Proof. Since has independent columns, its Gram matrix is invertible, and maps onto . Thus and . The basis conditions give the two zero products. In particular,If , taking its dot product with gives . Hence and simultaneously . Therefore , and is invertible. The case is immediate.
For a common eigenvector of and , the two eigenvalues have zero product and positive sum: exactly one is zero. Thus the added term fills the missing orthogonal output directions without interfering with the original ones.
For composable linear maps, lies in and has dimension at most that of . This proves the bound on the rank of a matrix product. When is , is , and , the bound is attained by and .
The column rank of a matrix is the dimension of its image of a linear map, equivalently the dimension of the linear span of its columns. Multiplication on the left by an invertible matrix preserves all column linear relations, and elementary column operations preserve their linear span. In row echelon form the pivot columns form a basis of the column space. Its dimension equals the number of nonzero rows, and hence the row rank.
A pivot column of a matrix is a column whose position contains a leading nonzero matrix entry in its row echelon form. The corresponding columns of the original matrix form a basis of its column space. The column positions survive row operations, although the column vectors themselves generally change.[ref]
The row rank of a matrix is the dimension of the vector space spanned by its rows. Elementary row operations preserve this row space; multiplication on the right by an invertible matrix preserves all linear relations among the rows.
To see why row rank equals column rank, write a reduced row echelon form as , where is a product of elementary matrices and is an invertible matrix. Reversibility of the row operations gives equal row spaces for and . Also if and only if , so the columns have exactly the same linear relations. If has nonzero rows, its pivot columns are the first standard basis vectors of and span its column space. Its nonzero rows are linearly independent, since their matrix entries in the pivot positions form an identity matrix. Both dimensions therefore equal , and both counts transfer back to .
Two rectangular matrices are related by invertible left and right multiplication exactly when their ranks agree. The rank- orbit in has dimension : choose its image in a Grassmannian, then a surjective map to that image. These are the representation orbits of the one-arrow quiver.
The image of the linear map is contained in the sum of the images of and . Since the dimension of a vector space of this sum is at most the sum of their dimensions, matrix rank is subadditive. Iteration shows that a sum of matrices of matrix rank at most one has matrix rank at most , over any field.
An matrix has full column rank when its matrix rank is , equivalently when its columns are linearly independent vectors. This requires . Its kernel is , so the represented linear map is injective and every solvable linear system has a unique solution. It need not reach every output.[ref]
One-to-one and Onto Transformations. Interactive Linear Algebra, §3.2.1, One-to-one matrix transformations theorem and Wide matrices do not have one-to-one transformations
For example,has full column rank two, but its column space is the plane in . An attainable output fixes the input uniquely as ; an output outside this plane has no preimage.
An matrix has full row rank when its matrix rank is , equivalently when its rows are linearly independent vectors. This requires . Its column space is all of , so the represented linear map is surjective and every linear system is solvable. If , its nullity is , so solutions are not unique.[ref]
One-to-one and Onto Transformations. Interactive Linear Algebra, §3.2.2, Onto matrix transformations theorem and Tall matrices do not have onto transformations
For example, the matrix transpose of the matrix in full column rank isIt has full row rank two. Every output has solutions , with . A square matrix of size has full row rank and full column rank together exactly when its matrix rank is ; then it is an invertible matrix. A nonsquare matrix cannot have both properties, and has no two-sided inverse: such an inverse would make its linear map a linear isomorphism between vector spaces of different dimensions.
Articles by others on the same topic
There are currently no matching articles.

