TheoremComplete

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.

DefinitionDegree Sequence

A degree sequence is a non-increasing sequence d1β‰₯d2β‰₯β‹―β‰₯dnd_1 \geq d_2 \geq \cdots \geq d_n of non-negative integers. The sequence is graphical (or realizable) if there exists a simple graph GG with vertices v1,…,vnv_1, \ldots, v_n such that deg⁑(vi)=di\deg(v_i) = d_i for all ii.

TheoremErdΕ‘s-Gallai Theorem

A non-increasing sequence (d1,d2,…,dn)(d_1, d_2, \ldots, d_n) of non-negative integers is graphical if and only if:

  1. The sum βˆ‘i=1ndi\sum_{i=1}^n d_i is even
  2. For each k∈{1,…,n}k \in \{1, \ldots, n\}: βˆ‘i=1kdi≀k(kβˆ’1)+βˆ‘i=k+1nmin⁑(di,k)\sum_{i=1}^k d_i \leq k(k-1) + \sum_{i=k+1}^n \min(d_i, k)

The first condition follows from the handshaking lemma. The second condition is more subtle: it states that the sum of the first kk largest degrees cannot exceed the maximum possible edges within those kk vertices plus the edges to the remaining vertices (bounded by what those vertices can support).

ProofProof Sketch

(β‡’\Rightarrow) If GG realizes the sequence, condition (1) holds by the handshaking lemma. For (2), consider the kk vertices with highest degrees. They can have at most k(kβˆ’1)k(k-1) edges among themselves. Each can have at most min⁑(di,k)\min(d_i, k) edges to the remaining nβˆ’kn-k vertices: either did_i edges total (if di≀kd_i \leq k) or at most kk edges to those vertices.

(⇐\Leftarrow) The forward direction is algorithmic: use the Havel-Hakimi algorithm. Given d1β‰₯β‹―β‰₯dnd_1 \geq \cdots \geq d_n, connect vertex v1v_1 to v2,…,vd1+1v_2, \ldots, v_{d_1+1}, reduce their degrees by 1, remove v1v_1, and recurse. The ErdΕ‘s-Gallai conditions ensure this process succeeds.

β– 
ExampleTesting Graphical Sequences

Consider the sequence (4,3,3,2,2)(4, 3, 3, 2, 2). First, βˆ‘di=14\sum d_i = 14 is even. Check k=1k=1: 4≀0+min⁑(3,1)+min⁑(3,1)+min⁑(2,1)+min⁑(2,1)=44 \leq 0 + \min(3,1) + \min(3,1) + \min(2,1) + \min(2,1) = 4 βœ“. For k=2k=2: 7≀2+min⁑(3,2)+min⁑(2,2)+min⁑(2,2)=87 \leq 2 + \min(3,2) + \min(2,2) + \min(2,2) = 8 βœ“. Continuing for all kk verifies this is graphical. One realization is K5K_5 with one edge removed.

Remark

The Havel-Hakimi algorithm provides a constructive procedure: repeatedly connect the highest-degree vertex to the next d1d_1 highest-degree vertices, then recurse. This algorithm runs in O(n2)O(n^2) time and either constructs a realization or determines none exists.

TheoremErdΕ‘s-Gallai Corollary

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.