Binomial coefficient
In mathematics, the binomial coefficients are the positive integers that appear as coefficients in the binomial theorem. They are usually written as C(n,k). The name "nCk" also leads to a different page, see NCK (disambiguation).
A binomial coefficient is the number that multiplies the xk term when you expand the power (1 + x)n into a polynomial. For example, the fourth power of 1 + x is 1 + 4x + 6x² + 4x³ + x⁴. So the coefficient of the x² term is 6.
When these numbers are arranged in rows for n = 0, 1, 2, and so on, they form a triangle called Pascal's triangle. Each number in the triangle can be found by adding two numbers from the row above it.
Binomial coefficients are used in many areas of mathematics, especially in combinatorics. In this field, C(n,k) is read as "n choose k". It counts how many ways there are to pick a group of k items from a set of n items, where the order does not matter. For example, there are 6 ways to choose 2 items from {1, 2, 3, 4}.
Binomial coefficients can also be used with other kinds of numbers. When k is greater than n, the coefficient is usually defined as 0. The formula also works when the input is any complex number, and many of the same patterns still hold in these wider settings.
History and notation
Andreas von Ettingshausen introduced the notation (nk) in 1826, although the numbers were known much earlier (see Pascal's triangle). Around 1150, the Indian mathematician Bhaskaracharya explained binomial coefficients in his book Līlāvatī.
Mathematicians have written binomial coefficients in different ways, such as C(n, k). The C stands for combinations, or choices. It means the number of ways to choose k objects out of n. Many calculators use this C notation because it fits on one line of the screen. This makes binomial coefficients easy to compare with the numbers of k-permutations of n, which are written as P(n, k).
Definition and interpretations
For natural numbers (including 0) n and k, the binomial coefficient (nk) is the coefficient of the monomial Xk when (1 + X)n is expanded. The same number appears (when k ≤ n) in the binomial formula, which works for any elements x and y of a commutative ring. This is why it is called the "binomial coefficient."
The same number also tells us how many ways k objects can be chosen from n objects when the order does not matter. More precisely, it counts the groups of k items (or k-combinations) that can be made from a set of n items. This means (nk) is always a whole number. Many other counting problems also have binomial coefficients as their answers. For example, the number of bits (digits 0 or 1) in a string of n digits that add up to k is given by a binomial coefficient. Most of these other counting problems can be shown to be the same as counting combinations.
k n | 0 | 1 | 2 | 3 | 4 | ⋯ |
|---|---|---|---|---|---|---|
| 0 | 1 | 0 | 0 | 0 | 0 | ⋯ |
| 1 | 1 | 1 | 0 | 0 | 0 | ⋯ |
| 2 | 1 | 2 | 1 | 0 | 0 | ⋯ |
| 3 | 1 | 3 | 3 | 1 | 0 | ⋯ |
| 4 | 1 | 4 | 6 | 4 | 1 | ⋯ |
| ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋱ |
| The first few binomial coefficients on a left-aligned Pascal's triangle | ||||||
| (x+y)n=∑k=0n(nk)xkyn−k | ∗ |
Computing the value of binomial coefficients
There are several ways to find the value of (nk) without multiplying out a binomial power or counting combinations. One method uses a recursive formula. In this method, you add two smaller binomial coefficients together to get the value. Another method uses the falling factorial notation and is usually faster.
Generalization and connection to the binomial series
Main article: Binomial series
The faster multiplicative method can be used with other kinds of numbers in place of n. These include negative numbers, real numbers, complex numbers, and some elements of a commutative ring. Because of this, the idea grows into a more general form of the binomial formula. This is why these values are still called binomial coefficients. The formula works for all complex numbers. When the power is a whole number that is not negative, the infinite series stops and becomes a finite sum. This gives back the original binomial formula. For other values, including negative whole numbers and fractions, the series keeps going without end.
| (1+X)α=∑k=0∞(αk)Xk. | 2 |
Pascal's triangle
Main articles: Pascal's triangle and Pascal's rule
Pascal's rule is an important recurrence relation:
Using mathematical induction, this rule can be used to prove that (n k) is a natural number for all whole numbers n ≥ 0 and all integers k. This is not easy to see from formula (1). To the left and right of Pascal's triangle, the empty spaces count as zero.
Pascal's rule also creates Pascal's triangle:
Row number n contains the numbers (n k) for k = 0, ..., n. The triangle starts with 1s on the outside edges. Each inner spot is the sum of the two numbers directly above it. This makes it quick to find binomial coefficients without using fractions or multiplication. For example, row number 5 lets you quickly read off the expansion of (x+y)5.
| (nk)+(nk+1)=(n+1k+1), | 3 |
| 0: | 1 | ||||||||||||||||
| 1: | 1 | 1 | |||||||||||||||
| 2: | 1 | 2 | 1 | ||||||||||||||
| 3: | 1 | 3 | 3 | 1 | |||||||||||||
| 4: | 1 | 4 | 6 | 4 | 1 | ||||||||||||
| 5: | 1 | 5 | 10 | 10 | 5 | 1 | |||||||||||
| 6: | 1 | 6 | 15 | 20 | 15 | 6 | 1 | ||||||||||
| 7: | 1 | 7 | 21 | 35 | 35 | 21 | 7 | 1 | |||||||||
| 8: | 1 | 8 | 28 | 56 | 70 | 56 | 28 | 8 | 1 |
Combinatorics and statistics
Binomial coefficients are important in combinatorics, the study of counting. They give simple formulas for some common counting problems. For example, there are (nk) ways to choose k elements from a set of n elements. See Combination. If repeats are allowed, there are (n+k−1k) ways to make that choice. See Multiset.
They also help with other counting problems. There are (n+kk) strings with k ones and n zeros. There are also (n+1k) such strings where no two ones are next to each other. The Catalan numbers can be written using a binomial coefficient. The binomial distribution in statistics uses them too.
Binomial coefficients as polynomials
For any whole number k, a binomial coefficient can be written as a polynomial in t. This means it can be worked out for any real or complex number t. These "generalized binomial coefficients" are used in Newton's generalized binomial theorem. Each one is the only polynomial of its degree that equals 0 at t = 0, 1, ..., k − 1 and equals 1 at t = k. Its coefficients are linked to Stirling numbers of the first kind. Its derivative can be found using logarithmic differentiation.
Over any field of characteristic 0, which is any field that contains the rational numbers, every polynomial of degree d or less can be written in exactly one way as a linear combination of these polynomials. This works because there is one polynomial of each degree. The coefficients come from the k-th difference of the polynomial's values.
Main article: Integer-valued polynomial
Each binomial coefficient polynomial gives a whole number for every whole-number input. This can be proven using Pascal's identity. So any combination of them with whole-number amounts also gives whole numbers. For example, the polynomial 3t(3t + 1) / 2 can be rewritten as 9(t choose 2) + 6(t choose 1) + 0(t choose 0).
| ak=∑i=0k(−1)k−i(ki)p(i). | 4 |
Identities involving binomial coefficients
The factorial formula makes it easier to compare nearby binomial coefficients. For example, when k is a positive whole number and n can be any number, there is a simple way to relate them. Several other useful relationships also exist. For a fixed n, there is a rule that links each coefficient to the one before it.
The numbers in each row of Pascal's triangle add up to 2 raised to the power of the row number. This comes from the binomial theorem by setting x and y both to 1. It also counts every power set of a set of n items, because each item can either be chosen or left out.
Other results come from differentiating the binomial theorem. The Chu–Vandermonde identity is another well-known rule. When n = 2m and k = m, it gives a central binomial coefficient. Another form of this identity leads to the hockey-stick identity. The Fibonacci numbers also connect to these coefficients. This result can be proved by induction or by Zeckendorf's representation.
Many of these identities can be proved using combinatorial means, which are ways of counting groups of objects. For example, one proof uses a double counting proof to show that the same collection of subsets is counted in two different ways. Sums of binomial coefficients also appear in Dixon's identity. They appear in trigonometric integrals too. These integrals use Euler's formula to change trigonometric functions into complex exponentials. They also appear in congruences, which compare remainders when numbers are divided by a prime n. For a prime n, one coefficient leaves the same remainder as (−1)k when divided by n.
See also: Combination § Number of k-combinations for all k
| (nk)=nk(n−1k−1) | 5 |
| ∑k=0n(nk)=2n | ∗∗ |
| ∑k=0nk(nk)=n2n−1 | 6 |
| ∑j=0k(mj)(n−mk−j)=(nk) | 7 |
| ∑j=0m(mj)2=(2mm), | 8 |
| ∑m=0n(mj)(n−mk−j)=(n+1k+1). | 9 |
Generating functions
A generating function puts a whole list of numbers into one expression. The expressions in this section work like normal functions when x and/or y are close to zero. For other values, the infinite sums may not work.
For a fixed number n, the ordinary generating function of the binomial coefficients (n choose 0), (n choose 1), (n choose 2), and so on, adds up to (1 + x)n. For a fixed whole number k, the ordinary generating function of the sequence (0 choose k), (1 choose k), (2 choose k), and so on, equals yk divided by (1 − y)k+1. The article also gives a version with two variables and a symmetric version. There is also a symmetric exponential generating function of the binomial coefficients, which adds up to e(x+y).
Divisibility properties
Main articles: Kummer's theorem and Lucas' theorem
In 1852, Kummer found out how many times a prime number can divide a binomial coefficient. The answer depends on how many "carries" happen when two numbers are added together in that prime's base. For example, a binomial coefficient is not divisible by a prime if each digit of k in that base is less than or equal to the matching digit of n. Higher powers of a prime do not always work the same way, though. So 9 does not divide the binomial coefficient 9 choose 6.
Any whole number divides almost all binomial coefficients. Mathematicians have also found many ways to estimate how big binomial coefficients are, especially when n and k are very large.
Generalizations
Main article: Multinomial theorem
Main article: Binomial series
Main article: Multichoose § Counting multisets
Binomial coefficients can be extended in many ways. Multinomial coefficients are numbers that appear when a polynomial has more than two parts. They can be thought of as ways to place different items into different containers. Like binomial coefficients, they have a permutation symmetry. Binomial coefficients can also be written with a real number on top. A series expansion around any chosen point can be written using Stirling numbers of the first kind. Products of binomial coefficients can be written as sums of other binomial coefficients, and falling factorials play a similar role. Partial fraction decomposition can also split the reciprocal of a binomial coefficient into simpler parts.
Newton's binomial series, named after Sir Isaac Newton, extends the binomial theorem to infinite series. Its identity can be shown with a differential equation. The series has a radius of convergence of 1. Binomial coefficients count subsets, while multisets allow repeated choices. The numbers for multisets are called multiset coefficients. Binomial coefficients can be extended further using the gamma function or beta function. A q-analog called the Gaussian binomial coefficient uses polynomials in an indeterminate. These appear in counting problems, such as counting linear subspaces of a vector space over a finite field, and in the cyclic sieving phenomenon. The idea can also be applied to infinite cardinals. Assuming the Axiom of Choice, the result for an infinite cardinal number with cardinality α is 2α.

Quiz time!
4 questions about Binomial coefficient
How do you find a new number in Pascal's triangle?
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on Binomial coefficient, available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.