Rank

Tags

Ranks

The rank is the dimension of the range of AA

so it is dimension of the span of the columns (and rows, because of fact 1). Here are some facts: 1) the rank of AA is the same as the rank of ATA^T, and 2) rank(A)+dimN(A)=nrank(A) + dim N(A) = n (the rank nullity theorem)

A full rank matrix has either independent columns (if it’s skinny), independent rows (if it’s fat), or non-singular (if it’s square, meaning that it’s invertible)

Rank Nullity Theorem

Let ARm×nA \in \mathbb{R}^{m\times n} (i.e. T:RnRmT: R^n → R^m)

The column rank is R(A)R(A), and it's the maximum number of linear independent columns

the row rank is R(AT)R(A^T) and it's the maximum number of linearly independent rows.

dimR(A)=dimR(AT)=rank(A)\dim R(A) = \dim R(A^T) = rank(A)

This is very interesting. What does it implicate? it means that the following is true:

dimN(A)+dimR(A)=n\dim N(A) + \dim R(A) = n
💡
this is the rank-nullity theorem! Super important!

A n×nn\times n matrix is invertible if rank(A)=nrank(A) = n

Linear Independence and Rank

The column rank of a matrix is the size of the largest subset of columns that form an linearly independent set. The row rank is the same, but for rows. It is provable that the column and the row ranks are the same value.

Rank, invertibility

The rank of the matrix is the dimension of the span of the columns of the matrix. It is also the dimension of the span of the rows. This is not a coincidence and there is a proof for this. Remember that dimension is the number of vector needed to define the subspace of the span; it doesn’t have to do with the number of elements in the column vectors. In SVD, the rank is the number of non-zero values on the diagonal.

A matrix is invertible if and only if it’s full rank, meaning that the vectors span the whole space.

When you compose matrices, you can never gain rank (duh). ⭐