Professional Documents
Culture Documents
Lecture 05
Lecture 05
2 x 5,
1
2 2 x 12 5
1 x 52
x 52
If X is a matrix, how can we solve
2 1 3 2 1 1
0 1 3 X 3 5 0 ?
3 1 2 0 1 4
Is there a matrix such that
2 1 3 2 1 1
0 1 3 X 3 5 0
3 1 2 0 1 4
2 1 3 2 1 1
0 1 3 X 3 5 0
3 1 2 0 1 4
2 1 1
X 3 5 0
0 1 4
I (identity matrix)
2 1 1
X 3 5 0
0 1 4
Let A be a square matrix of order n.
2 0 1 2 1 1
Check 2 1 2 6 3 2
3 1 0 5 2 2
2 1 1 2 0 1
Check 6 3 2 2 1 2
5 2 2 3 1 0
2 1 1 3 1 1
Find X if 6 3 2 X 0 0 2 .
5 2 2 1 0 1
2 0 1 2 1 1 2 0 1 3 1 1
2 1 2 6 3 2 X 2 1 2 0 0 2
3 1 0 5 2 2 3 1 0 1 0 1
7 2 3 7 2 3
IX 8 2 2 X 8 2 2 .
9 3 5 9 3 5
1 0
Show that is singular.
1 0
1 0
Suppose is invertible, then there must be a
1 0
a b
square matrix of order 2, say such that
c d
1 0
Thus it is impossible for to have an inverse,
1 0
and so the matrix has to be singular.
2 1 1
We knew A 6 3 2 is invertible because
5 2 2
2 0 1
we were 'given' B 2 1 2 to 'test' whether
3 1 0
AB and BA are both equal to I .
1 0
We had to use contradiction to show that has
1 0
no inverse. What if the matrix was bigger and more
complicated?
Is there a more
effective way to
check whether a
matrix is invertible?
AB1 AB2
then B1 B2 .
C1 A C 2 A
then C1 C2 .
If A is not an invertible matrix, the cancellation
law may not hold:
1 0
A (known to be singular by previous example)
1 0
2 0
B2
1 3
If B and C are inverses of a square matrix A, then
B C.
Solution:
b
a b addbc ad bc
Check c a
c d ad bc ad bc
a b
Let A . Show that if ad bc 0, then
c d
b
1 d
ad bc ad bc
A is invertible and A c a
.
ad bc ad bc
Solution:
b
addbc ad bc a b
Check c a
ad bc ad bc c d
1) Let A be an invertible matrix (so A1 exists) and
c a non zero scalar. Then cA is invertible and
(cA)1 1c A1.
2) Let A be an invertible matrix (so A1 exists) then
AT is invertible and
Inverse of transpose
( AT )1 ( A1)T . equal transpose of
inverse
3) Let A be an invertible matrix (so A1 exists) then
A1 is invertible and
( A1)1 A.
4) Let A and B be two invertible matrices of the same
size (so A1 and B 1 exists) then AB is invertible and
( AB)1 B 1 A1.
1 2 1 2
A
2
1 3 1 3
2 3 2 3 2
A
1 1 1 1
Let B be a m n matrix.
a1 1 0 0 ... 0 B
a1B 1 0 0 ... 0
...
first row of B
Let B be a m n matrix.
a2 0 1 0 ... 0 B
a2 B 0 1 0 ... 0
...
second row of B
Let B be a m n matrix.
ai 0 ... c ... 0 B
ith position
ai B 0 ... c ... 0 ith row
c ...
c times ith row of B
Let B be a m n matrix. What is the product equal to?
m columns
cRi
B C
cRi
Im E
Then we have EB C.
Let's investigate the other two types of elementary
row operations!
Let B be a m n matrix. What is the product equal to?
ith col jth col
1
ith row 0 1
B
jth row 1 0
1
row j of B
row i of B
Note that the product can be obtained by
performing elementary row operation Ri R j to B.
1
0 1
B
1 0
1
row j of B
Ri R j
B row i of B
Note that the matrix can also be obtained by
performing Ri R j on I m .
Im
1 Ri R j
0 1
B
1 0
1
row j of B
Ri R j
B row i of B
It seems like we can 'represent' performing the
elementary row operation Ri R j on B by
pre-multiplying a suitable matrix to B.
Ri R j
B C
Ri R j
Im E
Then we have EB C.
Let's investigate the last type of elementary
row operation!
Let B be a m n matrix. What is the product equal to?
ith col jth col
1
ith row 1
B
jth row k 1
1
(i j)
(row j of B) k (row i of B)
jth row
Let B be a m n matrix. What is the product equal to?
jth col ith col
1
jth row 1 k
B
ith row 1
1
(i j) jth row
(row j of B) k (row i of B)
Note that the product can be obtained by
performing elementary row operation R j kRi to B.
1
1 k
B
1
(i j)
1
jth row
R j kRi
B
Note that the product can be obtained by
performing elementary row operation R j kRi to B.
1
1
B
k 1
(i j)
1
R j kRi
B jth row
Note that the matrix can also be obtained by
performing R j kRi on I m .
Im
1
R j kRi
1 k
B
1
1
jth row
R j kRi
B
Note that the matrix can also be obtained by
performing R j kRi on I m .
Im
1
R j kRi
1
B
k 1
1
R j kRi
B jth row
It seems like we can 'represent' performing the
elementary row operation R j kRi on B by
pre-multiplying a suitable matrix to B.
R j kRi
B C
R j kRi
Im E
Then we have EB C.
1 0 ... ... ... 0
0 ... ... 0 E is invertible and E 1
c is shown below
E
1 (check it!)
0 0 ... ... ... 1 1 0 ... ... ... 0
0 ... ... 0
1 1
E c
1
0 0 ... ... ... 1
1
E is invertible and E 1
0 1
E is shown below
(check it!)
1 0
1
1
0 1
1
E
1 0
1
1
E is invertible and E 1
1 k
is shown below
E
(check it!)
1
1
1
1 k
E 1
1
1
1
E is invertible and E 1
1
is shown below
E
(check it!)
k 1
1
1
1
E 1
k 1
1
Let A be a m n matrix. For each of the three types
of elementary row operations we can perform on A :
B1 E1
cRi cRi
Ri R j Ri R j
A B2 Im E2
R j kRi R j kRi
B3 E3
there are matrices Ei (i 1, 2, 3) such that
Ei A Bi for i 1, 2,3.
Furthermore, each Ei is an invertible matrix.
A square matrix is an elementary matrix if it can be
obtained from an identity matrix by performing
a single elementary row operation.
Note that all elementary matrices are invertible and
their inverses are themselves elementary matrices.
E1 1
Ri E11
cRi c
Ri R j Ri R j
Im E2 Im E2 1
R j kRi R j kRi
E3 E31
Note that if an elementary matrix E represents a
single elementary row operation X , E 1 represents
the elementary row operation that 'un-do' X .
1 0 1 1
Let A 0 2 3 1 . Find a sequence of elementary
1 0 3 4
matrices E1 , E2 ,..., Ek such that Ek Ek1... E2 E1 A is the
reduced row-echelon form of A.