In mathematics, especially in probability and combinatorics, a doubly stochastic matrix (also called bistochastic), is a square matrix
A
=
(
a
i
j
)
of nonnegative real numbers, each of whose rows and columns sums to 1, i.e.,
∑
i
a
i
j
=
∑
j
a
i
j
=
1
,
Thus, a doubly stochastic matrix is both left stochastic and right stochastic.
Indeed, any matrix that is both left and right stochastic must be square: if every row sums to one then the sum of all entries in the matrix must be equal to the number of rows, and since the same holds for columns, the number of rows and columns must be equal.
Birkhoff polytope and Birkhoff–von Neumann theorem
The class of
n
×
n
doubly stochastic matrices is a convex polytope known as the Birkhoff polytope
B
n
. Using the matrix entries as Cartesian coordinates, it lies in an
(
n
−
1
)
2
-dimensional affine subspace of
n
2
-dimensional Euclidean space. defined by
2
n
−
1
independent linear constraints specifying that the row and column sums all equal one. (There are
2
n
−
1
constraints rather than
2
n
because one of these constraints is dependent, as the sum of the row sums must equal the sum of the column sums.) Moreover, the entries are all constrained to be non-negative and less than or equal to one.
The Birkhoff–von Neumann theorem states that this polytope
B
n
is the convex hull of the set of
n
×
n
permutation matrices, and furthermore that the vertices of
B
n
are precisely the permutation matrices. In other words, if
A
is doubly stochastic matrix, then there exist
θ
1
,
…
,
θ
k
∈
(
0
,
1
)
and permutation matrices
P
1
,
…
,
P
k
such that
A
=
θ
1
P
1
+
⋯
+
θ
k
P
k
.
This representation is known as the Birkhoff–von Neumann decomposition, and it may not be unique in general. By Marcus-Ree theorem, however, there need not be more than
n
2
−
2
n
+
2
terms in any decomposition, namely
k
≤
n
2
−
2
n
+
2.
In other words, while there exists a decomposition with
n
!
permutation matrices, there is at least one constructible decomposition with no more than
(
n
−
1
)
2
+
1
matrices.
The problem of computing the representation with the minimum number of terms has been shown to be NP-hard, but some heuristics for computing it are known.This theorem can be extended for the general stochastic matrix with deterministic transition matrices.
The inverse of a nonsingular doubly stochastic matrix need not be doubly stochastic.
Sinkhorn's theorem states that any matrix with strictly positive entries can be made doubly stochastic by pre- and post-multiplication by diagonal matrices.
For
n
=
2
, all bistochastic matrices are unistochastic and orthostochastic, but for larger
n
it is not the case.
Van der Waerden conjectured that the minimum permanent among all n × n doubly stochastic matrices is
n
!
/
n
n
, achieved by the matrix for which all entries are equal to
1
/
n
. Proofs of this conjecture were published in 1980 by B. Gyires and in 1981 by G. P. Egorychev and D. I. Falikman; for this work, Egorychev and Falikman won the Fulkerson Prize in 1982.