Independence polynomial Created 2026-10-20 Updated 2026-11-05
The independence polynomial of a finite graph is , where counts independent sets of size , including . For a three-vertex path it is .
Choosing whether to include a vertex gives , where consists of and its neighbors. Disjoint unions turn into products, because independent choices in the components combine freely. At positive , the same polynomial is the partition function of the hard-core model, with weighting occupied vertices.