2 Multiplying two 2 by 2 matrices

If A and B are two matrices then the product A B is obtained by multiplying the rows of A with the columns of B in the manner described above. This will only be possible if the number of elements in the rows of A is the same as the number of elements in the columns of B . In particular, we define the product of two 2 × 2 matrices A and B to be another 2 × 2 matrix C whose elements are calculated according to the following pattern

a b c d × w x y z = a w + b y a x + b z c w + d y c x + d z

A B = C

The rule for calculating the elements of C is described in the following Key Point:

Key Point 4

Matrix Product

A B = C
The element in the i th row and j th column of C is obtained by multiplying the i th row of A with the j th column of B .

We illustrate this construction for the abstract matrices A and B given above:

a b c d × w x y z = a b w y a b x z c d w y c d x z = a w + b y a x + b z c w + d y c x + d z

For example

2 1 3 2 × 2 4 6 1 = 2 1 2 6 2 1 4 1 3 2 2 6 3 2 4 1 = 2 7 6 10

Task!

Find the product A B where A = 1 2 3 4 B = 1 1 2 1

First write down row 1 of A , column 2 of B and form the first element in product A B :

[ 1 , 2 ] and 1 1 ; their product is 1 × ( 1 ) + 2 × 1 = 1. Now repeat the process for row 2 of A , column 1 of B :

[ 3 , 4 ] and 1 2 . Their product is 3 × 1 + 4 × ( 2 ) = 5

Finally find the two other elements of C = A B and hence write down the matrix C :

Row 1 column 1 is 1 × 1 + 2 × ( 2 ) = 3. Row 2 column 2 is 3 × ( 1 ) + 4 × 1 = 1

C = 3 1 5 1

Clearly, matrix multiplication is tricky and not at all ‘natural’. However, it is a very important mathematical procedure with many engineering applications so must be mastered.