nLab binomial coefficient

Redirected from "binomial coefficients".

Contents

Idea

The formula

For knk \leq n \in \mathbb{N}, the binomial coefficient (nk)\left(n \atop k\right) is the natural number which is the fraction of the factorial of nn by the factorials of kk and (nk)(n-k):

(1)(nk)n!k!(nk)!=n(n1)(nk+1)12k. \binom{n}{k} \;\coloneqq\; \frac{ n! }{ k! \cdot (n-k)! } \;=\; \frac{ n \cdot (n-1) \cdot \cdots \cdot (n-k+1) }{ 1 \cdot 2 \cdot \cdots \cdot k } \mathrlap{\,.}

Notice that

(2)(nk)=(nnk). \binom{n}{k} \;=\; \binom{n}{n-k} \mathrlap{\,.}

The name “binomial coefficient” refers to the binomial theorem where these numbers appear as coefficients of the following polynomials in two variables xx and yy, for nn \in \mathbb{N}:

(x+y) n= 0kn(nk)x ky nk. (x + y)^n \;=\; \sum_{ 0 \leq k \leq n} \binom{n}{k} \cdot x^k \cdot y^{n-k} \,.

The combinatorics

Namely, combinatorially, (nk)\left(n \atop k\right) is the count of the number of ways to choose kk items from nn items without repetition but irrespective of order:

First, if the order did matter then there would be nn ways to pick the first item (one out of nn), followed by (n1)(n-1) ways to pick the second item (one out of the remaining n1n-1), and so on, up to (n(k1))(n - (k-1)) ways to pick the kkth item, for a total of

n(n1)(n(k1))=n!(nk)! n \cdot (n-1) \cdot \cdots \cdot (n-(k-1)) \;=\; \frac{ n! }{ (n-k)! }

ways. But if/since order does not matter then all k!k! permutations of a sequence of kk elements picked count as the same choice, reducing the number of choices to (1).

This perspective shows in particular that the fraction (1) is indeed an integer; and from this perspective, equation (2) reflects the FACT that the set of ways to taking kk items from a set of nn is in bijection to the set of ways of leaving (nk)(n-k) items in the set.

Variants

In this vein, one may alternatively ask for the number of ways to choose kk items from nn items with possible repetition (hence now without a bound on kk) but still irrespective of order.

This question is reduced to the previous one by observing that these choices are in bijection to the set of strings consisting of kk stars “\star” and (n1)(n-1) bars “|\vert”. For instance, for k=6k = 6 and n=4n = 4, the string

||| \star \star \vert \star \vert \vert \star \star \star

represents the choice where the first item is chosen two times, the second item one time, the third item zero times, and the fourth item three times.

But, by the previous discussion, there are

((nk))(k+n1k)=(r+n1n1) \left(\binom{n}{k}\right) \;\coloneqq\; \left( {k + n - 1} \atop k \right) \;=\; \left( {r + n - 1} \atop n-1 \right)

such strings (choose kk stars, or complementarily (n1)(n-1) bars, from k+(n1)k + (n - 1) symbols) and hence as many ways to choose kk items from a set of nn with possible repetition.

References

See also:

Last revised on December 30, 2025 at 21:31:09. See the history of this page for a list of all contributions to it.