MathorynMathematical Formula Database

Combinatorics

Vandermonde's Identity

Choosing rr people from a group of mm women and nn men can be split by how many women, kk, are chosen. Vandermonde's identity is used in counting proofs and in deriving the hypergeometric distribution.

(m+nr)=∑k=0r(mk)(nr−k)\binom{m+n}{r}=\sum_{k=0}^{r}\binom{m}{k}\binom{n}{r-k}
LaTeX\binom{m+n}{r}=\sum_{k=0}^{r}\binom{m}{k}\binom{n}{r-k}

Variables

m, nm,\ n
sizes of the two groups
rr
number chosen
kk
number chosen from the first group

Example

Check for m=3, n=4, r=2m=3,\ n=4,\ r=2.

  1. (72)=21\binom72=21.
  2. (30)(42)+(31)(41)+(32)(40)=6+12+3\binom30\binom42+\binom31\binom41+\binom32\binom40=6+12+3.

Answer: Both sides equal 2121.

Related formulas