All Topics  
Binomial coefficient

 

   Email Print
   Bookmark   Link






 

Binomial coefficient



 
 
In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the binomial coefficient is the coefficient
Coefficient

In mathematics, a coefficient is a constant multiplication factor of a certain object. For example, in the expression 9x2, the coefficient of x2 is 9....
 of the x k term in the polynomial
Polynomial

In mathematics, a polynomial is an expression constructed from variables and constants, using the operations of addition, subtraction, multiplication, and constant non-negative whole number exponents....
 expansion of the binomial
Binomial

In elementary algebra, a binomial is a polynomial with two terms—the sum of two monomials—often bound by parenthesis or brackets when operated upon....
 power
Exponentiation

Exponentiation is a mathematics operation , written 'an', involving two numbers, the base a and the exponent n....
 (1 + x) n.

In combinatorics
Combinatorics

Combinatorics is a branch of pure mathematics concerning the study of Countable set objects. It is related to many other areas of mathematics, such as algebra, probability theory, ergodic theory and geometry, as well as to applied subjects in computer science and statistical physics....
, is interpreted as the number of k-element subset
Subset

In mathematics, especially in set theory, a Set A is a subset of a set B if A is "contained" inside B. Notice that A and B may coincide....
s (the k-combination
Combination

In combinatorics, a combination is an un-ordered collection of distinct elements, usually of a prescribed size and taken from a given set. Given such a Set S, a combination of elements of S is just a subset of S, where as always for sets the order of the elements is not taken into account ....
s) of an n-element set, that is the number of ways that k things can be 'chosen' from a set of n things. Hence, is often read as "n choose k" and is called the choose function of n and k.

n a non-negative integer n and an integer k, the binomial coefficient is defined to be the natural number

and

where n! denotes the factorial
Factorial

In mathematics, the factorial of a negative and non-negative numbers integer n, denoted by n!, is the Product of all positive integers less than or equal to n....
 of n.

Alternatively, a recursive definition can be written as

where

The notation was introduced by Andreas von Ettingshausen
Andreas von Ettingshausen

Andreas Freiherr von Ettingshausen was a German mathematician and physicist.Ettingshausen studied philosophy and jurisprudence in Vienna. In 1817, he joined University of Vienna and taught mathematics and physics....
 in 1826, although the numbers were already known centuries before that (see Pascal's triangle
Pascal's triangle

In mathematics, Pascal's triangle is a geometric arrangement of the binomial coefficients in a triangle. Pascal's Triangle is named after Blaise Pascal in much of the western world, although other mathematicians studied it centuries before him in History of India, History of Iran, China, and Italy....
).






Discussion
Ask a question about 'Binomial coefficient'
Start a new discussion about 'Binomial coefficient'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the binomial coefficient is the coefficient
Coefficient

In mathematics, a coefficient is a constant multiplication factor of a certain object. For example, in the expression 9x2, the coefficient of x2 is 9....
 of the x k term in the polynomial
Polynomial

In mathematics, a polynomial is an expression constructed from variables and constants, using the operations of addition, subtraction, multiplication, and constant non-negative whole number exponents....
 expansion of the binomial
Binomial

In elementary algebra, a binomial is a polynomial with two terms—the sum of two monomials—often bound by parenthesis or brackets when operated upon....
 power
Exponentiation

Exponentiation is a mathematics operation , written 'an', involving two numbers, the base a and the exponent n....
 (1 + x) n.

In combinatorics
Combinatorics

Combinatorics is a branch of pure mathematics concerning the study of Countable set objects. It is related to many other areas of mathematics, such as algebra, probability theory, ergodic theory and geometry, as well as to applied subjects in computer science and statistical physics....
, is interpreted as the number of k-element subset
Subset

In mathematics, especially in set theory, a Set A is a subset of a set B if A is "contained" inside B. Notice that A and B may coincide....
s (the k-combination
Combination

In combinatorics, a combination is an un-ordered collection of distinct elements, usually of a prescribed size and taken from a given set. Given such a Set S, a combination of elements of S is just a subset of S, where as always for sets the order of the elements is not taken into account ....
s) of an n-element set, that is the number of ways that k things can be 'chosen' from a set of n things. Hence, is often read as "n choose k" and is called the choose function of n and k.

Definition

Given a non-negative integer n and an integer k, the binomial coefficient is defined to be the natural number

and

where n! denotes the factorial
Factorial

In mathematics, the factorial of a negative and non-negative numbers integer n, denoted by n!, is the Product of all positive integers less than or equal to n....
 of n.

Alternatively, a recursive definition can be written as

where

The notation was introduced by Andreas von Ettingshausen
Andreas von Ettingshausen

Andreas Freiherr von Ettingshausen was a German mathematician and physicist.Ettingshausen studied philosophy and jurisprudence in Vienna. In 1817, he joined University of Vienna and taught mathematics and physics....
 in 1826, although the numbers were already known centuries before that (see Pascal's triangle
Pascal's triangle

In mathematics, Pascal's triangle is a geometric arrangement of the binomial coefficients in a triangle. Pascal's Triangle is named after Blaise Pascal in much of the western world, although other mathematicians studied it centuries before him in History of India, History of Iran, China, and Italy....
). Alternative notations include C(n, k), nCk or , in all of which the C stands for combination
Combination

In combinatorics, a combination is an un-ordered collection of distinct elements, usually of a prescribed size and taken from a given set. Given such a Set S, a combination of elements of S is just a subset of S, where as always for sets the order of the elements is not taken into account ....
s or choices.

The binomial coefficients are the coefficient
Coefficient

In mathematics, a coefficient is a constant multiplication factor of a certain object. For example, in the expression 9x2, the coefficient of x2 is 9....
s of the series expansion of a power of a binomial, hence the name:

If the exponent n is a nonnegative integer then this infinite series is actually a finite sum as all terms with k > n are zero, but if the exponent n is negative or a non-integer, then it is an infinite series. (See the articles on combination
Combination

In combinatorics, a combination is an un-ordered collection of distinct elements, usually of a prescribed size and taken from a given set. Given such a Set S, a combination of elements of S is just a subset of S, where as always for sets the order of the elements is not taken into account ....
 and on binomial theorem
Binomial theorem

In mathematics, the binomial theorem is an important formula giving the expansion of exponentiation of sums. Its simplest version states that...
).

Combinatorial interpretation

The importance of the binomial coefficients (and the motivation for the alternate name 'choose') lies in the fact that is the number of ways that k objects can be chosen from among n objects, regardless of order. More formally,

is the number of k-element subsets of an n-element set.

In fact, this property is often chosen as an alternative definition of the binomial coefficient, since from (1a) one may derive (1) as a corollary by a straightforward combinatorial proof
Combinatorial proof

In mathematics, the term combinatorial proof is often used to mean either of two types of mathematical proof:* A proof by double counting ....
. For a colloquial demonstration, note that in the formula the numerator gives the number of ways to fill the k slots using the n options, where the slots are distinguishable from one another. Thus a pizza with mushrooms added before sausage is considered to be different from a pizza with sausage added before mushrooms. The denominator eliminates these repetitions because if the k slots are indistinguishable, then all of the k! ways of arranging them are considered identical.

In the context of computer science, it also helps to see as the number of strings consisting of ones and zeros with k ones and nk zeros. For each k-element subset, K, of an n-element set, N, the indicator function
Indicator function

In mathematics, an indicator function or a characteristic function is a Function defined on a Set that indicates membership of an element in a subset of ....
, 1K : N?, where 1K(x) = 1 whenever x in K and 0 otherwise, produces a unique bit string of length n with exactly k ones by feeding 1K with the n elements in a specific order.

Example



The calculation of the binomial coefficient is conveniently arranged like this: ((((5/1)·6)/2)·7)/3 = (((5·6)/2)·7)/3 = ((30/2)·7)/3 = (15·7)/3 = 105/3 = 35, alternately dividing and multiplying with increasing integers. Each division produces an integer result which is itself a binomial coefficient.

Derivation from binomial expansion


For exponent 1, (1+x)1 is 1+x. For exponent 2, (1+x)2 is (1+x)·(1+x), which forms terms as follows. The first factor supplies either a 1 or an x; likewise for the second factor. Thus to form 1, the only possibility is to choose 1 from both factors; To form x2, the only possibility is to choose x from both factors. However, the x term can be formed by 1 from the first and x from the second factor, or x from the first and 1 from the second factor; thus it acquires a coefficient of 2. Proceeding to exponent 3, (1+x)3 reduces to (1+x)2·(1+x), where we already know that (1+x)2= 1+2x+x2, giving an initial expansion of (1+x)·(1+2x+x2). Again the extremes, 1 and x3 arise in a unique way. However, the x term is either 1·2x or x·1, for a coefficient of 3; likewise x2 arises in two ways, summing the coefficients 2 and 1 to give 3.

This suggests an induction
Mathematical induction

Mathematical induction is a method of mathematical proof typically used to establish that a given statement is true of all natural numbers. It is done by proving that the first statement in the infinite sequence of statements is true, and then proving that if any one statement in the infinite sequence of statements is true, then...
. Thus for exponent n, each term of (1+x)n has n-k factors of 1 and k factors of x. If k is 0 or n, the term xk arises in only one way, and we get the terms 1 and xn. So and If k is neither 0 nor n, then the term xk arises in (1+x)n=(1+x)·(1+x)n−1 in two ways, from 1·xk and from x·xk−1, summing the coefficients to give . This is the origin of Pascal's triangle, discussed below.

Another perspective is that to form xk from n factors of (1+x), we must choose x from k of the factors and 1 from the rest. To count the possibilities, consider all n! permutation
Permutation

In several fields of mathematics the term permutation is used with different but closely related meanings. They all relate to the notion of mapping the element s of a set to other elements of the same set, i.e., exchanging elements of a set....
s of the factors. Represent each permutation as a shuffled list of the numbers from 1 to n. Select a 1 from the first n-k factors listed, and an x from the remaining k factors; in this way each permutation contributes to the term xk. For example, the list <4,1,2,3> selects 1 from factors 4 and 1, and selects x from factors 2 and 3, as one way to form the term x2 like this: "(1 + x)·(1 + x )·(1 + x )·(1 + x)". But the distinct list <1,4,3,2> makes exactly the same selection; the binomial coefficient formula must remove this redundancy. The n-k factors for 1 have (n-k)! permutations, and the k factors for x have k! permutations. Therefore n!/(n-k)!k! is the number of distinct ways to form the term xk.

A simpler explanation follows: One can pick a random element out of n in exactly n ways, a second random element in n−1 ways, and so forth. Thus, k elements can be picked out of n in n·(n−1)···(nk+1) ways. In this calculation, however, each order-independent selection occurs k! times, as a list of k elements can be permuted in so many ways. Thus eq. (1) is obtained.

Pascal's triangle


Pascal's rule
Pascal's rule

In mathematics, Pascal's rule is a combinatorics identity about binomial coefficients. It states that for any natural number n we havewhere and is a binomial coefficient....
 is the important recurrence relation
Recurrence relation

In mathematics, a recurrence relation is an equation that defines a sequence recursion: each term of the sequence is defined as a Function of the preceding terms....
which can be used to prove by mathematical induction
Mathematical induction

Mathematical induction is a method of mathematical proof typically used to establish that a given statement is true of all natural numbers. It is done by proving that the first statement in the infinite sequence of statements is true, and then proving that if any one statement in the infinite sequence of statements is true, then...
 that is a natural number for all n and k, (equivalent to the statement that k! divides the product of k consecutive integers), a fact that is not immediately obvious from formula (1)
Binomial coefficient

In mathematics, the binomial coefficient is the coefficient of the x k term in the polynomial expansion of the binomial exponentiation  n....
.

Pascal's rule also gives rise to Pascal's triangle
Pascal's triangle

In mathematics, Pascal's triangle is a geometric arrangement of the binomial coefficients in a triangle. Pascal's Triangle is named after Blaise Pascal in much of the western world, although other mathematicians studied it centuries before him in History of India, History of Iran, China, and Italy....
:
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: 21 35 35 21  
8: 28 56 70 56 28


Row number n contains the numbers for k = 0,…,n. It is constructed by starting with ones at the outside and then always adding two adjacent numbers and writing the sum directly underneath. This method allows the quick calculation of binomial coefficients without the need for fractions or multiplications. For instance, by looking at row number 5 of the triangle, one can quickly read off that 5 = 1 x5 + 5 x4y + 10 x3y2 + 10 x2y3 + 5 x y4 + 1 y5. The differences between elements on other diagonals are the elements in the previous diagonal, as a consequence of the recurrence relation (3) above.

Combinatorics and statistics


Binomial coefficients are of importance in combinatorics
Combinatorics

Combinatorics is a branch of pure mathematics concerning the study of Countable set objects. It is related to many other areas of mathematics, such as algebra, probability theory, ergodic theory and geometry, as well as to applied subjects in computer science and statistical physics....
, because they provide ready formulas for certain frequent counting problems:
  • There are ways to choose k elements from a set of n elements. See Combination
    Combination

    In combinatorics, a combination is an un-ordered collection of distinct elements, usually of a prescribed size and taken from a given set. Given such a Set S, a combination of elements of S is just a subset of S, where as always for sets the order of the elements is not taken into account ....
    .
  • There are ways to choose k elements from a set of n if repetitions are allowed. See Multiset
    Multiset

    In mathematics, a multiset is a generalization of a Set . A Element of a multiset can have more than one Element , while each member of a set has only one membership....
    .
  • There are strings
    String (computer science)

    In computer programming and some branches of mathematics, a string is an ordered sequence of symbols. These symbols are chosen from a predetermined set or alphabet....
     containing k ones and n zeros.
  • There are strings consisting of k ones and n zeros such that no two ones are adjacent.
  • The Catalan number
    Catalan number

    In combinatorics, the Catalan numbers form a sequence of natural numbers that occur in various counting problems, often involvingrecursion defined objects....
    s are
  • The binomial distribution
    Binomial distribution

    In probability theory and statistics, the binomial distribution is the discrete probability distribution of the number of successes in a sequence of n statistical independence yes/no experiments, each of which yields success with probability p....
     in statistics
    Statistics

    Statistics is a Mathematics pertaining to the collection, analysis, interpretation or explanation, and presentation of data. It also provides tools for prediction and forecasting based on data....
     is
  • The formula for a Bézier curve
    Bézier curve

    In the mathematics field of numerical analysis, a B?zier curve is a parametric curve important in computer graphics and related fields.Generalizations of B?zier curves to higher dimensions are called B?zier surfaces, of which the B?zier triangle is a special case....
    .


Identities involving binomial coefficients


When n is an integer

This follows from (2) by using (1 + x)n = xn·(1 + x−1)n. It is reflected in the symmetry of Pascal's triangle
Pascal's triangle

In mathematics, Pascal's triangle is a geometric arrangement of the binomial coefficients in a triangle. Pascal's Triangle is named after Blaise Pascal in much of the western world, although other mathematicians studied it centuries before him in History of India, History of Iran, China, and Italy....
. A combinatorial interpretation of this formula is as follow: when forming a subset of elements (from a set of size ), it is equivalent to consider the number of ways you can pick elements and the number of ways you can exclude elements.

Another formula is

it is obtained from (2) using x = 1. This is equivalent to saying that the elements in one row of Pascal's triangle always add up to two raised to an integer power. A combinatorial interpretation of this fact involving double counting
Double counting (proof technique)

In combinatorics, double counting, also called counting in two ways, is a combinatorial proof technique that involves counting the size of a Set in two ways in order to show that the two resulting expressions for the size of the set are equal....
 is given by counting subsets of size 0, size 1, size 2, and so on up to size n of a set S of n elements. Since we count the number of subsets of size i for 0 = i = n, this sum must be equal to the number of subsets of S, which is known to be 2n.

The formula follows from (2), after differentiating
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
 with respect to x and then substituting x = 1.

Furthermore, for all 0 < k < n if and only if n is prime.

We can prove this as follows: When p is prime, p divides for all 0 < k < p because it is a natural number and the numerator has a prime factor p but the denominator does not have a prime factor p. So ≡0 (mod p)

When n is composite, let p be the smallest prime factor of n and let k = n/p. Then 0 < p < n and otherwise the numerator k(n−1)(n−2)×...×(np+1) has to be divisible by n = k×p, this can only be the case when (n−1)(n−2)×...×(np+1) is divisible by p. But n is divisible by p, so p does not divide n−1, n−2, ..., np+1 and because p is prime, we know that p does not divide (n−1)(n−2)×...×(np+1) and so the numerator cannot be divisible by n.

Vandermonde's identity
Vandermonde's identity

In combinatorics mathematics, Vandermonde's identity, named after Alexandre-Th?ophile Vandermonde , states that the equalityfor binomial coefficients holds....
is found by expanding (1 + x)m (1 + x)nm = (1 + x)n with (2). As is zero if k > n, the sum is finite for integer n and m. Equation (7a) generalizes equation (3). It holds for arbitrary, complex-valued and , the Chu-Vandermonde identity.

A related formula is

While equation (7a) is true for all values of m, equation (7b) is true for all values of j.

From expansion (7a) using n=2m, k = m, and (4), one finds

Denote by F(n + 1) the Fibonacci number
Fibonacci number

In mathematics, the Fibonacci numbers are a sequence of numbers named after Leonardo of Pisa, known as Fibonacci . Fibonacci's 1202 book Liber Abaci introduced the sequence to Western European mathematics, although the sequence had been previously described in Indian mathematics....
s. We obtain a formula about the diagonals of Pascal's triangle

This can be proved by induction
Mathematical induction

Mathematical induction is a method of mathematical proof typically used to establish that a given statement is true of all natural numbers. It is done by proving that the first statement in the infinite sequence of statements is true, and then proving that if any one statement in the infinite sequence of statements is true, then...
 using (3).

Also using (3) and induction, one can show that

Again by (3) and induction, one can show that for k = 0, ... , n−1

as well as

which is itself a special case of the result that for any integer k = 1, ..., n − 1, which can be shown by differentiating (2) k times and setting x = −1.

The infinite series is convergent for n = 2. It is the limiting case of the finite sum This formula is proved by mathematical induction
Mathematical induction

Mathematical induction is a method of mathematical proof typically used to establish that a given statement is true of all natural numbers. It is done by proving that the first statement in the infinite sequence of statements is true, and then proving that if any one statement in the infinite sequence of statements is true, then...
 on k.

Using (8) one can derive and

Identities with combinatorial proofs


Many identities involving binomial coefficients can be proved by combinatorial means
Combinatorial proof

In mathematics, the term combinatorial proof is often used to mean either of two types of mathematical proof:* A proof by double counting ....
. For example, the following identity for nonnegative integers (which reduces to (6) when ):

can be given a double counting proof
Double counting (proof technique)

In combinatorics, double counting, also called counting in two ways, is a combinatorial proof technique that involves counting the size of a Set in two ways in order to show that the two resulting expressions for the size of the set are equal....
 as follows. The left side counts the number of ways of selecting a subset of of at least q elements, and marking q elements among those selected. The right side counts the same parameter, because there are ways of choosing a set of q marks and they occur in all subsets that additionally contain some subset of the remaining elements, of which there are

The identity (8) also has a combinatorial proof. The identity reads

Suppose you have empty squares arranged in a row and you want to mark (select) n of them. There are ways to do this. On the other hand, you may select your n squares by selecting k squares from among the first n and squares from the remaining n squares. This gives Now apply (4) to get the result.

Generating functions

The binomial coefficients can also be derived from the labelled case of the Fundamental Theorem of Combinatorial Enumeration
Fundamental theorem of combinatorial enumeration

The fundamental theorem of combinatorial enumeration is a theorem in combinatorics that solves the enumeration problem of labelled and unlabelled combinatorial classes....
. This is done by defining to be the number of ways of partitioning into two subsets, the first of which has size k. These partitions form a combinatorial class with the specification

Hence the exponential generating function
Generating function

In mathematics a generating function is a formal power series whose coefficients encode information about a sequence an that is indexed by the natural numbers....
 B of the sum function of the binomial coefficients is given by

This immediately yields

as expected. We mark the first subset with in order to obtain the binomial coefficients themselves, giving

This yields the bivariate generating function

Extracting coefficients, we find that

or

again as expected. This derivation closely parallels that of the Stirling number
Stirling number

In mathematics, Stirling numbers arise in a variety of combinatorics problems. They are named after James Stirling , who introduced them in the 18th century....
s of the first and second kind, motivating the binomial-style notation that is used for these numbers.

Divisors of binomial coefficients


The prime
Prime number

In mathematics, a prime number is a natural number which has exactly two distinct natural number divisors: 1 and itself. An infinitude of prime numbers exists, as demonstrated by Euclid around 300 BC....
 divisors of can be interpreted as follows: if p is a prime number and pr is the highest power of p which divides , then r is equal to the number of natural numbers j such that the fractional part of k/pj is bigger than the fractional part of n/pj. In particular, is always divisible by n/gcd
Greatest common divisor

In mathematics, the greatest common divisor , sometimes known as the greatest common factor or highest common factor , of two non-zero integers, is the largest positive integer that divisor both numbers without remainder....
(n,k).

A somewhat surprising result by David Singmaster
David Singmaster

David Breyer Singmaster is a retired professor of mathematics at London South Bank University, England, United Kingdom. A self-described Metagrobology, he is most famous for his solution to the Rubik's cube and his huge personal collection of mechanical puzzles and books of brainteasers....
 (1974) is that any integer divides almost all
Almost all

In mathematics, the phrase almost all has a number of specialised uses."Almost all" is sometimes used synonymously with "all but finite setly many" or "all but a countable set" ; see almost....
 binomial coefficients. More precisely, fix an integer d and let f(N) denote the number of binomial coefficients with n < N such that d divides . Then Since the number of binomial coefficients with n < N is N(N+1) / 2, this implies that the density of binomial coefficients divisible by d goes to 1.

Bounds for binomial coefficients


The following bounds for hold:

Generalizations


Generalization to multinomials


Binomial coefficients can be generalized to multinomial coefficients. They are defined to be the number: where

While the binomial coefficients represent the coefficients of (x+y)n, the multinomial coefficients represent the coefficients of the polynomial n. See multinomial theorem
Multinomial theorem

In mathematics, the multinomial theorem says how to write a power of a sum in terms of powers of the terms in that sum. It is the generalization of the binomial theorem to polynomials....
. The case r = 2 gives binomial coefficients:

The combinatorial interpretation of multinomial coefficients is distribution of n distinguishable elements over r (distinguishable) containers, each containing exactly ki elements, where i is the index of the container.

Multinomial coefficients have many properties similar to these of binomial coefficients, for example the recurrence relation: and symmetry: where is a permutation of (1,2,...,r).

Generalization to negative integers

If , then extends to all .

The binomial coefficient extends to via

Notice in particular, that

This gives rise to the Pascal Hexagon or Pascal Windmill.

Generalization to real and complex argument

The binomial coefficient can be defined for any complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
 z and any natural number
Natural number

In mathematics, a natural number can mean either an element of the Set = *n = = ? = ? ...
 k as follows:

This generalization is known as the generalized binomial coefficient and is used in the formulation of the binomial theorem
Binomial theorem

In mathematics, the binomial theorem is an important formula giving the expansion of exponentiation of sums. Its simplest version states that...
 and satisfies properties (3) and (7).f

Alternatively, the infinite product may be used to generalize the binomial coefficient. This formula discloses that asymptotically and as .

The derivative
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
 of the generalized binomial coefficient is given by .

Interpolation

For k fixed, the expression is a polynomial
Polynomial

In mathematics, a polynomial is an expression constructed from variables and constants, using the operations of addition, subtraction, multiplication, and constant non-negative whole number exponents....
 in z of degree k with rational
Rational number

In mathematics, a rational number is a number which can be expressed as a quotient of two integers. Non-integer rational numbers are usually written as the vulgar fraction , where b is not 0 ....
 coefficients.

p(z) is the unique polynomial of degree k satisfying p(0) = p(1) = ... = p(k − 1) = 0 and p(k) = 1.

Using Stirling numbers of the first kind
Stirling numbers of the first kind

In mathematics, Stirling numbers of the first kind, together with the Stirling numbers of the second kind, are one of the two types of Stirling numbers....
 the series expansion is

Any polynomial p(z) of degree d can be written in the form
the explicit representation is

This is important in the theory of difference equations and finite difference
Finite difference

A finite difference is a mathematical expression of the form ff. If a finite difference is divided by ba, one gets a difference quotient....
s, and can be seen as a discrete analog of Taylor's theorem
Taylor's theorem

In calculus, Taylor's theorem gives a sequence of approximations of a differentiable function around a given point by polynomials whose coefficients depend only on the derivatives of the function at that point....
. It is closely related to Newton's polynomial. Alternating sums of this form may be expressed as the Nörlund-Rice integral
Nörlund-Rice integral

In mathematics, the N?rlund-Rice integral, sometimes called Rice's method, relates the nth forward difference of a function to a line integral on the complex plane....
.

In particular, one can express the product of binomial coefficients as such a linear combination:

where the connection coefficients are multinomial coefficients
Multinomial theorem

In mathematics, the multinomial theorem says how to write a power of a sum in terms of powers of the terms in that sum. It is the generalization of the binomial theorem to polynomials....
. In terms of labelled combinatorial objects, the connection coefficients represent the number of ways to assign m+n-k labels to a pair of labelled combinatorial objects of weight m and n respectively, that have had their first k labels identified, or glued together, in order to get a new labelled combinatorial object of weight m+n-k. (That is, to separate the labels into 3 portions to be applied to the glued part, the unglued part of the first object, and the unglued part of the second object.) In this regard, binomial coefficients are to exponential generating series what falling factorials are to ordinary generating series.

Partial Fraction Decomposition

The partial fraction decomposition of the inverse is given by and

Newton's binomial series
Newton's binomial series
Binomial series

In mathematics, the binomial series generalizes the purely algebraic formula of the binomial theoremto complex values of a. It is also a special case of a Newton_series#Newton_series....
, named after Sir Isaac Newton, is one of the simplest Newton series:

The identity can be obtained by showing that both sides satisfy the differential equation (1+z) f(z) = a f(z). The radius of convergence
Radius of convergence

In mathematics, the radius of convergence of a power series is a non-negative quantity, either a real number or that represents a domain in which the power series will Convergence....
 of this series is 1. An alternative expression is

where the identity

is applied.

The formula for the binomial series was etched onto Newton's gravestone in Westminster Abbey
Westminster Abbey

The Collegiate Church of St Peter at Westminster, which is almost always referred to popularly and informally as Westminster Abbey, is a large, mainly Gothic architecture Church , in Westminster, London, just to the west of the Palace of Westminster....
 in 1727.

Two real or complex valued arguments
The binomial coefficient is generalized to two real or complex valued arguments using gamma function
Gamma function

In mathematics, the Gamma function is an extension of the factorial function to real number and complex number numbers. For a complex number z with positive real part the Gamma function is defined by...
 or Beta function
Beta function

In mathematics, the beta function, also called the Euler integral of the first kind, is a special function defined byfor The beta function was studied by Leonhard Euler and Adrien-Marie Legendre and was given its name by Jacques Philippe Marie Binet....
 via This definition inherits these following additional properties from : moreover, .

Generalization to q-series


The binomial coefficient has a q-analog
Q-analog

In mathematics, in the area of combinatorics and special functions,a q-analog is, roughly speaking, a theorem or identity in the variable q that gives back a known result in the limit , as q → 1 ....
 generalization known as the Gaussian binomial
Gaussian binomial

In mathematics, the Gaussian binomials are the q-analogs of the binomial coefficients.DefinitionThe Gaussian binomials are defined by...
.

Generalization to infinite cardinals


The definition of the binomial coefficient can be generalized to infinite cardinals
Cardinal number

In mathematics, cardinal numbers, or cardinals for short, are a generalization of the natural numbers used to measure the cardinality of Set ....
 by defining:

where A is some set with cardinality
Cardinality

In mathematics, the cardinality of a set is a measure of the "number of Element of the set". For example, the set A = contains 3 elements, and therefore A has a cardinality of 3....
 . One can show that the generalized binomial coefficient is well-defined, in the sense that no matter what set we choose to represent the cardinal number , will remain the same. For finite cardinals, this definition coincides with the standard definition of the binomial coefficient.

Assuming the Axiom of Choice
Axiom of choice

In mathematics, the axiom of choice, or AC, is an axiom of set theory. Informally put, the axiom of choice says that given any collection of bins, each containing at least one object, it is possible to make a selection of exactly one object from each bin, even if there are infinite set many bins and there is no "rule" for which object t...
, one can show that for any infinite cardinal .

Binomial coefficient in programming languages

The notation is convenient in handwriting but inconvenient for typewriter
Typewriter

A typewriter is a Machine or electromechanical device with a set of "keys" that, when pressed, cause Typeface to be printed on a medium, usually paper....
s and computer terminal
Computer terminal

A computer terminal is an electronic or electromechanical computer hardware device that is used for entering data into, and displaying data from, a computer or a computing system....
s. Many programming language
Programming language

A programming language is a machine-readable artificial language designed to express computations that can be performed by a machine, particularly a computer....
s do not offer a standard subroutine
Subroutine

In computer science, a subroutine or subprogram is a portion of computer code within a larger computer program, which performs a specific task and is relatively independent of the remaining code....
 for computing the binomial coefficient, but for example the J programming language uses the exclamation mark: k ! n .

Naive implementations, such as the following snippet in C
C (programming language)

C is a general-purpose computer programming language originally developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories to implement the Unix operating system....
:

int choose(int n, int k)  


are prone to overflow errors, severely restricting the range of input values. A direct implementation of the first definition works well:


unsigned long long choose(unsigned n, unsigned k) 


Another way to compute the binomial coefficient when using large numbers is to recognize that

is a special function that is easily computed and is standard in some programming languages such as Matlab. Roundoff error may cause the returned value to not be an integer.

See also

  • Combination
    Combination

    In combinatorics, a combination is an un-ordered collection of distinct elements, usually of a prescribed size and taken from a given set. Given such a Set S, a combination of elements of S is just a subset of S, where as always for sets the order of the elements is not taken into account ....
  • Central binomial coefficient
    Central binomial coefficient

    In mathematics the nth central binomial coefficient is defined in terms of the binomial coefficient byThey are called central since they show up exactly in the middle of the even-numbered rows in Pascal's triangle....
  • Binomial transform
    Binomial transform

    In combinatorial mathematics the binomial transform is a sequence transformation that computes its forward differences. It is closely related to the Euler transform, which is the result of applying the binomial transform to the sequence associated with its ordinary generating function....
  • Table of Newtonian series
    Table of Newtonian series

    In mathematics, a Newtonian series, named after Isaac Newton, is a sum over a sequence written in the formwhereis the binomial coefficient and is the rising factorial....
  • List of factorial and binomial topics
    List of factorial and binomial topics

    This is a list of factorial and binomial topics in mathematics, by Wikipedia page. See also binomial .*Alternating factorial*Antichain*Beta function...
  • Multiplicities of entries in Pascal's triangle
    Multiplicities of entries in Pascal's triangle

    In combinatorial number theory, Singmaster's conjecture, named after David Singmaster, says there is a finite upper bound on the multiplicity of entries in Pascal's triangle ....
  • Binomial theorem
    Binomial theorem

    In mathematics, the binomial theorem is an important formula giving the expansion of exponentiation of sums. Its simplest version states that...
  • Binomial series
    Binomial series

    In mathematics, the binomial series generalizes the purely algebraic formula of the binomial theoremto complex values of a. It is also a special case of a Newton_series#Newton_series....