Graph Eigenvalues

Linear-algebraic preliminaries

Let MM be p×pp\times p real symmetric matrix. λ1,λ2,,λp\lambda_1, \lambda_2, \cdots, \lambda_p are real eigenvalues.

Counting walks in graphs

Let GG graph (unoriented, loops and multiple edges are allowed) on the vertex set {1,2,,p}\{ 1, 2, \cdots, p\}. Let A(G)A(G) be the adjacency matrix of GG.

Key observation

Success Number of walks of length ll from ii to jj =(Ml)ij= (M^l)_{ij}.

Use multiplication rule we get

Success Number of marked closed walks of length ll in GG =tr(Ml)=kλkl=tr(M^l) = \sum_k \lambda_{k}^l.