Matrix multiplication
Multiply a row of the first matrix by a column of the second, then add the products.
Read the lesson: Matrix multiplication
An m × n matrix can multiply an n × p matrix, giving an m × p result. The inner dimensions must match. Matrix multiplication usually does not commute, so AB and BA may differ or only one may be defined.
For a point written as a column vector, a 2 × 2 transformation matrix acts on its left. AQA 8365 calculations are restricted to 2 × 2 or 2 × 1 matrices. Determinants and inverse matrices belong to other mapped courses, not this specification requirement.
Worked example
Multiply [[1,2],[3,4]] by [[2],[−1]].
- First entry: 1 × 2 + 2 × (−1) = 0.
- Second entry: 3 × 2 + 4 × (−1) = 2.
Answer: [[0],[2]]
Read an entry as a row meeting a column
A matrix product represents composition of linear maps. Each entry is a scalar product of one row from the left matrix and one column from the right. Check dimensions first. With column vectors, AB applies B first, then A. Reversing the order changes the transformation even when both products exist.
Calculate one complete product
For and , . The top-left entry is 1·2+2·3=8.
Reverse the order
. On v=(1,0), B then A gives (8,3), while A then B gives (2,3). This demonstrates the order difference geometrically.
A mistake worth checking
Multiplying corresponding entries is not ordinary matrix multiplication. It would fail to reproduce the effect of successive transformations.
If A is 2×3 and B is 3×4, what shape is AB? Does BA exist?
AB is 2×4. BA would require its inner dimensions 4 and 2 to agree, so it does not exist.
Try this before opening the working
For , find C² and explain why C can be nonzero.
Compare your reasoning
Every entry of C² is zero. C sends (x,y) to (y,0); a second application sends that image to zero. A zero square does not imply a zero matrix.
Practise matrix multiplication
Course mapping
These specification references show where the topic occurs. The questions cover only some parts of each topic.
- 8365 · core · 5.1: Matrix multiplication
- 9FM0 · core · Matrices: Matrix multiplication
- 7367 · core · Matrices: Matrix multiplication
- H245 · core · Matrices: Matrix multiplication
- H645 · core · Matrices: Matrix multiplication
- 8FM0 · core · Matrices: Matrix multiplication
- 7366 · core · Matrices: Matrix multiplication
- H235 · core · Matrices: Matrix multiplication
- H635 · core · Matrices: Matrix multiplication
Next practice: Matrix transformations, Determinants and singular matrices.