Binomial coefficient
In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. They are usually written as C(n,k), and the name "nCk" also leads to a different page, see NCK (disambiguation).
A binomial coefficient is the number that multiplies the xk term in the polynomial expansion of the power (1 + x)n. For example, the fourth power of 1 + x is 1 + 4x + 6x² + 4x³ + x⁴, so the coefficient of the x² term is 6.
When the numbers are arranged in rows for n = 0, 1, 2, and so on, they form a triangle called Pascal's triangle. Each number in this triangle follows a recurrence relation, which means it can be found by adding two numbers from the row above.
Binomial coefficients appear in many areas of mathematics, especially in combinatorics. In this field, C(n,k) is read as "n choose k" because it counts how many ways there are to choose an unordered group of k elements from a set of n elements. For example, there are 6 ways to choose 2 elements from {1, 2, 3, 4}.
The binomial coefficients can also be extended to more general kinds of numbers. When k is greater than n, it is common to define the coefficient as 0. The formula can also be used when the input is any complex number, and many of the properties of binomial coefficients still hold in these wider settings.
History and notation
Andreas von Ettingshausen introduced the notation (nk) in 1826, although the numbers were known centuries 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 several ways, such as C(n, k). The C stands for combinations or choices, and it means the number of ways to choose k objects out of n. Many calculators use versions of the C notation because it fits on a single line of the display. 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 counts how many ways k objects can be chosen from n objects when order does not matter. More formally, it counts the k-element subsets (or k-combinations) of an n-element set. 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, and 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
Several methods exist to compute the value of (nk) without expanding a binomial power or counting k-combinations. One method uses a purely additive recursive formula, where a value is found by adding two smaller binomial coefficients together. Using the falling factorial notation, the values can also be found with a more efficient multiplicative method.
Generalization and connection to the binomial series
Main article: Binomial series
The multiplicative formula lets the idea be extended by replacing n with other kinds of numbers, such as negative, real, or complex numbers, or elements of a commutative ring where all positive integers can be inverted. This leads to a generalization of the binomial formula, which is why these values are still called binomial coefficients. This formula works for all complex numbers. When the power is a nonnegative whole number, the infinite series becomes a finite sum, which gives back the binomial formula. For other values, including negative integers and rational numbers, the series is truly infinite.
| (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:
It can be used, through mathematical induction, to prove that (n k) is a natural number for all whole numbers n ≥ 0 and all integers k. This is not obvious from formula (1). To the left and right of Pascal's triangle, the empty spaces all count as zero.
Pascal's rule also gives rise to Pascal's triangle:
Row number n contains the numbers (n k) for k = 0, ..., n. The triangle is built by placing 1s on the outside edges, then filling each inner spot with the sum of the two numbers directly above it. This makes it quick to find binomial coefficients without 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, because they give ready formulas for certain common counting problems. For example, there are (nk) ways to choose k elements from a set of n elements. See Combination. If repetitions 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, and (n+1k) such strings where no two ones are next to each other. The Catalan numbers can be written using a binomial coefficient, and 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, and these "generalized binomial coefficients" appear 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, and 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 binomial coefficient polynomials, because there is one 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, which 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 relate nearby binomial coefficients. For example, when k is a positive integer and n can be any number, . Several other useful relationships also exist, and for a fixed n there is a recurrence that links each coefficient to the one before it. The sum of the numbers in each row of Pascal's triangle is 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, as shown in . The Chu–Vandermonde identity is , and when n = 2m and k = m it gives a central binomial coefficient, as in . Another form of this identity, which leads to the hockey-stick identity, is . The Fibonacci numbers also connect to these coefficients, and the result can be proved by induction or by Zeckendorf's representation.
Many of these identities can be proved using combinatorial means, meaning 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, in trigonometric integrals that use Euler's formula to change trigonometric functions into complex exponentials, and in congruences, which compare remainders when numbers are divided by a prime n. For a prime n, the 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 packs a whole list of numbers into one expression. The expressions in this section can be used as ordinary functions when x and/or y are close enough 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. A two-variable version of these coefficients is also given, along with 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 proved 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 every digit of k in that base is less than or equal to the matching digit of n. Still, higher powers of a prime do not always divide in the same way, so 9 does not divide the binomial coefficient 9 choose 6.
Any integer divides almost all binomial coefficients. Mathematicians have also found many ways to estimate the size of binomial coefficients, 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 the numbers that appear in the expansion of a polynomial with more than two parts, and they can be thought of as ways to place distinguishable items into distinguishable containers. They have properties similar to binomial coefficients, such as a permutation symmetry. Binomial coefficients can also be written with a real number on top, and 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 combinations of other binomial coefficients, and falling factorials play a similar role. Partial fraction decomposition can also be used to 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, and the series has a radius of convergence of 1. Binomial coefficients also count subsets, while multisets allow repeated choices, and the resulting numbers are called multiset coefficients. Binomial coefficients can be extended further using the gamma function or beta function, and a q-analog called the Gaussian binomial coefficient uses polynomials in an indeterminate. These appear in counting problems such as 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, where, assuming the Axiom of Choice, the result for an infinite cardinal number with cardinality α is 2α.

Quiz time!
5 questions about Binomial coefficient
In the expansion of (1 + x)⁴, which number multiplies the x² term?
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.