The total number of matrices having entries from the set such that the sum of all the diagonal entries of is , is equal to
Find the total number of matrices:
Let
So
Multiply both the matrix,
Since sum of all diagonal entries is trace.
Since,
| Case | Number of matrices |
All variables | ||
One variable others | ||
One variable Five variables Three variables | ||
One variable Six variables Two variables |
Therefore, total number of matrices,
Hence, total number of matrices possible is .