Lecture 3
Lecture 3
UNIVERSITY OF MORATUWA
SRI LANKA
MA(101) Mathematics
Lecture Notes for level 1, Semester 1
2005
3. Inverse Matrices
by
T.M.J.A.Cooray
Definition 3.1
Let A be an n×n matrix. An n×n matrix B is called an inverse of A if
AB = BA = I n .
Example 3.1
3 4 7 − 4 1 0
(i) = and
5 7 − 5 3 0 1
7 − 4 3 4 1 0
=
− 5 3 5 7 0 1
3 4 7 − 4
So is invertible and is its inverse.
5 7 −5 3
1 1 a b a + c b + d 1 1
(ii) = So is non-
0 0 c d 0 0 0 0
invertible
Theorem 3.1
a b
1. A 2 × 2 matrix A= is invertible if and only if ad - bc ≠ 0.
c d
1 d − b
2. If ad - bc ≠ , then A =
−1
.
ad − bc − c a
Example 3.2
3 4
For the matrix A= in example 3.1 (i),
5 7
ad - bc = 3× 7 - 4 ×5 = 1. So A is indeed invertible and
1 d − b 7 − 4
A =
−1
=
ad − bc − c a − 5 3
Theorem 3.2.
Let A be an n × n matrix. If A is invertible, then the inverse of A is
unique.
Proof. Suppose P and Q are both inverses of A.
Then P = PI = P(AQ) = (PA )Q = IQ = Q .
2 3 − 4 1 − 1 1 1 0 0
0 1 − 1 1 2 2 =
0 1 0
− 1 − 2 3 1 1 2 0 0 1
144244314243 14243
P Q I
2. AT is invertible and (A T ) −1 = (A −1 ) T .
3. If AB = I n , then BA = I n .
Fact 3 says that it suffices to find the “right inverse”
of A. It will be a “two-sided inverse” of A.
Maple command for Inverse matrix of A (see example 3.4)
2 0 −1
A = 1 1 − 2
0 1 0
with(LinearAlgebra):
A := < <2,1,0> | <0,1,1> |<-1,-2,0> >;
2 0 -1
A := 1 1 -2
0 1 0
> B:=A^(-1);
2 -1 1
3 3 3
B := 0 0 1
1 -2 2
3 3 3
Then B= A-1
B2, . ,….Bn.
b b b
11
12
1n
b 21 b 22 b 2n
B = b
1 B = b
2 ………… B = b
n
31
32
3n
.. .. ..
b n1 b n2 b nn
Also denote the n columns of In by E1, E2, · · · , En .Finding B such that
AB=In is equivalent to solving the following n systems of linear
equations:
AB1 = E1 , AB 2 = E 2 , ......ABn = E n .
Here Bi consists of the unknown variables b1i , b 2i ,....., b ni , for the ith system
ABi =Ei.
To solve each of these systems, we would form the augmented matrix
(A | E i ) and transform it to the reduced row-echelon form. From the last
2. Otherwise, find the first column with a non-zero entry (say a) and
use a row interchange to bring that entry to the top row.
3. Subtract multiples of the top row from the rows below it so that each
entry below the pivot a becomes zero. (This completes the first row. All
subsequent operations are carried out on the rows below it.)
2 0 −1 1 0 0 1 1 − 2 0 1 0
1 1 − 2 0 1 0 R ↔ R 2 0 −1 1 0 0
1 2
0 1 0 0 0 1 0 1 0 0 0 1
1 1 − 2 0 1 0
0 − 2 3 1 − 2 0
R → −2 R + R
2
0 1
1
0 0 0 1
2
1 1 − 2 0 1 0
R ↔ R 0 1
2 3
0 0 0 1
0 − 2 3 1 − 2 0
1 0 − 2 0 1 − 1
R → −R + R 0 1 0 0 0
1 2 1
1
R → 2 R + R 0 0 3 1 − 2 2
3 2 3
1 0 − 2 0 1 −1
1
R → R 0 1 0 0 0 1
3
3 3
0 0 1 1 / 3 − 2 / 3 2 / 3
1 0 0 2 / 3 −1 / 3 1 / 3
0 1 0 0 0 1
R → 2R + R
0 0 1 1 / 3 − 2 / 3 2 / 3
1 3 1
2 / 3 −1/ 3 1/ 3
Hence, A = 0
−1
0 1
1 / 3 − 2 / 3 2 / 3
If A is invertible, its inverse is unique. Therefore, there should be a unique solution to
each of the systems AB1 = E1 ……, ..., ABn = En. This means that when we transform
(A | E i ) into the reduced row-echelon form, A should be transformed into the identity
matrix In, and Ei is transformed into the ith column Bi of the inverse of A.
Remark
A is invertible if and only if the reduced row-echelon form of A is the identity matrix.
Maple command for Elementry row operations
with(LinearAlgebra):
A := < <2,1,0> | <0,1,1> |<-1,-2,0> >;
2 0 -1
A := 1 1 -2
0 1 0
B:=<<1,0,0>|<0,1,0>|<0,0,1>>;
1 0 0
B := 0 1 0
0 0 1
C:=<A|B>;
2 0 -1 1 0 0
C := 1 1 -2 0 1 0
0 1 0 0 0 1
C1 := RowOperation( C,[1,2] );
1 1 -2 0 1 0
C1 := 2 0 -1 1 0 0
0 1 0 0 0 1
C2 := RowOperation( C1,[2,1],-2 );
1 1 -2 0 1 0
C2 := 0 -2 3 1 -2 0
0 1 0 0 0 1
C3 := RowOperation( C2,[2,3] );
1 1 -2 0 1 0
C3 := 0 1 0 0 0 1
0 -2 3 1 -2 0
C4 := RowOperation( C3,3,1/3 );
1 1 -2 0 1 0
0 1 0 0 0 1
C4 :=
-2 1 -2
0 1 0
3 3 3
C5 := RowOperation( C4,[3,2],2/3 );
1 1 -2 0 1 0
0
1 0 0 0 1
C5 :=
1 -2 2
0 0 1
3 3 3
C6 := RowOperation( C5,[1,3],2 );
1 2 -1 4
1 0
3 3 3
C6 := 0 1 0 0 0 1
1 -2 2
0 0 1
3 3 3
C7 := RowOperation( C6,[1,2],-1 );
1 2 -1 1
0 0
3 3 3
C7 := 0 1 0 0 0 1
0 1 -2 2
0 1
3 3 3
2 / 3 −1/ 3 1/ 3
Hence A = 0
−1
0 1
1 / 3 − 2 / 3 2 / 3