Docsity

Lecture 3x Finding Inverses Using Elementary Matrices ..., Exams of Linear Algebra

Toggle sidebar
bg1
Lecture 3x
Finding Inverses Using Elementary Matrices
(pages 178-9)
In the previous lecture, we learned that for every matrix A, there is a sequence of
elementary matrices E1, . . . , Eksuch that Ek· · · E1Ais the reduced row echelon
form of A. But what if the reduced row echelon form of Ais I? Then we have
that Ek· · · E1A=I. But this means that (Ek· · · E1) is A−1.
Example: Let A=2 4
5 8 , and consider the following row reduction of A
to I:
2 4
5 8 (1/2)R1∼1 2
5 8 R2−5R1∼1 2
0−2(−1/2)R2
∼1 2
0 1 R1−2R2∼1 0
0 1 .
Then we can construct a sequence of elementary matrices E4, . . . , E1such that
E4· · · E1A=Ias follows:
The first row operation is (1/2)R1, so E1=1/2 0
0 1 .
The second row operation is R2−5R1, so E2=1 0
−5 1 .
The third row operation is (−1/2)R2, so E3=1 0
0−1/2.
The fourth row operation is R1−2R2, so E4=1−2
0 1 .
Then A−1=E4E3E2E1, which we can calculate as follows:
E2E1=1 0
−5 1 1/2 0
0 1 =1/2 0
−5/2 1
E3E2E1=E3(E2E1) = 1 0
0−1/2 1/2 0
−5/2 1 =1/2 0
5/4−1/2
A−1=E4E3E2E1=E4(E3E2E1) = 1−2
0 1 1/2 0
5/4−1/2=−2 1
5/4−1/2.
We verify our calculation by looking at the product AA−1:
AA−1=2 4
5 8 −2 1
5/4−1/2=−4 + 5 2 −2
−10 + 10 5 −4=1 0
0 1
1
pf3
pf4

Partial preview of the text

Download Lecture 3x Finding Inverses Using Elementary Matrices ... and more Exams Linear Algebra in PDF only on Docsity!

Lecture 3x

Finding Inverses Using Elementary Matrices

(pages 178-9)

In the previous lecture, we learned that for every matrix A, there is a sequence of elementary matrices E 1 ,... , Ek such that Ek · · · E 1 A is the reduced row echelon form of A. But what if the reduced row echelon form of A is I? Then we have that Ek · · · E 1 A = I. But this means that (Ek · · · E 1 ) is A−^1.

Example: Let A =

[

]

, and consider the following row reduction of A

to I: [ 2 4 5 8

]

(1/2)R 1

[

]

R 2 − 5 R 1

[

]

(− 1 /2)R 2

[

]

R 1 − 2 R 2

[

]

Then we can construct a sequence of elementary matrices E 4 ,... , E 1 such that E 4 · · · E 1 A = I as follows:

The first row operation is (1/2)R 1 , so E 1 =

[

]

The second row operation is R 2 − 5 R 1 , so E 2 =

[

]

The third row operation is (− 1 /2)R 2 , so E 3 =

[

]

The fourth row operation is R 1 − 2 R 2 , so E 4 =

[

]

Then A−^1 = E 4 E 3 E 2 E 1 , which we can calculate as follows:

E 2 E 1 =

[

] [

]

[

]

E 3 E 2 E 1 = E 3 (E 2 E 1 ) =

[

] [

]

[

]

A−^1 = E 4 E 3 E 2 E 1 = E 4 (E 3 E 2 E 1 ) =

[

] [

]

[

]

We verify our calculation by looking at the product AA−^1 :

AA−^1 =

[

] [

]

[

]

[

]

Example: Let’s look at a different row reduction of A to I: [ 2 4 5 8

]

R 2 − 2 R 1

[

]

R 1 l R 2 ∼

[

]

R 2 − 2 R 1

[

]

(1/4)R 2

[

]

Then we can construct a sequence of elementary matrices E 4 ,... , E 1 such that E 4 · · · E 1 A = I as follows:

The first row operation is R 2 − 2 R 1 , so E 1 =

[

]

The second row operation is R 1 l R 2 , so E 2 =

[

]

The third row operation is R 2 − 2 R 1 , so E 3 =

[

]

The fourth row operation is (1/4)R 2 , so E 4 =

[

]

Then A−^1 = E 4 E 3 E 2 E 1 , which we can calculate as follows:

E 2 E 1 =

[

] [

]

[

]

E 3 E 2 E 1 = E 3 (E 2 E 1 ) =

[

] [

]

[

]

A−^1 = E 4 E 3 E 2 E 1 = E 4 (E 3 E 2 E 1 ) =

[

] [

]

[

]

This is the same value for A−^1 that we got on the previous example, which is good, since we’ve already shown that the inverse of a matrix is unique! So the point of this example is to emphasize that it while a different collection of row reductions steps will lead to a different sequence of matrices E 1 ,... , Ek, no matter which sequence we use, we still end up with our unique matrix A−^1.

But what about the inverse of an elementary matrix? As they are row equivalent to I, we know that the are invertible. And to get from an elementary matrix E to I, you simply need to undo the row operation you did to get from I to E in the first place. As this will be a single row operation, it turns out that the inverse of an elementary matrix is itself an elementary matrix. And the best way to find the inverse is to think in terms of row operations.

Example:

[

]− 1

[

]

, since the way we undo multiplying row

1 by 2 is to multiply row 1 by 1/2. In general, the inverse of the operation sRi

operations from A to B. If E 1 ,... , Ek are the elementary matrices for these row operations, then we have that Ek · · · E 1 A = B. So, if we let P = Ek · · · E 1 , then P is invertible, as the elementary matrices are invertible and the product of invertible matrices is invertible. And so P is an invertible matrix such that P A = B.

As this theorem doesn’t appear in the text, we won’t really use it for anything, but the text has placed a lot of emphasis on there being a sequence of elementary matrices leading to the reduced row echelon form, and I wanted to point out this fact, which holds for any matrix row equivalent to A.