Lecture 3.1: Algebra of Matrix
Lecture 3.1: Algebra of Matrix
Lecture 3.1: Algebra of Matrix
1 4
1 2 3
A , A 2 5
t
4 5 6 3 6
1. ( At )t A
2. (AB)t = BtAt
3. (kA)t = kAt , where k is a scalar.
4. (A+B)t = At + Bt
2. Symmetric Matrix:
A square matrix is symmetric if At = A.
1 2 3 1 2 3
A 2 4 5, A 2 4 5 , At = A
t
0 2 3 0 2 3
A 2 0 4, A 2 0 4, A t A.
t
3 4 0 3 4 0
4. Equality of matrix:
Two matrices are equal, if these of same size and corresponding entries are
equal.
2 1 2 1
A= , B=
3 4 3 4
A and B are equal matrices when these of the same size and
corresponding entries are equal.
Example:1. Write down the system of equation, if matrices A and B are equal
x 2 y 3 1 3 z
A= , B=
x y z 3 z y
Solution: A and B are of the same size, hence
A= B
x 2 1
y 3 3 z
x y z
z3 y
System of equations are
x 3
yz6
x yz 0
y z 3
3.1.2 Addition of matrices:
Matrices of the equal size can be added entry wise.
1 0 2 4 2 8
3 5 4 2 4 1
Solution. We need to add the pairs of entries, and then simplify for the final answer:
1 0 2 4 2 8 1 4 0 2 2 8 5 2 10
3 5 4 2 4 1 3 2 5 4 4 1 5 9 5
5 2 10
5 9 5
5 x 3 2 2 4
3y 2 1 3 5 7
5 3 x 2 2 x 2 2 4
3y 1 2 5 3y 1
7 5 7
Two matrices are equal when their correspoding entries are equal
x+2=4
2y – 1 = 5
x = 4 – 2 =2
3y = 5+1
3y = 6, y = 2
3 6 9
3A 6 3 0
3 3 6
4 1 4 3
1 2 4
A , B 0 1 3 1
2 6 0 2 x 3 2 7 5 2 3 X 4
A x B C
2x3 3x4 2x4
c c c c
AB 11 12 13 14
c21 c22 c23 c24
12 27 30 13
AB =
8 4 26 12
NOTE: AB BA
a b
Consider a 2x2 matrix A =
c d
1 d b
If ad – bc 0, then A-1 =
ad bc c a
a b
Note: Multiple ad bc is called the determinant of matrix A =
c d
3 2
Example: Find inverse of matrix A =
4 5
5 2
A-1= 17 .
4 3
Properties of Inverse
1. A-1A= A A-1 = I
2. If A and B are invertible matrices of the same size , then
AB is also invertible and
(AB)-1 = B-1A-1
1. A0 = I
2. An = A.A.A…A (n-factors), where n>0.
3. n
A-n = A-1 A-1.A-1.A-1....A-1 (n- factors) , where n>0.
4. ArAs = Ar + s
5. (Ar ) s A rs
6. ( A1 )1 A
7. ( An )1 ( A1 )n , n 0,1,2,...
1
8. (kA) 1 A1 , where k is a scalar.
k
1 1 2 7
Solution: (7A)-1 = A
7 1 3
2 7 14 49
A 1 7
1 3 7 21
1 21 49 7 3 7 1 3 7
A ( A1 ) 1
49 7 14 49 1 2 7 1 2
.
2 0
Example:5. Let A be a matrix compute A3, A-3, A2 - 2A + I.
4 1
Solution:
2 0 2 0 4 0
A2 AA
4 1 4 1 12 1
4 0 2 0 8 0
A3 A2 A
12 1 4 1 28 1
1 1 0
A 3 ( A3 ) 1
8 28 8
4 0 4 0 1 0 1 0
A2 2 A I
12 1 8 2 0 1 4 0
cos sin
A=
sin cos
Solution:
ad – bc = cos 2 sin 2 1,
1 cos sin
A 1
1 sin cos
cos sin
A-1 =
sin cos
Lecture 3.3 Inverse by Elementary Matrix
3.3.1 Elementary Matrix
1 0 0
Examples: I 3 0 1 0 is a 3x3 identity matrix.
0 0 1
1 0 0
E1 = 0 1 0 -3R3
0 0 3
1 0 0
E2 = 0 1 0 -2R3+R2
0 1 2
0 0 1
E3 = 0 1 0 R1 R3
1 0 0
NOTE:
When a matrix A is multiplied from the left by an elementary
matrices E, the effect is same as to perform an elementary row
operation on A.
Example: 1.
1 0 2 3
Let A be a 3x4 matrix, A= 2 1 3 6 and
1 4 4 0
E be 3x3 elementary matrix obtained by row operation 3R1+R3 from an
Identity matrix
1 0 0
E = 0 1 0
3 0 1
1 0 0 1 0 2 3 1 0 2 3
EA= 0 1 0 2 1 3 6 = 2 1 3 6 ,3R +R .
1 3
3 0 1 1 4 4 0 4 4 10 9
A I to I A-1
1 4
Example:2. Find inverse of a matrix A = by using Elementary
2 7
matrix method.
7 4
A-1 =
2 1
1 0 3 0 1 0
3 4 1 1 0 0 R1 R2
25 4 0 0 1
10 3 0 1 0
0 4 10 1 3 0 3R1 R2 ,2 R1 R3
0
5 10 0 2 1
1
0 3 0 1 0
0 4 10 1 3 0 R2 R3
0
1 0 1 2 1
1
0 3 0 1 0
(4 R3 R2 )
0 1 0 1 1 1 R2 R3 ,
10
0
0 1 12 107 52
1 0 0 32 1011 56
0 1 0 1 1 1 3R3 R1 , R3
0 0 1 21 107 2
5
I A1
32 11
10
6
5
A1 1 1 1 .
21 7
10
2
5