Class 12 Maths, Worked in Full Past papersGet updates
Chapter 3 · Matrices

Example 15: AB=OAB=O with A≠OA\ne O⁠, B≠OB\ne O

ExamplesZero matrix as a product of non-zero matrices · Section 3.4.5
The question

Find AB, if

A=[0−102] and B=[3500].A = \begin{bmatrix} 0 & -1 \\ 0 & 2 \end{bmatrix}\ \text{and}\ B = \begin{bmatrix} 3 & 5 \\ 0 & 0 \end{bmatrix}.
Exam answer AB=[0⋅3+(−1)⋅00⋅5+(−1)⋅00⋅3+2⋅00⋅5+2⋅0]\begin{aligned} &AB \\ &= \begin{bmatrix} 0{\cdot}3 + (-1){\cdot}0 & 0{\cdot}5 + (-1){\cdot}0 \\ 0{\cdot}3 + 2{\cdot}0 & 0{\cdot}5 + 2{\cdot}0 \end{bmatrix} \end{aligned}

∴ AB=[0000]=O\therefore\ AB = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix} = O

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

For real numbers, ab=0ab=0 forces a=0a=0 or b=0b=0⁠. For matrices this fails. Every entry of ABAB is a sum of products, and here each product has a zero factor: the first column of AA is zero and the second row of BB is zero, so the only entries of AA that are not zero always meet zeros of BB⁠. Both matrices are non-zero, yet AB=OAB=O⁠.

Given, to find, and the plan
Given
AA and BB⁠, both 2×22\times2⁠, and neither is the zero matrix.
To find
ABAB (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

1Row times column

The (i,k)(i,k) entry of ABAB is cik=ai1b1k+ai2b2kc_{ik}=a_{i1}b_{1k}+a_{i2}b_{2k} for 2×22\times2 matrices. Basics: pair up, multiply, add

2The zero matrix

OO is the matrix all of whose entries are 0; its order is clear from the context. A matrix is non-zero (A≠OA\ne O⁠) if at least one entry is not 0. Lesson: types of matrices

3The zero product rule for numbers

If aa and bb are real numbers and ab=0ab=0⁠, then a=0a=0 or b=0b=0⁠. This example shows the matrix version is false.

Solution

  1. Check the product is defined, and that neither factor is zero

    AA and BB are both 2×22\times2⁠: inner sizes 2=22=2⁠, so ABAB is defined and is 2×22\times2⁠.

    A≠OA\ne O because its (1,2)(1,2) entry is −1≠0-1\ne0⁠. B≠OB\ne O because its (1,1)(1,1) entry is 3≠03\ne0⁠.

    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 address
  2. Compute the four entries of ABAB

    Rows of AA⁠: [0  −1][0\ \ {-1}] and [0  2][0\ \ 2]⁠. Columns of BB⁠: (3,0)(3,0) and (5,0)(5,0)⁠.

    c11=0⋅3+(−1)⋅0=0+0=0c12=0⋅5+(−1)⋅0=0+0=0c21=0⋅3+2⋅0=0+0=0c22=0⋅5+2⋅0=0+0=0\begin{aligned} c_{11} &= 0\cdot 3 + (-1)\cdot 0 = 0 + 0 = 0\\ c_{12} &= 0\cdot 5 + (-1)\cdot 0 = 0 + 0 = 0\\ c_{21} &= 0\cdot 3 + 2\cdot 0 = 0 + 0 = 0\\ c_{22} &= 0\cdot 5 + 2\cdot 0 = 0 + 0 = 0 \end{aligned} AB=[0000]=OAB = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix} = O
    Each sum has two products, and in every one of them a factor is 0. Notice the pattern: the first product always uses ai1a_{i1}⁠, which is 0, and the second always uses b2kb_{2k}⁠, which is 0.
    cik=ai1b1k+ai2b2kc_{ik}=a_{i1}b_{1k}+a_{i2}b_{2k}⁠. Basics: pair up, multiply, add
  3. Why every entry is zero

    For every ii and kk⁠,

    cik=ai1⏟= 0 b1k+ai2 b2k⏟= 0=0.c_{ik} = \underbrace{a_{i1}}_{=\,0}\,b_{1k} + a_{i2}\,\underbrace{b_{2k}}_{=\,0} = 0.

    Column 1 of AA is all zeros, so the first term vanishes. Row 2 of BB is all zeros, so the second term vanishes. Hence AB=OAB=O although A≠OA\ne O and B≠OB\ne O⁠.

    This explains the result instead of just observing it. The second entry of each row of AA is the only non-zero part, and in the product it always meets the second entry of a column of BB⁠, which is always zero. Any matrices with this pattern of zeros, whatever their other entries, would also multiply to OO⁠.
  4. Order still matters: BABA is not zero

    Rows of BB⁠: [3  5][3\ \ 5] and [0  0][0\ \ 0]⁠. Columns of AA⁠: (0,0)(0,0) and (−1,2)(-1,2)⁠. Write BA=[dik]BA=[d_{ik}]⁠:

    d11=3⋅0+5⋅0=0d12=3⋅(−1)+5⋅2=−3+10=7d21=0⋅0+0⋅0=0d22=0⋅(−1)+0⋅2=0\begin{aligned} d_{11} &= 3\cdot 0 + 5\cdot 0 = 0\\ d_{12} &= 3\cdot(-1) + 5\cdot 2 = -3 + 10 = 7\\ d_{21} &= 0\cdot 0 + 0\cdot 0 = 0\\ d_{22} &= 0\cdot(-1) + 0\cdot 2 = 0 \end{aligned} BA=[0700]≠OBA = \begin{bmatrix} 0 & 7 \\ 0 & 0 \end{bmatrix} \ne O
    This is not asked, but it is worth seeing: AB=OAB=O tells us nothing about BABA⁠. In the reverse order the non-zero row of BB meets the non-zero column of AA⁠. It is one more instance of AB≠BAAB\ne BA (compare Example 14).
  5. What this means: no cancelling in matrix equations

    Since AB=OAB=O and also AO=OAO=O⁠, we have AB=AOAB=AO with A≠OA\ne O⁠, yet B≠OB\ne O⁠. So from AB=ACAB=AC we may not conclude B=CB=C just because A≠OA\ne O⁠.

    With numbers, ab=acab=ac and a≠0a\ne0 give b=cb=c by dividing by aa⁠. For matrices, "dividing by AA" needs an inverse matrix, which a non-zero matrix need not have. This AA has none. Suppose some 2×22\times2 matrix XX had XA=IXA=I⁠. Then B=IB=(XA)B=X(AB)=XO=O,\begin{aligned} B &= IB = (XA)B\\ &= X(AB) = XO = O, \end{aligned} which contradicts B≠OB\ne O⁠. So no such XX 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)
Result AB=[0000]=OAB = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix} = O

as in the textbook, although A≠OA\ne O and B≠OB\ne O⁠. If a product of two matrices is the zero matrix, it does not follow that one of them is the zero matrix.

Check it with numbers

Keep the zero pattern but change the other entries: A1A_1 with rows [0  4][0\ \ 4]⁠, [0  −3][0\ \ {-3}] and B1B_1 with rows [7  −2][7\ \ {-2}]⁠, [0  0][0\ \ 0]⁠. Entry (1,1)(1,1) of A1B1A_1B_1 is 0⋅7+4⋅0=00\cdot7+4\cdot0=0⁠, entry (2,2)(2,2) is 0⋅(−2)+(−3)⋅0=00\cdot(-2)+(-3)\cdot0=0⁠, and the other two vanish the same way. So the explanation in Step 3 really does cover every such pair.

Common mistakes
  1. Using the zero product rule for matrices. AB=OAB=O does not give A=OA=O or B=OB=O⁠.
  2. Cancelling a non-zero matrix. AB=ACAB=AC with A≠OA\ne O does not give B=CB=C⁠.
  3. Assuming BA=OBA=O too. Here BABA has a 7 in it (Step 4).
  4. Calling a matrix zero because it "has zeros". AA has two zero entries but is not the zero matrix; OO needs every entry 0.
What to take away
  1. 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.
  2. So the familiar rules "ab=0⇒a=0ab=0\Rightarrow a=0 or b=0b=0" and "cancel a non-zero factor" do not carry over to matrices.
  3. Whenever you want to cancel AA⁠, you need an inverse of AA⁠; a matrix with AB=OAB=O for some B≠OB\ne O has none.

Every fact used, and where it comes from

FactUsed inSource
Zero matrix OOSteps 1 to 3Section 3.3 (vii) (Lesson: types of matrices)
cik=ai1b1k+ai2b2kc_{ik}=a_{i1}b_{1k}+a_{i2}b_{2k}Steps 2 to 4Section 3.4.5, definition of the product (Lesson: matrix multiplication)
Product can be OO with non-zero factorsSteps 3 and 5Section 3.4.5, "Zero matrix as the product of two non zero matrices"
IB=BIB=B⁠, (XA)B=X(AB)(XA)B=X(AB)⁠, XO=OXO=OStep 5Section 3.4.6, identity and associative law (Lesson: properties)
Inverse of a matrixStep 5Section 3.7 (Lesson: invertible matrices)
Found an error, or want more?

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 →