JEE Main 2021 Mathematics question — Matrix multiplication, powers and matrix equations
Let A=010100001. Then the number of 3×3 matrices B with entries from the set {1,2,3,4,5} and satisfying AB=BA is ___.
SOLUTION
The matrix A=010100001 is a permutation matrix that swaps rows 1 and 2 when it left-multiplies a matrix, and swaps columns 1 and 2 when it right-multiplies a matrix.
Let B=b11b21b31b12b22b32b13b23b33. Then AB is obtained by swapping rows 1 and 2 of B: AB=b21b11b31b22b12b32b23b13b33.
And BA is obtained by swapping columns 1 and 2 of B: BA=b12b22b32b11b21b31b13b23b33.
Setting AB=BA, we compare entry by entry:
From position (1,1): b21=b12. From (1,2): b22=b11. From (1,3): b23=b13.
From (2,1): b11=b22 (same as above). From (2,2): b12=b21 (same as above). From (2,3): b13=b23 (same as above).
From (3,1): b31=b32. From (3,2): b32=b31 (same). From (3,3): b33=b33 (always true).
So the independent constraints are: b11=b22, b12=b21, b13=b23, and b31=b32.
The free parameters are: b11 (which determines b22), b12 (which determines b21), b13 (which determines b23), b31 (which determines b32), and b33. That gives 5 free parameters, each taking values from {1,2,3,4,5}.
The total number of such matrices is 55=3125.
Tagged Matrix multiplication, powers and matrix equations. Machine-assigned, so read it as a strong shortlist rather than a verdict.