# Binomial theorem

In elementary algebra, the **binomial theorem** (or **binomial expansion**) describes the algebraic expansion of powers of a binomial. According to the theorem, it is possible to expand the power (*x* + *y*)^{n} into a sum involving terms of the form *a x*^{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*. For example,

The coefficient *a* in the term of *a x*^{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

Special cases of the binomial theorem were known from ancient times. The 4th century B.C. Greek mathematician Euclid mentioned the special case of the binomial theorem for exponent 2.^{[1]}^{[2]} There is evidence that the binomial theorem for cubes was known by the 6th century in India.^{[1]}^{[2]}

Binomial coefficients, as combinatorial quantities expressing the number of ways of selecting *k* objects out of *n* without replacement, were of interest to the ancient Hindus. The earliest known reference to this combinatorial problem is the *Chandaḥśāstra* by the Hindu lyricist Pingala (c. 200 B.C.), which contains a method for its solution.^{[3]}^{:230} The commentator Halayudha from the 10th century A.D. explains this method using what is now known as Pascal's triangle.^{[3]} By the 6th century A.D., the Hindu mathematicians probably knew how to express this as a quotient ,^{[4]} and a clear statement of this rule can be found in the 12th century text *Lilavati* by Bhaskara.^{[4]}

The binomial theorem as such can be found in the work of 11th-century Persian mathematician Al-Karaji, who described the triangular pattern of the binomial coefficients.^{[5]} He also provided a mathematical proof of both the binomial theorem and Pascal's triangle, using a primitive form of mathematical induction.^{[5]} The Persian poet and mathematician Omar Khayyam was probably familiar with the formula to higher orders, although many of his mathematical works are lost.^{[2]} The binomial expansions of small degrees were known in the 13th century mathematical works of Yang Hui^{[6]} and also Chu Shih-Chieh.^{[2]} Yang Hui attributes the method to a much earlier 11th century text of Jia Xian, although those writings are now also lost.^{[3]}^{:142}

In 1544, Michael Stifel introduced the term "binomial coefficient" and showed how to use them to express in terms of , via "Pascal's triangle".^{[7]} Blaise Pascal studied the eponymous triangle comprehensively in the treatise *Traité du triangle arithmétique* (1653). However, the pattern of numbers was already known to the European mathematicians of the late Renaissance, including Stifel, Niccolò Fontana Tartaglia, and Simon Stevin.^{[7]}

Isaac Newton is generally credited with the generalized binomial theorem, valid for any rational exponent.^{[7]}^{[8]}

## Theorem statement

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. (When an exponent is zero, the corresponding power expression is taken to be 1 and this multiplicative factor is often omitted from the term. Hence one often sees the right side written as .) 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 second row of Pascal's triangle. (Note that the top "1" of the triangle is considered to be row 0, by convention.) The coefficients of higher powers of *x* + *y* correspond to lower rows of the triangle:

Several patterns can be observed from these examples. In general, for the expansion (*x* + *y*)^{n}:

- the powers of
*x*start at n and decrease by 1 in each term until they reach 0 (with*x*^{0}= 1, often unwritten); - the powers of
*y*start at 0 and increase by 1 until they reach*n*; - the nth row of Pascal's Triangle will be the coefficients of the expanded binomial when the terms are arranged in this way;
- the number of terms in the expansion before like terms are combined is the sum of the coefficients and is equal to 2
^{n}; and - there will be
*n*+ 1 terms in the expression after combining like terms in the expansion.

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

For a binomial involving subtraction, the theorem can be applied by using the form (*x* − *y*)^{n} = (*x* + (−*y*))^{n}. This has the effect of changing the sign of every other term in the expansion:

### 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 ^{[9]} 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 rate of 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.^{[9]}

## Binomial coefficients

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. When *n* = 0, both sides equal 1, since *x*^{0} = 1 and .
Now suppose that the equality 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.^{[10]} 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.

## Generalizations

### Newton's generalized binomial theorem

Around 1665, Isaac Newton generalized the binomial theorem to allow real exponents other than nonnegative integers. (The same generalization also applies to complex exponents.) In this generalization, 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 usual formula with factorials. However, for an arbitrary number *r*, one can define

where is the Pochhammer symbol, here standing for a falling factorial. This agrees with the usual definitions when *r* is a nonnegative integer. Then, if *x* and *y* are real numbers with |*x*| > |*y*|,^{[Note 1]} and *r* is any complex number, one has

When *r* is a nonnegative integer, the binomial coefficients for *k* > *r* are zero, so this equation reduces to the usual binomial theorem, and there are at most *r* + 1 nonzero terms. For other values of *r*, the series typically has infinitely many nonzero terms.

For example, with *r* = 1/2 gives the following series for the square root:

Taking , the generalized binomial series gives the geometric series formula, valid for :

More generally, with *r* = −*s*:

So, for instance, when ,

### Further generalizations

The generalized binomial theorem can be extended to the case where *x* and *y* are complex numbers. For this version, one should again assume |*x*| > |*y*|^{[Note 1]} 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*.

The generalized binomial theorem is valid also for elements *x* and *y* of a Banach algebra as long as *xy* = *yx*, *x* is invertible, and ||*y/x*|| < 1.

### Multinomial theorem

The binomial theorem can be generalized 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}.

### 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} for integer *n* using the definition of derivative, one can expand the binomial (*x* + *h*)^{n}.

### 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.^{[11]}

### Probability

The binomial theorem is closely related to the probability mass function of the Negative binomial distribution. The probability of a (countable) collection of independent Bernoulli trials with probability of success all not happening is

A useful upper bound for this quantity is . ^{[12]}

## 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.
- The Portuguese poet Fernando Pessoa, using the heteronym Álvaro de Campos, wrote that "Newton's Binomial is as beautiful as the Venus de Milo. The truth is that few people notice it."
^{[13]}

## See also

## Notes

## References

- 1 2 Weisstein, Eric W. "Binomial Theorem".
*Wolfram MathWorld*. - 1 2 3 4 Coolidge, J. L. (1949). "The Story of the Binomial Theorem".
*The American Mathematical Monthly*.**56**(3): 147–157. doi:10.2307/2305028. - 1 2 3 Jean-Claude Martzloff; S.S. Wilson; J. Gernet; J. Dhombres (1987).
*A history of Chinese mathematics*. Springer. - 1 2 Biggs, N. L. (1979). "The roots of combinatorics".
*Historia Math*.**6**(2): 109–136. doi:10.1016/0315-0860(79)90074-0. - 1 2 O'Connor, John J.; Robertson, Edmund F., "Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji",
*MacTutor History of Mathematics archive*, University of St Andrews. - ↑ Landau, James A. (1999-05-08). "Historia Matematica Mailing List Archive: Re: [HM] Pascal's Triangle" (mailing list email).
*Archives of Historia Matematica*. Retrieved 2007-04-13. - 1 2 3 Kline, Morris (1972).
*History of mathematical thought*. Oxford University Press. p. 273. - ↑ Bourbaki, N. (18 November 1998).
*Elements of the History of Mathematics Paperback*. J. Meldrum (Translator). ISBN 978-3-540-64767-6. - 1 2 Barth, Nils R. (2004). "Computing Cavalieri's Quadrature Formula by a Symmetry of the
*n*-Cube".*The American Mathematical Monthly*. Mathematical Association of America.**111**(9): 811–813. doi:10.2307/4145193. ISSN 0002-9890. JSTOR 4145193, author's copy, further remarks and resources - ↑ Binomial theorem – inductive proofs Archived February 24, 2015, at the Wayback Machine.
- ↑ Seely, Robert T. (1973).
*Calculus of One and Several Variables*. Glenview: Scott, Foresman. ISBN 0-673-07779-9. - ↑ Cover, Thomas M.; Thomas, Joy A. (2001-01-01).
*Data Compression*. John Wiley & Sons, Inc. p. 320. doi:10.1002/0471200611.ch5. ISBN 9780471200611. - ↑ "Arquivo Pessoa: Obra Édita - O binómio de Newton é tão belo como a Vénus de Milo.". arquivopessoa.net.

## Further reading

- Bag, Amulya Kumar (1966). "Binomial theorem in ancient India".
*Indian J. History Sci*.**1**(1): 68–74. - Graham, Ronald; Knuth, Donald; Patashnik, Oren (1994). "(5) Binomial Coefficients".
*Concrete Mathematics*(2nd ed.). Addison Wesley. pp. 153–256. ISBN 0-201-55802-5. OCLC 17649857.

## External links

The Wikibook Combinatorics has a page on the topic of: The Binomial Theorem |

- Solomentsev, E.D. (2001), "Newton binomial", in Hazewinkel, Michiel,
*Encyclopedia of Mathematics*, Springer, ISBN 978-1-55608-010-4 - 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.*