Multiplying matrices
Matrix multiplication uses rows from the first matrix and columns from the second matrix. Each product entry is the sum of the products of matching positions
- Check the dimensions The number of columns in the first matrix must equal the number of rows in the second matrix \(\displaystyle A_{2 \times 2}B_{2 \times 2}\text{ is defined}\)
- Use a row and a column Each product entry uses one row from the first matrix and one column from the second matrix \(\displaystyle (AB)_{11}=\begin{bmatrix}2&3\end{bmatrix}\begin{bmatrix}5\\2\end{bmatrix}\)
- Multiply matching positions Pair the first row entry with the first column entry, then continue in order \(\displaystyle (AB)_{11}=2 \times 5+3 \times 2\)
- Add every product The paired products are added to give one entry of the product matrix \(\displaystyle 2 \times 5+3 \times 2=10+6=16\)
Worked example
Find AB for the two matrices shown below
- \(\displaystyle (AB)_{11}=\begin{bmatrix}2&3\end{bmatrix}\begin{bmatrix}5\\2\end{bmatrix}\)Use row 1 of A with column 1 of B.
- \(\displaystyle (AB)_{11}=2 \times 5+3 \times 2=10+6=16\)Multiply the paired entries and add the two products
- \(\displaystyle (AB)_{12}=2 \times 1+3 \times 6=20,\quad (AB)_{21}=1 \times 5+4 \times 2=13\)Use row 1 with column 2, then row 2 with column 1.
- \(\displaystyle (AB)_{22}=1 \times 1+4 \times 6=25,\quad AB=\begin{bmatrix}16&20\\13&25\end{bmatrix}\)The final entry completes the product matrix
Common mistakes
Difficulty levels
Questions about this topic
How is one entry of a matrix product found?+
Use the matching row of the first matrix and column of the second matrix. Multiply corresponding entries and add all the products
What order does a matrix product have?+
The product has the number of rows of the first matrix and the number of columns of the second matrix, provided the product is defined
Why are the products added?+
Each product represents one matching pair in the row and column. Their sum is the dot product that gives one entry of the matrix product
Can I use a calculator?+
No. This topic is practised without a calculator
Which year level and chapter is this?+
Year 11, VCE Units 1 & 2, General Mathematics, chapter 4: Matrices