TOPICS
Search

Path Polynomial


One would think that by analogy with the matching-generating polynomial, independence polynomial, etc., a path polynomial whose coefficients are the numbers of paths of length k would be defined. While no such polynomial seems not to have been defined in the literature, they are defined in this work.

The path polynomial, perhaps defined here for the first time, is therefore the polynomial

 P_G(x)=sum_(k=1)^(n-1)p_kx^k

whose coefficients p_k give the number of simple paths of length k present in a graph G on n nodes.

Since the smallest possible path is of length 1, path polynomials have polynomial degree at least 1. In particular, p_1=m, where m(G) is the edge count of a graph G.

A graph is traceable iff the degree of the path polynomial equals n-1. In particular, p_(n-1) gives the number of Hamiltonian paths, so a graph is traceable iff p_(n-1)!=0.

Since path counts in a disconnected graph are the sum of path counts in its connected components, the path polynomial is additive over connected components.


See also

Cycle Graph, Graph Path, Hamiltonian Path

Explore with Wolfram|Alpha

Cite this as:

Weisstein, Eric W. "Path Polynomial." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/PathPolynomial.html

Subject classifications