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

Exercise 3.4 · Q1 (MCQ): When are A and B inverses?

Exercise 3.4Invertible matrices · Exercise 3.4
The question

Matrices AA and BB will be inverse of each other only if

  1. AB=BAAB = BA
  2. AB=BA=0AB = BA = 0
  3. AB=0, BA=IAB = 0,\ BA = I
  4. AB=BA=IAB = BA = I
Exam answer

Square matrices AA and BB of the same order are inverses of each other when AB=IAB = I and BA=IBA = I⁠.

Answer: (D) AB=BA=IAB = BA = I

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

The one idea this problem is built on

An inverse "undoes" a matrix, the way 13\frac13 undoes 3 because 3×13=13\times\frac13 = 1⁠. For matrices the role of 1 is played by the identity matrix II⁠, and because matrix products depend on the order, the definition asks for the product to be II in both orders: AB=IAB = I and BA=IBA = I⁠. That is option (D), word for word Definition 6.

Given, to find, and the plan
Given
Two matrices AA and BB⁠, and four candidate conditions.
To find
The condition that must hold whenever AA and BB are inverses of each other.
Plan
(1) Recall Definition 6 and what it requires of the orders. (2) Match it with the options. (3) Show with explicit matrices why each other option fails. (4) Explain why both products are needed.

Basics you need

1The identity matrix

II is the square matrix with 1 on the main diagonal and 0 elsewhere. For any square AA of the same order, AI=IA=AAI = IA = A⁠: it is the matrix version of the number 1. Basics: identity and undo

2Definition of the inverse

If AA is a square matrix of order mm and there is a square matrix BB of the same order with AB=BA=IAB = BA = I⁠, then BB is the inverse of AA⁠, written A−1A^{-1}⁠, and AA is invertible (Definition 6, Section 3.7). Basics: identity and undo

3Products depend on the order

In general AB≠BAAB \ne BA⁠, so a condition on ABAB says nothing by itself about BABA⁠. Basics: pair up, multiply, add

4The zero matrix

OO (printed as 0 in the options) has every entry 0. It is not the identity: II has 1s on its diagonal.

Solution

  1. Recall the definition

    By Definition 6, AA and BB are inverses of each other exactly when they are square matrices of the same order and

    AB=IandBA=I,that isAB=BA=I.AB = I \quad\text{and}\quad BA = I, \qquad\text{that is}\qquad AB = BA = I.

    The definition is symmetric in AA and BB⁠: if BB is the inverse of AA⁠, then AA is the inverse of BB (Note 2 after Definition 6). So "inverse of each other" means precisely AB=BA=IAB = BA = I⁠, which is option (D).

    A multiple choice question about a definition is answered by the definition itself. The phrase "only if" asks for a condition that must hold whenever the matrices are inverses; (D) must hold, because it is what being inverses means.
    Definition 6 and the Note after it, Section 3.7. Lesson: invertible matrices
  2. Why (A) fails: commuting is not enough

    (A) asks only that AB=BAAB = BA⁠. Take the 2×22\times2 matrices A=IA = I and B=2IB = 2I⁠, whose entries are shown below.

    A=[1001],B=[2002].A = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}, \qquad B = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix}.

    Entry by entry, row of the first factor times column of the second:

    (AB)11=1⋅2+0⋅0=2,(AB)12=1⋅0+0⋅2=0,(AB)21=0⋅2+1⋅0=0,(AB)22=0⋅0+1⋅2=2,(BA)11=2⋅1+0⋅0=2,(BA)12=2⋅0+0⋅1=0,(BA)21=0⋅1+2⋅0=0,(BA)22=0⋅0+2⋅1=2.\begin{aligned} (AB)_{11} &= 1\cdot2 + 0\cdot0 = 2,\\ (AB)_{12} &= 1\cdot0 + 0\cdot2 = 0,\\ (AB)_{21} &= 0\cdot2 + 1\cdot0 = 0,\\ (AB)_{22} &= 0\cdot0 + 1\cdot2 = 2,\\ (BA)_{11} &= 2\cdot1 + 0\cdot0 = 2,\\ (BA)_{12} &= 2\cdot0 + 0\cdot1 = 0,\\ (BA)_{21} &= 0\cdot1 + 2\cdot0 = 0,\\ (BA)_{22} &= 0\cdot0 + 2\cdot1 = 2. \end{aligned}

    So

    AB=BA=[2002]≠I.AB = BA = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} \ne I.

    The condition in (A) holds, but AA and BB are not inverses. So (A) is not the condition for being inverses: it is necessary (since AB=BA=IAB = BA = I forces AB=BAAB = BA⁠) but far from enough.

    To show a condition does not characterise inverses, one explicit pair that satisfies it without being inverses is enough. Matrices that commute are common (every matrix commutes with itself), but most pairs of commuting matrices are not inverses.
  3. Why (B) fails: a zero product rules inverses out

    If AB=OAB = O⁠, then AB≠IAB \ne I⁠, because the diagonal entries of OO are 0 while those of II are 1. So no pair satisfying (B) can be a pair of inverses. For instance A=B=OA = B = O satisfies AB=BA=OAB = BA = O⁠, and the zero matrix has no inverse at all, since OX=O≠IOX = O \ne I for every XX⁠.

    Option (B) looks like (D) with II replaced by 0. That replacement turns "undo" into "destroy": multiplying by the inverse should bring you back to II⁠, not to OO⁠.
    For numbers, ab=0ab = 0 can never mean b=1ab = \frac1a⁠; the matrix case is the same, with II in the role of 1.
  4. Why (C) fails: one of the two products is wrong

    (C) demands AB=OAB = O⁠. As in Step 3, that alone already means AB≠IAB \ne I⁠, so AA and BB cannot be inverses, whatever BABA is. (In fact, for square matrices of the same order, BA=IBA = I together with AB=OAB = O can never happen at all, but we do not need that to reject (C).)

    An inverse must work from both sides. Getting II on one side and OO on the other is the opposite of what the definition asks.
  5. Why the definition needs both products, and square matrices

    For rectangular matrices one product can be an identity while the other is not. Take AA of order 2×32\times3 and BB of order 3×23\times2⁠:

    A=[100010],B=[100100].A = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \end{bmatrix}, \qquad B = \begin{bmatrix} 1 & 0 \\ 0 & 1 \\ 0 & 0 \end{bmatrix}.

    ABAB is defined (3 columns of AA⁠, 3 rows of BB⁠) and is 2×22\times2⁠:

    (AB)11=1⋅1+0⋅0+0⋅0=1,(AB)12=1⋅0+0⋅1+0⋅0=0,(AB)21=0⋅1+1⋅0+0⋅0=0,(AB)22=0⋅0+1⋅1+0⋅0=1.\begin{aligned} (AB)_{11} &= 1\cdot1 + 0\cdot0 + 0\cdot0 = 1,\\ (AB)_{12} &= 1\cdot0 + 0\cdot1 + 0\cdot0 = 0,\\ (AB)_{21} &= 0\cdot1 + 1\cdot0 + 0\cdot0 = 0,\\ (AB)_{22} &= 0\cdot0 + 1\cdot1 + 0\cdot0 = 1. \end{aligned}

    So AB=I2AB = I_2⁠, the 2×22\times2 identity.

    BABA is defined (2 columns of BB⁠, 2 rows of AA⁠) and is 3×33\times3⁠. Its (i,j)(i,j) entry is (row ii of BB⁠) times (column jj of AA⁠):

    (BA)11=1⋅1+0⋅0=1,(BA)12=1⋅0+0⋅1=0,(BA)13=1⋅0+0⋅0=0,(BA)21=0⋅1+1⋅0=0,(BA)22=0⋅0+1⋅1=1,(BA)23=0⋅0+1⋅0=0,(BA)31=0⋅1+0⋅0=0,(BA)32=0⋅0+0⋅1=0,(BA)33=0⋅0+0⋅0=0.\begin{aligned} (BA)_{11} &= 1\cdot1 + 0\cdot0 = 1,\\ (BA)_{12} &= 1\cdot0 + 0\cdot1 = 0,\\ (BA)_{13} &= 1\cdot0 + 0\cdot0 = 0,\\ (BA)_{21} &= 0\cdot1 + 1\cdot0 = 0,\\ (BA)_{22} &= 0\cdot0 + 1\cdot1 = 1,\\ (BA)_{23} &= 0\cdot0 + 1\cdot0 = 0,\\ (BA)_{31} &= 0\cdot1 + 0\cdot0 = 0,\\ (BA)_{32} &= 0\cdot0 + 0\cdot1 = 0,\\ (BA)_{33} &= 0\cdot0 + 0\cdot0 = 0. \end{aligned}

    Row 3 of BB is all zeros, which is why row 3 of BABA is all zeros:

    BA=[100010000]≠I3.BA = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0 \end{bmatrix} \ne I_3.

    So AB=IAB = I on its own does not make AA and BB inverses. This is why Definition 6 asks for square matrices of the same order and for both AB=IAB = I and BA=IBA = I⁠, and why a rectangular matrix has no inverse (Note 1 after Definition 6).

    This example shows that the "=BA= BA" part of option (D) is doing real work. (For square matrices of the same order it turns out that either product being II forces the other to be II too, but that needs determinants, from Chapter 4. The definition asks for both.)
    Note 1, Section 3.7: for ABAB and BABA both to be defined and equal, AA and BB must be square of the same order.
Result

AA and BB are inverses of each other exactly when AB=BA=IAB = BA = I⁠. The correct answer is (D). (Textbook answer: D.)

Check it with numbers

The textbook's own example after Definition 6: for the matrices with rows 2,32, 3⁠; 1,21, 2 and rows 2,−32, -3⁠; −1,2-1, 2⁠, the four entries of the first product are 2⋅2+3⋅(−1)=12\cdot2 + 3\cdot(-1) = 1⁠, 2⋅(−3)+3⋅2=02\cdot(-3) + 3\cdot2 = 0⁠, 1⋅2+2⋅(−1)=01\cdot2 + 2\cdot(-1) = 0⁠, 1⋅(−3)+2⋅2=11\cdot(-3) + 2\cdot2 = 1⁠. In the other order the four entries are 2⋅2+(−3)⋅1=12\cdot2 + (-3)\cdot1 = 1⁠, 2⋅3+(−3)⋅2=02\cdot3 + (-3)\cdot2 = 0⁠, (−1)⋅2+2⋅1=0(-1)\cdot2 + 2\cdot1 = 0⁠, (−1)⋅3+2⋅2=1(-1)\cdot3 + 2\cdot2 = 1⁠, so that product is also II⁠. They satisfy (D) and are indeed inverses. The pairs in Steps 2 and 5 satisfy (A) and one half of (D) respectively, and are not inverses.

Common mistakes
  1. Choosing (A) because "inverses commute". Inverses do commute, but commuting matrices need not be inverses (Step 2).
  2. Confusing OO and II⁠. The product of a matrix and its inverse is the identity, not the zero matrix.
  3. Checking only one product. The definition needs AB=IAB = I and BA=IBA = I (Step 5).
What to take away
  1. B=A−1B = A^{-1} means AB=BA=IAB = BA = I⁠, with AA⁠, BB square of the same order.
  2. The identity II plays the role of the number 1; the zero matrix OO plays the role of 0.
  3. If BB is the inverse of AA⁠, then AA is the inverse of BB⁠.

Every fact used, and where it comes from

FactUsed inSource
Identity matrix; AI=IA=AAI = IA = ASteps 1 to 3Section 3.3 (identity matrix), Section 3.4.6 (Lesson: types of matrices)
Definition of inverse: AB=BA=IAB = BA = IStep 1Definition 6, Section 3.7 (Lesson: invertible matrices)
Inverses are mutual; rectangular matrices have no inverseSteps 1, 5Notes 1 and 2 after Definition 6
Entry rule for productsSteps 2, 5; CheckSection 3.4.5 (Lesson: matrix multiplication)
The inverse pair with rows 2,32, 3⁠; 1,21, 2 and 2,−32, -3⁠; −1,2-1, 2CheckExample after Definition 6, Section 3.7
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 →