Professional Documents
Culture Documents
(Lecture 9)
Definition
The addition/subtraction of two matrices of the same size is the
matrix with elements that are the addition/subtraction of the
corresponding elements of the two given matrices. That is to say,
if A = (aij )mn and B = (bij )mn , then
Definition
The scalar multiplication of a matrix A by a real number k,
denoted by kA, is a matrix formed by multiplying each element of
A by k. That is to say, if A = (aij )mn then
kA = (kaij )mn
Example
x1
3 5 4 x2 = 3x1 + 5x2 + 4x3 .
x3
Example
Find the value for a21 from the product of the following two
matrices A and B:
2 1 0
1 2 3
A= , B= 0 1 2
0 1 1
1 0 4
Solution
1. Check whether AB is well defined: A is a 2-by-3 matrix and B
is a 3-by-3 matrix, well-defined.
2. Find aij by using the product of the ith-row from the first
matrix and the j-th column from the second matrix.
2
2nd row from A : 0 1 1 , 1st column from B : 0
1
a21 = 0 2 + 1 0 + 1 (1) = 1.
a b A B Aa + Cb Ba + Db
(a) =
c d C D Ac + Cd Bc + Dd
2 6 1 2 20 40
(b) =
1 3 3 6 10 20
1 2 2 6 0 0
(c) =
3 6 1 3 0 0
2 1 4 1 2 2
(d) 1 0 1 1 0 1 = 1 1 0 1
2 1 2 0
1 0 1 1 0 1
2 1
1 1 0 1
(e) 1 0 not defined!
2 1 2 0
1 0
5
(f) 2 3 0 2 = 16
2
5 10 15 0
(g) 2 2 3 0 = 4 6 0
2 4 6 0