Independence Polynomial Calculator

I(G,x) independent sets

CalculatorsFreeNo Signup
4.4(717 reviews)
All Tools

Loading tool...

About Independence Polynomial Calculator

An independence polynomial calculator computing I(G,x) = Σ s_k x^k where s_k = number of independent sets of size k. I(G,1) = total independent sets. Coefficients are unimodal for many graph families. Related to hard-core model in stat mech. Client-side.

Independence Polynomial Calculator Features

  • I(G,x) polynomial
  • s_k counts
  • Total count
  • Unimodality
  • Common graphs
Independence polynomial I(G,x) = Σ s_k x^k. s_0=1, s_1=n, s_k = independent sets of size k. I(G,1) = total independent sets. Coefficients are log-concave for claw-free graphs (Chudnovsky-Seymour, 2007). Connected to partition function in statistical mechanics.

How to Use

Select graph:

  • I(G,x): Polynomial
  • s_k: k-ind sets
  • Total: I(G,1)

Unimodality Conjectures

Are coefficients s_0,s_1,...,s_α unimodal? Not always! But for forests, claw-free graphs, and well-covered graphs: yes. The Alavi-Malde-Schwenk-Erdős conjecture: s_k is unimodal for trees. Proved by Levit-Mandrescu.

Statistical Mechanics

I(G,x) = partition function of hard-core model at fugacity x. Phase transitions occur at specific x values. The roots of I(G,x) determine analyticity of the free energy. Connects graph theory to physics.

Step-by-Step Instructions

  1. 1Select graph.
  2. 2Count s_k.
  3. 3Build polynomial.
  4. 4Evaluate I(G,1).
  5. 5Check unimodality.

Independence Polynomial Calculator — Frequently Asked Questions

What's the independence polynomial of K_n?+

I(K_n,x) = 1 + nx. Only independent sets are empty set and singletons. Simplest non-trivial case. For E_n (empty graph): I(E_n,x) = (1+x)^n — every subset is independent.

How is this related to clique polynomial?+

I(G,x) = C(Ḡ,x) where C is the clique polynomial of the complement. Independent sets of G = cliques of Ḡ. This duality connects independence to clique theory.

Why is I(G,1) interesting?+

I(G,1) = total number of independent sets (including empty set). Also called Fibonacci number of the graph. For paths P_n: I(P_n,1) = F_{n+2} (Fibonacci!). Counting independent sets is #P-complete in general.

Share this tool: