Adjacency matrix of a square of a graph.

$\begingroup$

What is the relation between $A(G)$ and $A(G^2)$?

Where $G^2$ is the square of a graph $G$ and $A(G^2),A(G)$ their respective adjacency matrix.

$\endgroup$ 2

1 Answer

$\begingroup$

$G^2$ is the graph with the same set of vertices as $G$, but with edges connecting vertices with distance $\leq 2$ in $G$.

$A(G)$ shows which vertices in $G$ have a distance of 1. $A(G^2)$ shows which vertices in $G^2$ have a distance of $1$, or a distance of $\leq 2$ in $G$.

So, $A(G^2) - A(G)$ shows which vertices in $G$ have a distance of exactly 2. This difference would have non-zero, non-diagonal entries in the same places as $[A(G)]^2$ (where $A_{ij}^{2}$ is the number of walks of length $2$ between vertices $i$ and $j$).

$\endgroup$ 1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like