Skip to content

Business Mathematics and Statistics · Ch 1 — Matrices and Determinants

Multiplication of Matrices

3

Multiplication of Matrices

Matrix multiplication models a very natural business operation: combining a quantity matrix with a price/rate matrix to produce a total matrix (as in the worked revenue example below), so it is worth understanding the mechanics precisely.

The Conformability Rule

Two matrices AA (order m×nm\times n) and BB (order p×qp\times q) can be multiplied, in the order ABAB, only if the number of columns of AA equals the number of rows of BB, i.e. n=pn=p. The product ABAB then has order m×qm\times q — the "outer" dimensions.

How to Multiply

Each element of ABAB is obtained by multiplying a row of AA with a column of BB, entry by entry, and adding:

(AB)ij=∑kaik bkj(AB)_{ij} = \sum_{k} a_{ik}\,b_{kj}

that is, the element in row ii, column jj of ABAB is the sum of the products of the ii-th row of AA with the jj-th column of BB.

For 2×22\times 2 matrices A=(abcd)A=\begin{pmatrix}a&b\\c&d\end{pmatrix} and B=(efgh)B=\begin{pmatrix}e&f\\g&h\end{pmatrix}:

AB=(ae+bgaf+bhce+dgcf+dh)AB=\begin{pmatrix}ae+bg & af+bh \\ ce+dg & cf+dh\end{pmatrix}

The same row-into-column pattern extends to 3×33\times 3 matrices, with three terms summed in each entry instead of two.

Non-Commutativity …

Definition 1Conformability for Multiplication

Matrices Am×nA_{m\times n} and Bp×qB_{p\times q} can be multiplied as ABAB only when n=pn=p; the product ABAB ha …

Definition 2Matrix Product Rule

The (i,j)(i,j) element of ABAB is the sum of the products of the corresponding entries of the ii-th row of AA and the …

Definition 3Non-Commutativity

In general AB≠BAAB \ne BA for matrices; equality must be verified case by case, …