Question
Question: The number of symmetric matrices of order 3, with all the entries from the set { 0 , 1 , 2 , 3 , 4 ...
The number of symmetric matrices of order 3, with all the entries from the set { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 } is
10^6
Solution
A 3x3 symmetric matrix A is defined by the property aij=aji for all i,j. This means that the elements below the main diagonal are determined by the elements above the main diagonal. For a 3x3 matrix:
A=a11a21a31a12a22a32a13a23a33The symmetry condition implies a21=a12, a31=a13, and a32=a23. The independent entries that can be chosen freely are the diagonal elements (a11,a22,a33) and the elements in the upper triangle (a12,a13,a23). In total, there are 3+3=6 independent entries.
The set of allowed entries is {0,1,2,3,4,5,6,7,8,9}, which contains 10 distinct values. Since each of the 6 independent entries can be chosen in 10 ways, the total number of distinct symmetric matrices is the product of the number of choices for each independent entry: Total number of matrices = 10×10×10×10×10×10=106.
This can be generalized for an n×n symmetric matrix with entries from a set of size m. The number of independent entries is 2n(n+1). The total number of such matrices is m2n(n+1). For n=3 and m=10, this is 1023(3+1)=106.