1.5 Elementary Matrices and A Method For Finding A-1
1.5 Elementary Matrices and A Method For Finding A-1
Row equivalence
Elementary matrices
Multiplication with elementary matrices
Reversing row operations
Inverses of row operations
Inverses of elementary matrices
Equivalence Theorem
A Method for Inverting Matrices
Definition
Matrices A and B are said to be row equivalent if they can be
obtained from each other by a sequence of elementary row
operations.
Example
Ri +kRj Ri ↔Rj cRj
A −→ B −→ C −→ D.
Matrices A, B, C, D are all row equivalent.
Definition
Matrices A and B are said to be row equivalent if they can be
obtained from each other by a sequence of elementary row
operations.
Example
Ri +kRj Ri ↔Rj cRj
A −→ B −→ C −→ D.
Matrices A, B, C, D are all row equivalent.
Definition
Matrices A and B are said to be row equivalent if they can be
obtained from each other by a sequence of elementary row
operations.
Example
Ri +kRj Ri ↔Rj cRj
A −→ B −→ C −→ D.
Matrices A, B, C, D are all row equivalent.
Example
0 0 1 1 0 0 1 0 0
E1 = 0 1 0 E2 = 0 8 0 E3 = 0 1 0
1 0 0 0 0 1 0 −4 1
1 0 0 0 0 1
R1 ↔R3
0 1 0 −→ 0 1 0 = E1
0 0 1 1 0 0
1 0 0 1 0 0
8R2
0 1 0 −→ 0 8 0 = E2
0 0 1 0 0 1
1 0 0 1 0 0
−4R2
0 1 0 R3−→ 0 1 0 = E3
0 0 1 0 −4 1
Elementary matrices and a method for finding A−1
Elementary matrices
Definition
An n × n elementary matrix is a matrix obtained by performing
one elementary row operation on the identity matrix In .
Example
0 0 1 1 0 0 1 0 0
E1 = 0 1 0 E2 = 0 8 0 E3 = 0 1 0
1 0 0 0 0 1 0 −4 1
1 0 0 0 0 1
R1 ↔R3
0 1 0 −→ 0 1 0 = E1
0 0 1 1 0 0
1 0 0 1 0 0
8R2
0 1 0 −→ 0 8 0 = E2
0 0 1 0 0 1
1 0 0 1 0 0
−4R2
0 1 0 R3−→ 0 1 0 = E3
0 0 1 0 −4 1
Elementary matrices and a method for finding A−1
Elementary matrices
Definition
An n × n elementary matrix is a matrix obtained by performing
one elementary row operation on the identity matrix In .
Example
0 0 1 1 0 0 1 0 0
E1 = 0 1 0 E2 = 0 8 0 E3 = 0 1 0
1 0 0 0 0 1 0 −4 1
1 0 0 0 0 1
R1 ↔R3
0 1 0 −→ 0 1 0 = E1
0 0 1 1 0 0
1 0 0 1 0 0
8R2
0 1 0 −→ 0 8 0 = E2
0 0 1 0 0 1
1 0 0 1 0 0
−4R2
0 1 0 R3−→ 0 1 0 = E3
0 0 1 0 −4 1
Elementary matrices and a method for finding A−1
Elementary matrices
Definition
An n × n elementary matrix is a matrix obtained by performing
one elementary row operation on the identity matrix In .
Example
0 0 1 1 0 0 1 0 0
E1 = 0 1 0 E2 = 0 8 0 E3 = 0 1 0
1 0 0 0 0 1 0 −4 1
1 0 0 0 0 1
R1 ↔R3
0 1 0 −→ 0 1 0 = E1
0 0 1 1 0 0
1 0 0 1 0 0
8R2
0 1 0 −→ 0 8 0 = E2
0 0 1 0 0 1
1 0 0 1 0 0
−4R2
0 1 0 R3−→ 0 1 0 = E3
0 0 1 0 −4 1
Elementary matrices and a method for finding A−1
Elementary matrices
Definition
An n × n elementary matrix is a matrix obtained by performing
one elementary row operation on the identity matrix In .
Example
0 0 1 1 0 0 1 0 0
E1 = 0 1 0 E2 = 0 8 0 E3 = 0 1 0
1 0 0 0 0 1 0 −4 1
1 0 0 0 0 1
R1 ↔R3
0 1 0 −→ 0 1 0 = E1
0 0 1 1 0 0
1 0 0 1 0 0
8R2
0 1 0 −→ 0 8 0 = E2
0 0 1 0 0 1
1 0 0 1 0 0
−4R2
0 1 0 R3−→ 0 1 0 = E3
0 0 1 0 −4 1
Elementary matrices and a method for finding A−1
Examples
Example
Which of the following matrices are elementary matrices?
0 0 1
1 1 0 0
0 1 0
Not an elementary matrix.
1 0 1
2 0 1 1
0 0 1
Not an elementary matrix.
2 0 2
3 0 1 0
0 0 1
Not an elementary matrix.
Example
Which of the following matrices are elementary matrices?
0 0 1
1 1 0 0
0 1 0
Not an elementary matrix.
1 0 1
2 0 1 1
0 0 1
Not an elementary matrix.
2 0 2
3 0 1 0
0 0 1
Not an elementary matrix.
Example
Which of the following matrices are elementary matrices?
0 0 1
1 1 0 0
0 1 0
Not an elementary matrix.
1 0 1
2 0 1 1
0 0 1
Not an elementary matrix.
2 0 2
3 0 1 0
0 0 1
Not an elementary matrix.
Example
Which of the following matrices are elementary matrices?
0 0 1
1 1 0 0
0 1 0
Not an elementary matrix.
1 0 1
2 0 1 1
0 0 1
Not an elementary matrix.
2 0 2
3 0 1 0
0 0 1
Not an elementary matrix.
Example
Which of the following matrices are elementary matrices?
0 0 1
1 1 0 0
0 1 0
Not an elementary matrix.
1 0 1
2 0 1 1
0 0 1
Not an elementary matrix.
2 0 2
3 0 1 0
0 0 1
Not an elementary matrix.
Example
Which of the following matrices are elementary matrices?
0 0 1
1 1 0 0
0 1 0
Not an elementary matrix.
1 0 1
2 0 1 1
0 0 1
Not an elementary matrix.
2 0 2
3 0 1 0
0 0 1
Not an elementary matrix.
Row operations
Recall the elementary row operations:
1 Multiply by a nonzero constant c: cRi
2 Interchange two rows: Ri ↔ Rj
3 Add a multiple of one to another: Ri + kRj
Row operations
Recall the elementary row operations:
1 Multiply by a nonzero constant c: cRi
2 Interchange two rows: Ri ↔ Rj
3 Add a multiple of one to another: Ri + kRj
0 12 R2 1 0
1 0 2R2 1
−→ −→
0 1 0 2 0 1
1 0 R1 ↔R2 0 1 R1 ↔R2 1 0
−→ −→
0 1 1 0 0 1
1 0 R2 −3R1 1 0 R2 +3R1 1 0
−→ −→
0 1 −3 1 0 1
−1
1 0 0 1 0 0
0 0 1 = 0
0 1
0 1 0 0 1 0
−1
1 0 0 1 0 0
0 1
c 0 = 0
c 0
0 0 1 0 0 1
−1
1 0 0 1 0 0
0 1 k = 0 1 −k
0 0 1 0 0 1
−1
1 0 0 1 0 0
0 0 1 = 0
0 1
0 1 0 0 1 0
−1
1 0 0 1 0 0
0 1
c 0 = 0
c 0
0 0 1 0 0 1
−1
1 0 0 1 0 0
0 1 k = 0 1 −k
0 0 1 0 0 1
−1
1 0 0 1 0 0
0 0 1 = 0
0 1
0 1 0 0 1 0
−1
1 0 0 1 0 0
0 1
c 0 = 0
c 0
0 0 1 0 0 1
−1
1 0 0 1 0 0
0 1 k = 0 1 −k
0 0 1 0 0 1
−1
1 0 0 1 0 0
0 0 1 = 0
0 1
0 1 0 0 1 0
−1
1 0 0 1 0 0
0 1
c 0 = 0
c 0
0 0 1 0 0 1
−1
1 0 0 1 0 0
0 1 k = 0 1 −k
0 0 1 0 0 1
Example
Invert the following matrices:
1 0 0 1
0 0
1 E1 = 0 0 1 E1−1 = 0 0 1
0 1 0 0 1 0
1 0 0
1 0 0
2 E2 = 0 1 0 E2−1 = 0 1 0
0 0 −3 0 0 − 31
1 0 0 1
0 0
3 E3 = 0 1 −4 E3−1 = 0 1 4
0 0 1 0 0 1
Example
Invert the following matrices:
1 0 0 1
0 0
1 E1 = 0 0 1 E1−1 = 0 0 1
0 1 0 0 1 0
1 0 0
1 0 0
2 E2 = 0 1 0 E2−1 = 0 1 0
0 0 −3 0 0 − 31
1 0 0 1
0 0
3 E3 = 0 1 −4 E3−1 = 0 1 4
0 0 1 0 0 1
Example
Invert the following matrices:
1 0 0 1
0 0
1 E1 = 0 0 1 E1−1 = 0 0 1
0 1 0 0 1 0
1 0 0
1 0 0
2 E2 = 0 1 0 E2−1 = 0 1 0
0 0 −3 0 0 − 31
1 0 0 1
0 0
3 E3 = 0 1 −4 E3−1 = 0 1 4
0 0 1 0 0 1
Example
Invert the following matrices:
1 0 0 1
0 0
1 E1 = 0 0 1 E1−1 = 0 0 1
0 1 0 0 1 0
1 0 0
1 0 0
2 E2 = 0 1 0 E2−1 = 0 1 0
0 0 −3 0 0 − 31
1 0 0 1
0 0
3 E3 = 0 1 −4 E3−1 = 0 1 4
0 0 1 0 0 1
Example
Invert the following matrices:
1 0 0 1
0 0
1 E1 = 0 0 1 E1−1 = 0 0 1
0 1 0 0 1 0
1 0 0
1 0 0
2 E2 = 0 1 0 E2−1 = 0 1 0
0 0 −3 0 0 − 31
1 0 0 1
0 0
3 E3 = 0 1 −4 E3−1 = 0 1 4
0 0 1 0 0 1
Example
Invert the following matrices:
1 0 0 1
0 0
1 E1 = 0 0 1 E1−1 = 0 0 1
0 1 0 0 1 0
1 0 0
1 0 0
2 E2 = 0 1 0 E2−1 = 0 1 0
0 0 −3 0 0 − 31
1 0 0 1
0 0
3 E3 = 0 1 −4 E3−1 = 0 1 4
0 0 1 0 0 1
If A is invertible
Ek . . . E2 E1 A = I
then
A = E1−1 E2−1 . . . Ek−1 .
Thus
A−1 = [E1−1 E2−1 . . . Ek−1 ]−1 = Ek . . . E2 E1 I.
Inversion Algorithm
Let A be an invertible matrix. Take the sequence of elementary
row operations that reduce A to I; and perform the same
sequence on I to transform I into A−1 .
If A is invertible
Ek . . . E2 E1 A = I
then
A = E1−1 E2−1 . . . Ek−1 .
Thus
A−1 = [E1−1 E2−1 . . . Ek−1 ]−1 = Ek . . . E2 E1 I.
Inversion Algorithm
Let A be an invertible matrix. Take the sequence of elementary
row operations that reduce A to I; and perform the same
sequence on I to transform I into A−1 .
If A is invertible
Ek . . . E2 E1 A = I
then
A = E1−1 E2−1 . . . Ek−1 .
Thus
A−1 = [E1−1 E2−1 . . . Ek−1 ]−1 = Ek . . . E2 E1 I.
Inversion Algorithm
Let A be an invertible matrix. Take the sequence of elementary
row operations that reduce A to I; and perform the same
sequence on I to transform I into A−1 .
If A is invertible
Ek . . . E2 E1 A = I
then
A = E1−1 E2−1 . . . Ek−1 .
Thus
A−1 = [E1−1 E2−1 . . . Ek−1 ]−1 = Ek . . . E2 E1 I.
Inversion Algorithm
Let A be an invertible matrix. Take the sequence of elementary
row operations that reduce A to I; and perform the same
sequence on I to transform I into A−1 .
Example
Find the inverse of the following if they exist
1 0 1
1 A = −1 1 0 A is not invertible.
2 0 2
1 0 1
−1 0 1
−1
2 A = −1 1 0 A = −1 1 1
2 0 1 2 0 −1
2 1 1
3 1 −3
−1
3 A = −1 0 3 1
A = 2 −5 −3 7
1 1 2 1 1 −1
Example
Find the inverse of the following if they exist
1 0 1
1 A = −1 1 0 A is not invertible.
2 0 2
1 0 1
−1 0 1
−1
2 A = −1 1 0 A = −1 1 1
2 0 1 2 0 −1
2 1 1
3 1 −3
−1
3 A = −1 0 3 1
A = 2 −5 −3 7
1 1 2 1 1 −1
Example
Find the inverse of the following if they exist
1 0 1
1 A = −1 1 0 A is not invertible.
2 0 2
1 0 1
−1 0 1
−1
2 A = −1 1 0 A = −1 1 1
2 0 1 2 0 −1
2 1 1
3 1 −3
−1
3 A = −1 0 3 1
A = 2 −5 −3 7
1 1 2 1 1 −1
Example
Find the inverse of the following if they exist
1 0 1
1 A = −1 1 0 A is not invertible.
2 0 2
1 0 1
−1 0 1
−1
2 A = −1 1 0 A = −1 1 1
2 0 1 2 0 −1
2 1 1
3 1 −3
−1
3 A = −1 0 3 1
A = 2 −5 −3 7
1 1 2 1 1 −1
Example
Find the inverse of the following if they exist
1 0 1
1 A = −1 1 0 A is not invertible.
2 0 2
1 0 1
−1 0 1
−1
2 A = −1 1 0 A = −1 1 1
2 0 1 2 0 −1
2 1 1
3 1 −3
−1
3 A = −1 0 3 1
A = 2 −5 −3 7
1 1 2 1 1 −1
Example
Find the inverse of the following if they exist
1 0 1
1 A = −1 1 0 A is not invertible.
2 0 2
1 0 1
−1 0 1
−1
2 A = −1 1 0 A = −1 1 1
2 0 1 2 0 −1
2 1 1
3 1 −3
−1
3 A = −1 0 3 1
A = 2 −5 −3 7
1 1 2 1 1 −1
Example
1 Is the transpose of an elementary matrix elementary?
2 Show that if B is square matrix satisfying BA = I then A is
invertible and B = A−1 .
3 Use the Equivalence Theorem to prove that if A contains a
row or column
of zeros
then A is not invertible.
1 0 −2
4 Let A = 0 0 1
0 1 0
1 Find elementary matrices E1 and E2 such that E2 E1 A = I.
2 Hence, express A as a product of elementary matrices.