JEE Advanced Maths

JEE Advanced Maths · Matrices & Determinants

Is (AB)⁻¹ = A⁻¹B⁻¹? Do matrices multiply like numbers?

No. Matrices do not commute: ABBAAB \ne BA in general, so every rule that quietly assumed order did not matter has to be rewritten. The inverse of a product reverses the order: (AB)1=B1A1(AB)^{-1} = B^{-1}A^{-1}, not A1B1A^{-1}B^{-1}. Multiply it out to see why: (AB)(B1A1)=A(BB1)A1=AA1=I(AB)(B^{-1}A^{-1}) = A(BB^{-1})A^{-1} = AA^{-1} = I, whereas (AB)(A1B1)=ABA1B1(AB)(A^{-1}B^{-1}) = ABA^{-1}B^{-1} leaves AA and A1A^{-1} stranded either side of BB.

The transpose reverses for the same reason ((AB)T=BTAT(AB)^{T} = B^{T}A^{T}), and the binomial square keeps both cross terms: (A+B)2=A2+AB+BA+B2(A+B)^2 = A^2 + AB + BA + B^2, never A2+2AB+B2A^2 + 2AB + B^2. The clean statement to hold is: for matrices, order matters — reverse it on an inverse or transpose, and never merge ABAB with BABA. JEE Advanced punishes the scalar instinct through inverse-order identities (2021 Paper 1 Q14), matrix powers (2022 Paper 2 Q16), and commutation-constraint counting (2025 Paper 1 Q4, 2025 Paper 2 Q5).

Ready to fix this? The Matrices & Determinants lesson works through this misconception and the others in Matrices & Determinants, one altitude at a time.

How to spot it in your own work

  • You wrote "(AB)1=A1B1(AB)^{-1} = A^{-1}B^{-1}" — inverting each factor without reversing the order.
  • You assumed AB=BAAB = BA, treating matrix multiplication as if it commuted.
  • You wrote "(A+B)2=A2+2AB+B2(A+B)^2 = A^2 + 2AB + B^2", merging the two cross terms into 2AB2AB.
  • You treated a condition like PQ=QPPQ = QP as automatic, so it carried no information.

An exam question that triggers it

Here is a question that tests this misconception head-on, in the spirit of JEE Advanced 2021 Paper 1 Q14:

AA and BB are invertible matrices. A classmate writes (AB)1=A1B1(AB)^{-1} = A^{-1}B^{-1}. Multiply ABAB by that candidate. Do you get II?

The misconception reasons "invert each factor, same as numbers." The correct move is to multiply it out and watch the middle. Keeping the order fixed (no swapping, because matrices do not commute):

(AB)(A1B1)=ABA1B1.(AB)(A^{-1}B^{-1}) = A\,B\,A^{-1}\,B^{-1}.

The A1A^{-1} cannot reach back to cancel AA BB sits between them, and you cannot slide it out of the way. So this is not II. Now reverse the candidate:

(AB)(B1A1)=A(BB1)A1=AIA1=AA1=I.(AB)(B^{-1}A^{-1}) = A\,(B\,B^{-1})\,A^{-1} = A\,I\,A^{-1} = AA^{-1} = I.

The inner pair cancels first, then the outer pair, giving (AB)1=B1A1(AB)^{-1} = B^{-1}A^{-1} — the order reversed, not left in place.

Why students fall for this

For 1×11 \times 1 matrices — ordinary numbers — multiplication commutes, the inverse of a product is the product of the inverses, and (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2. Students absorb these as "multiplication rules" and carry them wholesale into matrices, where the steps look identical. The seductive part is that the algebra is formally the same right up until the moment two factors need to commute — and matrices refuse.

Wawro et al. (2014) and Aydın (2014), studying linear-algebra reasoning, find that over-transferring scalar commutativity to matrix products — AB=BAAB = BA, (AB)1=A1B1(AB)^{-1} = A^{-1}B^{-1}, (A+B)2=A2+2AB+B2(A+B)^2 = A^2 + 2AB + B^2 — is among the most persistent misconceptions. Being told "matrices don't commute" rarely dislodges it. What dislodges it is multiplying ABAB by the claimed inverse and watching the inner factors fail to meet, then reversing the order and watching the cancellation succeed — and meeting a concrete pair with ABBAAB \ne BA by hand.

The fix: For matrices, order matters

Matrices do not commute: ABBAAB \ne BA in general. So the inverse and transpose of a product reverse the order: (AB)1=B1A1(AB)^{-1} = B^{-1}A^{-1} and (AB)T=BTAT(AB)^{T} = B^{T}A^{T}. The reversal is forced — it is the only arrangement that lets each factor sit next to its own inverse, so the cancellation nests from the inside out.

The same non-commutativity reshapes the binomial square. Expanding (A+B)(A+B)(A+B)(A+B) in order gives A2+AB+BA+B2A^2 + AB + BA + B^2, and since ABBAAB \ne BA the cross terms cannot collapse into 2AB2AB. And a condition like PQ=QPPQ = QP is a genuine restriction, not a free identity: it selects the special matrices that commute with PP, which is why JEE examiners impose it to cut down a count.

Worked example

Multiply ABAB by each inverse candidate, keeping the order fixed.

  1. The student's rule. Test (AB)(A1B1)=ABA1B1(AB)(A^{-1}B^{-1}) = A\,B\,A^{-1}\,B^{-1}. The neighbours are ABA\text{–}B, BA1B\text{–}A^{-1}, A1B1A^{-1}\text{–}B^{-1} — none of those pairs are inverses of each other, so nothing cancels.
  2. Why it jams. For A1A^{-1} to cancel AA they must be adjacent, but BB blocks them and you cannot commute it past (BA1A1BBA^{-1} \ne A^{-1}B). The product is not II.
  3. Reverse the order.
    (AB)(B1A1)=A(BB1)A1=AIA1=AA1=I.(AB)(B^{-1}A^{-1}) = A\,(B\,B^{-1})\,A^{-1} = A\,I\,A^{-1} = AA^{-1} = I.
    The inner pair B,B1B, B^{-1} meet first, then the outer pair A,A1A, A^{-1} — socks off, then shoes.
  4. Conclude. (AB)1=B1A1(AB)^{-1} = B^{-1}A^{-1}, order reversed; the transpose does the same, (AB)T=BTAT(AB)^{T} = B^{T}A^{T}.

Now break commutativity by hand. Take A=(1101)A = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} and B=(1011)B = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}. Then

AB=(2111),BA=(1112),AB = \begin{pmatrix} 2 & 1 \\ 1 & 1 \end{pmatrix}, \qquad BA = \begin{pmatrix} 1 & 1 \\ 1 & 2 \end{pmatrix},

so ABBAAB \ne BA. Because the order changes the answer, (A+B)2=A2+AB+BA+B2(A+B)^2 = A^2 + AB + BA + B^2, and the cross terms ABAB and BABA cannot merge into 2AB2AB — here AB+BA=(3223)AB + BA = \begin{pmatrix} 3 & 2 \\ 2 & 3 \end{pmatrix} while 2AB=(4222)2AB = \begin{pmatrix} 4 & 2 \\ 2 & 2 \end{pmatrix}, which are not equal.

Find out if this is costing you marks

The 10-minute diagnostic checks for this pattern (and four others) using AQA-style GCSE Higher items. Free, no signup, anonymous.

Common questions

Why does (AB)1(AB)^{-1} reverse to B1A1B^{-1}A^{-1} rather than A1B1A^{-1}B^{-1}?

Because cancellation needs each factor adjacent to its own inverse. With B1A1B^{-1}A^{-1} the product (AB)(B1A1)(AB)(B^{-1}A^{-1}) nests as A(BB1)A1=AA1=IA(BB^{-1})A^{-1} = AA^{-1} = I — inner pair first, then outer. With A1B1A^{-1}B^{-1} the A1A^{-1} is blocked by BB and cannot reach AA, so it never reduces to II. The reversal is the only order that works.

Do matrices ever commute?

Sometimes — a matrix commutes with itself, with the identity, and with its own powers and inverse, and certain special families commute. But in general ABBAAB \ne BA, as A=(1101)A = \begin{pmatrix}1&1\\0&1\end{pmatrix}, B=(1011)B = \begin{pmatrix}1&0\\1&1\end{pmatrix} show. That is exactly why a stated condition PQ=QPPQ = QP is informative: it is true only for the special matrices that happen to commute with PP.

Is the transpose of a product also reversed?

Yes. (AB)T=BTAT(AB)^{T} = B^{T}A^{T}, the same order reversal as the inverse, and for the same structural reason. So (ABC)T=CTBTAT(ABC)^{T} = C^{T}B^{T}A^{T} and (ABC)1=C1B1A1(ABC)^{-1} = C^{-1}B^{-1}A^{-1} — reverse the whole chain.

How does this trap show up in counting questions?

JEE Advanced 2025 Paper 1 Q4 asks how many 3×33\times3 invertible integer matrices QQ satisfy Q1=QTQ^{-1} = Q^{T} and PQ=QPPQ = QP. The integer orthogonal matrices are the 48 signed permutation matrices, but the commutation constraint PQ=QPPQ = QP is a real filter — it cuts the count to 16. If you treated PQ=QPPQ = QP as automatic you would have kept all 48 and missed the answer.

Related misconceptions

← All GCSE Maths Higher misconceptions

Is (AB)⁻¹ = A⁻¹B⁻¹? Matrices do not commute in JEE Advanced | JEE Advanced Maths