Lecture 2 of 11 (Chap 5, Matrices)
Lecture 2 of 11 (Chap 5, Matrices)
4.1 Matrices
OBJECTIVES
At the end of the lesson, students should
be able to:
m × n n×p
These numbers must
be equal
ATTENTION !
b1
b
2
R a1 a 2 a3 a n C b3
bn
Find :
2 1
1 2 3 3 4
2 0 5
2 1
Solution
2 1
1 2 3
2 0 5 3 4
2 1
1( 2) 2( 3) 3( 2) 1(1) 2(4) 3(1)
2( 2) 0( 3) 5( 2) 2(1) 0(4) 5(1)
2 12
6 3
Example 2
1 2 3 5
2 5 4
A B 3 2 1 5
1 7 5
5 4 0 7
Find AB.
Solution
7 30 11 43
AB
45 4 10 5
Example 3
1 2 2 1
Let A and B
3 4 3 2
3 2 3 4
2( 1) ( 1)3 2(2) ( 1)4
3( 1) 2(3) 3(2) 2(4)
5 0
3 14
4 5 5 0
≠
18 5 3 14
Thus, AB ≠ BA.
This result prove that the matrix
multiplication is not commutative.
Properties of Matrix Multiplication
• ASSOCIATIVE PROPERTY
A(BC) = (AB)C
• DISTRIBUTIVE PROPERTY
A(B+C) = AB+AC
Transpose Matrix
Definition
2
T
Let B 1 B
then 2 1 313
3 31
1 2 1
1 3 3
T
If D 2 5 4 thenD = 3 5 3
1 3 5
3
4 5
Example 5
1 2 3 4 1 4
Let A , B 2 1 and C 3 2
3 4
Show that
(a) (A + B )T = AT + BT
(b) (BC)T = CTBT
Solution
1 3 2 4 4 6
(a) A + B =
3 2 4 1 = 5
5
4 5
(A + B )T = 6
5
1 3 3 2
AT + BT =
2 4 4 1
= 4 5
6
5
(A + B)T = AT +
BT
3 41 4
b) BC =
2 13 2
312 128
15 20
= =
23 82 5 10
T 15 5
[BC] =
20 10
T T 1 33 2
CB =
4 24 1
312 23
=
128 82
15 5
=
20 10
T T T
[BC] = C B
Properties of transpose
T T T
(A ± B) = A ± B
T T
(A ) = A
T T T T T
(AB) = B A A B
T T
(kA) = kA ,k is a scalar
A Symmetric Matrix
A square matrix,
A = [ aij ]nxn,
1 2 T 1 2
A , A
2 3 2 3
1 a b 1 a b
B a 3 T
c , B a 3 c
b c 2 b c 2
A and B are symmetric
matrices.
Example 7
1 2
Given A . Find AT.
3 4
Hence, prove that AAT is a symmetric
matrix.
Solution
T
T 1 2 1 3
A
3 4 2 4
T
1 2 1 3
AA
3 4 2 4
5 11
11 25
T
5 11
(AA ) =
T T
11 25
5 11
Since AAT = (AAT)T,
11 25 therefore AAT is a
symmetrical matrix
= AA T
A Skew Symmetric Matrix
A square matrix,
A = [ aij ]nxn,
0 2 T 0 2 0 2
A , A 2 0 A
2 0 2 0
0 2 1 0 2 1
B 2 0 T
3 , B 2 0 3
B
1 3 0 1 3 0
b1
b
2
R a1 a 2 a3 a n C b3
bn
3 1 2 1
3 4
A 4 0 B 1 2 and C
2 1 ,
1 1 2 2
8 7 5 5 5 3
10 8 6 (d)
0 2 2
(c)