Graph Eigenvalues
Linear-algebraic preliminaries
Let be real symmetric matrix. are real eigenvalues.
Counting walks in graphs
Let graph (unoriented, loops and multiple edges are allowed) on the vertex set . Let be the adjacency matrix of .
Key observation
Success Number of walks of length from to .
Use multiplication rule we get
Success Number of marked closed walks of length in .