Gaussian elimination feels algorithmic, but one subtle theoretical question is still open:
If two people row-reduce the same matrix by different legal routes, why must they obtain the same RREF?
Existence says that some RREF can be reached. Uniqueness says that there is only one possible RREF. This second statement is what allows us to speak about the RREF of a matrix and to define rank without referring to a particular computation.
Before you start
This appendix uses three earlier facts.
- Row-equivalence can be written as multiplication on the left by an invertible matrix.
- Row-equivalence preserves linear relations among corresponding columns.
- In an RREF matrix, pivot columns and free columns have a very rigid shape.
The proof is longer than a row-reduction calculation, but the idea is simple: compare the columns of two possible RREFs from left to right. The pivot columns are forced first, and then every free column is forced by its linear relation with the pivot columns.
The theorem
Theorem
Uniqueness of RREF
Let be any matrix. Suppose and are both reduced row-echelon forms. If is row-equivalent to and is row-equivalent to , then
Since row-equivalence is transitive, it is enough to prove the following slightly more direct statement.
Theorem
Equivalent form
If and are reduced row-echelon forms of the same size and is row-equivalent to , then .
Notice the word reduced. Ordinary row-echelon form is not unique. A matrix can have many different REF outputs, but only one RREF output.
Column relations survive row-equivalence
Write the columns of two row-equivalent matrices as
If is row-equivalent to , then there is an invertible matrix such that
Thus for every column index j.
Theorem
Preservation of column relations
Suppose
Then
Conversely, any relation among the corresponding b columns gives the same
relation among the corresponding c columns.
The converse uses . This is why invertibility of is essential: we can move column relations forward and backward between row-equivalent matrices.
What RREF columns look like
Let be an RREF matrix. Suppose its pivot columns are
Then the pivot columns have the standard-vector shape:
where the vectors are written inside the ambient column length of .
Free columns are controlled by the pivot columns to their left. If is a free column and the pivot columns strictly to its left are , then
The coefficients are not mysterious: they are exactly the entries of in the pivot rows.
Finally, each pivot column is genuinely new at the moment it appears:
These three observations are the engine of the uniqueness proof.
Proof by induction on the number of pivots
To avoid circularity, read "the rank of an RREF" in this proof simply as "the number of pivot columns in that RREF." Only after uniqueness is proved will we define the rank of an arbitrary matrix.
Proof
Full proof of RREF uniqueness
A concrete miniature version
The proof above may feel abstract because it tracks arbitrary columns. Here is the same logic in a small RREF matrix:
The pivot columns are columns 1 and 3. They are
The free columns satisfy
Now suppose is another RREF matrix row-equivalent to . The first pivot column cannot disappear, so . Since the relation is preserved, , so the second column is forced.
The third column is not a combination of columns 1 and 2, so it must become
the next pivot column of : . Finally, the relation
is preserved, so
Thus . The entire matrix is forced column by column.
Rank is now well defined
Definition
Rank
For any matrix , the rank of , written , is the number of pivot columns in the unique RREF row-equivalent to .
This definition is legitimate because uniqueness has already been proved. If different row-reduction paths could end at different RREFs, then the number of pivot columns could depend on the route taken. The theorem rules out that possibility.
Rank is therefore not a memory of how you computed. It is an invariant of the matrix.
For computations, the workflow is now safe:
- reduce to RREF;
- mark the pivot columns of that RREF;
- count them to get .
If the question asks for a basis of the column space, use the pivot positions to return to the corresponding columns of the original matrix. If the question only asks for rank, the RREF itself is enough. This distinction matters because row operations preserve column relations, but they do not usually preserve the actual column space.
Common mistakes
Common mistake
Do not claim ordinary REF is unique
The uniqueness theorem is about RREF, not arbitrary row-echelon form. Before normalizing pivots and clearing entries above them, many different REF outputs can occur.
Common mistake
Do not define rank from a chosen reduction path
It is acceptable to compute rank by row reduction, but the definition is not "whatever pivot count I happened to get." The uniqueness theorem guarantees that all legal RREF paths give the same pivot count.
Common mistake
Do not forget the role of column relations
The proof does not say that row operations preserve the actual column space. They generally do not. The key preserved information is the pattern of linear relations among corresponding columns.
Quick checks
Quick check
If two RREF matrices are row-equivalent to the same matrix, what can you conclude?
Use the uniqueness theorem, not another row reduction.
Solution
Answer
Quick check
Why does rank become well defined only after RREF uniqueness is proved?
Mention the number of pivot columns.
Solution
Answer
Quick check
If the unique RREF row-equivalent to has pivot columns 1, 3, and 5, what is ?
Count the pivot columns, not the free columns.
Solution
Answer
Exercises
Exercise 1
Let
Identify the pivot columns and express each free column as a linear combination of the pivot columns.
Solution
Guided solution for exercise 1
Exercise 2
Suppose is an RREF matrix row-equivalent to the matrix in Exercise 1. Use column relations to explain why .
Solution
Guided solution for exercise 2
Exercise 3
Explain why the following two row-equivalent REF matrices do not contradict RREF uniqueness:
Solution
Guided solution for exercise 3
Related notes
Read this after 2.5 Existence of row-echelon forms and 5.1 Invertible matrices. It also supports 6.6 Column space, row space, and rank.