Rank (matrix theory)
In linear algebra, the column rank (row rank respectively) of a matrix A with entries in some field is defined to be the maximal number of columns (rows respectively) of A which are linearly independent.
The column rank and the row rank are indeed equal and is simply called the rank of A. It is commonly denoted by either rk(A) or rank A.
| Table of contents |
|
2 Properties 3 Computation 4 Generalization |
Alternative definitions
The maximal number of linearly independent columns of the m-by-n matrix A with entries in the field F is equal to the dimension of the column space of A (the column space being the subspace of Fm generated by the columns of A).
Alternatively and equivalently, we can define the rank of A as the dimension of the row space of A.
If one considers the matrix A as a linear map
- f : Fn -> Fm
- f(x) = Ax
Properties
We assume that A is an m-by-n matrix over the field F and describes a linear map f as above.
- the rank of A is at most min(m,n)
- f is injective if and only if A has rank n (in this case, we say that A has full column rank).
- f is surjective if and only if A has rank m (in this case, we say that A has full row rank).
- In the case of a square matrix A (i.e., m = n), then A is invertible if and only if A has rank n (we say that A has full rank).
- If B is any n-by-k matrix, then the rank of AB is at most the minimum of the rank of A and the rank of B.
- If B is an n-by-k matrix with rank n, then AB has the same rank as A.
- If C is an l-by-m matrix with rank m, then CA has the same rank as A.
- The rank of A is equal to r if and only if there exists an invertible m-by-m matrix X and an invertible n-by-n matrix Y such that
- The rank of a matrix plus the nullity of the matrix equals the number of columns of the matrix (this is the "rank theorem" or the "rank-nullity theorem").
Computation
The easiest way to compute the rank of a matrix A is given by the Gauss elimination method. The row-echelon form of A produced by the Gauss algorithm has the same rank as A, and its rank can be read off as the number of non-zero rows.
Consider for example the 4-by-4 matrix
