Given matrix $$A=\begin{bmatrix}a&b&b\\b&a&b\\b&b&a \end{bmatrix}$$ and matrix $$B=\begin{bmatrix}0&0&0&a&b&b\\0&0&0&b&a&b\\0&0&0&b&b&a\\a&b&b&0&0&0\\b&a&b&0&0&0\\b&b&a&0&0&0 \end{bmatrix}$$ I want to calculate the eigenvalues and eigenvectors of $B$, and I know the eigenvalues of $A$ are $(a-b)$ and $(a+2b)$, and the corresponding eigenvectors are $(-1,1,0)$, $(-1,0,1)$, $(1,1,1)$. I can calculate $B$ in the normal way but it seems that there should be some shortcuts, so is there any relation between $A$ and $B$?
Thanks in advance.
The larger matrix $B$ is the Kronecker product of $S=\binom{0~1}{1~0}$ and $A$. Since $S$ is diagonalisable with eigenvalues $-1,1$, then the eigenvalues of $B$ are $\pm\lambda_i$ where $\lambda_i$ runs through the eigenvalues of $A$.