Example 15: with ,
Find AB, if
Want the reason behind every step, the basics and the checks?
For real numbers, forces or . For matrices this fails. Every entry of is a sum of products, and here each product has a zero factor: the first column of is zero and the second row of is zero, so the only entries of that are not zero always meet zeros of . Both matrices are non-zero, yet .
- Given
- and , both , and neither is the zero matrix.
- To find
- (and see that it is the zero matrix).
- Plan
- Check the orders, compute all four entries, then explain why every entry vanishes and what that means: no "zero product rule" and no cancelling for matrices.
Basics you need
The entry of is for matrices. Basics: pair up, multiply, add
is the matrix all of whose entries are 0; its order is clear from the context. A matrix is non-zero () if at least one entry is not 0. Lesson: types of matrices
If and are real numbers and , then or . This example shows the matrix version is false.
Solution
Check the product is defined, and that neither factor is zero
and are both : inner sizes , so is defined and is .
because its entry is . because its entry is .
The point of the example is that a zero product can come from non-zero factors, so we first make sure the factors really are non-zero. One non-zero entry is enough for that.Zero matrix, Section 3.3 (vii): all entries are zero. Basics: rows, columns and the addressCompute the four entries of
Rows of : and . Columns of : and .
Each sum has two products, and in every one of them a factor is 0. Notice the pattern: the first product always uses , which is 0, and the second always uses , which is 0.Why every entry is zero
For every and ,
Column 1 of is all zeros, so the first term vanishes. Row 2 of is all zeros, so the second term vanishes. Hence although and .
This explains the result instead of just observing it. The second entry of each row of is the only non-zero part, and in the product it always meets the second entry of a column of , which is always zero. Any matrices with this pattern of zeros, whatever their other entries, would also multiply to .Order still matters: is not zero
Rows of : and . Columns of : and . Write :
This is not asked, but it is worth seeing: tells us nothing about . In the reverse order the non-zero row of meets the non-zero column of . It is one more instance of (compare Example 14).What this means: no cancelling in matrix equations
Since and also , we have with , yet . So from we may not conclude just because .
With numbers, and give by dividing by . For matrices, "dividing by " needs an inverse matrix, which a non-zero matrix need not have. This has none. Suppose some matrix had . Then which contradicts . So no such exists, and there is nothing to "divide by".The identity matrix is defined in Section 3.3 (vi); inverse matrices come in Section 3.7. Basics: identity and undo (inverses)
as in the textbook, although and . If a product of two matrices is the zero matrix, it does not follow that one of them is the zero matrix.
Keep the zero pattern but change the other entries: with rows , and with rows , . Entry of is , entry is , and the other two vanish the same way. So the explanation in Step 3 really does cover every such pair.
- Using the zero product rule for matrices. does not give or .
- Cancelling a non-zero matrix. with does not give .
- Assuming too. Here has a 7 in it (Step 4).
- Calling a matrix zero because it "has zeros". has two zero entries but is not the zero matrix; needs every entry 0.
- Non-zero matrices can multiply to the zero matrix: each entry of the product is a sum, and every term of that sum can contain a zero factor.
- So the familiar rules " or " and "cancel a non-zero factor" do not carry over to matrices.
- Whenever you want to cancel , you need an inverse of ; a matrix with for some has none.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Zero matrix | Steps 1 to 3 | Section 3.3 (vii) (Lesson: types of matrices) |
| Steps 2 to 4 | Section 3.4.5, definition of the product (Lesson: matrix multiplication) | |
| Product can be with non-zero factors | Steps 3 and 5 | Section 3.4.5, "Zero matrix as the product of two non zero matrices" |
| , , | Step 5 | Section 3.4.6, identity and associative law (Lesson: properties) |
| Inverse of a matrix | Step 5 | Section 3.7 (Lesson: invertible matrices) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →