QlarIITy

MathematicsJEE Main 2021 · 22 JulyInteger

Let A=[010100001]A = \begin{bmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{bmatrix}. Then the number of 3×33 \times 3 matrices BB with entries from the set {1,2,3,4,5}\{1, 2, 3, 4, 5\} and satisfying AB=BAAB = BA is ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A matrix that interchanges two rows of the identity interchanges rows on the left and columns on the right.

Concept refresher. If AA is the identity with its first two rows interchanged, then ABAB is BB with its first two rows interchanged and BABA is BB with its first two columns interchanged:

(AB)1j=b2j(AB)_{1j} = b_{2j}

and (BA)i1=bi2(BA)_{i1} = b_{i2}.

Picture the situation. The matrix AA is the identity with its first two rows interchanged. So ABAB is BB with its first two rows interchanged, and BABA is BB with its first two columns interchanged. The condition AB=BAAB = BA says these two rearrangements of BB coincide.

Approach. Write both products as rearrangements of the unknown matrix, compare entries, and count the free ones.

  1. Step 1: The two products

    The matrix ABAB has rows (b21,b22,b23)(b_{21}, b_{22}, b_{23}), (b11,b12,b13)(b_{11}, b_{12}, b_{13}), (b31,b32,b33)(b_{31}, b_{32}, b_{33}), and BABA has rows (b12,b11,b13)(b_{12}, b_{11}, b_{13}), (b22,b21,b23)(b_{22}, b_{21}, b_{23}), (b32,b31,b33)(b_{32}, b_{31}, b_{33}).

  2. Step 2: The conditions

    Comparing entries gives b11=b22b_{11} = b_{22}, b12=b21b_{12} = b_{21}, b13=b23b_{13} = b_{23} and b31=b32b_{31} = b_{32}, with b33b_{33} free. So BB has rows (p,q,r)(p, q, r), (q,p,r)(q, p, r) and (s,s,t)(s, s, t).

  3. Step 3: The count

    The five numbers pp, qq, rr, ss, tt are chosen independently from 5 values, which gives 55=31255^5 = 3125 matrices.

Answer. 3125

Sanity check. Without the condition there would be 595^9 matrices; the four equalities remove four of the nine free choices.

Common wrong answers

  • 15625: Counting all symmetric matrices gives 56=156255^6 = 15625; commuting with AA is a different condition.

Key takeaway

The trap. Commuting with a symmetric matrix does not make a matrix symmetric.

How toppers think. They describe the products by what they do to rows and columns, without multiplying.

Remember. AB=BAAB = BA

More on Matrix Operations