To find the rank of the matrix why it is enough to find the row echelon form only? why the REF gives us the maximum number of linearly independent row vectors in the matrix? could anyone explain this for me please?
I understood from this question that we can use both RREF and REF: Calculating the rank of a matrix , reduced row echelon or row echelon?
The key point is that two vectors like
can't be linearly dependent for $a_1\neq 0$ because we can't never obtain the zero vector by linear combinations.
Therefore in the RREF we can show that row vectors are lineraly independent.