← Back to Math 010

1.5 Elementary Matrices and a Method for Finding A−1: Class Notes

Definition

Matrices A and B are said to be row equivalent if either (hence each) can be obtained from the other by a sequence of elementary row operations.

Definition

A matrix E is called an elementary matrix if it can be obtained from an identity matrix by performing a single elementary row operation.

Elementary matrices are useful for developing theory.

Theorem 1.5.1 Row Operations by Matrix Multiplication

If the elementary matrix E results from performing a certain row operation on Im and if A is an m×n matrix, then the product EA is the matrix that results when this same row operation is performed on A.

#6

An elementary matrix E and a matrix A are given. Identify the row operation corresponding to E and verify that the product EA results from applying the row operation to A.

a. E=[−6001], A=[−1−25−13−6−6−6]

b. E=[100−410001], A=[2−10−4−41−3−1532013−1]

c. E=[100050001], A=[142536]

Solution

a. E comes from I2 by multiplying row 1 by −6, so the row operation is R1→−6R1.

EA=[−6001][−1−25−13−6−6−6]=[612−3063−6−6−6]

This is R1→−6R1 applied to A.

Answer: R1→−6R1

b. E comes from I3 by adding −4 times row 1 to row 2, so the row operation is R2→−4R1+R2.

EA=[100−410001][2−10−4−41−3−1532013−1]=[2−10−4−4−71−121192013−1]

Applying R2→−4R1+R2 to A directly:

−8401616(−4R1)
1−3−153(R2)
−71−12119

so row 2 becomes [−71−12119], the same matrix as EA.

Answer: R2→−4R1+R2

Proof of Theorem 1.5.1

Case I: E results from multiplying the ith row of I by k≠0.

Let e→1=[10⋯0], e→2=[010⋯0], …, e→m=[00⋯1], and ke→i=[00⋯k⋯0]. These are the rows of E. Each row of EA is the corresponding row of E times A, and e→jA is row j of A:

EA=[e→1Ae→2A⋮ke→iA⋮e→mA],

which results in multiplying the ith row of A by k.

#7

Use the following matrices and find an elementary matrix E that satisfies the stated equation.

A=[3412−7−1815], B=[8152−7−1341], C=[3412−7−12−73], D=[815−6213341], F=[815811341]

c. EA=C

Solution

Rows 1 and 2 of A and C are the same. Row 3 of C results from adding −2 times row 1 of A to row 3 (R3→R3−2R1). Performing that operation on I3 gives

E=[100010−201]

Check:

EA=[100010−201][3412−7−1815]=[3412−7−12−73]=C✓

Answer: E=[100010−201]

Theorem 1.5.2

Every elementary matrix is invertible, and the inverse is also an elementary matrix.

Proof

Let E be the elementary matrix that results from performing a single row operation on I, and let E′ be the matrix that results from performing the inverse operation on I. Then by Theorem 1.5.1,

EE′=IandE′E=I⇒E′=E−1.

Theorem 1.5.3 Equivalent Statements

If A is an n×n matrix, then the following statements are equivalent, that is, all are true or all false.

  1. A is invertible.
  2. A𝐱=𝟎 has only the trivial solution.
  3. The reduced row echelon form of A is In.
  4. A is expressible as a product of elementary matrices.

Proof

To prove that statements are equivalent, we can show that (a)⇒(b)⇒(c)⇒(d)⇒(a).

(a)⇒(b): A invertible ⇒ there exists A−1 such that A−1A=I.

Ax→=0→⇒A−1Ax→=A−10→⇒x→=0→.

If x→′ is any other solution, then Ax→=0→ and Ax→′=0→, so

Ax→−Ax→′=0→⇒x→−x→′=A−10→=0→⇒x→=x→′.

So Ax→=0→ has only the trivial solution.

(b)⇒(c): Ax→=0→ has only the trivial solution, so the system contains no free variables. By Theorem 1.2.1, the reduced row echelon form has n nonzero rows. By Theorem 1.4.3, the reduced row echelon form is then In.

(c)⇒(d): The reduced row echelon form of A is In, so In can be obtained from A by a series of row operations. By Theorem 1.5.1 we can express this as

In=Er⋯E2E1A.

Then, by Theorems 1.4.6 and 1.5.2,

A=E1−1E2−1⋯Er−1In,

so A is equal to a product of elementary matrices.

(d)⇒(a): A is a product of elementary matrices, and elementary matrices are invertible (Theorem 1.5.2). So A is a product of invertible matrices, and so is invertible (Theorem 1.4.6).

#15

Use the inversion algorithm to find the inverse of the matrix (if the inverse exists).

[266276277]

Solution

The inversion algorithm is based on the (c)⇒(d) proof above. Since In=Er⋯E2E1A, multiplying on the right by A−1 gives

A−1=Er⋯E2E1In.

So the elementary row operations that reduce A to In will yield A−1 when applied to In.

[266100276010277001]

R2→R2−R1 and R3→R3−R1 clear the first column below the leading 2:

[266100010−110011−101]

R3→R3−R2:

[266100010−1100010−11]

R1→R1−6R3:

[26016−6010−1100010−11]

R1→R1−6R2:

[20070−6010−1100010−11]

R1→12R1:

[1007/20−3010−1100010−11]

Answer: A−1=[7/20−3−1100−11]

In general,

[AIn]→elementary row operations[InA−1].

#18

[002010010−130215−3]

Solution

[00201000100101000−1300010215−30001]

R1↔R2:

[10010100002010000−1300010215−30001]

R4→R4−2R1:

215−30001
−200−20−200
015−50−201

[10010100002010000−1300010015−50−201]

R4→R4+R3, then R2↔R3:

015−50−201
0−1300010
008−50−211

[100101000−130001000201000008−50−211]

R4→R4−4R3, R2→−R2:

008−50−211
00−80−4000
000−5−4−211

[1001010001−3000−1000201000000−5−4−211]

R1→R1+15R4:

10010100
000−1−4/5−2/51/51/5
1000−4/53/51/51/5

R2→R2+32R3:

01−3000−10
00303/2000
01003/20−10

Then R3→12R3 and R4→−15R4:

[1000−4/53/51/51/501003/20−1000101/200000014/52/5−1/5−1/5]

Answer: A−1=[−4/53/51/51/53/20−101/20004/52/5−1/5−1/5]

#20

Find the inverse of each of the following 4×4 matrices, where k1, k2, k3, k4, k are all nonzero.

a. [000k100k200k300k4000]  b. [k0001k0001k0001k]

Solution

a.

[000k1100000k2001000k3000010k40000001]

R1↔R4 and R2↔R3:

[k400000010k300001000k200100000k11000]

Multiply each row by the reciprocal of its diagonal entry (1k4R1, 1k3R2, 1k2R3, 1k1R4):

Answer: A−1=[0001/k4001/k3001/k2001/k1000]

b. Clear the 1 below each diagonal k, working down the matrix.

[k00010001k00010001k00010001k0001]

R2→kR2−R1:

[k00010000k200−1k0001k00010001k0001]

R3→k2R3−R2:

[k00010000k200−1k0000k301−kk20001k0001]

and so on: R4→k3R4−R3:

[k00010000k200−1k0000k301−kk20000k4−1k−k2k3]

Finally divide the rows by k, k2, k3, k4:

Answer: A−1=[1/k000−1/k21/k001/k3−1/k21/k0−1/k41/k3−1/k21/k]

#27

Show that the matrices A and B are row equivalent by finding a sequence of elementary row operations that produces B from A, and then use that result to find a matrix C such that CA=B.

A=[123141219], B=[10502−2114]

Solution

To obtain B from A, keep track of each row operation and its corresponding elementary matrix (the same operation performed on I3).

R2→R2−R1:

141
−1−2−3
02−2

[12302−2219],E1=[100−110001]

R1→R1−R2:

123
0−22
105

[10502−2219],E2=[1−10010001]

R3→R3−R1:

219
−10−5
114

[10502−2114]=B,E3=[100010−101]

So A and B are row equivalent, and

E3E2E1A=B⇒C=E3E2E1

=[100010−101][1−10010001][100−110001]=[1−10010−111][100−110001]

Answer: C=[2−10−110−211]

Tip: Alternative approach: apply the same row operations to [AI]. Reducing it to [BC] gives C directly.

#23

Express the matrix and its inverse as products of elementary matrices.

A=[−3122]

Solution

Reduce A to I2, keeping track of the operations, the corresponding elementary matrix, and its inverse.

R2→R2+23R1:

[−3108/3]E1=[102/31]E1−1=[10−2/31]

R1→R1−38R2:

[−3008/3]E2=[1−3/801]E2−1=[13/801]

R1→−13R1:

[1008/3]E3=[−1/3001]E3−1=[−3001]

R2→38R2:

[1001]E4=[1003/8]E4−1=[1008/3]

So E4E3E2E1A=I2, and therefore

Answer: A=E1−1E2−1E3−1E4−1=[10−2/31][13/801][−3001][1008/3]

Answer: A−1=E4E3E2E1=[1003/8][−1/3001][1−3/801][102/31]

#33

Prove that if B is obtained from A by performing a sequence of elementary row operations, then there is a second sequence of elementary row operations, which when applied to B recovers A.

Proof

Let E1,E2,…,Er be elementary matrices such that when the associated row operations are applied to A, the result is B. That is,

B=Er⋯E2E1A.

Since each Ei is invertible by Theorem 1.5.2 (and its inverse is also an elementary matrix), we can multiply on the left to produce

E1−1E2−1⋯Er−1B=A.

So A is obtained from B using the row operations represented by the Ei−1.