JEE Challenger
More from Matrices

Count 3x3 Matrices with Trace of M Transpose M Equal to 5

Find the total number of 3×33 \times 3 matrices MM whose elements belong to {0,1,2}\{0, 1, 2\} such that the trace (sum of diagonal entries) of MTMM^T M equals 55.

Options

A

126

B

198

Correct
C

162

D

135

Topics & Concepts

Step-by-Step Solution

To find the total number of 3×33 \times 3 matrices MM whose elements belong to the set {0,1,2}\{0, 1, 2\} such that Tr(MTM)=5\text{Tr}(M^T M) = 5, we proceed as follows:

Let M=(aij)3×3M = (a_{ij})_{3 \times 3} where aij∈{0,1,2}a_{ij} \in \{0, 1, 2\} for 1≤i,j≤31 \le i, j \le 3.

The trace of the matrix MTMM^T M is given by the sum of the squares of all the elements of MM: Tr(MTM)=∑i=13∑j=13aij2\text{Tr}(M^T M) = \sum_{i=1}^{3} \sum_{j=1}^{3} a_{ij}^2

Let:

  • x0x_0 be the number of entries in MM equal to 00,
  • x1x_1 be the number of entries in MM equal to 11,
  • x2x_2 be the number of entries in MM equal to 22.

Since MM has 3×3=93 \times 3 = 9 entries, we have: x0+x1+x2=9x_0 + x_1 + x_2 = 9

The condition Tr(MTM)=5\text{Tr}(M^T M) = 5 gives: x0⋅(02)+x1⋅(12)+x2⋅(22)=5x_0 \cdot (0^2) + x_1 \cdot (1^2) + x_2 \cdot (2^2) = 5 x1+4x2=5x_1 + 4x_2 = 5

Since x1x_1 and x2x_2 are non-negative integers, we consider the possible values for x2x_2:

  1. Case 1: x2=1x_2 = 1 x1+4(1)=5  ⟹  x1=1x_1 + 4(1) = 5 \implies x_1 = 1 x0=9−1−1=7x_0 = 9 - 1 - 1 = 7 In this case, the matrix contains one 22, one 11, and seven 00's. The number of such matrices is the number of ways to arrange these entries in 9 positions: N1=9!1!⋅1!⋅7!=9×8=72N_1 = \frac{9!}{1! \cdot 1! \cdot 7!} = 9 \times 8 = 72

  2. Case 2: x2=0x_2 = 0 x1+4(0)=5  ⟹  x1=5x_1 + 4(0) = 5 \implies x_1 = 5 x0=9−5−0=4x_0 = 9 - 5 - 0 = 4 In this case, the matrix contains five 11's and four 00's. The number of such matrices is the number of ways to arrange these entries in 9 positions: N2=9!5!⋅4!=(94)=9×8×7×64×3×2×1=126N_2 = \frac{9!}{5! \cdot 4!} = \binom{9}{4} = \frac{9 \times 8 \times 7 \times 6}{4 \times 3 \times 2 \times 1} = 126

Therefore, the total number of such matrices MM is: Total=N1+N2=72+126=198\text{Total} = N_1 + N_2 = 72 + 126 = 198

Hence, the correct option is B.