chp2 2.2
chp2 2.2
Motivation
b
Reclnumbers: aX = b ⇒ X = a
Slow motion: aX = b
aX = b
a−1(aX) = a−1(b)
(a−1a)X = a−1b
1X = a−1b
b
X = a−1b → a
1
matrices: AX = B
AX = B
A−1(AX) = A−1(B)
(A−1A)X = A−1B
IX = A−1B
X = A−1B
2
Definintion Suppose A is an n×n matrix
(square).
3
How to Find A−1 (if it exists)
EX (Slow motion)
" #
1 2
A=
3 4
AA−1 = I
" # " #
1 2 h i 1 0
C~1 C~2 =
3 4 0 1
"& .
.. #
−3 1 2 . 1 0
.
3 4 .. 0 1
" .. #
1 2 . 1 0
.
0 −2 .. −3 1 −3R1 + R2
4
" .. #
1 0 . −2 1 R2 + R1
.
0 −2 .. −3 1
" . #
1 0 .. −2 1
.
0 1 .. 3 −1 2 2
−1
2 R2
" # " #
−2 1
C~1 = 3
C~1 = −1
2 2
So
" #
h i −2 1
A−1 = C~1 C~2 = 3 −1
2 2
Summary:
" #
1 2
A=
3 4
" . #
1 2 .. 1 0 h i
..
. A . I
3 4 .. 0 1
" .. #
1 0 . −2 1 h i
. −1
.
. I . A
0 1 .. 32 −1
2
" #
−2 1
A−1 = 3 −1
2 2
5
1 2 0
EX A= −2 1 1
0 5 1
AA−1 = I
1 2 0 | 1 0 0
2 −2 1 1 | 0 1 0
0 5 1 | 0 0 1
1 2 0 | 1 0 0
−1 0 5 1 | 2 1 0 2R1 + R2
0 5 1 | 0 0 1
1 2 0 | 1 0 0
0 5 1 | 2 1 0 −R2 + R3
0 0 0 | −2 −1 1
6
A Formula for 2×2 Matrix Inverses
a b .
.. 1 0
.
0 ad − bc .. −c a
7
d −b
A −1
= ad−bc ad−bc
−c a
ad−bc ad−bc
OR
A
d −b a b
A−1 = 1
ad−bc
−c a c d
1
(3) Multiple by ad−bc
1 2
OR A =
2 6
8
Using A−1 to Solve ~ = ~b
AX
EX
X1 + 3X2 = 1
2X1 + 4X2 = 6
" # " # " #
1 3 X1 1
=
2 4 X2 6
" # " # " # " # " #
1 3 1 3 X1 1 3 1
( )−1 = ( )−1
2 4 2 4 X2 2 4 6
" # " # " # " #
1 0 X1 1 4 −3 1
= (1)(4)−(2)(3)
0 1 X2 −2 1 6
" # " # " #
X1 1 −14 7
= −2 = )
X2 4 −2
The soln. X1 = 7, X2 = −2
9
Properties of Matrix Inverses
~ = ~b is consistent with
(1) If A is invertible , then AX
exactly one solution .
~ = A−1~b
X
AA−1 = I
A−1 is the inverse of A
A is the inverse of A−1
(AB)−1 = B −1 A−1
(AB)(?) = I
10
(?)(AB) = I
(B −1 A−1 )(AB) = B −1 (A−1 A)B
= B −1 (I)B
= B −1 B
= I
So:
(AB)−1 = B −1 A−1
11