Use matrix multiplication in an application
In an application product, the shared category is the columns of the first matrix and rows of the second. Each product entry is a row-by-column total, and its labels come from the two outer categories
- Put the shared category inside The shared category must be the columns of the first matrix and the rows of the second matrix \(\displaystyle A_{r\times n}B_{n\times c}\Rightarrow AB\text{ has order }r\times c\)
- Use a row and a column Each product entry pairs one row of the first matrix with one column of the second matrix \(\displaystyle (AB)_{ij}=a_{i1}b_{1j}+a_{i2}b_{2j}+a_{i3}b_{3j}\)
- Add every paired product The products for all shared categories are added to form one entry \(\displaystyle 3\times4+2\times6+4\times3=36\)
- Read the outer labels The product rows keep the row labels of the first matrix and the product columns keep the column labels of the second matrix \(\displaystyle AB:\quad\text{rows from }A,\quad\text{columns from }B\)
- Check meaning as well as dimensions Matching inner dimensions are necessary but not sufficient for a meaningful application. The shared category labels must also be in the same order
- Verify a technology result Record the matrix dimensions and input order. Check a product by a separate row-column sum and check an inverse solution by substitution into the original equation
Worked example
A training centre records the number of sessions completed by two groups in three activities. Matrix A gives the counts, and column matrix B gives the points for one session in each activity. Find the total points for each group
- \(\displaystyle A:2\times3,\quad B:3\times1,\quad AB:2\times1\)The three activities are the shared dimension, so the product is defined and has two rows and one column
- \(\displaystyle (AB)_{11}=2\times6+4\times3+1\times8=12+12+8=32\)The first row gives the three contributions for the first group, which total 32 points
- \(\displaystyle (AB)_{21}=5\times6+1\times3+3\times8=30+3+24=57\)The second row gives the three contributions for the second group, which total 57 points
- \(\displaystyle AB=\begin{bmatrix}32\\57\end{bmatrix}\)The product has one entry for each group, so the totals are 32 and 57 points
Common mistakes
Difficulty levels
Questions about this topic
Why does the quantity matrix go first in this application?+
Its rows identify the quantities being totalled and its columns match the rows of the per-unit value matrix, so the shared category is summed over
What does one entry of an application product represent?+
It is the sum of the paired products for one outer row category and one outer column category
Why is matrix multiplication not treated as entry-by-entry multiplication?+
Each product entry uses a complete row and column, multiplying matching shared categories and adding their contributions
Does a valid inverse button press prove the contextual model is right?+
No. Labels, units, equation order, assumptions and admissible values still need checking. A singular matrix has no inverse, and may describe either no solution or more than one solution
Are all permutation matrices their own inverse?+
No. The inverse is the transpose. A three-cycle returns to the original order after three applications, not two
Can I use a calculator?+
A calculator is allowed unless a question is marked no calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, General Mathematics, chapter 10: Matrices