3.8 Elementary matrices

Definition 3.8.1.

An elementary matrix is one obtained by doing a single row operation to an identity matrix.

Example 3.8.1.
  • •

    The elementary matrix (0110) results from doing the row operation r1↔r2 to I2.

  • •

    The elementary matrix (120010001) results from doing the row operation r1↦r1+2⁢r2 to I3.

  • •

    The elementary matrix (−1001) results from doing the row operation r1↦(−1)⁢r1 to I2.

Doing a row operation r to a matrix has the same effect as multiplying that matrix on the left by the elementary matrix corresponding to r.

Theorem 3.8.1.

Let r be a row operation and B an m×n matrix. Then r⁢(B)=r⁢(Im)⁢B.

Proof.

Any row operation r changes B to a matrix r⁢(B) whose rows are linear combinations (Definition 3.2.2) of the rows of B. Proposition 3.2.5 and Theorem 3.2.6 show that we can choose an m×m matrix A such that r⁢(B)=A⁢B. By putting B=Im we see that A=r⁢(Im). ∎

Example 3.8.2.

The theorem tells you that doing the row operation 𝐫1↦𝐫1+2⁢𝐫2 to a matrix with three rows is the same as left-multiplying by the 3×3 elementary matrix (120010001). For example, if we do this row operation to (abc) we get (a+2⁢bbc) which is the same as

(120010001)⁢(abc)=(a+2⁢bbc).
Corollary 3.8.2.

Elementary matrices are invertible.

Proof.

Let r be a row operation, s be the inverse row operation to r, and let In be an identity matrix. By Theorem 3.8.1, r⁢(In)⁢s⁢(In)=r⁢(s⁢(In)). Because s is inverse to r, this equals In. Similarly, s⁢(In)⁢r⁢(In)=s⁢(r⁢(In))=In. It follows that r⁢(In) is invertible with inverse s⁢(In). ∎

Theorem 3.8.1 combined with Corollary 3.8.2 shows that if A results from doing a row operation to B, then A=E⁢B for some invertible matrix E. What about if A results from doing a sequence of row operations?

Theorem 3.8.3.

Suppose that A is a matrix obtained by doing a sequence of row operations to another matrix B. Then A=E⁢B for some invertible matrix E.

Proof.

If the row operations are r1,…,rk and if Ei is the elementary matrix corresponding to ri then using Theorem 3.8.1 repeatedly gives

A=Ek⁢Ek−1⁢⋯⁢E2⁢E1⁢B.

Let E=Ek⁢Ek−1⁢⋯⁢E2⁢E1, so A=E⁢B. The matrix E is a product of invertible matrices, by Corollary 3.8.2, so it is invertible by Theorem 3.5.3. ∎