The Gale–Ryser theorem is a result in graph theory and combinatorial matrix theory, two branches of combinatorics. It provides one of two known approaches to solving the bipartite realization problem, i.e. it gives a necessary and sufficient condition for two finite sequences of natural numbers to be the degree sequence of a labeled simple bipartite graph; a sequence obeying these conditions is called "bigraphic". It is an analog of the Erdős–Gallai theorem for simple graphs. The theorem was published independently in 1957 by H. J. Ryser and David Gale.
A pair of sequences of nonnegative integers
(a1,\ldots,an)
(b1,\ldots,bn)
a1\geq … \geqan
n | |
\sum | |
i=1 |
ai=\sum
n | |
i=1 |
bi
k\in\{1,\ldots,n\}
k | |
\sum | |
i=1 |
ai\leq
n | |
\sum | |
i=1 |
min(bi,k).
Sometimes this theorem is stated with the additional constraint
b1\geq … \geqbn
In 1962 Ford and Fulkerson gave a different but equivalent formulation of the theorem.
The theorem can also be stated in terms of zero-one matrices. The connection can be seen if one realizes that each bipartite graph has a biadjacency matrix where the column sums and row sums correspond to
(a1,\ldots,an)
(b1,\ldots,bn)
Each sequence can also be considered as an integer partition of the same number
n | |
m=\sum | |
i=1 |
ai
* | |
(a | |
n) |
* | |
a | |
k:=|\{b |
i\midbi\geqk\}|
(b1,\ldots,bn)
(a1,\ldots,an)
(b1,\ldots,bn)
* | |
(a | |
n) |
n
a
b
a*
k | |
\sum | |
i=1 |
* | |
a | |
i |
n | |
=\sum | |
i=1 |
min(bi,k)
a*
b
a
A third formulation is in terms of degree sequences of simple directed graphs with at most one loop per vertex. In this case the matrix is interpreted as the adjacency matrix of such a directed graph. When are pairs of nonnegative integers
((a1,b1),...,(an,bn))
The proof is composed of two parts: the necessity of the condition and its sufficiency. We outline the proof of both parts in the language of matrices. To see that the condition in the theorem is necessary, consider the adjacency matrix of a bigraphic realization with row sums
(b1,\ldots,bn)
(a1,\ldots,an)
a*
a*
a
The original proof of sufficiency of the condition was rather complicated. gave a simple algorithmic proof. The idea is to start with the Ferrers diagram of
b
a
n
Berger proved that it suffices to consider those
k
1\leqk<n
ak>ak+1
k=n
A pair of finite sequences of nonnegative integers
a
b
a
n | |
\sum | |
i=1 |
ai=\sum
n | |
i=1 |
bi
c
c,b
c
a
a
b
c
b
Similar theorems describe the degree sequences of simple graphs and simple directed graphs. The first problem is characterized by the Erdős–Gallai theorem. The latter case is characterized by the Fulkerson–Chen–Anstee theorem.