Rank
Tags |
---|
Ranks
The rank is the dimension of the range of
so it is dimension of the span of the columns (and rows, because of fact 1). Here are some facts: 1) the rank of is the same as the rank of , and 2) (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 (i.e. )
The column rank
is , and it's the maximum number of linear independent columns
the row rank
is and it's the maximum number of linearly independent rows.
This is very interesting. What does it implicate? it means that the following is true:
A matrix is invertible if
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.
- if , . As such, if , it is said ot have a
full rank
- (comes from how row and column ranks are the same)
- (the idea is that matrices can't ever unsqueeze squeezed space.
-
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). ⭐