Defined products and product order
A matrix product is defined only when the inner dimensions match. Once it is defined, the outer dimensions give the order of the product
- Compare the inner numbers The first matrix's column count must equal the second matrix's row count \(\displaystyle A_{2 \times 3}B_{3 \times 4}:\quad 3=3\)
- Use the written order Check the factors from left to right because reversing them changes the inner pair \(\displaystyle AB\text{ and }BA\text{ must be checked separately}\)
- Take the outer numbers When the product is defined, its rows come from the first matrix and its columns come from the second matrix \(\displaystyle A_{2 \times 3}B_{3 \times 4}\text{ has order }2 \times 4\)
- Check before calculating An unequal inner pair means that no product is formed, whatever the entries are \(\displaystyle A_{2 \times 3}C_{2 \times 4}:\quad 3 \ne 2 \Rightarrow AC\text{ is undefined}\)
Worked example
Matrices A and B have orders 2 by 3 and 3 by 4. Decide whether AB is defined and, if it is, give its order
- \(\displaystyle A_{2 \times 3}B_{3 \times 4}\)Write the two matrix orders in the same order as the product
- \(\displaystyle 3=3\)The number of columns of A equals the number of rows of B, so the inner dimensions match
- \(\displaystyle AB\text{ is defined}\)A product is defined when its inner numbers are equal
- \(\displaystyle \operatorname{order}(AB)=2 \times 4\)The outer numbers give 2 rows from A and 4 columns from B
Common mistakes
Difficulty levels
Questions about this topic
What are the inner numbers of a matrix product?+
For AB, they are the number of columns in A and the number of rows in B. These numbers must be equal for AB to be defined
Why is the product order taken from the outer numbers?+
Each row of the first matrix combines with each column of the second matrix. Therefore the product has the first matrix's row count and the second matrix's column count
Can AB be defined while BA is undefined?+
Yes. The two products have different inner pairs because the factors change places, so one product can be defined and the other can be undefined
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