Question
Mathematics Question on Matrices
Let S be the set containing all 3 × 3 matrices with entries from {-1, 0, 1}. The total number of matrices A ∈ S such that the sum of all the diagonal elements of A T A is 6 is ________.
Answer
The correct answer is 5376
Sum of all diagonal elements is equal to sum of square of each element of the matrix.
i.e.,A= a1 b1 c1 a2b2c2a3b3c3
then tr(A.AT)
=a12+a22+a32+b12+b22+b32+c12+c22+c32
∵ai,bi,ci∈−1,0,1for i=1,2,3
∴ Exactly three of them are zero and rest are 1 or – 1.
Total number of possible matrices
9C3×26
=69×8×7×64
= 5376