3.2k views

The number of different $n \times n$ symmetric matrices with each element being either 0 or 1 is: (Note: $\text{power} \left(2, X\right)$ is same as $2^X$)

1. $\text{power} \left(2, n\right)$
2. $\text{power} \left(2, n^2\right)$
3. $\text{power} \left(2,\frac{ \left(n^2+ n \right) }{2}\right)$
4. $\text{power} \left(2, \frac{\left(n^2 - n\right)}{2}\right)$
edited | 3.2k views
0

This might help ...

0

In symmetric matrix, $A[i][j] = A[j][i]$. So, we have choice only for either the upper triangular elements or the lower triangular elements. Number of such elements will be $n + (n-1) + (n-2) + \cdots + 1 = n\frac{(n+1)}{2} = \frac{(n^2+n)}{2}$. Now, each element being either 0 or 1 means, we have 2 choices for each element and thus for $\frac{(n^2+n)}{2}$ elements we have $2^{\frac{(n^2+n)}{2}}$ possibilities.

Choice is $C.$
edited
+14

The problem is similar to finding the number of symmetric relations possible on an n element set.
Now if we consider the n pairs of reflexive relation, those n pairs also satisfy the property of symmetric relation and each of these n pair may or may not be present in a symmetric relation.

Moreover there are (n2  - n)/2 diagonal pairs in an nxn matrix each of which should be present to have relation symmetric.
Means if we have pair (x,y) we need to have pair (y,x)

So, total symmetric relations possible on an n element set :

2n . 2 (n2-n)/2  = 2 n(n+1)/2

0

why not twice of this ?How about if matrix diagonal is from upper right to lower left.Would not that be one more case?

0
Didn't get you :(
0

what about counting case (ii) ?

0
Your second matrix is an invalid lower triangular matrix, as some elements below the main diagonal are zero.

A triangular matrix is upper or lower by the fact that the elements above or below the main diagonal respectively, are non-zero.
0

@ Ayush Upadhyaya The got the concept of no. of symmetric relation possible but i cannot understand how you relate it with matrix.

Matrices with 0 or 1 can be viewed as adjacency matrix of an undirected graph. There can be at max $n(n-1)/2$ edges in such graph.

So each edge can either be present or not. That gives total of $2^{(n^{2}-n)/2}$ , but this does not include n combination of self loops. so the total number of combincation is $2^{(n^{2}+n)/2}$.
for diagnol elements we have 2 choices either 0 or 1 So , 2^n  for rest of the elements we can pair which will have 2 choices either 0 or 1  total pairs =(n^2-n)/2

2^n * 2^((n^2-n)/2)  = Option C
consider a 5*5 square matrix, where entries in each cell represent the number of ways we can fill it. Since only 0 or 1 can be inserted therefore 2 ways.

$\bigl(\begin{smallmatrix} 2& 1 & 1& 1 &1\\ 2& 2 &1 &1 &1 \\ 2&2 &2 &1 & 1\\ 2&2 & 2 &2 &1 \\ 2&2 &2 & 2 & 2 \end{smallmatrix}\bigr)$

Now diagonal entries can be filled by any of 0 or 1 , so 2 ways for diagonal elements

but for non-diagonal we need to fix the elements in either upper/lower triangle of matrix, Because its a symmetric matrix hence it will be mirror image about diagonal.

for e.g. if A[2,1]= 1, then A[1,2]=1 OR  if A[2,1]= 0, then A[1,2]=0

fixing lower triangle: number of ways to fill   A[2,1] is 2 , so number of ways to fill   A[1,2] is 1

otherwise fixing upper triangle: number of ways to fill A[1,2] is 2, so number of ways to fill A[2,1] is 1

number of n*n symmetric = $2^{n}*2^{n-1}*2^{n-1}$............$2^{1}$

=$2^{\frac{n(n+1)}{2}}$

1
2
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}