Professional Documents
Culture Documents
Chapter 4 Lecture 1 of 5
Chapter 4 Lecture 1 of 5
Chapter 4 Lecture 1 of 5
Find
a) the elements of a12 and a 33 for matrix A.
b) the order of matrix A.
c) the values of x and y if A=B.
Solution
8 2 1 8 2 1
A 6 4 7 , B 2x 4 y
9 1 6 9 1 6
a) a12 2 , a33 6
b) the order of matrix A is 3 3
c) A B
2x 6
x3
y7
b) Perform operations on matrices
2 2 5
7 13 10
12 13 15
1 2 3 1 0 2
b) A B 4 5 6 3 8 4
7 8 9 5 5 6
0 2 1
1 3 2
2 3 3
c ) A C not defined because matrix A and
matrix C are different order.
Scalar multiplication of matrices
When matrix is multiplied by a scalar, then
every element in the matrix is multiplied by
the same scalar.
Example 3
1 2 3 1 0 2
Given A 4 5 6 and B 3 8 4 .
7 8 9 5 5 6
Find
a) 3 A
b) 2 A 3B
Solution
1 2 3
a) 3 A 3 4 5 6
7 8 9
3 6 9
12 15 18
21 24 27
1 2 3 1 0 2
b) 2 A 3B 2 4 5 6 3 3 8 4
7 8 9 5 5 6
2 4 6 3 0 6
8 10 12 9 24 12
14 16 18 15 15 18
1 4 0
1 14 0
1 0
1
Multiplication of Matrices
AB a1b1 a2 b2 an bn
Note : In general AB BA
Example 4
1
Given A 1 2 1 , B 1 and
0
2 1
C .
0 1
Find
a) AB
b) BA
c) BC
Solution
1
a) AB 1 2 1 1
0
1 1 2 (1) 1 0
1
1
b) BA 1 1 2 1
0
11 1 2 11
11 1 2 1 1
0 1 02 0 1
1 2 1
1 2 1
0 0
0
c) BC is not defined because B is of order 3x1
and C is of order 2x2.
Example 5
1 0 2 1 2 0
Given A 2 1 3 and B 2 0 3 .
3 1 0 3 5 1
Find
a) AB
b) BA
Solution
1 0 2 1 2 0
a) AB 2 1 3 2 0 3
3 1 0 3 5 1
1 0 6 2 0 10 0 0 2
2 2 9 4 0 15 0 3 3
3 2 0 600 0 3 0
5 12 2
9 19 6
5 6 3
1 2 0 1 0 2
b) BA 2 0 3 2 1 3
3 5 1 3 1 0
1 4 0 0 2 0 2 6 0
209 003 400
3 10 3 0 5 1 6 15 0
3 2 4
11 3 4
16 4 21