Matrix multiplication is the single operation that makes matrices powerful. It is not element-by-element — it follows a "row times column" rule that, at first sight, looks arbitrary, but encodes exactly the right thing: the composition of linear maps. Multiplying the matrices of two transformations gives the matrix of "do one, then the other". With that one idea, geometry, simultaneous equations and iterated processes all collapse into algebra. The price is that matrix multiplication behaves differently from ordinary multiplication: it is not commutative, it has zero divisors, and you cannot cancel freely. This lesson develops the rule, the algebra, and the exam technique around all three surprises. By the end you should be able to multiply 2×2 and 3×3 matrices fluently, decide when a product is defined, compute powers, prove a power formula by induction, and explain each of the three "anomalies" with a worked counter-example — the exact skill set the examiners test.
1. Where this sits in AQA 7367
Matrix multiplication is compulsory pure content for Papers 1 and 2. It is heavily AO1 (carry out the multiplication accurately) but the non-commutativity, the zero-product property and proof-by-induction conjectures for An are squarely AO2 (reason and communicate). Multiplication is the engine for everything downstream: determinants (det(AB)=detAdetB), inverses (AA−1=I), linear transformations (composition = product), solving systems (Ax=b), and diagonalisation (An=PDnP−1). Fluency here pays off in every later lesson.
2. Core theory: the multiplication rule
To multiply matrices A (order m×n) and B (order n×p):
the number of columns of A must equal the number of rows of B (the "inner" dimensions match);
the product AB has order m×p (the "outer" dimensions);
the entry in row i, column j of AB is the dot product of row i of A with column j of B:
(AB)ij=k=1∑naikbkj.
A useful slogan: inner dimensions must agree; outer dimensions give the answer's size. So a 2×3 times a 3×4 gives a 2×4, but a 2×3 times a 2×3 is undefined.
For the 2×2 case, written out in full:
(acbd)(egfh)=(ae+bgce+dgaf+bhcf+dh).
Read each output entry as "row from the left, column from the right": top-left is (row 1)·(col 1) =ae+bg; top-right is (row 1)·(col 2) =af+bh; and so on.
Worked Example 1 — a 2×2 product (with mark scheme)
Mark scheme: M1 for a correct method seen on at least one entry (clear row·column dot product); A1 for two correct entries; A1 for the fully correct product. Showing the four dot products explicitly secures the M1 even if one arithmetic slip costs an A1.
Worked Example 2 — a 3×3 product (with mark scheme)
102210031103012210.
Take row 1 of the left, (1,2,0), dotted with each column of the right: 1⋅1+2⋅0+0⋅3=1; 1⋅0+2⋅1+0⋅2=2; 1⋅2+2⋅1+0⋅0=4. Row 2 (0,1,3): 0+0+9=9; 0+1+6=7; 0+1+0=1. Row 3 (2,0,1): 2+0+3=5; 0+0+2=2; 4+0+0=4. Hence
=195272414.
Mark scheme: M1 for correct row·column method on at least one row; A1 for any one fully correct row; A1 for a second correct row; A1 for the complete matrix. Laying the work out row-by-row, as above, makes the method marks unambiguous.
3. Matrix multiplication is NOT commutative
In general, AB=BA — and frequently one of them is not even defined. This is the deepest difference from ordinary numbers.
Counter-example. Let A=(1021) and B=(0110). Then
Since (2110)=(0112), we have AB=BA. Geometrically this is obvious: a shear followed by a swap of axes is not the same as a swap followed by a shear. Two matrices that do satisfy AB=BA are called commuting — for instance any matrix commutes with I, with the zero matrix, and with its own powers; diagonal matrices commute with one another.
There is an even sharper way non-commutativity shows up. For numbers, (a+b)2=a2+2ab+b2. For matrices,
(A+B)2=(A+B)(A+B)=A2+AB+BA+B2,
and the middle two terms collapse to 2ABonly if A and B commute. In general AB+BA=2AB, so the familiar binomial expansion silently fails — a classic source of lost marks. Always expand a bracketed matrix square the long way unless you have proved the factors commute.
Exam Tip: Never silently swap the order of a matrix product. Where a question asks for AB, compute AB, not BA. The order is examined precisely because it is a common slip.
4. Specimen-style exam question
(Specimen-style — not a real past paper.) The matrices A=(21−13) and B=(140−2) are given.
(a) Find AB and BA. (b) Hence verify that AB−BA has trace 0. (5 marks)
Both bracketings give (6252), confirming associativity — and showing you may always choose the easier order to compute.
Multiplying a matrix by a vector
A matrix times a column vector returns a column vector — the foundation of linear transformations:
(acbd)(xy)=(ax+bycx+dy).
Because (acbd)(10)=(ac) and (acbd)(01)=(bd), the columns of the matrix are precisely the images of the basis vectors — the key idea of the transformation lessons.
A worked instance: (23−14)(52)=(2⋅5+(−1)⋅23⋅5+4⋅2)=(823). The vector (52) is sent to (823) — this is exactly how a transformation moves a point.
Non-square products
Multiplication is not confined to square matrices. A 2×3 times a 3×1 gives a 2×1: