3.3 Uniqueness of the Reduced Form
Gauss–Jordan elimination involves choices: which non-zero entry to use as a pivot, and in what order to perform the operations. Different choices give different intermediate matrices, and different row echelon forms. The previous section claimed that they always end at the same reduced row echelon form. This matters more than it seems. Pivot columns, free variables, and later the rank of a matrix are all read off from the reduced form; if two people could reduce the same matrix to two different answers, none of these would be well defined. This section proves the claim.
3.3.1. What row operations remember
Row operations change the columns of a matrix. What
do they keep? Take
Let
Proof. Let a sequence of elementary
row operations turn
Rewriting
Let
- (a) for all
: if and only if ; - (b) for every index
and all scalars : if and only if ; - (c) for every index
: if and only if .
Proof.
(a) By Theorem 0.9.3,
and , where . The hypothesis says .(b) The equation
holds if and only if . By (a), with these coefficients, this holds if and only if the same combination of the is , that is, .(c) By Definition 1.3.2,
means that the left side of (b) holds for some scalars . By (b) this happens if and only if the right side holds for some scalars, which means .
Warning. Row operations
preserve column relations, not columns or their
span. For
3.3.2. The columns of a reduced matrix
In a matrix in RREF, the column relations can be read off at a glance: pivot columns are standard basis vectors, and a non-pivot column displays its own coefficients. We record this precisely, together with a description of the pivot columns that does not mention pivots at all.
Let
- (a) For each
, the pivot column is . - (b) If
is not a pivot column, then - (c) Column
is a pivot column if and only if .
Proof.
(a) By (E3) the entry of
in row is , and by (E4) its other entries are .(b) Let
be a non-pivot column, and look at the entry in each row . If , row is zero by (E1), so . If and , then lies strictly before the leading entry of row , so . The case does not occur, since is not a pivot column. So the only possibly non-zero entries of are the with , which gives the first expression; the second follows from (a).(c) If
is not a pivot column, (b) writes as a combination of the columns with , so . Conversely, let be a pivot column. For each , the entry lies before the leading entry of row , so it is . Hence every vector of , being a combination of vectors with -th entry , has -th entry . But has -th entry , so .
Part (c) says: reading the columns from left to right, a column gets a pivot exactly when it is new, not a combination of the columns before it. That condition is about column relations only, and column relations survive row operations. This is the whole idea of the uniqueness proof.
3.3.3. The uniqueness theorem
We can now prove that the reduced form depends only on the homogeneous solutions, and hence not on the operations used to reach it.
Let
Consequently, every matrix
Idea. A column dependence
Proof. Let
Same pivot columns. For each
Pivot columns agree. By Lemma 3.3.3 (a),
Same non-pivot columns. Let
Hence
For the consequence, let
Notice what the proof did not do: it never compared the two sequences of operations. A direct comparison of two runs of the algorithm would have to track every choice, and quickly becomes unmanageable. The proof instead found a description of the RREF, “pivots where a new column appears, and coefficients of the old columns elsewhere”, that refers only to the null space, which the operations cannot change.
The theorem also gives a practical test: two matrices
of the same size are row equivalent exactly when their
RREFs are equal (you will write out the two-line proof
in Exercise (B2: Row equivalence via the RREF)).
For example, over
Let
- (a) Reduce
to a row echelon form in two ways: first using row 1 as the first pivot row, then starting with . - (b) Continue both to reduced row echelon form.
- (c) Read the column
relations of
off the RREF.
Solution.
- (a) First route:
Second route: Both and are in row echelon form, and . Both have pivot columns 1 and 3. - (b) From
: From : The two routes end at the same matrix , as Theorem 3.3.4 guarantees. - (c) By Lemma 3.3.3 (b),
the non-pivot columns of
are and , reading the coefficients from the entries of each column. By Lemma 3.3.2 (b), the same relations hold for the columns of : and . Check: and .
Both echelon forms in the example had the same pivot columns, although they were different matrices. That is also true in general, and it is the practical version of the theorem.
3.3.4. Pivot columns are well defined
Let
- (a) Column
is a pivot column of if and only if . - (b) If
is any matrix in row echelon form that is row equivalent to , then the pivot columns of are the pivot columns of . In particular, every row echelon form of has the same number of non-zero rows.
Idea. Part (a) combines Lemma 3.3.3 (c)
with the fact that column relations pass from the RREF
back to
Proof. The RREF of
(a)
and its RREF are row equivalent, so by Lemma 3.3.2 (c), if and only if . By Lemma 3.3.3 (c), the latter fails exactly when is a pivot column.(b) Let
have entries and pivot columns . First perform for , which is legal since each pivot is non-zero. Scaling a row by a non-zero scalar does not change which of its entries are zero (Theorem 0.7.1 (d), (f)), so the result is still in row echelon form with the same pivot columns, and now every pivot is . Next, for in turn, and for each , perform , where is the current entry of row in column . Row is zero in all columns before , so this changes row only in columns . Hence the leading entry of row is still a in column , no zero row is touched, and the entries below every pivot stay . The operation makes the entry in position equal to , and it does not spoil the entries with cleared earlier, because row has a in column . At the end, every pivot column is a standard basis vector, so the matrix is in RREF, with pivot columns .
This matrix is row equivalent to
In practice, (b) means we may stop at any row echelon
form to find the pivot columns, and (a) means we can
sometimes find them with no elimination at all. Part (a)
also says that the pivot columns of
Quick check. Without computing any
row operations, find the pivot columns of
Solution. Use Corollary 3.3.5 (a)
column by column.
Warning. Uniqueness is a
property of the reduced form only. A matrix has
many row echelon forms (Example (Two echelon forms, one reduced form)
gave two), and it is only their pivot positions that
agree. Also, two different matrices in RREF with the
same pivot columns need not be row
equivalent:
3.3.5. Exercises
A. Check your understanding
- (a) State the uniqueness theorem for the reduced row echelon form.
- (b) Determine
whether the following statement is true: “if
and are row equivalent, then the columns of and the columns of span the same subspace.” Justify your answer. - (c) Determine
whether the following statement is true: “if
and are row equivalent and for the columns of , then for the columns of .” Justify your answer. - (d) Determine whether the following statement is true: “any two row echelon forms of the same matrix have the same number of zero rows.” Justify your answer.
- (e) In the RREF of a matrix, what do the entries of a non-pivot column tell you about the original matrix?
Solution.
- (a) If
are in RREF and for all , then . Hence every matrix is row equivalent to exactly one matrix in RREF. - (b) False.
and are row equivalent, but their columns span and , which are different lines in . - (c) True, by Lemma 3.3.2 (b)
with
, , . - (d) True. By Corollary 3.3.5
(b), every row echelon form of an
matrix has exactly as many non-zero rows as has pivot columns, so the number of zero rows is minus that number. - (e) If column
is not a pivot column, its entries (for the pivot rows with ) are the coefficients expressing column of the original matrix as a combination of its pivot columns: .
B. Practice
Let
Solution.
Prove that two matrices
Solution.
Determine whether the matrices in each pair are row
equivalent over
- (a)
and . - (b)
and .
Solution. By Exercise (B2: Row equivalence via the RREF), two matrices of the same size are row equivalent exactly when their RREFs are equal. So we compute both RREFs.
(a)
, and . The RREFs are equal, so and are row equivalent.(b)
.The RREFs differ (one has a zero row, the other is
), so and are not row equivalent. Consistently with Corollary 3.3.5, has pivot columns 1, 2 while has 1, 2, 3.
C. Going deeper
- (a) List, by pivot
columns, all
matrices over in reduced row echelon form, and show that there are exactly of them. - (b) Deduce that
, which has elements, splits into exactly classes of row equivalent matrices. - (c) Show that over a
field with
elements there are exactly such matrices.
Solution. We count over a field
- (a) With
, writing for a free entry:- no pivots:
, matrix; - pivot column 1 only:
, matrices; - pivot column 2 only:
, matrices; - pivot column 3 only:
, matrix; - pivot columns 1, 2:
, matrices; - pivot columns 1, 3:
, matrices; - pivot columns 2, 3:
, matrix.
matrix has at most two pivots, so these are all the cases. The total is . - no pivots:
- (b) Row equivalence
is an equivalence relation (Theorem 3.2.2 (b)),
so
is partitioned into equivalence classes (Theorem 0.5.2). By Theorem 3.3.4, each class contains exactly one matrix in RREF: at least one by Theorem 3.2.3, and at most one since two RREF matrices in the same class would be row equivalent, hence equal. So the classes correspond one-to-one to the matrices of (a). - (c) The same list,
with each free entry taking
values, gives . For this is , as in (a).
Let
- (a) Let
and be obtained from and by deleting the last column. Prove that is the RREF of . - (b) Show by an example that the corresponding statement for deleting the first column is false.
Solution.
- (a) Let a sequence
of row operations turn
into . By Lemma 3.2.1, the same sequence turns into , so is row equivalent to . By Theorem 3.3.4 it suffices to show that is in RREF. Let be the pivot columns of . If , then deleting column does not change any leading entry or any pivot column, and the zero rows of stay zero, so (E1)–(E4) still hold. If , then row of is zero except for its pivot in column , so in rows are zero and rows keep their leading entries in columns and their pivot columns. Again (E1)–(E4) hold, with pivots. Hence is in RREF, and it is the RREF of . - (b) Let
over . Then , so its RREF is , and deleting the first column of gives . But deleting the first column of gives , whose RREF is , via . These differ. The pivot of a later column depends on the columns before it, so removing an early column can move pivots.