Let S be the set containing all matrices with entries from . The total number of matrices such that the sum of all the diagonal elements of is 6 is ______.
Answer: 5376
Solution
For a matrix , the trace of equals the sum of squares of all entries of .
If , then:
Since each entry is from , each squared entry is either 0 or 1.
We need exactly 6 entries to be non-zero (either ) and 3 entries to be 0.
The number of ways to choose which 6 positions are non-zero: .
For each such choice, each of the 6 non-zero positions can be either or , giving possibilities.
Total number of matrices: .
If , then:
Since each entry is from , each squared entry is either 0 or 1.
We need exactly 6 entries to be non-zero (either ) and 3 entries to be 0.
The number of ways to choose which 6 positions are non-zero: .
For each such choice, each of the 6 non-zero positions can be either or , giving possibilities.
Total number of matrices: .
JEE Main · 2022 · 27 Jul 2022 · Shift 1 · Integer answer