Evanalysis
5.2Estimated reading time: 14 min

5.2 RREF uniqueness and well-defined rank

Prove that every row-equivalence class has only one reduced row-echelon form, then use that theorem to make rank independent of the chosen reduction path.

Course contents

MATH1030: Linear algebra I

Linear algebra notes.

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.

  1. Row-equivalence can be written as multiplication on the left by an invertible matrix.
  2. Row-equivalence preserves linear relations among corresponding columns.
  3. 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 AA be any matrix. Suppose BB and CC are both reduced row-echelon forms. If BB is row-equivalent to AA and CC is row-equivalent to AA, then

B=C.B = C.

Since row-equivalence is transitive, it is enough to prove the following slightly more direct statement.

Theorem

Equivalent form

If BB and CC are reduced row-echelon forms of the same size and BB is row-equivalent to CC, then B=CB=C.

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 p×qp \times q matrices as

B=[b1 b2  bq],C=[c1 c2  cq].B=[b_1\ b_2\ \cdots\ b_q], \qquad C=[c_1\ c_2\ \cdots\ c_q].

If BB is row-equivalent to CC, then there is an invertible p×pp \times p matrix GG such that

B=GC.B = GC.

Thus bj=Gcjb_j = Gc_j for every column index j.

Theorem

Preservation of column relations

Suppose

cj=α1ck1+α2ck2++αnckn.c_j=\alpha_1c_{k_1}+\alpha_2c_{k_2}+\cdots+\alpha_nc_{k_n}.

Then

bj=α1bk1+α2bk2++αnbkn.b_j=\alpha_1b_{k_1}+\alpha_2b_{k_2}+\cdots+\alpha_nb_{k_n}.

Conversely, any relation among the corresponding b columns gives the same relation among the corresponding c columns.

The converse uses G1G^{-1}. This is why invertibility of GG is essential: we can move column relations forward and backward between row-equivalent matrices.

What RREF columns look like

Let CC be an RREF matrix. Suppose its pivot columns are

d1<d2<<dr.d_1<d_2<\cdots<d_r.

Then the pivot columns have the standard-vector shape:

cd1=e1,cd2=e2,,cdr=er,c_{d_1}=e_1,\quad c_{d_2}=e_2,\quad \ldots,\quad c_{d_r}=e_r,

where the vectors are written inside the ambient column length of CC.

Free columns are controlled by the pivot columns to their left. If cjc_j is a free column and the pivot columns strictly to its left are cd1,,cdhc_{d_1},\ldots,c_{d_h}, then

cj=γ1jcd1+γ2jcd2++γhjcdh.c_j=\gamma_{1j}c_{d_1}+\gamma_{2j}c_{d_2}+\cdots+\gamma_{hj}c_{d_h}.

The coefficients are not mysterious: they are exactly the entries of cjc_j in the pivot rows.

Finally, each pivot column is genuinely new at the moment it appears:

cdkis not a linear combination of columns strictly to its left.c_{d_k} \quad\text{is not a linear combination of columns strictly to its left.}

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:

C=[120100130000].C= \begin{bmatrix} 1 & 2 & 0 & -1\\ 0 & 0 & 1 & 3\\ 0 & 0 & 0 & 0 \end{bmatrix}.

The pivot columns are columns 1 and 3. They are

c1=e1,c3=e2.c_1=e_1, \qquad c_3=e_2.

The free columns satisfy

c2=2c1,c4=c1+3c3.c_2=2c_1, \qquad c_4=-c_1+3c_3.

Now suppose BB is another RREF matrix row-equivalent to CC. The first pivot column cannot disappear, so b1=e1b_1=e_1. Since the relation c2=2c1c_2=2c_1 is preserved, b2=2b1=2e1b_2=2b_1=2e_1, 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 BB: b3=e2b_3=e_2. Finally, the relation c4=c1+3c3c_4=-c_1+3c_3 is preserved, so

b4=b1+3b3=e1+3e2=c4.b_4=-b_1+3b_3=-e_1+3e_2=c_4.

Thus B=CB=C. The entire matrix is forced column by column.

Rank is now well defined

Definition

Rank

For any matrix AA, the rank of AA, written rank(A)\operatorname{rank}(A), is the number of pivot columns in the unique RREF row-equivalent to AA.

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:

  1. reduce AA to RREF;
  2. mark the pivot columns of that RREF;
  3. count them to get rank(A)\operatorname{rank}(A).

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 AA has pivot columns 1, 3, and 5, what is rank(A)\operatorname{rank}(A)?

Count the pivot columns, not the free columns.

Solution

Answer

Exercises

Exercise 1

Let

C=[140200130000].C= \begin{bmatrix} 1&4&0&2\\ 0&0&1&-3\\ 0&0&0&0 \end{bmatrix}.

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 BB is an RREF matrix row-equivalent to the matrix CC in Exercise 1. Use column relations to explain why B=CB=C.

Solution

Guided solution for exercise 2

Exercise 3

Explain why the following two row-equivalent REF matrices do not contradict RREF uniqueness:

E1=[1200],E2=[2400].E_1= \begin{bmatrix} 1&2\\ 0&0 \end{bmatrix}, \qquad E_2= \begin{bmatrix} 2&4\\ 0&0 \end{bmatrix}.

Solution

Guided solution for exercise 3

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.

Section mastery checkpoint

Answer each question correctly to complete this section checkpoint. Correct progress: 0%.

Skills: rref, row-equivalence, uniqueness

Suppose BB and CC are reduced row-echelon forms of the same size and BB is row-equivalent to CC. What must be true?

Attempts used: 0

Attempts remaining: Unlimited attempts

Preview does not consume an attempt.

Submit records a graded attempt.

Skills: rank, pivot-columns, rref

Fill in the blank: if the unique RREF row-equivalent to AA has pivot columns 1, 3, and 5, then rank(A)=____.

Attempts used: 0

Attempts remaining: Unlimited attempts

Preview does not consume an attempt.

Submit records a graded attempt.

Syntax guidance: Enter a single integer.

Key terms in this unit