There are two isomorphic graphs for which I want to find their spectrum(their eigenvalues). I am confused that the spectrum will be same for both the graphs since they are isomorphic, but I am not sure.
I first wrote the adjacency matrix for both and they are also same, unless I did something wrong. The graphs have color coded nodes so when I did the adjacency matrices for both, I wrote the nodes in the color-coded manner (like mapping the nodes from first graph to another graph for row and column of adjacency matrix, and hence, the values had to be the same). But I also did the adjacency matrix for second graph according to the number-labels given to nodes, and then the answer had to be different because now the alignment is different.
I mean if they are isomorphic then their adjacency matrices will be same or not? If yes, which sounds obvious because of their property of isomorphism, then why is the question asking for solving adjacency and spectrum for both graphs?
(I watched youtube videos and read pages online but I still have doubts if I am solving this correctly.)
These concepts are new to me, so maybe I am missing on something important here. Please if someone can simplify this or point where I am doing wrong in this problem, that would be much appreciated.
For reference, here is an image of graphs->isomorphic graphs
Adjacency matrices for the graphs.solution