TOPICS
Search

Walk Matrix


The walk matrix of a graph G on n vertices with adjacency matrix A is the n×n matrix

 W(G)=[1,A1,...,A^(n-1)1],

where 1 is the n-vector of all 1's (Godsil 2012). For 0<=k<=n-1, the ith entry of A^k1 is the number of walks of length k beginning at the ith graph vertex. Thus the (k+1)st column of W(G) records the numbers of such walks beginning at each graph vertex.

A graph is a controllable graph precisely when its walk matrix has matrix rank n, and it is an almost controllable graph when its matrix rank is n-1 (Wang and Wang 2025).


See also

Adjacency Matrix, Almost Controllable Graph, Controllable Graph, Graph Matrix, Matrix Rank, Walk

Explore with Wolfram|Alpha

References

Godsil, C. "Controllable Subsets in Graphs." Ann. Comb. 16, 733-744, 2012.Liu, F. and Siemons, J. "Unlocking the Walk Matrix of a Graph." J. Algebraic Combin. 55, 663-690, 2022. https://doi.org/10.1007/s10801-021-01065-3.Wang, W. and Wang, W. "Haemers' Conjecture: An Algorithmic Perspective." Experimental Math. 34, 147-161, 2025. https://doi.org/10.1080/10586458.2024.2337229.

Cite this as:

Weisstein, Eric W. "Walk Matrix." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/WalkMatrix.html

Subject classifications