Skip to content

Business Mathematics and Statistics · Ch 2 — Matrices

Multiplication of Matrices

4

Multiplication of Matrices

Conformability for multiplication

Two matrices AA (order m×nm\times n) and BB (order p×qp\times q) can be multiplied, as ABAB, only if n=pn=p — i.e. the number of COLUMNS of AA equals the number of ROWS of BB. The product ABAB then has order m×qm\times q. For example, a 2×32\times3 matrix can be multiplied by a 3×23\times2 matrix (giving a 2×22\times2 product), but not by another 2×32\times3 matrix.

The row-by-column rule

Each element of ABAB is found by taking a ROW of AA and a COLUMN of BB, multiplying corresponding entries together, and adding the results. For 2×22\times2 matrices,

AB=(a11a12a21a22)(b11b12b21b22)=(a11b11+a12b21a11b12+a12b22a21b11+a22b21a21b12+a22b22)AB=\begin{pmatrix}a_{11}&a_{12}\\a_{21}&a_{22}\end{pmatrix}\begin{pmatrix}b_{11}&b_{12}\\b_{21}&b_{22}\end{pmatrix}=\begin{pmatrix}a_{11}b_{11}+a_{12}b_{21}&a_{11}b_{12}+a_{12}b_{22}\\a_{21}b_{11}+a_{22}b_{21}&a_{21}b_{12}+a_{22}b_{22}\end{pmatrix}

The element in row ii, column jj of ABAB always comes from ROW ii of AA combined with COLUMN jj of BB.

Multiplication is NOT commutative

Unlike ordinary numbers, matrix multiplication generally does not commute: ABAB and BABA are usually DIFFERENT matrices — and one product may not even be defined when the other is (e.g. for a 2×32\times3 matrix times a 3×23\times2 matrix, ABAB and BABA are both defined but have different orders, 2×22\times2 and 3×33\times3 respectively, so they cannot possibly be equal).

Note

Order matters

Always read a matrix product left to right exactly as written. Reversing the order generally gives a completely different result, not the same answer written differently.

The identity matrix under multiplication

For any square matrix AA and the identity matrix II of the same order, AI=IA=AAI=IA=A — multiplying by the identity matrix, in either order, always leaves a matrix unchanged. This is the one case where the order of multiplication makes no difference. …

Definition 1Product of Two Matrices (AB)

For conformable matrices A and B, each element of AB is found using the row-by-column rule: multiply corresponding entries of a row of A and …

Definition 2Non-Commutativity

In general, AB ≠ BA for matrices — the order of multiplication changes the result, unlike ordinary num …