Binomial theorem

From Wikipedia, the free encyclopedia
(Redirected from Binomial Theorem)
Jump to navigation Jump to search

111121133114641151010511615201561172135352171
The binomial coefficient (nk) appears as the kth entry in the nth row of Pascal's triangle (where the top is the 0th row (00)). Each entry is the sum of the two above it.

In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial. According to the theorem, the power (x+y)n expands into a polynomial with terms of the form axkym, where the exponents k and m are nonnegative integers satisfying k+m=n and the coefficient a of each term is a specific positive integer depending on n and k. For example, for n=4, (x+y)4=x4+4x3y+6x2y2+4xy3+y4.

The coefficient a in each term axkym is known as the binomial coefficient (nk) or (nm) (the two have the same value). These coefficients for varying n and k can be arranged to form Pascal's triangle. These numbers also occur in combinatorics, where (nk) gives the number of different combinations (i.e. subsets) of k elements that can be chosen from an n-element set. Therefore (nk) is usually pronounced as "n choose k".

Statement

[edit | edit source]

According to the theorem, the expansion of any nonnegative integer power n of the binomial x + y is a sum of the form (x+y)n=(n0)xny0+(n1)xn1y1+(n2)xn2y2++(nn)x0yn, where each (nk) is a positive integer known as a binomial coefficient, defined as

(nk)=n!k!(nk)!=n(n1)(n2)(nk+1)k(k1)(k2)21.

This formula is also referred to as the binomial formula or the binomial identity. Using summation notation, it can be written more concisely as (x+y)n=k=0n(nk)xnkyk=k=0n(nk)xkynk.

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 symmetric, (nk)=(nnk).[Note 1]

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 (x+1)n=(n0)x0+(n1)x1+(n2)x2++(nn)xn=k=0n(nk)xk.)

Examples

[edit | edit source]

The first few cases of the binomial theorem are: (x+y)0=1,(x+y)1=x+y,(x+y)2=x2+2xy+y2,(x+y)3=x3+3x2y+3xy2+y3,(x+y)4=x4+4x3y+6x2y2+4xy3+y4, In general, for the expansion of (x + y)n on the right side in the nth row (numbered so that the top row is the 0th row):

  • the exponents of x in the terms are n, n − 1, ..., 2, 1, 0 (the last term implicitly contains x0 = 1);
  • the exponents of y in the terms are 0, 1, 2, ..., n − 1, n (the first term implicitly contains y0 = 1);
  • the coefficients form the nth row of Pascal's triangle;
  • before combining like terms, there are 2n terms xiyj in the expansion (not shown);
  • after combining like terms, there are n + 1 terms, and their coefficients sum to 2n.

An example illustrating the last two points: (x+y)3=xxx+xxy+xyx+xyy+yxx+yxy+yyx+yyy(23 terms)=x3+3x2y+3xy2+y3(3+1 terms) with 1+3+3+1=23.

A simple example with a specific positive value of y: (x+2)3=x3+3x2(2)+3x(2)2+23=x3+6x2+12x+8.

A simple example with a specific negative value of y: (x2)3=x33x2(2)+3x(2)223=x36x2+12x8.

Geometric explanation

[edit | edit source]
Visualisation of binomial expansion up to the 4th power

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 (xn)=nxn1:[1] if one sets a=x and b=Δx, interpreting b as an infinitesimal change in a, then this picture shows the infinitesimal change in the volume of an n-dimensional hypercube, (x+Δx)n, where the coefficient of the linear term (in Δx) is nxn1, the area of the n faces, each of dimension n − 1: (x+Δx)n=xn+nxn1Δx+(n2)xn2(Δx)2+. Substituting this into the definition of the derivative via a difference quotient and taking limits means that the higher order terms, (Δx)2 and higher, become negligible, and yields the formula (xn)=nxn1, interpreted as "the infinitesimal rate of change in volume of an n-cube as side length varies is the area of n of its (n − 1)-dimensional faces". If one integrates this picture, which corresponds to applying the fundamental theorem of calculus, one obtains Cavalieri's quadrature formula, the integral xn1dx=1nxn – see proof of Cavalieri's quadrature formula for details.[1]

Binomial coefficients

[edit | edit source]

The coefficients that appear in the binomial expansion are called binomial coefficients. These are usually written (nk), and pronounced "n choose k".

Formulas

[edit | edit source]

The coefficient of xnkyk is given by the formula (nk)=n!k!(nk)!, which is defined in terms of the factorial function n!. Equivalently, this formula can be written (nk)=n(n1)(nk+1)k(k1)1==1kn+1==0k1nk with k factors in both the numerator and denominator of the fraction. Although this formula involves a fraction, the binomial coefficient (nk) is actually an integer.

Combinatorial interpretation

[edit | edit source]

The binomial coefficient (nk) can be interpreted as the number of ways to choose k elements from an n-element set (a combination). This is related to binomials for the following reason: if we write (x + y)n as a product (x+y)(x+y)(x+y)(x+y), 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 xn, corresponding to choosing x from each binomial. However, there will be several terms of the form xn−2y2, one for each way of choosing exactly two binomials to contribute a y. Therefore, after combining like terms, the coefficient of xn−2y2 will be equal to the number of ways to choose exactly 2 elements from an n-element set.

Proofs

[edit | edit source]

Combinatorial proof

[edit | edit source]

Expanding (x + y)n yields the sum of the 2n products of the form e1e2 ... en where each ei is x or y. Rearranging factors shows that each product equals xnkyk for some k between 0 and n. For a given k, the following are proved equal in succession:

  • the number of terms equal to xnkyk 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}
  • (nk), either by definition, or by a short combinatorial argument if one is defining (nk) as n!k!(nk)!.

This proves the binomial theorem.

Example

[edit | edit source]

The coefficient of xy2 in (x+y)3=(x+y)(x+y)(x+y)=xxx+xxy+xyx+xyy_+yxx+yxy_+yyx_+yyy=x3+3x2y+3xy2_+y3 equals (32)=3 because there are three x,y strings of length 3 with exactly two y's, namely, xyy,yxy,yyx, corresponding to the three 2-element subsets of {1, 2, 3}, namely, {2,3},{1,3},{1,2}, where each subset specifies the positions of the y in a corresponding string.

Inductive proof

[edit | edit source]

Induction yields another proof of the binomial theorem. When n = 0, both sides equal 1, since x0 = 1 and (00)=1. Now suppose that the equality holds for a given n; we will prove it for n + 1. For j, k ≥ 0, let [f(x, y)]j,k denote the coefficient of xjyk in the polynomial f(x, y). By the inductive hypothesis, (x + y)n is a polynomial in x and y such that [(x + y)n]j,k is (nk) if j + k = n, and 0 otherwise. The identity (x+y)n+1=x(x+y)n+y(x+y)n shows that (x + y)n+1 is also a polynomial in x and y, and [(x+y)n+1]j,k=[(x+y)n]j1,k+[(x+y)n]j,k1, since if j + k = n + 1, then (j − 1) + k = n and j + (k − 1) = n. Now, the right hand side is (nk)+(nk1)=(n+1k), by Pascal's identity.[2] On the other hand, if j + kn + 1, then (j – 1) + kn and j + (k – 1) ≠ n, so we get 0 + 0 = 0. Thus (x+y)n+1=k=0n+1(n+1k)xn+1kyk, which is the inductive hypothesis with n + 1 substituted for n and so completes the inductive step.

Generalizations

[edit | edit source]

Generalized binomial theorem

[edit | edit source]

The standard binomial theorem, as discussed above, is concerned with (x+y)n where the exponent n is a nonnegative integer. The generalized binomial theorem allows for non-integer, negative, or even complex exponents, at the expense of replacing the finite sum 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 (rk)=r(r1)(rk+1)k!=rk_k!, where the last equation introduces modern notation for the 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 2] and r is any complex number, one has (x+y)r=k=0(rk)xrkyk=xr+rxr1y+r(r1)2!xr2y2+r(r1)(r2)3!xr3y3+.

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 has infinitely many nonzero terms.

For example, r = 1/2 gives the following series for the square root: 1+x=1+12x18x2+116x35128x4+7256x5.

With r = −1, the generalized binomial series becomes: (1+x)1=11+x=1x+x2x3+x4x5+. which is the geometric series sum formula for the convergent case |x| < 1, whose common ratio is x.

More generally, with r = −s, we have for |x| < 1:[3] 1(1+x)s=k=0(sk)xk=k=0(s+k1k)(1)kxk.

So, for instance, when s = 1/2, 11+x=112x+38x2516x3+35128x463256x5+.

Replacing x with -x yields: 1(1x)s=k=0(s+k1k)(1)k(x)k=k=0(s+k1k)xk.

So, for instance, when s = 1/2, we have for |x| < 1: 11x=1+12x+38x2+516x3+35128x4+63256x5+.

Further generalizations

[edit | edit source]

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 2] 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, and x is invertible, and y/x‖ < 1.

A version of the binomial theorem is valid for the following Pochhammer symbol-like family of polynomials: for a given real constant c, define x(0)=1 and x(n)=k=1n[x+(k1)c] for n>0. Then[4] (a+b)(n)=k=0n(nk)a(nk)b(k). The case c = 0 recovers the usual binomial theorem.

More generally, a sequence {pn}n=0 of polynomials is said to be of binomial type if

  • degpn=n for all n,
  • p0(0)=1, and
  • pn(x+y)=k=0n(nk)pk(x)pnk(y) for all x, y, and n.

An operator Q on the space of polynomials is said to be the basis operator of the sequence {pn}n=0 if Qp0=0 and Qpn=npn1 for all n1. A sequence {pn}n=0 is binomial if and only if its basis operator is a Delta operator.[5] Writing Ea for the shift by a operator, the Delta operators corresponding to the above "Pochhammer" families of polynomials are the backward difference IEc for c>0, the ordinary derivative for c=0, and the forward difference EcI for c<0.

Multinomial theorem

[edit | edit source]

The binomial theorem can be generalized to include powers of sums with more than two terms. The general version is

(x1+x2++xm)n=k1+k2++km=n(nk1,k2,,km)x1k1x2k2xmkm,

where the summation is taken over all sequences of nonnegative integer indices k1 through km such that the sum of all ki is n. (For each term in the expansion, the exponents must add up to n). The coefficients (nk1,,km) are known as multinomial coefficients, and can be computed by the formula (nk1,k2,,km)=n!k1!k2!km!.

Combinatorially, the multinomial coefficient (nk1,,km) counts the number of different ways to partition an n-element set into disjoint subsets of sizes k1, ..., km.

Multi-binomial theorem

[edit | edit source]

When working in more dimensions, it is often useful to deal with products of binomial expressions. By the binomial theorem this is equal to (x1+y1)n1(xd+yd)nd=k1=0n1kd=0nd(n1k1)x1k1y1n1k1(ndkd)xdkdydndkd.

This may be written more concisely, by multi-index notation, as (x+y)α=να(αν)xνyαν.

General Leibniz rule

[edit | edit source]

The general Leibniz rule gives the nth derivative of a product of two functions in a form similar to that of the binomial theorem:[6] (fg)(n)(x)=k=0n(nk)f(nk)(x)g(k)(x).

Here, the superscript (n) indicates the nth derivative of a function, f(n)(x)=dndxnf(x). If one sets f(x) = eax and g(x) = ebx, cancelling the common factor of e(a + b)x from each term gives the ordinary binomial theorem.[7]

History

[edit | edit source]

Special cases of the binomial theorem were known since at least the 4th century BC when Greek mathematician Euclid mentioned the special case of the binomial theorem for exponent n=2.[8] Greek mathematician Diophantus cubed various binomials, including x1.[8] Indian mathematician Aryabhata's method for finding cube roots, from around 510 AD, suggests that he knew the binomial formula for exponent n=3.[8]

Binomial coefficients, as combinatorial quantities expressing the number of ways of selecting k objects out of n without replacement (combinations), were of interest to ancient Indian mathematicians. The Jain Bhagavati Sutra (c. 300 BC) describes the number of combinations of philosophical categories, senses, or other things, with correct results up through n=4 (probably obtained by listing all possibilities and counting them)[9] and a suggestion that higher combinations could likewise be found.[10] The Chandaḥśāstra by the Indian lyricist Piṅgala (3rd or 2nd century BC) somewhat cryptically describes a method of arranging two types of syllables to form metres of various lengths and counting them; as interpreted and elaborated by Piṅgala's 10th-century commentator Halāyudha his "method of pyramidal expansion" (meru-prastāra) for counting metres is equivalent to Pascal's triangle.[11] Varāhamihira (6th century AD) describes another method for computing combination counts by adding numbers in columns.[12] By the 9th century at latest Indian mathematicians learned to express this as a product of fractions n1×n12××nk+1nk, and clear statements of this rule can be found in Śrīdhara's Pāṭīgaṇita (8th–9th century), Mahāvīra's Gaṇita-sāra-saṅgraha (c. 850), and Bhāskara II's Līlāvatī (12th century).[12][9][13]

The Persian mathematician al-Karajī (953–1029) wrote a now-lost book containing the binomial theorem and a table of binomial coefficients, often credited as their first appearance.[14][15][16][17] An explicit statement of the binomial theorem appears in al-Samawʾal's al-Bāhir (12th century), there credited to al-Karajī.[14][15] Al-Samawʾal algebraically expanded the square, cube, and fourth power of a binomial, each in terms of the previous power, and noted that similar proofs could be provided for higher powers, an early form of mathematical induction. He then provided al-Karajī's table of binomial coefficients (Pascal's triangle turned on its side) up to n=12 and a rule for generating them equivalent to the recurrence relation (nk)=(n1k1)+(n1k).[15][18] The Persian poet and mathematician Omar Khayyam was probably familiar with the formula to higher orders, although many of his mathematical works are lost.[8] The binomial expansions of small degrees were known in the 13th century mathematical works of Yang Hui[19] and also Chu Shih-Chieh.[8] Yang Hui attributes the method to a much earlier 11th century text of Jia Xian, although those writings are now also lost.[20]

In Europe, descriptions of the construction of Pascal's triangle can be found as early as Jordanus de Nemore's De arithmetica (13th century).[21] In 1544, Michael Stifel introduced the term "binomial coefficient" and showed how to use them to express (1+x)n in terms of (1+x)n1, via "Pascal's triangle".[22] Other 16th century mathematicians including Niccolò Fontana Tartaglia and Simon Stevin also knew of it.[22] 17th-century mathematician Blaise Pascal studied the eponymous triangle comprehensively in his Traité du triangle arithmétique.[23]

The development of the binomial theorem for positive integer exponents is attributed to Al-Kashi by the year 1427. The first proper proof of the binomial theorem for positive integral index was given by Pascal.[24] By the early 17th century, some specific cases of the generalized binomial theorem, such as for n=12, can be found in the work of Henry Briggs' Arithmetica Logarithmica (1624).[25] Isaac Newton discovered the generalized binomial theorem, valid for any real exponent, in 1664-5, inspired by the work of John Wallis's Arithmetic Infinitorum and his method of interpolation.[22][26][27][25][28] A logarithmic version of the theorem for fractional exponents was discovered independently by James Gregory who wrote down his formula in 1670.[25]

Applications

[edit | edit source]

Multiple-angle identities

[edit | edit source]

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, cos(nx)+isin(nx)=(cosx+isinx)n.

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 (cosx+isinx)2=cos2x+2icosxsinxsin2x=(cos2xsin2x)+i(2cosxsinx), But De Moivre's formula identifies the left side with (cosx+isinx)2=cos(2x)+isin(2x), so cos(2x)=cos2xsin2xandsin(2x)=2cosxsinx, which are the usual double-angle identities. Similarly, since (cosx+isinx)3=cos3x+3icos2xsinx3cosxsin2xisin3x, De Moivre's formula yields cos(3x)=cos3x3cosxsin2xandsin(3x)=3cos2xsinxsin3x. In general, cos(nx)=k even(1)k/2(nk)cosnkxsinkx and sin(nx)=k odd(1)(k1)/2(nk)cosnkxsinkx.There are also similar formulas using Chebyshev polynomials.

Series for e

[edit | edit source]

The number e is often defined by the formula e=limn(1+1n)n.

Applying the binomial theorem to this expression yields the usual infinite series for e. In particular: (1+1n)n=1+(n1)1n+(n2)1n2+(n3)1n3++(nn)1nn.

The kth term of this sum is (nk)1nk=1k!n(n1)(n2)(nk+1)nk

As n → ∞, the rational expression on the right approaches 1, and therefore limn(nk)1nk=1k!.

This indicates that e can be written as a series: e=k=01k!=10!+11!+12!+13!+.

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.

Probability

[edit | edit source]

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 {Xt}tS with probability of success p[0,1] all not happening is P(tSXtC)=(1p)|S|=n=0|S|(|S|n)(p)n. An upper bound for this quantity is ep|S|.[29]

In abstract algebra

[edit | edit source]

The binomial theorem is valid more generally for two elements x and y in a ring, or even a semiring, provided that xy = yx. For example, it holds for two n × n matrices, provided that those matrices commute; this is useful in computing powers of a matrix.[30]

The binomial theorem can be stated by saying that the polynomial sequence {1, x, x2, x3, ...} is of binomial type.

See also

[edit | edit source]

Lua error in mw.title.lua at line 392: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

Notes

[edit | edit source]
  1. ^ (x+y)n=k=0n(nk)xnkyk=k=0n(nk)xkynk, and the coefficient of the same monomial in the left and right-hand side expressions of the 2nd equality must be same; for xnkyk=xkynk so k=nk, (nk)=(nk)=(nnk).
  2. ^ a b This is to guarantee convergence. Depending on r, the series may also converge sometimes when |x| = |y|.

References

[edit | edit source]
  1. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  2. ^ Binomial theorem – inductive proofs Archived February 24, 2015, at the Wayback Machine
  3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  4. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  5. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  6. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  7. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  8. ^ a b c d e Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  9. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  10. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). Reprinted as "The Mathematical Achievements of the Jainas" in Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  11. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). (Preprint)
    Survey sources:
    Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  12. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). Reprinted in Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  13. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  14. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  15. ^ a b c Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). Translated into English by A. F. W. Armstrong in Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  16. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  17. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). Republished in Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  18. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  19. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  20. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  21. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  22. ^ a b c Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  23. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  24. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  25. ^ a b c Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  26. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  27. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  28. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  29. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  30. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

Further reading

[edit | edit source]
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
[edit | edit source]

Lua error in Module:Authority_control at line 153: attempt to index field 'wikibase' (a nil value).