Professional Documents
Culture Documents
7 2 PDF
7 2 PDF
Introduction
When we wish to multiply matrices together we have to ensure that the operation is possible
and this is not always so. Also, unlike number arithmetic and algebra even when the product
exists the order of multiplication may have an effect on the result. In this block we pick our
way through the minefield of matrix multiplication.
✛ ✘
✓ understand what is meant by the identity ☞ attempt every guided exercise and most
matrix I of the other exercises
1. Multiplying row matrices and column matrices together
Let A be a 1 × 2 row matrix and B be a 2 × 1 column matrix:
c
A= a b B=
d
The product of these two matrices is written AB and is the 1 × 1 matrix defined by:
c
AB = a b × = [ac + bd]
d
so that corresponding elements are multiplied and the results are then added together. For
example
6
2 −3 × = [12 − 15] = [−3]
5
This matrix product is easily generalised to other row and column matrices. For example if C
is a 1 × 4 row matrix and D is a 4 × 1 column matrix:
3
3
C = 2 −4 3 2 B= −2
The only requirement that we make is the number of elements of the row matrix is the same as
the number of elements of the column matrix.
A B = C
The rule for calculating the elements of C is described in the following keypoint:
ab = 0
implies that either a, or b, or both is zero. The following guided exercise shows that this is not
necessarily true for matrices.
This looks a rather daunting amount of algebra but in fact the construction of the matrix on
the right-hand side is straightforward if we follow the simple rule from the keypoint that the
element in the ith row and j th column of C is obtained by multiplying the ith row of A with the
j th column of B.
For example, to obtain the element in row 2, column 3 of C we take row 2 of A: [d, e, f ] and
multiply it with column 3 of B in the usual way to produce [dt + ew + f z].
By repeating this process we can quickly obtain every element of C.
Answer
Answer
The 3 × 3 unit matrix is:
1 0 0
I= 0 1 0
0 0 1
and as in the 2 × 2 case this has the property that
AI = IA = A
0 0 0
The 3 × 3 zero matrix is 0 0 0 .
0 0 0
2 5
1 2 2
Example Find the product AB if A = and B = 6 1
2 3 4
4 3
Solution
Since A is a 2 × 3 and B is a 3 × 2 matrix the product AB can be found and results in a 2 × 2
matrix.
2 5
1 2 2 6 1 2 2 1
2 5 4 3
1 2 2 22 13
AB =
× 6 1 =
2 3 4 = 38 25
4 3
2 5
2 3 4 6 2 3 4 1
4 3
Key Point
DERIVE can be used to carry out matrix multiplication. Let A and B be the matrices:
1 2 5 6 −2
A= B=
3 4 7 8 −1
To obtain the product AB using DERIVE we would first key in the matrices using Author:Matrix.
Then, choosing the correct number of rows and columns, for A and then for B imput the two
matrices. DERIVE will respond
1 2
#1 :
3 4
5 6 −2
#2 :
7 8 −1
In order to carry out matrix algebra it is advisable to give these matrices names. To do this,
simply go into the Author:Expression menu screen and type A := #1 and then B := #2.
DERIVE will respond:
1 2
#3 : A :=
3 4
5 6 −2
#4 : B :=
7 8 −1
Now to obtain the product simply key in Author:Expression AB =. DERIVE will respond;
19 22 −4
#5 : A · B =
43 50 −10
which is the required product.
Of course DERIVE can be used to multiply ‘algebraic’ matrices together. If you key in
x y i j k
C= D=
r t l m n
and ask for the product CD, DERIVE will respond:
i·x+l·y j·x+m·y k·x+n·y
#6 : C · D =
i·r+l·t j·r+m·t k·r+n·t
It would be a useful exercise to check all the matrix products in this block by using DERIVE.
A (C B)
possible; result 2 × 2
2×3 3×2
Back to the theory