The echelon form of a matrix is not unique, and so at first you might think that the number of non-zero rows depends on which echelon form you choose. But the number of non-zero rows of an echelon form does not change when putting it into reduced echelon form (which is unique); therefore that number does not depend on the echelon form, and it is called the rank.
The rank of a matrix is the number of non-zero rows of its echelon form.
Example 2.3.2.
The following matrices are rank 2:
The following matrices are rank 1:
It is a non-obvious result in linear algebra that the rank of any matrix equals the rank of its transpose; in other words (we omit the proof). For example, in 2.2, the rank of is 2. To compute , perform row operations:
So the rank of is still 2, as expected.