Clear Notion Academy

Matrices and Determinants (Beyond Advanced) Practice: Let J be the 3 3 matrix all of whose entries equal 1 . Find the number of 3 3 matrices X…

Question

Let JJ be the 3×33\times3 matrix all of whose entries equal 11. Find the number of 3×33\times3 matrices XX, every entry of which is 00 or 11, that satisfy XJ=JXXJ=JX.

Answer

Answer: 14

Hint

Compute what multiplying by JJ on each side does to the entries: one side sees row sums, the other sees column sums.

Solution

Every entry of the ii-th row of XJXJ equals the sum rir_i of the entries of row ii of XX, because (XJ)ij=∑kxik⋅1(XJ)_{ij}=\sum_k x_{ik}\cdot 1. Every entry of the jj-th column of JXJX equals the sum cjc_j of column jj of XX, because (JX)ij=∑k1⋅xkj(JX)_{ij}=\sum_k 1\cdot x_{kj}. So XJ=JXXJ=JX holds exactly when ri=cjr_i=c_j for every pair i,ji,j, that is, when all three row sums and all three column sums equal one common value s∈{0,1,2,3}s\in\{0,1,2,3\}. s=0s=0: only the zero matrix, 11 matrix. s=3s=3: only the all-ones matrix, 11 matrix. s=1s=1: exactly one 11 in every row and column, the 3!=63!=6 permutation matrices. s=2s=2: exactly one 00 in every row and column, the complements of the permutation matrices, again 66 matrices. Total =1+6+6+1=14=1+6+6+1=14. The tempting guess that XX must itself be a multiple of JJ or a circulant gives far fewer (circulants alone would be only 88), and misses the permutation matrices that do not commute with a general matrix but do commute with JJ.

More questions from Matrices and Determinants (Beyond Advanced) Practice

Practise the full set: Matrices and Determinants — Beyond Advanced