1 Multiplying row matrices and column matrices together

Let A be a 1 × 2 row matrix and B be a 2 × 1 column matrix:

A = a b B = c d

The product of these two matrices is written A B and is the 1 × 1 matrix defined by:

A B = a b × c d = [ a c + b d ]

Note that corresponding elements are multiplied together and the results are then added together. For example

2 3 × 6 5 = [ 12 15 ] = [ 3 ]

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:

C = 2 4 3 2 B = 3 3 2 5

then we define the product of C with D as

C D = 2 4 3 2 × 3 3 2 5 = [ 6 12 6 + 10 ] = [ 2 ]

The only requirement is that the number of elements of the row matrix is the same as the number of elements of the column matrix.