Clear Notion Academy

Matrices and Determinants (Beyond Advanced) Practice: Find the number of 2 2 matrices M , with every entry in -1,0,1 , that satisfy MM T =M T M…

Question

Find the number of 2×22\times2 matrices MM, with every entry in {−1,0,1}\{-1,0,1\}, that satisfy MMT=MTMMM^{T}=M^{T}M.

Options

  1. 2727
  2. 3333
  3. 4545
  4. 3636

Answer

Correct option: B

Hint

Write M=[abcd]M=\begin{bmatrix}a&b\\c&d\end{bmatrix} and compare the entries of MMTMM^T and MTMM^TM; each entry gives a condition on b,cb,c and on a,da,d.

Solution

With M=[abcd]M=\begin{bmatrix}a&b\\c&d\end{bmatrix}: MMT=[a2+b2ac+bdac+bdc2+d2]MM^T=\begin{bmatrix}a^2+b^2&ac+bd\\ac+bd&c^2+d^2\end{bmatrix} and MTM=[a2+c2ab+cdab+cdb2+d2]M^TM=\begin{bmatrix}a^2+c^2&ab+cd\\ab+cd&b^2+d^2\end{bmatrix}. Equality needs b2=c2b^2=c^2 and ac+bd=ab+cdac+bd=ab+cd, that is, (b−c)(a−d)=0(b-c)(a-d)=0. Case b=cb=c (symmetric matrices): the second condition then holds automatically, so a,da,d are free: 3⋅3⋅3=273\cdot3\cdot3=27 matrices. Case b=−c≠0b=-c\neq0: b∈{1,−1}b\in\{1,-1\} and then b−c=2b≠0b-c=2b\neq0 forces a=da=d: 2⋅3=62\cdot3=6 matrices (these are of the form aI+bJ0aI+bJ_0 with J0J_0 a quarter turn; they are not symmetric but still commute with their transpose). Total 27+6=3327+6=33. Counting only the symmetric matrices gives the tempting but incomplete 2727. Distractors. 2727 counts only the symmetric matrices; 4545 drops the condition a=da=d in the case b=−c≠0b=-c\neq0; 3636 counts the case b=c=0b=c=0 twice, once as b=cb=c and once as b=−cb=-c.

More questions from Matrices and Determinants (Beyond Advanced) Practice

Practise the full set: Matrices and Determinants — Beyond Advanced