Degree Sequence Realizability
A fundamental question in graph theory asks: given a sequence of non-negative integers, does there exist a graph with those vertex degrees? The ErdΕs-Gallai theorem provides a complete characterization through a simple computable criterion.
A degree sequence is a non-increasing sequence of non-negative integers. The sequence is graphical (or realizable) if there exists a simple graph with vertices such that for all .
A non-increasing sequence of non-negative integers is graphical if and only if:
- The sum is even
- For each :
The first condition follows from the handshaking lemma. The second condition is more subtle: it states that the sum of the first largest degrees cannot exceed the maximum possible edges within those vertices plus the edges to the remaining vertices (bounded by what those vertices can support).
() If realizes the sequence, condition (1) holds by the handshaking lemma. For (2), consider the vertices with highest degrees. They can have at most edges among themselves. Each can have at most edges to the remaining vertices: either edges total (if ) or at most edges to those vertices.
() The forward direction is algorithmic: use the Havel-Hakimi algorithm. Given , connect vertex to , reduce their degrees by 1, remove , and recurse. The ErdΕs-Gallai conditions ensure this process succeeds.
Consider the sequence . First, is even. Check : β. For : β. Continuing for all verifies this is graphical. One realization is with one edge removed.
The Havel-Hakimi algorithm provides a constructive procedure: repeatedly connect the highest-degree vertex to the next highest-degree vertices, then recurse. This algorithm runs in time and either constructs a realization or determines none exists.
A sequence is graphical if and only if applying the Havel-Hakimi reduction eventually produces the all-zeros sequence without any negative entries.
Understanding degree sequences is essential for graph generation, network modeling, and extremal graph theory. The ErdΕs-Gallai theorem elegantly connects local vertex properties (degrees) to global graph existence.