Main Page | See live article | Alphabetical index

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
1 Alternative definitions
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
with the rule
f(x) = Ax
then the rank of A can also be defined as the dimension of the image of f, or as n minus the dimension of the kernel of f (see linear map for a discussion of image and kernel). These definitions have the advantage that they can be applied to any linear map without need for a specific matrix.

Properties

We assume that A is an m-by-n matrix over the field F and describes a linear map f as above.

As an example of the "<" case, consider the product

where Ir denotes the r-by-r identity matrix.

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

We see that the second column is twice the first column, and that the fourth column equals the sum of the first and the third. The first and the third columns are linearly independent, so the rank of A is two. This can be confirmed with the Gauss algorithm. It produces the following row echelon form of A:

which has two non-zero rows.

Generalization

There are different generalisations of the concept of rank to matrices over arbitrary ring. In those generalisations, column rank, row rank, dimension of column space and dimension of row space of a matrix may be different from the others or may not exist.