Given an adjacency matrix \[A=[[0,1,1],[101],[110]]\] The total no. of ways in which every vertex can walk to itself using 2 edges is
A. 2
B. 4
C. 6
D. 8
Answer
656.4k+ views
Hint: So here in this question For this we have to first calculate the \[{{\text{A}}^{2}}\] then on compare the corresponding vertex of \[\text{A}\]and \[{{\text{A}}^{2}}\], now after comparing both vertexes we can apply simple permutation to find the total no. of ways in which every vertex can walk to itself using 2 edges
Complete step-by-step solution:
We are given an adjacency matrix \[A=[[0,1,1],[1,0,1],[1,1,0]]\] and we are asked to finds total no. of ways in which every vertex can walk to itself using 2 edges is
So first we have to calculate \[{{\text{A}}^{2}}\],
\[A=\left( \begin{matrix}
0 & 1 & 1 \\
1 & 0 & 1 \\
1 & 1 & 0 \\
\end{matrix} \right)\] so \[{{\text{A}}^{2}}\] can be written as \[{{A}^{2}}=\left( \begin{matrix}
0 & 1 & 1 \\
1 & 0 & 1 \\
1 & 1 & 0 \\
\end{matrix} \right)\left( \begin{matrix}
0 & 1 & 1 \\
1 & 0 & 1 \\
1 & 1 & 0 \\
\end{matrix} \right)\]
Now we can apply property which is
\[{{B}^{2}}=\left( \begin{matrix}
a & b & c \\
d & e & f \\
g & h & i \\
\end{matrix} \right)\left( \begin{matrix}
a & b & c \\
d & e & f \\
g & h & i \\
\end{matrix} \right)=\left( \begin{matrix}
{{a}^{2}}+bd+cg & ab+be+ch & ac+bf+ci \\
ad+ed+fg & bd+{{e}^{2}}+hf & cd+ef+if \\
ag+hd+ig & bg+eh+ih & cg+hf+{{i}^{2}} \\
\end{matrix} \right)\]
So, using this property on Our \[{{\text{A}}^{2}}\] matrix will look like \[{{A}^{2}}=\left( \begin{matrix}
0+1+1 & 0+0+1 & 0+1+0 \\
0+0+1 & 1+0+1 & 1+0+0 \\
0+1+0 & 1+0+0 & 1+1+0 \\
\end{matrix} \right)\]
Which on further solving comes out to be \[{{A}^{2}}=\left( \begin{matrix}
2 & 1 & 1 \\
1 & 2 & 1 \\
1 & 1 & 2 \\
\end{matrix} \right)\]
This matrix can also be written as \[{{A}^{2}}=[[2,1,1],[1,2,1],[1,1,2]]\]
and matrix \[A=[[0,1,1],[1,0,1],[1,1,0]]\] is given. So we can see that for every vertex to walk to itself using 2 edges is 2 because compare first vertex of both matrix \[\text{A}\] and \[{{\text{A}}^{2}}\] one point is \[[0,1,1]\] other one is \[[2,1,1]\] which means \[2-0,1-1,1-1=2,0,0\] so it means there are two ways and for 3 vertices can reach to themselves in 2 ways, hence a total of \[3\times 2=6\] ways.
Hence Answer is 6 option (b)
Note: \[{{B}^{2}}=\left( \begin{matrix}
a & b & c \\
d & e & f \\
g & h & i \\
\end{matrix} \right)\left( \begin{matrix}
a & b & c \\
d & e & f \\
g & h & i \\
\end{matrix} \right)=\left( \begin{matrix}
{{a}^{2}}+bd+cg & ab+be+ch & ac+bf+ci \\
ad+ed+fg & bd+{{e}^{2}}+hf & cd+ef+if \\
ag+hd+ig & bg+eh+ih & cg+hf+{{i}^{2}} \\
\end{matrix} \right)\] here we have applied this property for two same matrices but we can also apply on multiply two different matrices. Square or any power of identity matrix is equals to identity matrix only.
Complete step-by-step solution:
We are given an adjacency matrix \[A=[[0,1,1],[1,0,1],[1,1,0]]\] and we are asked to finds total no. of ways in which every vertex can walk to itself using 2 edges is
So first we have to calculate \[{{\text{A}}^{2}}\],
\[A=\left( \begin{matrix}
0 & 1 & 1 \\
1 & 0 & 1 \\
1 & 1 & 0 \\
\end{matrix} \right)\] so \[{{\text{A}}^{2}}\] can be written as \[{{A}^{2}}=\left( \begin{matrix}
0 & 1 & 1 \\
1 & 0 & 1 \\
1 & 1 & 0 \\
\end{matrix} \right)\left( \begin{matrix}
0 & 1 & 1 \\
1 & 0 & 1 \\
1 & 1 & 0 \\
\end{matrix} \right)\]
Now we can apply property which is
\[{{B}^{2}}=\left( \begin{matrix}
a & b & c \\
d & e & f \\
g & h & i \\
\end{matrix} \right)\left( \begin{matrix}
a & b & c \\
d & e & f \\
g & h & i \\
\end{matrix} \right)=\left( \begin{matrix}
{{a}^{2}}+bd+cg & ab+be+ch & ac+bf+ci \\
ad+ed+fg & bd+{{e}^{2}}+hf & cd+ef+if \\
ag+hd+ig & bg+eh+ih & cg+hf+{{i}^{2}} \\
\end{matrix} \right)\]
So, using this property on Our \[{{\text{A}}^{2}}\] matrix will look like \[{{A}^{2}}=\left( \begin{matrix}
0+1+1 & 0+0+1 & 0+1+0 \\
0+0+1 & 1+0+1 & 1+0+0 \\
0+1+0 & 1+0+0 & 1+1+0 \\
\end{matrix} \right)\]
Which on further solving comes out to be \[{{A}^{2}}=\left( \begin{matrix}
2 & 1 & 1 \\
1 & 2 & 1 \\
1 & 1 & 2 \\
\end{matrix} \right)\]
This matrix can also be written as \[{{A}^{2}}=[[2,1,1],[1,2,1],[1,1,2]]\]
and matrix \[A=[[0,1,1],[1,0,1],[1,1,0]]\] is given. So we can see that for every vertex to walk to itself using 2 edges is 2 because compare first vertex of both matrix \[\text{A}\] and \[{{\text{A}}^{2}}\] one point is \[[0,1,1]\] other one is \[[2,1,1]\] which means \[2-0,1-1,1-1=2,0,0\] so it means there are two ways and for 3 vertices can reach to themselves in 2 ways, hence a total of \[3\times 2=6\] ways.
Hence Answer is 6 option (b)
Note: \[{{B}^{2}}=\left( \begin{matrix}
a & b & c \\
d & e & f \\
g & h & i \\
\end{matrix} \right)\left( \begin{matrix}
a & b & c \\
d & e & f \\
g & h & i \\
\end{matrix} \right)=\left( \begin{matrix}
{{a}^{2}}+bd+cg & ab+be+ch & ac+bf+ci \\
ad+ed+fg & bd+{{e}^{2}}+hf & cd+ef+if \\
ag+hd+ig & bg+eh+ih & cg+hf+{{i}^{2}} \\
\end{matrix} \right)\] here we have applied this property for two same matrices but we can also apply on multiply two different matrices. Square or any power of identity matrix is equals to identity matrix only.
Recently Updated Pages
Which of the following graphs shows the variation of class 12 physics CBSE

Draw a labelled diagram of the human male reproductive class 12 biology CBSE

Describe the experiment to compare the emf of two cells class 12 physics CBSE

What is standard hydrogen electrode

What is conventional current and electric current class 12 physics CBSE

2Bromopentane is treated with an alcoholic KOH solution class 12 chemistry CBSE

Trending doubts
Draw a labelled sketch of the human eye class 12 physics CBSE

Which are the Top 10 Largest Countries of the World?

Draw ray diagrams each showing i myopic eye and ii class 12 physics CBSE

Give one example of a reptile that is viviparous class 12 biology CBSE

Which is the correct genotypic ratio of mendel dihybrid class 12 biology CBSE

Give 10 examples of unisexual and bisexual flowers

