# Binomial theorem

In elementary algebra, the **binomial theorem** describes the algebraic expansion of powers of a binomial, hence it is referred to as **binomial expansion**. According to the theorem, it is possible to expand the power (*x* + *y*)^{n} into a sum involving terms of the form *ax*^{b}*y*^{c}, where the exponents *b* and *c* are nonnegative integers with *b* + *c* = *n*, and the coefficient *a* of each term is a specific positive integer depending on *n* and *b*. When an exponent is zero, the corresponding power is usually omitted from the term. For example,

The coefficient *a* in the term of *ax*^{b}*y*^{c} is known as the binomial coefficient or (the two have the same value). These coefficients for varying *n* and *b* can be arranged to form Pascal's triangle. These numbers also arise in combinatorics, where gives the number of different combinations of *b* elements that can be chosen from an *n*-element set.

## History

This formula and the triangular arrangement of the binomial coefficients are often attributed to Blaise Pascal, who described them in the 17th century, but they were known to many mathematicians who preceded him. For instance the 4th century B.C. Greek mathematician Euclid mentioned the special case of the binomial theorem for exponent 2^{[1]}^{[2]} as did the 3rd century B.C. Indian mathematician Pingala to higher orders. A more general binomial theorem and the so-called "Pascal's triangle" were known in the 10th century A.D. to Indian mathematician Halayudha. Arabian mathematician Al-Karaji,^{[3]} in the 11th century was aware of a more general binomial theorem, along with Persian poet and mathematician Omar Khayyam,^{[4]} and in the 13th century to Chinese mathematician Yang Hui, who all derived similar results.^{[5]} Al-Karaji also provided a mathematical proof of both the binomial theorem and Pascal's triangle, using a primitive form of mathematical induction.^{[3]}
Sir Isaac Newton is generally credited with the generalised binomial theorem, valid for any rational exponent.^{[6]}

## Statement of the theorem

According to the theorem, it is possible to expand any power of *x* + *y* into a sum of the form

where each is a specific positive integer known as a binomial coefficient. This formula is also referred to as the **binomial formula** or the **binomial identity**. Using summation notation, it can be written as

The final expression follows from the previous one by the symmetry of *x* and *y* in the first expression, and by comparison it follows that the sequence of binomial coefficients in the formula is symmetrical.

A simple variant of the binomial formula is obtained by substituting 1 for *y*, so that it involves only a single variable. In this form, the formula reads

or equivalently

## Examples

The most basic example of the binomial theorem is the formula for the square of *x* + *y*:

The binomial coefficients 1, 2, 1 appearing in this expansion correspond to the third row of Pascal's triangle. The coefficients of higher powers of *x* + *y* correspond to later rows of the triangle:

Notice that

- the powers of x go down until it reaches 0 (), starting value is n (the n in .)
- the powers of y go up from 0 () until it reaches n (also the n in .)
- the nth row of the Pascal's Triangle will be the coefficients of the expanded binomial. (Note that the top is row 0.)
- for each line, the number of products (i.e. the sum of the coefficients) is equal to .
- for each line, the number of product groups is equal to .

The binomial theorem can be applied to the powers of any binomial. For example,

For a binomial involving subtraction, the theorem can be applied as long as the opposite of the second term is used. This has the effect of changing the sign of every other term in the expansion:

Another useful example is that of the expansion of the following square roots:

Sometimes it may be useful to expand negative exponents when :

### Geometric explanation

For positive values of *a* and *b*, the binomial theorem with *n* = 2 is the geometrically evident fact that a square of side *a* + *b* can be cut into a square of side *a*, a square of side *b*, and two rectangles with sides *a* and *b*. With *n* = 3, the theorem states that a cube of side *a* + *b* can be cut into a cube of side *a*, a cube of side *b*, three *a*×*a*×*b* rectangular boxes, and three *a*×*b*×*b* rectangular boxes.

In calculus, this picture also gives a geometric proof of the derivative ^{[7]} if one sets and interpreting *b* as an infinitesimal change in *a,* then this picture shows the infinitesimal change in the volume of an *n*-dimensional hypercube, where the coefficient of the linear term (in ) is the area of the *n* faces, each of dimension

Substituting this into the definition of the derivative via a difference quotient and taking limits means that the higher order terms – and higher – become negligible, and yields the formula interpreted as

- "the infinitesimal change in volume of an
*n*-cube as side length varies is the area of*n*of its -dimensional faces".

If one integrates this picture, which corresponds to applying the fundamental theorem of calculus, one obtains Cavalieri's quadrature formula, the integral – see proof of Cavalieri's quadrature formula for details.^{[7]}

## The binomial coefficients

{{#invoke:main|main}}
The coefficients that appear in the binomial expansion are called **binomial coefficients**. These are usually written , and pronounced “*n* choose *k*”.

### Formulae

The coefficient of *x*^{n−k}*y*^{k} is given by the formula

which is defined in terms of the factorial function *n*!. Equivalently, this formula can be written

with *k* factors in both the numerator and denominator of the fraction. Note that, although this formula involves a fraction, the binomial coefficient is actually an integer.

### Combinatorial interpretation

The binomial coefficient can be interpreted as the number of ways to choose *k* elements from an *n*-element set. This is related to binomials for the following reason: if we write (*x* + *y*)^{n} as a product

then, according to the distributive law, there will be one term in the expansion for each choice of either *x* or *y* from each of the binomials of the product. For example, there will only be one term *x*^{n}, corresponding to choosing *x* from each binomial. However, there will be several terms of the form *x*^{n−2}*y*^{2}, one for each way of choosing exactly two binomials to contribute a *y*. Therefore, after combining like terms, the coefficient of *x*^{n−2}*y*^{2} will be equal to the number of ways to choose exactly 2 elements from an *n*-element set.

## Proofs

### Combinatorial proof

#### Example

The coefficient of *xy*^{2} in

equals because there are three *x*,*y* strings of length 3 with exactly two *y'*s, namely,

corresponding to the three 2-element subsets of { 1, 2, 3 }, namely,

where each subset specifies the positions of the *y* in a corresponding string.

#### General case

Expanding (*x* + *y*)^{n} yields the sum of the 2^{ n} products of the form *e*_{1}*e*_{2} ... *e*_{ n} where each *e*_{ i} is *x* or *y*. Rearranging factors shows that each product equals *x*^{n−k}*y*^{k} for some *k* between 0 and *n*. For a given *k*, the following are proved equal in succession:

- the number of copies of
*x*^{n − k}*y*^{k}in the expansion - the number of
*n*-character*x*,*y*strings having*y*in exactly*k*positions - the number of
*k*-element subsets of { 1, 2, ...,*n*} - (this is either by definition, or by a short combinatorial argument if one is defining as ).

This proves the binomial theorem.

### Inductive proof

Induction yields another proof of the binomial theorem (1). When *n* = 0, both sides equal 1, since *x*^{0} = 1 and .
Now suppose that (1) holds for a given *n*; we will prove it for *n* + 1.
For *j*, *k* ≥ 0, let [*ƒ*(*x*, *y*)]_{ j,k} denote the coefficient of *x*^{j}*y*^{k} in the polynomial *ƒ*(*x*, *y*).
By the inductive hypothesis, (*x* + *y*)^{n} is a polynomial in *x* and *y* such that [(*x* + *y*)^{n}]_{ j,k} is if *j* + *k* = *n*, and 0 otherwise.
The identity

shows that (*x* + *y*)^{n+1} also is a polynomial in *x* and *y*, and

since if *j* + *k* = *n* + 1, then (*j* − 1) + *k* = *n* and *j* + (*k* − 1) = *n*. Now, the right hand side is

by Pascal's identity. On the other hand, if *j* +*k* ≠ *n* + 1, then (*j* – 1) + *k* ≠ *n* and *j* +(*k* – 1) ≠ *n*, so we get 0 + 0 = 0. Thus

which is the inductive hypothesis with *n* + 1 substituted for *n* and so completes the inductive step.

## Generalisations

### Newton's generalised binomial theorem

{{#invoke:main|main}}
Around 1665, Isaac Newton generalised the formula to allow real exponents other than nonnegative integers, and in fact it can be generalised further, to complex exponents. In this generalisation, the finite sum is replaced by an infinite series. In order to do this one needs to give meaning to binomial coefficients with an arbitrary upper index, which cannot be done using the above formula with factorials; however factoring out (*n* − *k*)! from numerator and denominator in that formula, and replacing *n* by *r* which now stands for an arbitrary number, one can define

where is the Pochhammer symbol here standing for a falling factorial. Then, if *x* and *y* are real numbers with |*x*| > |*y*|,^{[8]} and *r* is any complex number, one has

When *r* is a nonnegative integer, the binomial coefficients for *k* > *r* are zero, so (2) specializes to (1), and there are at most *r* + 1 nonzero terms. For other values of *r*, the series (2) has infinitely many nonzero terms, at least if *x* and *y* are nonzero.

This is important when one is working with infinite series and would like to represent them in terms of generalised hypergeometric functions.

Taking *r* = −*s* leads to a useful formula:

Further specializing to *s* = 1 yields the geometric series formula.

#### Generalisations

Formula (2) can be generalised to the case where *x* and *y* are complex numbers. For this version, one should assume |*x*| > |*y*|^{[8]} and define the powers of *x* + *y* and *x* using a holomorphic branch of log defined on an open disk of radius |*x*| centered at *x*.

Formula (2) is valid also for elements *x* and *y* of a Banach algebra as long as *xy* = *yx*, *x* is invertible, and ||*y/x*|| < 1.

### The multinomial theorem

{{#invoke:main|main}} The binomial theorem can be generalised to include powers of sums with more than two terms. The general version is

where the summation is taken over all sequences of nonnegative integer indices *k*_{1} through *k*_{m} such that the sum of all *k*_{i} is *n*. (For each term in the expansion, the exponents must add up to *n*). The coefficients are known as multinomial coefficients, and can be computed by the formula

Combinatorially, the multinomial coefficient counts the number of different ways to partition an *n*-element set into disjoint subsets of sizes *k*_{1}, ..., *k*_{m}.

### {{safesubst:#invoke:anchor|main}} The multi-binomial theorem

It is often useful when working in more dimensions, to deal with products of binomial expressions. By the binomial theorem this is equal to

This may be written more concisely, by multi-index notation, as

## Applications

### Multiple-angle identities

For the complex numbers the binomial theorem can be combined with De Moivre's formula to yield multiple-angle formulas for the sine and cosine. According to De Moivre's formula,

Using the binomial theorem, the expression on the right can be expanded, and then the real and imaginary parts can be taken to yield formulas for cos(*nx*) and sin(*nx*). For example, since

De Moivre's formula tells us that

which are the usual double-angle identities. Similarly, since

De Moivre's formula yields

In general,

and

### Series for e

The number *e* is often defined by the formula

Applying the binomial theorem to this expression yields the usual infinite series for *e*. In particular:

The *k*th term of this sum is

As *n* → ∞, the rational expression on the right approaches one, and therefore

This indicates that *e* can be written as a series:

Indeed, since each term of the binomial expansion is an increasing function of *n*, it follows from the monotone convergence theorem for series that the sum of this infinite series is equal to *e*.

### Derivative of the power function

In finding the derivative of the power function, f(x) = x^{n}, by using the definition of derivative, the expansion of (x + h)^{n} is employed.

### Nth derivative of a product

To indicate the formula for the derivative of order *n* of the product of two functions, the formula of the binomial theorem is used symbolically.^{[9]}

## The binomial theorem in abstract algebra

Formula (1) is valid more generally for any elements *x* and *y* of a semiring satisfying *xy* = *yx*. The theorem is true even more generally: alternativity suffices in place of associativity.

The binomial theorem can be stated by saying that the polynomial sequence { 1, *x*, *x*^{2}, *x*^{3}, ... } is of binomial type.

## In popular culture

- The binomial theorem is mentioned in the Major-General's Song in the comic opera The Pirates of Penzance.
- Professor Moriarty is described by Sherlock Holmes as having written a treatise on the binomial theorem.

## See also

- Binomial approximation
- Binomial distribution
- Binomial inverse theorem
- Binomial probability
- Binomial series
- Combination
- Multinomial theorem
- Negative binomial distribution
- Pascal's triangle
- Stirling's approximation

## Notes

- ↑ Binomial Theorem
- ↑ The Story of the Binomial Theorem by J. L. Coolidge,
*The American Mathematical Monthly***56**:3 (1949), pp. 147–157 - ↑
^{3.0}^{3.1}{{#invoke:citation/CS1|citation |CitationClass=citation }}. - ↑ {{#invoke:citation/CS1|citation |CitationClass=book }}
- ↑ Template:Cite web
- ↑ Bourbaki:
*History of mathematics* - ↑
^{7.0}^{7.1}Template:Harv - ↑
^{8.0}^{8.1}This is to guarantee convergence. Depending on*r*, the series may also converge sometimes when |*x*| = |*y*|. - ↑ Seely, Robert T.:
*Calculus of One and Several Variables*

## References

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- Template:Cite doi
- {{#invoke:citation/CS1|citation

|CitationClass=book }} Template:Refend

## External links

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}

- Binomial Theorem by Stephen Wolfram, and "Binomial Theorem (Step-by-Step)" by Bruce Colletti and Jeff Bryant, Wolfram Demonstrations Project, 2007.

*This article incorporates material from inductive proof of binomial theorem on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.*