determining rank of matrix
One can determine the rank of even large matrices by using row and column operations to put the matrix in a triangular form. The method presented here is a version of row reduction to echelon form, but some simplifications can be made because we are only interested in finding the rank of the matrix.
Adding a multiple of a row to another row
Multiplying a row by an invertible scalar
The last operation is really not needed, but it can be convenient. For instance, if some of the numbers in the matrix are huge, one may want to use this operation to keep the numbers in a reasonable range or, if one has a matrix of integers, one may want to cancel denominators so that one does not have to deal with fractions.
These operations can be used to put the matrix in a triangular form; once this is done, all one has to do to determine the rank is count how many non-zero rows there are. A systematic way of going about this is as follows:
If there are no rows or all the entries of the matrix are zero, you are done.
Permute rows and columns so as to put a non-zero element in the position of the matrix.
Subtract multiples of the first row so as to put all the entries in the first column except the first one zero.
Repeat the process starting at step 1 with the submatrix gotten by throwing away the first row and the first column.
Let us illustrate this with the following matrix:
We interchange the first two rows to put a in the position:
We subtract the first row from the third and the fifth rows:
We now concentrate on the submatrix gotten by ignoring the first column and the first row:
Since the position of this submatrix is not zero, we do not need to do any permuting. Instead, we go to the next step and add the second column to the third and fifth columns:
We now narrow our focus to the submatrix gotten by throwing out the first and second rows and columns:
Since the entry of this submatrix is again not zero, we do not need to do any permuting. Thus, we move to the next step and subtract twice the third row from the fifth row:
We now narrow our focus to the submatrix gotten by throwing out the first, second, and third rows and columns:
Since the entry of this submatrix is zero, we must make a permutation. We will swap the fourth and the fifth columns:
We add twice the fourth row to the fifth row:
We narrow our focus to the submatrix gotten by ignoring all but the fifth row and column:
Since the sole entry of this submatrix is zero, we are done and have a triangular matrix. Since there are four non-zero rows, the rank is .
In the presentation above, certain entries of the matrix have been shown in boldface. When using the method in practice, it is only necessary to write these entries — the other entries can be ignored and need not be copied from step to step.
|Title||determining rank of matrix|
|Date of creation||2013-03-22 17:19:23|
|Last modified on||2013-03-22 17:19:23|
|Last modified by||Algeboy (12884)|