Turn elementary row operations into left multiplication by elementary matrices, and use reverse elementary row operations to understand why those matrices are invertible.
§3.5Estimated reading time: 60 min
Read the original notes
Encode a row operation once
Elementary row operations first appeared as procedural moves on a matrix. We
swapped rows, scaled a row by a nonzero number, and added a multiple of one row
to another. On an augmented matrix, these moves are legitimate for solving a
system only when the operation is applied to the entire affected row,
including the entry to the right of the augmentation bar. Under that condition
the operation rewrites whole equations reversibly and therefore preserves the
solution set.
There is a second, more structural way to read the same moves: each elementary
row operation is the same as left-multiplication by a special square matrix.
This matters because it converts a sequence of elementary row operations into
an ordinary matrix equation. Later, this is exactly the bridge between row reduction,
invertibility, rank, determinants, and basis arguments.
The structural viewpoint also answers a practical question. If the same row
operation must be performed on many columns at once, how can one encode the
operation once rather than repeat it entry by entry? The identity matrix gives
the encoding: its rows record exactly which old rows are used to build each new
row. Matrix multiplication then applies that recipe simultaneously to every
column of a compatible matrix.
Build the elementary matrix from the identity
Suppose an elementary row operation ρ is meant to act on matrices with
p rows. Start with the identity matrix Ip, apply the same elementary row
operation to Ip, and call the result Eρ.
All scalars are taken from the underlying field of the matrices; in particular,
every nonzero scaling factor c has a reciprocal 1/c in that field.
Definition 3.5.1
(Elementary row-operation matrix)
The elementary row-operation matrix associated with an elementary row
operation ρ on p-row matrices is the p×p matrix obtained by
applying ρ to Ip.
This matrix is also called an elementary matrix. The longer name keeps its
connection with the specified row operation visible.
Equivalently,
Eρ=ρ(Ip).
The reason this definition is useful is the following theorem.
Theorem 3.5.2
(Elementary row operations are left multiplication)
Let A be any matrix with p rows. If ρ is one elementary row operation
and ρ(A) denotes the result of applying it to A, then
ρ(A)=EρA.
So applying that elementary row operation to A is the same as multiplying
A on the left by the elementary row-operation matrix obtained from the same
operation on Ip.
The multiplication must be on the left. Row operations change rows by mixing
rows. Left multiplication forms new rows of A as linear combinations of old
rows of A. Right multiplication would instead mix columns.
The dimensions make the same point. If A is p×n, then Eρ is
p×p, so EρA is defined and remains p×n. There is no
assumption that A is square. By contrast, a column-operation matrix acting on these same n columns
would have size n×n and multiply on the right.
Why left multiplication performs the operation
Proof
(Verify the three elementary cases row by row)
Write the rows of an arbitrary p×n matrix A as
a1,a2,…,ap, and let ekT denote row k of Ip.
The basic identity
ekTA=ak
says that a row of a left multiplier selects the corresponding row of A.
Now check the three elementary operations.
For Ri↔Rj, the matrix Eρ has row i equal to
ejT, row j equal to eiT, and every other row
k equal to ekT. Thus the rows of EρA are the rows of
A with precisely rows i and j exchanged.
For Ri←cRi, where c=0, row i of Eρ is
ceiT and all other rows are unchanged. Hence row i of the
product is
(ceiT)A=cai,
while row k remains ak for k=i.
For Rj←Rj+cRi, where i=j, row j of Eρ is
ejT+ceiT and every other row is unchanged.
Therefore the new row j is
(ejT+ceiT)A=aj+cai,
exactly as prescribed.
These cases exhaust the elementary row operations, so they prove
EρA=ρ(A) for every compatible A. The proof does not claim that an
arbitrary manipulation of rows has such an elementary matrix; ρ must be
one of the three operations just checked.
Acting on an augmented matrix
Suppose Ax=b is represented by the augmented matrix [A∣b]. An
elementary row operation must act on the full augmented matrix, not separately
on whichever entries happen to be convenient. The multiplication identity is
Eρ[A∣b]=[EρA∣Eρb].
Thus the coefficients and the right-hand side undergo the same combination of
rows. A vector x satisfies Ax=b if and only if it satisfies
EρAx=Eρb: the forward implication follows by multiplying the
equation by Eρ, and the reverse implication follows by applying the
reverse elementary operation. This is the precise reason the solution set is
preserved.
Changing only A while leaving b fixed, or changing only b, generally
produces a different system. The augmentation bar is therefore a visual
separator, not a boundary at which a row operation may stop.
Encode replacement, scaling, and interchange
The three elementary row operations give three corresponding types of
elementary row-operation matrices.
Worked example 3.5.3
(Row addition)
For matrices with three rows, consider
ρ:R2←R2+3R1.
Apply this operation to I3:
I3=100010001⟼Eρ=130010001.
Therefore, for every matrix A with three rows,
EρA
is the matrix obtained from A by the operation R2←R2+3R1.
Worked example 3.5.4
(Row scaling)
For
ρ:R3←−2R3,
the elementary row-operation matrix is
Eρ=10001000−2.
The nonzero condition in row scaling is visible here: if the scaling factor
were 0, the resulting matrix would have a zero row and could not be reversed.
Worked example 3.5.5
(Row swap)
For
ρ:R1↔R3,
we get
Eρ=001010100.
Multiplying by this matrix on the left swaps the first and third rows of any
compatible matrix.
Trace elementary left multiplication
Applying a row operation to the identity records its coefficients. Multiplying
by that matrix on the left then applies the same operation to every column.
Row operations as left multiplication
See how an elementary row operation becomes a left multiplier: apply it to the identity, then use the resulting matrix to change rows of any compatible matrix.
Start from I
For ρ: R₂ ← R₂ + 3R₁, first apply the operation to I₃.
Build Eρ
Only row 2 of I₃ changes, giving Eρ with row 2 equal to [3,1,0].
Multiply on the left
The same matrix performs the operation on A: ρ(A)=Eρ A.
Read the new row
The new second row is old row 2 plus three copies of old row 1.
Keep product order
In A₃=E₂E₁A₁, E₁ sits closest to A₁ because ρ₁ acts first.
Reverse gives inverse
The inverse of R₂ ← R₂ + 3R₁ is R₂ ← R₂ − 3R₁, so the corresponding matrices multiply to I.
A row-operation matrix is built by doing the row operation to the identity matrix. Multiplying by that matrix on the left then performs the same row operation on any compatible matrix, and the reverse row operation gives the inverse matrix.
Compare a row operation with its matrix product
Use the stepper to revisit a row-operation sequence. At each step, read the
displayed move as left multiplication by the matching elementary matrix.
Interactive · Step throughStep 1 of 5
Trace one full row-reduction path
Each step applies one group of elementary row operations. Watch the entries above and below each pivot become 0.
Choose the first pivot in column 1.
1
2
2
4
1
3
3
5
2
6
5
6
1pivot in focus0changed in this stepright of the bar: constants
Start with the augmented matrix. The first pivot should help us clear the entries underneath it.
Pivot
Row 1, column 1: 1
Changed in this step
None (starting matrix)
Not yet in row echelon form
Row 2 still has 1 in column 1, which is not to the right of the pivot in row 1.
NoticeColumn 1 already has a convenient pivot 1 in the first row, so we do not need a row swap.
A sequence of elementary row operations becomes one matrix product
The real payoff is not just representing one elementary row operation. A whole
sequence of elementary row operations becomes one product of elementary
row-operation matrices.
Theorem 3.5.6
(A sequence of elementary row operations as a product)
Suppose
A1ρ1A2ρ2A3ρ3⋯ρkAk+1.
Then
Ak+1=EρkEρk−1⋯Eρ2Eρ1A1.
Here every ρj is an elementary row operation on matrices with the same
number of rows. The product represents the whole sequence, although the product
itself need not be a single elementary row-operation matrix.
The order in this formula is important. The first row operation appears closest
to A1, because it is applied first:
Instead of multiplying Eρ2Eρ1 directly, you can also obtain
this combined matrix by applying the same two elementary row operations to
I3 in the same order. The final numerical matrix also confirms that the
second operation uses the already-updated row 2.
Reading a longer row-operation product
A chain of elementary row operations involves three distinct objects:
the matrices A1,A2,…,Ak+1 being transformed;
the elementary row-operation matrices H1,H2,…,Hk;
The efficient way to obtain J is to apply the six operations to I4, not
to expand all six factors by hand. The matrix J records the total effect of
the chain on rows:
A7=JA1.
This equation is also a good check on the order. If the first operation were
placed on the far left, the product would describe a different chain.
Quick check
(In the six-step chain above, suppose K is the row-operation matrix product for the reverse chain from A7 back to A1. What equation should J and K satisfy?)
Think of K as undoing the total effect of J.
Solution · Answer
The matrices J and K encode transformations of every four-row matrix,
not just the displayed matrix A1. For any four-row matrix X, applying the
forward chain and then its reverse gives
K(JX)=X.
Taking X=I4 yields KJ=I4. In the other order, the reverse chain followed
by the forward chain restores every four-row matrix Y, so
J(KY)=Y; taking Y=I4 yields JK=I4. Therefore
KJ=I4JK=I4.
Equivalently, K=J−1.
Reverse row operations and inverses
Every elementary row operation has a reverse operation:
the reverse of Rj←Rj+cRi is
Rj←Rj−cRi;
the reverse of Ri←cRi, with c=0, is
Ri←(1/c)Ri;
the reverse of a row swap is the same row swap.
This gives a precise matrix statement.
Theorem 3.5.8
(Elementary row-operation matrices are invertible)
Every elementary row-operation matrix is invertible. Its inverse is the
elementary row-operation matrix corresponding to the reverse elementary row
operation.
Proof
(Why the reverse matrix is a two-sided inverse)
Let Eρ represent an elementary row operation ρ, and let
Eρ−1 represent the reverse elementary operation. For every matrix
X with p rows, applying ρ and then reversing it restores X. By the
left-multiplication theorem,
Eρ−1EρX=X.
This statement holds for every such X; in particular, put X=Ip to obtain
Eρ−1Eρ=Ip. Reversing first and then applying ρ similarly
gives EρEρ−1=Ip. Hence
Eρ−1=Eρ−1.
Concretely, a swap is its own inverse, scaling by c=0 is undone by scaling
by 1/c, and adding c times row i to row j is undone by adding −c
times row i to row j.
For example, if
E=130010001
performs R2←R2+3R1, then
E−1=1−30010001
performs R2←R2−3R1.
This is the algebraic reason elementary row operations are reversible, and it
explains why row reduction is so closely connected to invertible matrices.
Proof
(Undo the last operation first)
Let E1,…,Ek encode a chronological chain on matrices with p
rows, so its combined multiplier is J=Ek⋯E1. Each inverse
Ej−1 represents the reverse of the corresponding elementary operation.
To recover the input, the first move must undo Ek, because that was the
last change made to the rows. The remaining reverse moves undo
Ek−1,…,E1 in that order. Consequently the reverse multiplier is
K=E1−1E2−1⋯Ek−1.
There are two orders to distinguish: the time order of the reverse operations
starts with Ek−1, while the written product places that first action
nearest the matrix being restored. For three steps, associativity gives
The other product JK cancels adjacent inverse pairs starting with
E1E1−1 and also equals Ip. The same successive cancellation works
for any finite chain. No factors have been commuted, and the argument does not
require the matrix being transformed to be square.
Apply this reading to the earlier two-operation example. Its combined
multiplier is Eρ2Eρ1, so its inverse is
Eρ1−1Eρ2−1. Starting from the final matrix, first
subtract twice the current second row from the first, recovering
[101] as the first row. Then subtract that recovered first row from
the second, recovering [021]. Reversing the chain means restoring the
intermediate states, which explains the order without a memorized rule.
Why this viewpoint matters later
If B is row-equivalent to A, then there is a finite sequence of elementary
row operations taking A to B. Therefore there is a product of elementary
row-operation matrices E such that
B=EA.
Because each elementary row-operation matrix is invertible, the product E is
invertible. So row equivalence can be discussed either procedurally, by listing
elementary row operations, or algebraically, by writing an equation with an
invertible matrix on the left. The converse statement also needs care: an
arbitrary invertible left multiplier need not itself describe one elementary
step.
This is useful in several later arguments:
a square matrix row-equivalent to In is a product of elementary
row-operation matrices;
elementary row operations preserve homogeneous solution information because
they amount to multiplying by invertible matrices;
determinant rules for elementary row operations can be expressed through
elementary matrices;
rank and basis arguments can use row reduction without pretending the
original columns themselves have not changed.
Common mistakes
Common mistake
(Do not multiply on the wrong side)
Elementary row operations are represented by left multiplication. Right
multiplication would combine columns, not rows.
Common mistake
(Do not reverse the product order)
If ρ1 is applied before ρ2, then the combined matrix is
Eρ2Eρ1, not Eρ1Eρ2.
Common mistake
(Do not use a zero row scaling)
The scaling operation requires a nonzero scalar. Scaling a row by 0 cannot be
reversed and does not produce an invertible elementary row-operation matrix.
Common mistake
(One restored matrix is not enough to prove an inverse)
From KJA=A for one particular matrix A, one cannot in general conclude
KJ=I: the columns of A may not detect every possible input. Prove that the
composed row transformations restore every compatible matrix, or simply apply
them to Ip. That is why the argument for KJ=JK=Ip above uses arbitrary
p-row matrices before substituting the identity.
Read products in the order they act
An elementary row operation on p-row matrices is encoded by applying that
operation to Ip. The resulting elementary matrix Eρ acts on every
compatible matrix by left multiplication, and the identity
EρA=ρ(A) follows by checking the output rows in the swap, nonzero
scaling, and row-addition cases. On an augmented matrix, the operation must act
across the whole row, including the right-hand side, so that the corresponding
system keeps exactly the same solutions.
A sequence ρ1,…,ρk is represented in application order by
Eρk⋯Eρ1. Each factor is invertible because the reverse
elementary operation supplies a two-sided inverse. Consequently a finite row
reduction can be treated as one invertible left transformation, while the
individual factors still record the precise elementary steps.
Quick checks
Quick check
(For matrices with three rows, what row operation is represented by E=105010001?)
Ask which row of I3 changed.
Solution · Answer
Only row 3 changed: five times row 1 was added to it. Therefore
R3←R3+5R1.
Quick check
(What is the inverse row operation for R2←R2−4R1?)
Undo the added multiple.
Solution · Answer
The inverse operation is
R2←R2+4R1.
Exercises
Quick check
(Write the row-operation matrix for R1↔R2 on matrices with three rows.)
Apply the swap to I3.
Solution · Guided solution
Swapping the first two rows of I3 gives
010100001.
This is the matrix that swaps rows 1 and 2 when multiplied on the left.
Quick check
(Suppose B is obtained from A by first doing R2←R2+R1, then R3←2R3. Write B as a product involving A.)
Name the two row-operation matrices in the order they act.
Solution · Guided solution
Let E1 be the row-operation matrix for
R2←R2+R1, and let E2 be the row-operation matrix for
R3←2R3. Since E1 acts first and E2 acts second,
B=E2E1A.
Quick check
(Let β1,β2=0. Suppose B is obtained from a five-row matrix A by the chain R3←R3+α1R1, then R2←β1R2, then R1↔R4, then R3←R3+α2R2, then R1←β2R1. Write the single matrix G such that B=GA.)
Apply the same operations to I5, remembering that later operations use the
current rows, not the original rows.
Solution · Guided solution
Applying the operations to I5 gives
G=00α1100β1α2β10000100β2000000001.
The entry α2β1 is the main point. The operation
R3←R3+α2R2 occurs after row 2 has already been scaled
to β1R2, so the contribution from the original row 2 is
α2β1R2.
Quick check
(For the matrix G in the previous exercise, suppose D=GC. Write the matrix H such that C=HD.)
For each of (a)–(d), the following ordered row operations send A to B. Give a chain from B back to A and one square matrix H satisfying B=HA. Sizes are (a),(b): 3×4, (c): 3×6, (d): 4×5.
Work over the real numbers. Row replacement always uses distinct source and target rows; scaling factors are nonzero. An operation acts on the entire row, including every augmented block. In a finite chain the first operation acts first, so the combined left multiplier lists elementary matrices in reverse order.
Apply each forward operation to Ir. The matrices Hj below record every intermediate multiplier, so induction on the steps gives the current matrix HjA. The last multiplier is the requested H. Undo the operations in reverse order, replacing a row addition by subtraction, a scaling by reciprocal scaling, and a swap by the same swap. Each inverse undoes its predecessor on every compatible matrix, so the displayed reverse chain really ends at A.
Let A,A′ be m×p and B be p×q. Suppose A′=ρ(A). (a) The source asks to prove that AB=ρ(A′B) for (i) Rk←Rk+αRi, i=k, (ii) Rk←βRk, β=0, and (iii) Ri↔Rk, directly from the definitions. (b) Prove by induction that row-equivalent A,A′ yield row-equivalent AB,A′B, under the same finite operation sequence.
Complete solution
Work over the real numbers. Row replacement always uses distinct source and target rows; scaling factors are nonzero. An operation acts on the entire row, including every augmented block. In a finite chain the first operation acts first, so the combined left multiplier lists elementary matrices in reverse order.
(a): the direction in (i) and (ii) is false as printed
For (i), take A=(1,0)T, B=[1], and R2←R2+R1. Then A′B=(1,1)T, and applying the same operation again gives (1,2)T=AB. For (ii), take A=B=[1] and β=2. Then A′B=[2] and ρ(A′B)=[4]=[1]. Thus no proof of the printed universal statements exists. The correct direction is A′B=ρ(AB); equivalently AB=ρ−1(A′B). For a swap, ρ−1=ρ, so (iii) is true as printed.
To prove the forward identity entrywise, in the replacement case only output row k changes:
(A′B)kj=r=1∑p(akr+αair)brj=(AB)kj+α(AB)ij.
Every other output row agrees. Scaling gives (A′B)kj=β(AB)kj and leaves other rows fixed. Swapping rows i,k of A interchanges exactly rows i,k of AB. This proves all three forward transport identities directly, and applying the inverse operation proves the reverse identities.
(b): induction on the length of the row-operation sequence
For length zero the matrices are identical and so are their products. Suppose the assertion holds for a sequence of length n. For a sequence of length n+1, let An be the matrix after the first n operations. The induction hypothesis sends AB to AnB by those same operations. The forward identity proved entrywise in (a) sends AnB to A′B by the final operation. Thus all n+1 operations carry AB to A′B. Induction proves the assertion for every finite length. All products have size m×q, so these are legal row operations on matrices of one fixed size.
Question 4
The 3×5 matrices follow A1R3+2R1A2R2↔R3A33R1A4. (a)–(c) Give J1,J2,J3 with Aj+1=JjAj. (d) Give J with A4=JA1. (e) Give J′ with A1=J′A4.
Complete solution
Work over the real numbers. Row replacement always uses distinct source and target rows; scaling factors are nonzero. An operation acts on the entire row, including every augmented block. In a finite chain the first operation acts first, so the combined left multiplier lists elementary matrices in reverse order.
Each Jj is obtained by doing its one specified operation to I3. Thus substitution gives A4=J3J2J1A1. Explicitly:
The inverse acts by first scaling row 1 by 1/3, then swapping rows 2 and 3, then replacing row 3 by row 3 minus twice row 1. Applying these to the displayed J gives I3, so J′J=JJ′=I3 and the reverse equality follows for every A1.
Question 5
The following six 4×6 matrices are consecutive stages A,A(1),…,A(5)=A′. (a) Identify all five row operations ρ1,…,ρ5. (b) Give an explicit 4×4 matrix H with A′=HA.
Work over the real numbers. Row replacement always uses distinct source and target rows; scaling factors are nonzero. An operation acts on the entire row, including every augmented block. In a finite chain the first operation acts first, so the combined left multiplier lists elementary matrices in reverse order.
(a) Comparing complete rows, including both final columns, gives the operations in order:
For example, after the swap, row 2 minus twice row 1 is (0,−5,−1,−12,11,16); row 4 plus row 1 is (0,1,3,8,−4,−5). The fourth step swaps rows 2 and 3. The fifth scales the current row 3 by −1/5, including its last two entries. (b) Track the same operations on I4:
Take H=H5. Each tracked row is the corresponding combination of original rows, which proves A′=HA entrywise.
Question 6
Consider the following chain of 5×7 matrices; U0,U1,U2,U3 name the previously unnamed stages. The arrows are Aρ1U0→⋯→U1ρ2U2→⋯→U3ρ3B1, followed by the five displayed arrows B1→⋯→B6. (a) Identify ρ1,ρ2,ρ3. (b) Fill (I),(II),(III) in B3(I)(II)(III)B1. (c) Give K with B5=KB4. (d) Is there a row-operation chain from I5 to an H with B6=HB1? If yes, display all operations and every intermediate matrix, including H; otherwise say no such sequence exists.
Work over the real numbers. Row replacement always uses distinct source and target rows; scaling factors are nonzero. An operation acts on the entire row, including every augmented block. In a finite chain the first operation acts first, so the combined left multiplier lists elementary matrices in reverse order.
(a) Read the rows at the three marked arrows:
ρ1:R1↔R2,ρ2:R5←R5−4R1,ρ3:R3←−31R3.
For ρ2, subtracting four times (1,1,1,0,3,−1,1) from (4,3,2,−2,4,−3,−2) gives (0,−1,−2,−2,−8,1,−6). For ρ3, scaling (0,0,0,−3,−9,0,−6) gives (0,0,0,1,3,0,2). (b) Undo the two arrows B1→B2→B3 in reverse:
(I):R1←R1+R2,(II)=B2,(III):R4←R4−2R3.
(c) Only row 2 is replaced by row 2 minus twice row 3, so:
K=10000010000−21000001000001
(d) Yes. Apply the following same five operations to I5:
Take H=H5. We have displayed every matrix in I5=H0→H1→⋯→H5. Each step changes a row combination of the original input in exactly the same way, so applying the chain to B1 gives HjB1=Bj+1 at stage j, in particular HB1=B6. This argument applies to rectangular B1 and does not attempt to invert it.
Question 7
The 3×4 matrices A1,…,A5 follow the four operations below. (a) Give J1,…,J4 with Aj+1=JjAj. (b) Suppose the augmented matrices [A1∣B1],…,[A4∣B4],[A5∣I3] follow exactly the same four operations, where every Bj is 3×3. Find all four Bj. (c) Is B1A1 row-equivalent to A5? If yes, give all operations in a suitable chain; if no, explain why not.
Work over the real numbers. Row replacement always uses distinct source and target rows; scaling factors are nonzero. An operation acts on the entire row, including every augmented block. In a finite chain the first operation acts first, so the combined left multiplier lists elementary matrices in reverse order.
(a) Applying each indicated operation to I3 gives:
(b) Every row operation affects the right block too, so J1B1=B2, J2B2=B3, J3B3=B4, J4B4=I3. Start with the last equality and successively apply the inverse operations:
These explicit matrices can also be checked by the four right-block equalities above, so they are not inferred from cancellation of a rectangular Aj. (c) Yes. Put P=J4J3J2J1. The augmented chain gives both A5=PA1 and PB1=I3. Hence applying the four operations once to B1A1 gives P(B1A1)=A1; applying them a second time gives PA1=A5. Thus a fully specified chain consists of:
For arbitrary real α1,α2,α3,β1,β2,β3, matrices A,B have four rows and follow the six operations below. Give explicit 4×4 matrices G,H such that B=GA and A=HB.
Work over the real numbers. Row replacement always uses distinct source and target rows; scaling factors are nonzero. An operation acts on the entire row, including every augmented block. In a finite chain the first operation acts first, so the combined left multiplier lists elementary matrices in reverse order.
Write the original rows as a1,a2,a3,a4. After the first three operations the rows are a1, a2+α1a1, a3+α2a1, a4+α3a1. The final three operations use those updated rows, so the final first row is (1+α1β1+α2β2+α3β3)a1+β1a2+β2a3+β3a4. The other three rows remain as above. These four row combinations give G. Undoing the six operations in reverse order gives H:
More explicitly, subtract β3R4, β2R3, β1R2 from row 1, in that order, restoring a1. Then subtract α3R1 from row 4, α2R1 from row 3 and α1R1 from row 2. All original rows are restored. Starting with final rows bj, this means a1=b1−β1b2−β2b3−β3b4 and ai+1=bi+1−αia1, which expands exactly to the displayed H. Thus HG=GH=I4. No parameter needs to be nonzero: these are all row replacements, even when the upper-left entry of G is zero.
Question 9
Let α1,α2,β1,β2 be real and β1β2=0. Four-row A,B follow the five operations below. (a) Display one explicit 4×4 matrix G with B=GA and a chain from I4 to G; intermediate matrices need not be displayed. (b) Give a chain from G back to I4.
Work over the real numbers. Row replacement always uses distinct source and target rows; scaling factors are nonzero. An operation acts on the entire row, including every augmented block. In a finite chain the first operation acts first, so the combined left multiplier lists elementary matrices in reverse order.
(a) If the original rows are a1,a2,a3,a4, then the first step gives row 3 equal to a3+α1a2. Scaling row 1 and swapping rows 1 and 4 puts a4 in row 1 and β1a1 in row 4. Adding α2 times the current row 3 to row 1 gives a4+α2a3+α1α2a2. Finally row 2 is β2a2. Hence:
G=000β1α1α2β2α10α20101000
The required chain from I4 is exactly the five original operations in their original order. Applying them to the standard rows produces the displayed four rows of G. (b) Undo them in reverse order:
After the first two reverse steps, row 2 is e2 and row 1 is e4. The swap restores row 4 to e4 and row 1 to β1e1. Reciprocal scaling restores e1, and the final row replacement changes row 3 from e3+α1e2 to e3. Thus the endpoint is I4. The nonzero assumptions on β1,β2 are used exactly for the reciprocal scalings.
Question 10
Let A,A′ be m×n matrices and suppose they are row-equivalent. Prove that AB and A′B are row-equivalent for every n×p matrix B.
Complete solution
Work over the real numbers. Row replacement always uses distinct source and target rows; scaling factors are nonzero. An operation acts on the entire row, including every augmented block. In a finite chain the first operation acts first, so the combined left multiplier lists elementary matrices in reverse order.
For the proof, denote the inner and output dimensions by p and q, respectively; this only relabels the dimensions in the question.
(a): single-operation forward transport
To prove the forward identity entrywise, in the replacement case only output row k changes:
(A′B)kj=r=1∑p(akr+αair)brj=(AB)kj+α(AB)ij.
Every other output row agrees. Scaling gives (A′B)kj=β(AB)kj and leaves other rows fixed. Swapping rows i,k of A interchanges exactly rows i,k of AB. This proves all three forward transport identities directly, and applying the inverse operation proves the reverse identities.
(b): induction on the length of the row-operation sequence
For length zero the matrices are identical and so are their products. Suppose the assertion holds for a sequence of length n. For a sequence of length n+1, let An be the matrix after the first n operations. The induction hypothesis sends AB to AnB by those same operations. The forward identity proved entrywise in (a) sends AnB to A′B by the final operation. Thus all n+1 operations carry AB to A′B. Induction proves the assertion for every finite length. All products have size m×q, so these are legal row operations on matrices of one fixed size.