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
611.1k+ 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
Three beakers labelled as A B and C each containing 25 mL of water were taken A small amount of NaOH anhydrous CuSO4 and NaCl were added to the beakers A B and C respectively It was observed that there was an increase in the temperature of the solutions contained in beakers A and B whereas in case of beaker C the temperature of the solution falls Which one of the following statements isarecorrect i In beakers A and B exothermic process has occurred ii In beakers A and B endothermic process has occurred iii In beaker C exothermic process has occurred iv In beaker C endothermic process has occurred

Master Class 12 Social Science: Engaging Questions & Answers for Success

Master Class 12 Physics: Engaging Questions & Answers for Success

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Economics: Engaging Questions & Answers for Success

Master Class 12 Chemistry: Engaging Questions & Answers for Success

Trending doubts
Which are the Top 10 Largest Countries of the World?

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

What are the major means of transport Explain each class 12 social science CBSE

Differentiate between homogeneous and heterogeneous class 12 chemistry CBSE

Sulphuric acid is known as the king of acids State class 12 chemistry CBSE

Why should a magnesium ribbon be cleaned before burning class 12 chemistry CBSE

