·
a
b
c
d
x
y
z
AC
i
Randomize
How to multiply two 3×3 matrices
The product of two 3×3 matrices A and B is a 3×3 matrix C. The entry in row i and column j of C is the dot product of row i of A with column j of B:
cᵢⱼ = aᵢ₁·b₁ⱼ + aᵢ₂·b₂ⱼ + aᵢ₃·b₃ⱼ
There are nine entries and each needs three multiplications and two additions, so a full 3×3 product is 27 multiplications and 18 additions. The work is simple but easy to get wrong by one slip, which is why it helps to see every entry written out.
Worked example
Let A have rows (1, 0, 2), (−1, 3, 1) and (2, 1, 0). Let B have rows (3, 1, 0), (2, 1, 4) and (1, 0, 2). The columns of B are (3, 2, 1), (1, 1, 0) and (0, 4, 2).
First row of the product: 1·3 + 0·2 + 2·1 = 5, then 1·1 + 0·1 + 2·0 = 1, then 1·0 + 0·4 + 2·2 = 4.
Second row: −1·3 + 3·2 + 1·1 = 4, then −1·1 + 3·1 + 1·0 = 2, then −1·0 + 3·4 + 1·2 = 14.
Third row: 2·3 + 1·2 + 0·1 = 8, then 2·1 + 1·1 + 0·0 = 3, then 2·0 + 1·4 + 0·2 = 4.
The product AB has rows (5, 1, 4), (4, 2, 14) and (8, 3, 4).
Tips for multiplying by hand
Work one row of the result at a time: keep a finger on one row of A and move across the columns of B. Zeros save work, since any term with a zero factor can be skipped.
Remember that AB and BA are usually different, so keep the matrices in the order the problem gives them. Multiplication is still associative, (AB)C = A(BC), and it distributes over addition.
The calculator above is set to two 3×3 matrices and writes out all nine dot products. Entries can be integers, decimals, fractions, complex numbers or variables.