Binomial theorem: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>OAbot
m Open access bot: url-access=subscription updated in citation with #oabot.
Undid revision 1321038334 by ~2025-32075-24 (talk)
 
Line 16: Line 16:
</math>
</math>
|caption=The [[binomial coefficient]] <math>\tbinom{n}{k}</math> appears as the {{mvar|k}}th entry in the {{mvar|n}}th row of [[Pascal's triangle]] (where the top is the 0th row <math>\tbinom{0}{0}</math>). Each entry is the sum of the two above it.}}
|caption=The [[binomial coefficient]] <math>\tbinom{n}{k}</math> appears as the {{mvar|k}}th entry in the {{mvar|n}}th row of [[Pascal's triangle]] (where the top is the 0th row <math>\tbinom{0}{0}</math>). Each entry is the sum of the two above it.}}
In [[elementary algebra]], the '''binomial theorem''' (or '''binomial expansion''') describes the [[Polynomial expansion|algebraic expansion]] of [[exponentiation|powers]] of a [[binomial (polynomial)|binomial]]. According to the theorem, the power {{tmath|\textstyle (x+y)^n}} expands into a [[polynomial]] with terms of the form {{tmath|\textstyle ax^ky^m }}, where the exponents {{tmath|k}} and {{tmath|m}} are [[nonnegative integer]]s satisfying {{tmath|1= k + m = n}} and the [[coefficient]] {{tmath|a}} of each term is a specific [[positive integer]] depending on {{tmath|n}} and {{tmath|k}}. For example, for {{tmath|1= n = 4}},
In [[elementary algebra]], the '''binomial theorem''' (or '''binomial expansion''') describes the [[Polynomial expansion|algebraic expansion]] of [[exponentiation|powers]] of a [[binomial (polynomial)|binomial]]. According to the theorem, the power {{tmath|\textstyle (x+y)^n}} expands into a [[polynomial]] with terms of the form {{tmath|\textstyle ax^ky^m }}, where the exponents {{tmath|k}} and {{tmath|m}} are [[nonnegative integer]]s satisfying {{tmath|1= k + m = n}} and the [[coefficient]] {{tmath|a}} of each term is a specific [[positive integer]] depending on {{tmath|n}} and {{tmath|k}}. For example, for {{tmath|1= n = 4}},
<math display=block>(x+y)^4 = x^4 + 4 x^3y + 6 x^2 y^2 + 4 x y^3 + y^4. </math>
<math display=block>(x+y)^4 = x^4 + 4 x^3y + 6 x^2 y^2 + 4 x y^3 + y^4. </math>


The coefficient {{tmath|a}} in each term {{tmath|\textstyle ax^ky^m }} is known as the [[binomial coefficient]] {{tmath|\tbinom nk}} or {{tmath|\tbinom{n}{m} }} (the two have the same value). These coefficients for varying {{tmath|n}} and {{tmath|k}} can be arranged to form [[Pascal's triangle]]. These numbers also occur in [[combinatorics]], where {{tmath|\tbinom nk}} gives the number of different [[combinations]] (i.e. subsets) of {{tmath|k}} [[element (mathematics)|elements]] that can be chosen from an {{tmath|n}}-element [[set (mathematics)|set]]. Therefore {{tmath|\tbinom nk}} is usually pronounced as "{{tmath|n}} choose {{tmath|k}}".
The coefficient {{tmath|a}} in each term {{tmath|\textstyle ax^ky^m }} is known as the [[binomial coefficient]] {{tmath|\tbinom nk}} or {{tmath|\tbinom{n}{m} }} (the two have the same value). These coefficients for varying {{tmath|n}} and {{tmath|k}} can be arranged to form [[Pascal's triangle]]. These numbers also occur in [[combinatorics]], where {{tmath|\tbinom nk}} gives the number of different [[combinations]] (i.e. subsets) of {{tmath|k}} [[element (mathematics)|elements]] that can be chosen from an {{tmath|n}}-element [[set (mathematics)|set]]. Therefore {{tmath|\tbinom nk}} is usually pronounced as "{{tmath|n}} choose {{tmath|k}}".


== Statement ==
== Statement ==
According to the theorem, the expansion of any nonnegative integer power {{mvar|n}} of the binomial {{math|''x'' + ''y''}} is a sum of the form
According to the theorem, the expansion of any nonnegative integer power {{mvar|n}} of the binomial {{math|''x'' + ''y''}} is a sum of the form
<math display="block">(x+y)^n = {n \choose 0}x^n y^0 + {n \choose 1}x^{n-1} y^1 + {n \choose 2}x^{n-2} y^2 + \cdots + {n \choose n}x^0 y^n,</math>
<math display="block">(x+y)^n = {\binom{n}{0}}x^n y^0 + {\binom{n}{1}}x^{n-1} y^1 + {\binom{n}{2}}x^{n-2} y^2 + \cdots + {\binom{n}{n}}x^0 y^n,</math>
where each <math> \tbinom nk </math> is a positive integer known as a [[binomial coefficient]], defined as
where each <math> \tbinom nk </math> is a positive integer known as a [[binomial coefficient]], defined as


Line 29: Line 29:


This formula is also referred to as the '''binomial formula''' or the '''binomial identity'''. Using [[Capital-sigma notation|summation notation]], it can be written more concisely as
This formula is also referred to as the '''binomial formula''' or the '''binomial identity'''. Using [[Capital-sigma notation|summation notation]], it can be written more concisely as
<math display="block">(x+y)^n = \sum_{k=0}^n {n \choose k}x^{n-k}y^k = \sum_{k=0}^n {n \choose k}x^{k}y^{n-k}.</math>
<math display="block">(x+y)^n = \sum_{k=0}^n {\binom{n}{k}}x^{n-k}y^k = \sum_{k=0}^n {\binom{n}{k}}x^{k}y^{n-k}.</math>


The final expression follows from the previous one by the symmetry of {{mvar|x}} and {{mvar|y}} in the first expression, and by comparison it follows that the sequence of binomial coefficients in the formula is symmetrical, <math display=inline>\binom nk = \binom n{n-k}.</math>
The final expression follows from the previous one by the symmetry of {{mvar|x}} and {{mvar|y}} in the first expression, and by comparison it follows that the sequence of binomial coefficients in the formula is symmetric, <math display=inline>\binom nk = \binom n{n-k}.</math><ref group="Note"><math display="inline">(x+y)^n = \sum_{k=0}^n {\binom{n}{k}}x^{n-k}y^k = \sum_{k'=0}^n {\binom{n}{k'}}x^{k'}y^{n-k'}</math>, and the coefficient of the same [[monomial]] in the left and right-hand side expressions of the 2nd equality must be same; for <math display="inline">x^{n-k}y^k = x^{k'}y^{n-k'}</math> so <math display="inline">k' = n - k</math>, <math display="inline">\binom{n}{k} = \binom{n}{k'} = \binom{n}{n-k}</math>.</ref>


A simple variant of the binomial formula is obtained by [[substitution (algebra)|substituting]] {{math|1}} for {{mvar|y}}, so that it involves only a single [[Variable (mathematics)|variable]]. In this form, the formula reads
A simple variant of the binomial formula is obtained by [[substitution (algebra)|substituting]] {{math|1}} for {{mvar|y}}, so that it involves only a single [[Variable (mathematics)|variable]]. In this form, the formula reads
<math display=block>\begin{align}
<math display=block>\begin{align}
(x+1)^n
(x+1)^n
&= {n \choose 0}x^0 + {n \choose 1}x^1 + {n \choose 2}x^2 + \cdots + {n \choose n}x^n \\[4mu]
&= {\binom{n}{0}}x^0 + {\binom{n}{1}}x^1 + {\binom{n}{2}}x^2 + \cdots + {\binom{n}{n}}x^n \\[4mu]
&= \sum_{k=0}^n {n \choose k}x^k. \vphantom{\Bigg)}
&= \sum_{k=0}^n {\binom{n}{k}}x^k. \vphantom{\Bigg)}
\end{align}</math><!-- \vphantom{\Bigg)} works around a mediawiki scrollbar bug -->
\end{align}</math><!-- \vphantom{\Bigg)} works around a mediawiki scrollbar bug -->


Line 48: Line 48:
(x+y)^2 & = x^2 + 2xy + y^2, \\[8pt]
(x+y)^2 & = x^2 + 2xy + y^2, \\[8pt]
(x+y)^3 & = x^3 + 3x^2y + 3xy^2 + y^3, \\[8pt]
(x+y)^3 & = x^3 + 3x^2y + 3xy^2 + y^3, \\[8pt]
(x+y)^4 & = x^4 + 4x^3y + 6x^2y^2 + 4xy^3 + y^4,
(x+y)^4 & = x^4 + 4x^3y + 6x^2y^2 + 4xy^3 + y^4,
\end{align}</math>
\end{align}</math>
In general, for the expansion of {{math|(''x'' + ''y'')<sup>''n''</sup>}} on the right side in the {{mvar|n}}th row (numbered so that the top row is the 0th row):
In general, for the expansion of {{math|(''x'' + ''y'')<sup>''n''</sup>}} on the right side in the {{mvar|n}}th row (numbered so that the top row is the 0th row):
Line 79: Line 79:
In [[calculus]], this picture also gives a geometric proof of the [[derivative]] <math>(x^n)'=nx^{n-1}:</math><ref name="barth2004">{{cite journal | last = Barth | first = Nils R.| title = Computing Cavalieri's Quadrature Formula by a Symmetry of the ''n''-Cube | doi = 10.2307/4145193 | jstor = 4145193 | journal = The American Mathematical Monthly | volume = 111| issue = 9| pages = 811–813 | date=2004}}</ref> if one sets <math>a=x</math> and <math>b=\Delta x,</math> interpreting {{mvar|b}} as an [[infinitesimal]] change in {{mvar|a}}, then this picture shows the infinitesimal change in the volume of an {{mvar|n}}-dimensional [[hypercube]], <math>(x+\Delta x)^n,</math> where the coefficient of the linear term (in <math>\Delta x</math>) is <math>nx^{n-1},</math> the area of the {{mvar|n}} faces, each of dimension {{math|''n'' &minus; 1}}:
In [[calculus]], this picture also gives a geometric proof of the [[derivative]] <math>(x^n)'=nx^{n-1}:</math><ref name="barth2004">{{cite journal | last = Barth | first = Nils R.| title = Computing Cavalieri's Quadrature Formula by a Symmetry of the ''n''-Cube | doi = 10.2307/4145193 | jstor = 4145193 | journal = The American Mathematical Monthly | volume = 111| issue = 9| pages = 811–813 | date=2004}}</ref> if one sets <math>a=x</math> and <math>b=\Delta x,</math> interpreting {{mvar|b}} as an [[infinitesimal]] change in {{mvar|a}}, then this picture shows the infinitesimal change in the volume of an {{mvar|n}}-dimensional [[hypercube]], <math>(x+\Delta x)^n,</math> where the coefficient of the linear term (in <math>\Delta x</math>) is <math>nx^{n-1},</math> the area of the {{mvar|n}} faces, each of dimension {{math|''n'' &minus; 1}}:
<math display="block">(x+\Delta x)^n = x^n + nx^{n-1}\Delta x + \binom{n}{2}x^{n-2}(\Delta x)^2 + \cdots.</math>
<math display="block">(x+\Delta x)^n = x^n + nx^{n-1}\Delta x + \binom{n}{2}x^{n-2}(\Delta x)^2 + \cdots.</math>
Substituting this into the [[definition of the derivative]] via a [[difference quotient]] and taking limits means that the higher order terms, <math>(\Delta x)^2</math> and higher, become negligible, and yields the formula <math>(x^n)'=nx^{n-1},</math> interpreted as
Substituting this into the [[definition of the derivative]] via a [[difference quotient]] and taking limits means that the higher order terms, <math>(\Delta x)^2</math> and higher, become negligible, and yields the formula <math>(x^n)'=nx^{n-1},</math> interpreted as "the infinitesimal rate of change in volume of an {{mvar|n}}-cube as side length varies is the area of {{mvar|n}} of its {{math|(''n'' &minus; 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 <math>\textstyle{\int x^{n-1}\,dx = \tfrac{1}{n} x^n}</math> – see [[Cavalieri's quadrature formula#Proof|proof of Cavalieri's quadrature formula]] for details.<ref name="barth2004" />
:"the infinitesimal rate of change in volume of an {{mvar|n}}-cube as side length varies is the area of {{mvar|n}} of its {{math|(''n'' &minus; 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 <math>\textstyle{\int x^{n-1}\,dx = \tfrac{1}{n} x^n}</math> – see [[Cavalieri's quadrature formula#Proof|proof of Cavalieri's quadrature formula]] for details.<ref name="barth2004" />


{{clear}}
{{clear}}
Line 125: Line 123:


=== Inductive proof ===
=== Inductive proof ===
[[mathematical induction|Induction]] yields another proof of the binomial theorem. When {{math|1=''n'' = 0}}, both sides equal {{math|1}}, since {{math|1=''x''<sup>0</sup> = 1}} and <math>\tbinom{0}{0}=1.</math> Now suppose that the equality holds for a given {{mvar|n}}; we will prove it for {{math|1=''n'' + 1}}. For {{math|1=''j'', ''k'' ≥ 0}}, let {{math|1=[''f''(''x'', ''y'')]<sub>''j'',''k''</sub>}} denote the coefficient of {{math|1=''x''<sup>''j''</sup>''y''<sup>''k''</sup>}} in the polynomial {{math|1=''f''(''x'', ''y'')}}. By the inductive hypothesis, {{math|1=(''x'' + ''y'')<sup>''n''</sup>}} is a polynomial in {{mvar|x}} and {{mvar|y}} such that {{math|1=[(''x'' + ''y'')<sup>''n''</sup>]<sub>''j'',''k''</sub>}} is <math>\tbinom{n}{k}</math> if {{math|1=''j'' + ''k'' = ''n''}}, and {{mvar|0}} otherwise. The identity
[[mathematical induction|Induction]] yields another proof of the binomial theorem. When {{math|1=''n'' = 0}}, both sides equal {{math|1}}, since {{math|1=''x''<sup>0</sup> = 1}} and <math>\tbinom{0}{0}=1.</math> Now suppose that the equality holds for a given {{mvar|n}}; we will prove it for {{math|1=''n'' + 1}}. For {{math|1=''j'', ''k'' ≥ 0}}, let {{math|1=[''f''(''x'', ''y'')]<sub>''j'',''k''</sub>}} denote the coefficient of {{math|1=''x''<sup>''j''</sup>''y''<sup>''k''</sup>}} in the polynomial {{math|1=''f''(''x'', ''y'')}}. By the inductive hypothesis, {{math|1=(''x'' + ''y'')<sup>''n''</sup>}} is a polynomial in {{mvar|x}} and {{mvar|y}} such that {{math|1=[(''x'' + ''y'')<sup>''n''</sup>]<sub>''j'',''k''</sub>}} is <math>\tbinom{n}{k}</math> if {{math|1=''j'' + ''k'' = ''n''}}, and {{mvar|0}} otherwise. The identity
<math display="block"> (x+y)^{n+1} = x(x+y)^n + y(x+y)^n</math>
<math display="block"> (x+y)^{n+1} = x(x+y)^n + y(x+y)^n</math>
shows that {{math|1=(''x'' + ''y'')<sup>''n''+1</sup>}} is also a polynomial in {{mvar|x}} and {{mvar|y}}, and
shows that {{math|1=(''x'' + ''y'')<sup>''n''+1</sup>}} is also a polynomial in {{mvar|x}} and {{mvar|y}}, and
Line 137: Line 135:
== Generalizations ==
== Generalizations ==


=== Newton's generalized binomial theorem ===
=== Generalized binomial theorem ===
{{Main|Binomial series}}
{{Main|Binomial series}}
Around 1665, [[Isaac Newton]] generalized the binomial theorem to allow real exponents other than nonnegative integers. (The same generalization also applies to [[complex number|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 {{mvar|r}}, one can define
The standard binomial theorem, as discussed above, is concerned with <math>(x+y)^n</math> where the exponent ''n'' is a nonnegative integer. The generalized binomial theorem allows for non-integer, negative, or even [[complex number|complex]] exponents, at the expense of replacing the finite sum by an [[infinite series]].
<math display="block">{r \choose k}=\frac{r(r-1) \cdots (r-k+1)}{k!} =\frac{(r)_k}{k!},</math><!--This is not the same as \frac{r!}{k!(r−k)!}. Please do not change it.-->
 
where <math>(\cdot)_k</math> is the [[Pochhammer symbol]], here standing for a [[falling factorial]]. This agrees with the usual definitions when {{mvar|r}} is a nonnegative integer. Then, if {{mvar|x}} and {{mvar|y}} are real numbers with {{math|{{abs|''x''}} > {{abs|''y''}}}},<ref name=convergence group=Note>This is to guarantee convergence. Depending on {{mvar|r}}, the series may also converge sometimes when {{math|1={{abs|''x''}} = {{abs|''y''}}}}.</ref> and {{mvar|r}} is any complex number, one has
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 {{mvar|r}}, one can define
<math display="block">{\binom{r}{k}}=\frac{r(r-1) \cdots (r-k+1)}{k!} =\frac{r^{\underline{k}}}{k!},</math><!--This is not the same as \frac{r!}{k!(r−k)!}. Please do not change it.-->
where the last equation introduces modern notation for the [[falling factorial]]. This agrees with the usual definitions when {{mvar|r}} is a nonnegative integer. Then, if {{mvar|x}} and {{mvar|y}} are real numbers with {{math|{{abs|''x''}} > {{abs|''y''}}}},<ref name=convergence group=Note>This is to guarantee convergence. Depending on {{mvar|r}}, the series may also converge sometimes when {{math|1={{abs|''x''}} = {{abs|''y''}}}}.</ref> and {{mvar|r}} is any complex number, one has
<math display="block">\begin{align}
<math display="block">\begin{align}
   (x+y)^r & =\sum_{k=0}^\infty {r \choose k} x^{r-k} y^k \\
   (x+y)^r & =\sum_{k=0}^\infty {\binom{r}{k}} x^{r-k} y^k \\
   &= x^r + r x^{r-1} y + \frac{r(r-1)}{2!} x^{r-2} y^2 + \frac{r(r-1)(r-2)}{3!} x^{r-3} y^3 + \cdots.
   &= x^r + r x^{r-1} y + \frac{r(r-1)}{2!} x^{r-2} y^2 + \frac{r(r-1)(r-2)}{3!} x^{r-3} y^3 + \cdots.
  \end{align}</math>
  \end{align}</math>


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


For example, {{math|1=''r'' = 1/2}} gives the following series for the square root:
For example, {{math|1=''r'' = 1/2}} gives the following series for the square root:
<math display="block">\sqrt{1+x} = 1 + \frac{1}{2}x - \frac{1}{8}x^2 + \frac{1}{16}x^3 - \frac{5}{128}x^4 + \frac{7}{256}x^5 - \cdots.</math>
<math display="block">\sqrt{1+x} = 1 + \frac{1}{2}x - \frac{1}{8}x^2 + \frac{1}{16}x^3 - \frac{5}{128}x^4 + \frac{7}{256}x^5 - \cdots.</math>


Taking {{math|1=''r'' = &minus;1}}, the generalized binomial series gives the [[Geometric series#Sum|geometric series formula]], valid for {{math|{{abs|''x''}} < 1}}:
With {{math|1=''r'' = &minus;1}}, the generalized binomial series becomes:
<math display="block">(1+x)^{-1} = \frac{1}{1+x} = 1 - x + x^2 - x^3 + x^4 - x^5 + \cdots.</math>
<math display="block">(1+x)^{-1} = \frac{1}{1+x} = 1 - x + x^2 - x^3 + x^4 - x^5 + \cdots.</math> which is the [[Geometric series#Convergence_of_the_series_and_its_proof|geometric series sum formula]] for the convergent case {{math|{{abs|''x''}} < 1}}, whose common ratio is {{math|&minus;''x''}}.


More generally, with {{math|1=''r'' = −''s''}}, we have for {{math|{{abs|''x''}} < 1}}:<ref name=wolfram2>{{cite web| url=https://mathworld.wolfram.com/NegativeBinomialSeries.html|title=Negative Binomial Series|website=Wolfram MathWorld|last=Weisstein|first=Eric W.}}</ref>
More generally, with {{math|1=''r'' = −''s''}}, we have for {{math|{{abs|''x''}} < 1}}:<ref name=wolfram2>{{cite web| url=https://mathworld.wolfram.com/NegativeBinomialSeries.html|title=Negative Binomial Series|website=Wolfram MathWorld|last=Weisstein|first=Eric W.}}</ref>
<math display="block">\frac{1}{(1+x)^s} = \sum_{k=0}^\infty {-s \choose k} x^k = \sum_{k=0}^\infty {s+k-1 \choose k} (-1)^k x^k.</math>
<math display="block">\frac{1}{(1+x)^s} = \sum_{k=0}^\infty {\binom{-s}{k}} x^k = \sum_{k=0}^\infty {\binom{s+k-1}{k}} (-1)^k x^k.</math>


So, for instance, when {{math|1=''s'' = 1/2}},
So, for instance, when {{math|1=''s'' = 1/2}},
Line 162: Line 162:


Replacing {{mvar|x}} with {{mvar|-x}} yields:
Replacing {{mvar|x}} with {{mvar|-x}} yields:
<math display="block">\frac{1}{(1-x)^s} = \sum_{k=0}^\infty {s+k-1 \choose k} (-1)^k (-x)^k = \sum_{k=0}^\infty {s+k-1 \choose k} x^k.</math>
<math display="block">\frac{1}{(1-x)^s} = \sum_{k=0}^\infty {\binom{s+k-1}{k}} (-1)^k (-x)^k = \sum_{k=0}^\infty {\binom{s+k-1}{k}} x^k.</math>


So, for instance, when {{math|1=''s'' = 1/2}}, we have for {{math|{{abs|''x''}} < 1}}:
So, for instance, when {{math|1=''s'' = 1/2}}, we have for {{math|{{abs|''x''}} < 1}}:
Line 168: Line 168:


=== Further generalizations ===
=== Further generalizations ===
The generalized binomial theorem can be extended to the case where {{mvar|x}} and {{mvar|y}} are complex numbers. For this version, one should again assume {{math|{{abs|''x''}} > {{abs|''y''}}}}<ref name=convergence group=Note /> and define the powers of {{math|1=''x'' + ''y''}} and {{mvar|x}} using a [[Holomorphic function|holomorphic]] [[complex logarithm|branch of log]] defined on an open disk of radius {{math|{{abs|''x''}}}} centered at {{mvar|x}}. The generalized binomial theorem is valid also for elements {{mvar|x}} and {{mvar|y}} of a [[Banach algebra]] as long as {{math|1=''xy'' = ''yx''}}, and {{mvar|x}} is invertible, and {{math|{{norm|''y''/''x''}} < 1}}.
The generalized binomial theorem can be extended to the case where {{mvar|x}} and {{mvar|y}} are complex numbers. For this version, one should again assume {{math|{{abs|''x''}} > {{abs|''y''}}}}<ref name=convergence group=Note /> and define the powers of {{math|1=''x'' + ''y''}} and {{mvar|x}} using a [[Holomorphic function|holomorphic]] [[complex logarithm|branch of log]] defined on an open disk of radius {{math|{{abs|''x''}}}} centered at {{mvar|x}}. The generalized binomial theorem is valid also for elements {{mvar|x}} and {{mvar|y}} of a [[Banach algebra]] as long as {{math|1=''xy'' = ''yx''}}, and {{mvar|x}} is invertible, and {{math|{{norm|''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 {{mvar|c}}, define <math> x^{(0)} = 1 </math> and
A version of the binomial theorem is valid for the following [[Pochhammer symbol]]-like family of polynomials: for a given real constant {{mvar|c}}, define <math> x^{(0)} = 1 </math> and
<math display="block"> x^{(n)} = \prod_{k=1}^{n}[x+(k-1)c]</math>
<math display="block"> x^{(n)} = \prod_{k=1}^{n}[x+(k-1)c]</math>
for <math> n > 0.</math> Then<ref name="Sokolowsky">{{cite journal| url=https://cms.math.ca/publications/crux/issue/?volume=5&issue=2| title=Problem 352|first1=Dan|last1=Sokolowsky|first2=Basil C.|last2=Rennie|journal=Crux Mathematicorum|volume=5|issue=2|date=1979 | pages=55–56}}</ref>
for <math> n > 0.</math> Then<ref name="Sokolowsky">{{cite journal| url=https://cms.math.ca/publications/crux/issue/?volume=5&issue=2| title=Problem 352|first1=Dan|last1=Sokolowsky|first2=Basil C.|last2=Rennie|journal=Crux Mathematicorum|volume=5|issue=2|date=1979 | pages=55–56}}</ref>
<math display="block"> (a + b)^{(n)} = \sum_{k=0}^{n}\binom{n}{k}a^{(n-k)}b^{(k)}.</math>
<math display="block"> (a + b)^{(n)} = \sum_{k=0}^{n}\binom{n}{k}a^{(n-k)}b^{(k)}.</math>
The case {{math|1=''c'' = 0}} recovers the usual binomial theorem.
The case {{math|1=''c'' = 0}} recovers the usual binomial theorem.
Line 206: Line 206:
<math display="block">(fg)^{(n)}(x) = \sum_{k=0}^n \binom{n}{k} f^{(n-k)}(x) g^{(k)}(x).</math>
<math display="block">(fg)^{(n)}(x) = \sum_{k=0}^n \binom{n}{k} f^{(n-k)}(x) g^{(k)}(x).</math>


Here, the superscript {{math|(''n'')}} indicates the {{mvar|n}}th derivative of a function, <math>f^{(n)}(x) = \tfrac{d^n}{dx^n}f(x)</math>. If one sets {{math|1=''f''(''x'') = ''e''{{sup|''ax''}}}} and {{math|1=''g''(''x'') = ''e''{{sup|''bx''}}}}, cancelling the common factor of {{math|''e''{{sup|(''a'' + ''b'')''x''}}}} from each term gives the ordinary binomial theorem.<ref>{{cite book |last1=Spivey |first1=Michael Z. |title=The Art of Proving Binomial Identities |date=2019 |publisher=CRC Press |isbn=978-1351215800 |page=71}}</ref>
Here, the superscript {{math|(''n'')}} indicates the {{mvar|n}}th derivative of a function, <math>f^{(n)}(x) = \tfrac{d^n}{dx^n}f(x)</math>. If one sets {{math|1=''f''(''x'') = ''e''{{sup|''ax''}}}} and {{math|1=''g''(''x'') = ''e''{{sup|''bx''}}}}, cancelling the common factor of {{math|''e''{{sup|(''a'' + ''b'')''x''}}}} from each term gives the ordinary binomial theorem.<ref>{{cite book |last1=Spivey |first1=Michael Z. |title=The Art of Proving Binomial Identities |date=2019 |publisher=CRC Press |isbn=978-1351215800 |page=71}}</ref>


==History==
==History==
Special cases of the binomial theorem were known since at least the 4th century BC when [[Greek mathematics|Greek mathematician]] [[Euclid]] mentioned the special case of the binomial theorem for exponent <math>n=2</math>.<ref name="Coolidge">{{cite journal|title=The Story of the Binomial Theorem|first=J. L.|last=Coolidge|journal=The American Mathematical Monthly| volume=56| issue=3|date=1949|pages=147–157|doi=10.2307/2305028|jstor = 2305028}}</ref> Greek mathematician [[Diophantus]] cubed various binomials, including <math>x-1</math>.<ref name="Coolidge" /> Indian mathematician [[Aryabhata]]'s method for finding cube roots, from around 510 AD, suggests that he knew the binomial formula for exponent <math>n=3</math>.<ref name="Coolidge" />
Special cases of the binomial theorem were known since at least the 4th century BC when [[Greek mathematics|Greek mathematician]] [[Euclid]] mentioned the special case of the binomial theorem for exponent <math>n=2</math>.<ref name="Coolidge">{{cite journal|title=The Story of the Binomial Theorem|first=J. L.|last=Coolidge|journal=The American Mathematical Monthly| volume=56| issue=3|date=1949|pages=147–157|doi=10.2307/2305028|jstor = 2305028}}</ref> Greek mathematician [[Diophantus]] cubed various binomials, including <math>x-1</math>.<ref name="Coolidge" /> Indian mathematician [[Aryabhata]]'s method for finding cube roots, from around 510 AD, suggests that he knew the binomial formula for exponent <math>n=3</math>.<ref name="Coolidge" />


Binomial coefficients, as combinatorial quantities expressing the number of ways of selecting {{mvar|k}} objects out of {{mvar|n}} without replacement ([[combinations]]), were of interest to ancient Indian mathematicians. The [[Jainism|Jain]] ''[[Bhagavati Sutra]]'' (c. 300 BC) describes the number of combinations of philosophical categories, senses, or other things, with correct results up through {{tmath|1= n = 4}} (probably obtained by listing all possibilities and counting them)<ref name=biggs>{{cite journal |last=Biggs |first=Norman L. |author-link=Norman L. Biggs |title=The roots of combinatorics |journal=Historia Mathematica |volume=6 |date=1979 |issue=2 |pages=109–136 |doi=10.1016/0315-0860(79)90074-0 |doi-access=free}}</ref> and a suggestion that higher combinations could likewise be found.<ref>{{cite journal |last=Datta |first=Bibhutibhushan |author-link=Bibhutibhushan Datta |url=https://archive.org/details/in.ernet.dli.2015.165748/page/n139/ |title=The Jaina School of Mathematics |journal=Bulletin of the Calcutta Mathematical Society |volume=27 |year=1929 |at=5. 115–145 (esp. 133–134) }} Reprinted as "The Mathematical Achievements of the Jainas" in {{cite book|editor-last=Chattopadhyaya |editor-first=Debiprasad |title=Studies in the History of Science in India |volume=2 |place=New Delhi |publisher=Editorial Enterprises |year=1982 |pages=684–716}}</ref> 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 [[metre (poetry)|metre]]s 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]].<ref>{{cite journal |last=Bag |first=Amulya Kumar |title=Binomial theorem in ancient India |journal=Indian Journal of History of Science |volume=1 |number=1 |year=1966 |pages=68–74 |url=http://repository.ias.ac.in/70374/1/10-pub.pdf }} {{pb}} {{cite journal |last=Shah |first=Jayant |year=2013 |journal=Gaṇita Bhāratī |volume=35 |number=1–4 |pages=43–96 |title=A History of Piṅgala's Combinatorics |id={{ResearchGatePub|353496244}} }} ([https://ia800306.us.archive.org/19/items/Pingala/Pingala.pdf Preprint]) {{pb}} Survey sources:  {{pb}} {{cite book |last=Edwards |first=A. W. F. |author-link=A. W. F. Edwards |year=1987 |chapter=The combinatorial numbers in India |title=Pascal's Arithmetical Triangle |place=London |publisher=Charles Griffin |isbn=0-19-520546-4 |chapter-url=https://archive.org/details/pascalsarithmeti0000edwa/page/27 |pages=27–33 |chapter-url-access=limited }} {{pb}} {{cite book |last=Divakaran |first=P. P. |year=2018 |title=The Mathematics of India: Concepts, Methods, Connections |chapter=Combinatorics |at=§5.5 {{pgs|135–140}} |publisher=Springer; Hindustan Book Agency |doi=10.1007/978-981-13-1774-3_5 |isbn=978-981-13-1773-6 }} {{pb}} {{cite book |last=Roy |first=Ranjan |author-link=Ranjan Roy |year=2021 |title=Series and Products in the Development of Mathematics |edition=2 |volume=1 |publisher=Cambridge University Press |chapter=The Binomial Theorem |at=Ch. 4, {{pgs|77–104}} |isbn=978-1-108-70945-3 |doi=10.1017/9781108709453.005 }}</ref> [[Varāhamihira]] (6th century AD) describes another method for computing combination counts by adding numbers in columns.<ref name=gupta>{{cite journal |last=Gupta |first=Radha Charan |author-link=Radha Charan Gupta |title=Varāhamihira's Calculation of {{tmath|{}^nC_r}} and the Discovery of Pascal's Triangle |journal=Gaṇita Bhāratī |volume=14 |number=1–4 |year=1992 |pages=45–49 }} Reprinted in {{cite book |editor-last=Ramasubramanian |editor-first=K. |year=2019 |title=Gaṇitānanda |publisher=Springer |doi=10.1007/978-981-13-1229-8_29 |pages=285–289 }}</ref> By the 9th century at latest Indian mathematicians learned to express this as a product of fractions {{tmath| \tfrac{n}1 \times \tfrac{n - 1}2 \times \cdots \times \tfrac{n - k + 1}{n-k} }}, and clear statements of this rule can be found in [[Śrīdhara]]'s ''Pāṭīgaṇita'' (8th–9th century), [[Mahāvīra (mathematician)|Mahāvīra]]'s ''[[Gaṇita-sāra-saṅgraha]]'' (c. 850), and [[Bhāskara II]]'s ''Līlāvatī'' (12th century).{{r|gupta}}{{r|biggs}}<ref>{{cite book |year=1959|title=The Patiganita of Sridharacarya |editor-last=Shukla |editor-first=Kripa Shankar |editor-link= Kripa Shankar Shukla |publisher=Lucknow University |chapter-url=https://archive.org/details/Patiganita/page/n294/mode/1up |chapter=Combinations of Savours |at=Vyavahāras 1.9, {{pgs|97}} (text), {{pgs|58–59}} (translation) }}</ref>
Binomial coefficients, as combinatorial quantities expressing the number of ways of selecting {{mvar|k}} objects out of {{mvar|n}} without replacement ([[combinations]]), were of interest to ancient Indian mathematicians. The [[Jainism|Jain]] ''[[Bhagavati Sutra]]'' (c. 300 BC) describes the number of combinations of philosophical categories, senses, or other things, with correct results up through {{tmath|1= n = 4}} (probably obtained by listing all possibilities and counting them)<ref name=biggs>{{cite journal |last=Biggs |first=Norman L. |author-link=Norman L. Biggs |title=The roots of combinatorics |journal=Historia Mathematica |volume=6 |date=1979 |issue=2 |pages=109–136 |doi=10.1016/0315-0860(79)90074-0 |doi-access=free}}</ref> and a suggestion that higher combinations could likewise be found.<ref>{{cite journal |last=Datta |first=Bibhutibhushan |author-link=Bibhutibhushan Datta |url=https://archive.org/details/in.ernet.dli.2015.165748/page/n139/ |title=The Jaina School of Mathematics |journal=Bulletin of the Calcutta Mathematical Society |volume=27 |year=1929 |at=5. 115–145 (esp. 133–134) }} Reprinted as "The Mathematical Achievements of the Jainas" in {{cite book|editor-last=Chattopadhyaya |editor-first=Debiprasad |title=Studies in the History of Science in India |volume=2 |place=New Delhi |publisher=Editorial Enterprises |year=1982 |pages=684–716}}</ref> 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 [[metre (poetry)|metre]]s 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]].<ref>{{cite journal |last=Bag |first=Amulya Kumar |title=Binomial theorem in ancient India |journal=Indian Journal of History of Science |volume=1 |number=1 |year=1966 |pages=68–74 |url=http://repository.ias.ac.in/70374/1/10-pub.pdf }} {{pb}} {{cite journal |last=Shah |first=Jayant |year=2013 |journal=Gaṇita Bhāratī |volume=35 |number=1–4 |pages=43–96 |title=A History of Piṅgala's Combinatorics |id={{ResearchGatePub|353496244}} }} ([https://ia800306.us.archive.org/19/items/Pingala/Pingala.pdf Preprint]) {{pb}} Survey sources:  {{pb}} {{cite book |last=Edwards |first=A. W. F. |author-link=A. W. F. Edwards |year=1987 |chapter=The combinatorial numbers in India |title=Pascal's Arithmetical Triangle |place=London |publisher=Charles Griffin |isbn=0-19-520546-4 |chapter-url=https://archive.org/details/pascalsarithmeti0000edwa/page/27 |pages=27–33 |chapter-url-access=limited }} {{pb}} {{cite book |last=Divakaran |first=P. P. |year=2018 |title=The Mathematics of India: Concepts, Methods, Connections |chapter=Combinatorics |at=§5.5 {{pgs|135–140}} |publisher=Springer; Hindustan Book Agency |doi=10.1007/978-981-13-1774-3_5 |isbn=978-981-13-1773-6 }} {{pb}} {{cite book |last=Roy |first=Ranjan |author-link=Ranjan Roy |year=2021 |title=Series and Products in the Development of Mathematics |edition=2 |volume=1 |publisher=Cambridge University Press |chapter=The Binomial Theorem |at=Ch. 4, {{pgs|77–104}} |isbn=978-1-108-70945-3 |doi=10.1017/9781108709453.005 }}</ref> [[Varāhamihira]] (6th century AD) describes another method for computing combination counts by adding numbers in columns.<ref name=gupta>{{cite journal |last=Gupta |first=Radha Charan |author-link=Radha Charan Gupta |title=Varāhamihira's Calculation of {{tmath|{}^nC_r}} and the Discovery of Pascal's Triangle |journal=Gaṇita Bhāratī |volume=14 |number=1–4 |year=1992 |pages=45–49 }} Reprinted in {{cite book |editor-last=Ramasubramanian |editor-first=K. |year=2019 |title=Gaṇitānanda |publisher=Springer |doi=10.1007/978-981-13-1229-8_29 |pages=285–289 }}</ref> By the 9th century at latest Indian mathematicians learned to express this as a product of fractions {{tmath| \tfrac{n}1 \times \tfrac{n - 1}2 \times \cdots \times \tfrac{n - k + 1}{n-k} }}, and clear statements of this rule can be found in [[Śrīdhara]]'s ''Pāṭīgaṇita'' (8th–9th century), [[Mahāvīra (mathematician)|Mahāvīra]]'s ''[[Gaṇita-sāra-saṅgraha]]'' (c. 850), and [[Bhāskara II]]'s ''Līlāvatī'' (12th century).{{r|gupta}}{{r|biggs}}<ref>{{cite book |year=1959|title=The Patiganita of Sridharacarya |editor-last=Shukla |editor-first=Kripa Shankar |editor-link= Kripa Shankar Shukla |publisher=Lucknow University |chapter-url=https://archive.org/details/Patiganita/page/n294/mode/1up |chapter=Combinations of Savours |at=Vyavahāras 1.9, {{pgs|97}} (text), {{pgs|58–59}} (translation) }}</ref>
Line 215: Line 215:
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.<ref name=yadegari>{{cite journal |last=Yadegari |first=Mohammad  |year=1980 |title=The Binomial Theorem: A Widespread Concept in Medieval Islamic Mathematics |journal=Historia Mathematica |volume=7 |issue=4 |pages=401–406 |doi=10.1016/0315-0860(80)90004-X |doi-access=free }}</ref><ref name=rashed>{{cite journal |last=Rashed |first=Roshdi |author-link=Roshdi Rashed |year=1972 |title=L'induction mathématique: al-Karajī, al-Samawʾal |journal=Archive for History of Exact Sciences |volume=9 |issue=1 |pages=1–21 |jstor=41133347 |doi=10.1007/BF00348537 |language=fr }} Translated into English by A. F. W. Armstrong in {{Cite book |last=Rashed |first=Roshdi |year=1994 |title=The Development of Arabic Mathematics: Between Arithmetic and Algebra |chapter=Mathematical Induction: al-Karajī and al-Samawʾal |chapter-url=https://archive.org/details/RoshdiRashedauth.TheDevelopmentOfArabicMathematicsBetweenArithmeticAndAlgebraSpringerNetherlands1994/page/n71/ |at=§1.4, {{pgs|62–81}} |doi=10.1007/978-94-017-3274-1_2 |publisher=Kluwer |isbn=0-7923-2565-6 |quote="The first formulation of the binomial and the table of binomial coefficients, to our knowledge, is to be found in a text by al-Karajī, cited by al-Samawʾal in ''al-Bāhir''." }}</ref><ref>{{Cite encyclopedia |title=Al-Karajī |encyclopedia=Encyclopaedia of the History of Science, Technology, and Medicine in Non-Western Cultures |last=Sesiano |first=Jacques |editor-last=Selin |editor-first=Helaine |editor-link=Helaine Selin |year=1997 |publisher=Springer |doi=10.1007/978-94-017-1416-7_11 |isbn=978-94-017-1418-1 |pages=475–476 |quote=Another [lost work of Karajī's] contained the first known explanation of the arithmetical (Pascal's) triangle; the passage in question survived through al-Samawʾal's ''Bāhir'' (twelfth century) which heavily drew from the ''Badīʿ''. }}</ref><ref>
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.<ref name=yadegari>{{cite journal |last=Yadegari |first=Mohammad  |year=1980 |title=The Binomial Theorem: A Widespread Concept in Medieval Islamic Mathematics |journal=Historia Mathematica |volume=7 |issue=4 |pages=401–406 |doi=10.1016/0315-0860(80)90004-X |doi-access=free }}</ref><ref name=rashed>{{cite journal |last=Rashed |first=Roshdi |author-link=Roshdi Rashed |year=1972 |title=L'induction mathématique: al-Karajī, al-Samawʾal |journal=Archive for History of Exact Sciences |volume=9 |issue=1 |pages=1–21 |jstor=41133347 |doi=10.1007/BF00348537 |language=fr }} Translated into English by A. F. W. Armstrong in {{Cite book |last=Rashed |first=Roshdi |year=1994 |title=The Development of Arabic Mathematics: Between Arithmetic and Algebra |chapter=Mathematical Induction: al-Karajī and al-Samawʾal |chapter-url=https://archive.org/details/RoshdiRashedauth.TheDevelopmentOfArabicMathematicsBetweenArithmeticAndAlgebraSpringerNetherlands1994/page/n71/ |at=§1.4, {{pgs|62–81}} |doi=10.1007/978-94-017-3274-1_2 |publisher=Kluwer |isbn=0-7923-2565-6 |quote="The first formulation of the binomial and the table of binomial coefficients, to our knowledge, is to be found in a text by al-Karajī, cited by al-Samawʾal in ''al-Bāhir''." }}</ref><ref>{{Cite encyclopedia |title=Al-Karajī |encyclopedia=Encyclopaedia of the History of Science, Technology, and Medicine in Non-Western Cultures |last=Sesiano |first=Jacques |editor-last=Selin |editor-first=Helaine |editor-link=Helaine Selin |year=1997 |publisher=Springer |doi=10.1007/978-94-017-1416-7_11 |isbn=978-94-017-1418-1 |pages=475–476 |quote=Another [lost work of Karajī's] contained the first known explanation of the arithmetical (Pascal's) triangle; the passage in question survived through al-Samawʾal's ''Bāhir'' (twelfth century) which heavily drew from the ''Badīʿ''. }}</ref><ref>
{{cite journal |last=Berggren |first=John Lennart |year=1985 |title=History of mathematics in the Islamic world: The present state of the art |journal=Review of Middle East Studies |volume=19 |number=1 |pages=9–33 |doi=10.1017/S0026318400014796 }} Republished in {{Cite book |title=From Alexandria, Through Baghdad |editor1-last=Sidoli |editor1-first=Nathan |editor2-last=Brummelen |editor2-first=Glen Van |editor2-link=Glen Van Brummelen |year=2014 |publisher=Springer |isbn=978-3-642-36735-9 |doi=10.1007/978-3-642-36736-6_4 |pages=51–71 |quote=[...] since the table of binomial coefficients had been previously found in such late works as those of al-Kāshī (fifteenth century) and Naṣīr al-Dīn al-Ṭūsī (thirteenth century), some had suggested that the table was a Chinese import. However, the use of the binomial coefficients by Islamic mathematicians of the eleventh century, in a context which had deep roots in Islamic mathematics, suggests strongly that the table was a local discovery – most probably of al-Karajī.}}</ref>
{{cite journal |last=Berggren |first=John Lennart |year=1985 |title=History of mathematics in the Islamic world: The present state of the art |journal=Review of Middle East Studies |volume=19 |number=1 |pages=9–33 |doi=10.1017/S0026318400014796 }} Republished in {{Cite book |title=From Alexandria, Through Baghdad |editor1-last=Sidoli |editor1-first=Nathan |editor2-last=Brummelen |editor2-first=Glen Van |editor2-link=Glen Van Brummelen |year=2014 |publisher=Springer |isbn=978-3-642-36735-9 |doi=10.1007/978-3-642-36736-6_4 |pages=51–71 |quote=[...] since the table of binomial coefficients had been previously found in such late works as those of al-Kāshī (fifteenth century) and Naṣīr al-Dīn al-Ṭūsī (thirteenth century), some had suggested that the table was a Chinese import. However, the use of the binomial coefficients by Islamic mathematicians of the eleventh century, in a context which had deep roots in Islamic mathematics, suggests strongly that the table was a local discovery – most probably of al-Karajī.}}</ref>
An explicit statement of the binomial theorem appears in [[al-Samawʾal]]'s ''al-Bāhir'' (12th century), there credited to al-Karajī.{{r|yadegari}}{{r|rashed}} 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 {{tmath|1= n = 12}} and a rule for generating them equivalent to the [[recurrence relation]] {{tmath|1=\textstyle \binom{n}{k} = \binom{n-1}{k-1} + \binom{n-1}{k} }}.{{r|rashed}}<ref name=Karaji>{{MacTutor|id=Al-Karaji|title=Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji}}</ref> The Persian poet and mathematician [[Omar Khayyam]] was probably familiar with the formula to higher orders, although many of his mathematical works are lost.<ref name="Coolidge" /> The binomial expansions of small degrees were known in the 13th century mathematical works of [[Yang Hui]]<ref>{{cite web | last = Landau | first = James A. | title = Historia Matematica Mailing List Archive: Re: [HM] Pascal's Triangle | work = Archives of Historia Matematica | format = mailing list email | access-date = 2007-04-13 | date = 1999-05-08 | url = http://archives.math.utk.edu/hypermail/historia/may99/0073.html | archive-date = 2021-02-24 | archive-url = https://web.archive.org/web/20210224081637/http://archives.math.utk.edu/hypermail/historia/may99/0073.html | url-status = dead }}</ref> and also [[Chu Shih-Chieh]].<ref name="Coolidge" /> Yang Hui attributes the method to a much earlier 11th century text of [[Jia Xian]], although those writings are now also lost.<ref>{{cite book |title=A History of Chinese Mathematics |chapter=Jia Xian and Liu Yi |last=Martzloff |first=Jean-Claude |translator-last=Wilson |translator-first=Stephen S. |publisher=Springer |year=1997 |orig-year=French ed. 1987 |isbn=3-540-54749-5 |page=142 |chapter-url=https://archive.org/details/historyofchinese0000mart_g2q8/page/142/mode/2up?&q=%22depends+on+the+binomial+expansion%22 |chapter-url-access=limited }}</ref>
An explicit statement of the binomial theorem appears in [[al-Samawʾal]]'s ''al-Bāhir'' (12th century), there credited to al-Karajī.{{r|yadegari}}{{r|rashed}} 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 {{tmath|1= n = 12}} and a rule for generating them equivalent to the [[recurrence relation]] {{tmath|1=\textstyle \binom{n}{k} = \binom{n-1}{k-1} + \binom{n-1}{k} }}.{{r|rashed}}<ref name=Karaji>{{MacTutor|id=Al-Karaji|title=Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji}}</ref> The Persian poet and mathematician [[Omar Khayyam]] was probably familiar with the formula to higher orders, although many of his mathematical works are lost.<ref name="Coolidge" /> The binomial expansions of small degrees were known in the 13th century mathematical works of [[Yang Hui]]<ref>{{cite web | last = Landau | first = James A. | title = Historia Matematica Mailing List Archive: Re: [HM] Pascal's Triangle | work = Archives of Historia Matematica | format = mailing list email | access-date = 2007-04-13 | date = 1999-05-08 | url = http://archives.math.utk.edu/hypermail/historia/may99/0073.html | archive-date = 2021-02-24 | archive-url = https://web.archive.org/web/20210224081637/http://archives.math.utk.edu/hypermail/historia/may99/0073.html | url-status = dead }}</ref> and also [[Chu Shih-Chieh]].<ref name="Coolidge" /> Yang Hui attributes the method to a much earlier 11th century text of [[Jia Xian]], although those writings are now also lost.<ref>{{cite book |title=A History of Chinese Mathematics |chapter=Jia Xian and Liu Yi |last=Martzloff |first=Jean-Claude |translator-last=Wilson |translator-first=Stephen S. |publisher=Springer |year=1997 |orig-year=French ed. 1987 |isbn=3-540-54749-5 |page=142 |chapter-url=https://archive.org/details/historyofchinese0000mart_g2q8/page/142/mode/2up?&q=%22depends+on+the+binomial+expansion%22 |chapter-url-access=limited }}</ref>


In Europe, descriptions of the construction of Pascal's triangle can be found as early as [[Jordanus de Nemore]]'s ''De arithmetica'' (13th century).<ref>{{cite journal |last=Hughes |first=Barnabas|year=1989 |title=The arithmetical triangle of Jordanus de Nemore |journal=Historia Mathematica |volume=16 |number=3 |pages=213–223 |doi=10.1016/0315-0860(89)90018-9 |doi-access=free }}</ref> In 1544, [[Michael Stifel]] introduced the term "binomial coefficient" and showed how to use them to express <math>(1+x)^n</math> in terms of <math>(1+x)^{n-1}</math>, via "Pascal's triangle".<ref name=Kline>{{cite book|title=History of mathematical thought|first=Morris| last=Kline| author-link=Morris Kline|page=273|publisher=Oxford University Press|year=1972}}</ref> Other 16th century mathematicians including [[Niccolò Fontana Tartaglia]] and [[Simon Stevin]] also knew of it.<ref name=Kline /> 17th-century mathematician [[Blaise Pascal]] studied the eponymous triangle comprehensively in his ''Traité du triangle arithmétique''.<ref>{{Cite book |last=Katz |first=Victor |author-link=Victor Katz |title=A History of Mathematics: An Introduction |edition=3rd |publisher=Addison-Wesley |year=2009 |orig-year=1993 |isbn=978-0-321-38700-4 |at=§ 14.3, {{pgs|487–497}} |chapter=Elementary Probability }}</ref>
In Europe, descriptions of the construction of Pascal's triangle can be found as early as [[Jordanus de Nemore]]'s ''De arithmetica'' (13th century).<ref>{{cite journal |last=Hughes |first=Barnabas|year=1989 |title=The arithmetical triangle of Jordanus de Nemore |journal=Historia Mathematica |volume=16 |number=3 |pages=213–223 |doi=10.1016/0315-0860(89)90018-9 |doi-access=free }}</ref> In 1544, [[Michael Stifel]] introduced the term "binomial coefficient" and showed how to use them to express <math>(1+x)^n</math> in terms of <math>(1+x)^{n-1}</math>, via "Pascal's triangle".<ref name=Kline>{{cite book|title=History of mathematical thought|first=Morris| last=Kline| author-link=Morris Kline|page=273|publisher=Oxford University Press|year=1972}}</ref> Other 16th century mathematicians including [[Niccolò Fontana Tartaglia]] and [[Simon Stevin]] also knew of it.<ref name=Kline /> 17th-century mathematician [[Blaise Pascal]] studied the eponymous triangle comprehensively in his ''Traité du triangle arithmétique''.<ref>{{Cite book |last=Katz |first=Victor |author-link=Victor Katz |title=A History of Mathematics: An Introduction |edition=3rd |publisher=Addison-Wesley |year=2009 |orig-year=1993 |isbn=978-0-321-38700-4 |at=§ 14.3, {{pgs|487–497}} |chapter=Elementary Probability }}</ref>


By the early 17th century, some specific cases of the generalized binomial theorem, such as for <math>n=\tfrac{1}{2}</math>, can be found in the work of [[Henry Briggs (mathematician)|Henry Briggs]]' ''Arithmetica Logarithmica'' (1624).{{r|stillwell}} [[Isaac Newton]] is generally credited with discovering the generalized binomial theorem, valid for any real exponent, in 1665, inspired by the work of [[John Wallis]]'s ''Arithmetic Infinitorum'' and his method of interpolation.<ref name=Kline /><ref>{{cite book |title=Elements of the History of Mathematics |date=1994 |first=N. |last=Bourbaki |author-link=Nicolas Bourbaki  |translator=J. Meldrum |translator-link=John D. P. Meldrum |publisher=Springer |isbn=3-540-19376-6 |url-access=registration |url=https://archive.org/details/elementsofhistor0000bour}}</ref><ref name="Coolidge" /><ref>{{Cite journal |last=Whiteside |first=D. T. |author-link=Tom Whiteside |date=1961 |title=Newton's Discovery of the General Binomial Theorem |url=https://www.cambridge.org/core/journals/mathematical-gazette/article/abs/newtons-discovery-of-the-general-binomial-theorem/19B5921B0248598CFB6441FCE085D113 |journal=The Mathematical Gazette |language=en |volume=45 |issue=353 |pages=175–180 |doi=10.2307/3612767 |jstor=3612767 |url-access=subscription }}</ref>{{r|stillwell}} A logarithmic version of the theorem for fractional exponents was discovered independently by [[James Gregory (mathematician)|James Gregory]] who wrote down his formula in 1670.<ref name=stillwell>{{cite book |last=Stillwell |first=John |author-link=John Stillwell |title=Mathematics and its history |date=2010 |publisher=Springer |isbn=978-1-4419-6052-8 |page=186 |edition=3rd}}</ref>
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.<ref>{{Cite book |last=Edwards |first=A. W. F. |author-link=A. W. F. Edwards |url=https://books.google.com/books?id=sx-EkudWKTcC&q=At+the+very+latest+ |title=Pascal's Arithmetical Triangle: The Story of a Mathematical Idea |date=2002-07-23 |publisher=JHU Press |isbn=978-0-8018-6946-4 |language=en}}</ref> By the early 17th century, some specific cases of the generalized binomial theorem, such as for <math>n=\tfrac{1}{2}</math>, can be found in the work of [[Henry Briggs (mathematician)|Henry Briggs]]' ''Arithmetica Logarithmica'' (1624).{{r|stillwell}} [[Isaac Newton]] is generally credited with discovering the generalized binomial theorem, valid for any real exponent, in 1665, inspired by the work of [[John Wallis]]'s ''Arithmetic Infinitorum'' and his method of interpolation.<ref name=Kline /><ref>{{cite book |title=Elements of the History of Mathematics |date=1994 |first=N. |last=Bourbaki |author-link=Nicolas Bourbaki  |translator=J. Meldrum |translator-link=John D. P. Meldrum |publisher=Springer |isbn=3-540-19376-6 |url-access=registration |url=https://archive.org/details/elementsofhistor0000bour}}</ref><ref name="Coolidge" /><ref>{{Cite journal |last=Whiteside |first=D. T. |author-link=Tom Whiteside |date=1961 |title=Newton's Discovery of the General Binomial Theorem |url=https://www.cambridge.org/core/journals/mathematical-gazette/article/abs/newtons-discovery-of-the-general-binomial-theorem/19B5921B0248598CFB6441FCE085D113 |journal=The Mathematical Gazette |language=en |volume=45 |issue=353 |pages=175–180 |doi=10.2307/3612767 |jstor=3612767 |url-access=subscription }}</ref>{{r|stillwell}} A logarithmic version of the theorem for fractional exponents was discovered independently by [[James Gregory (mathematician)|James Gregory]] who wrote down his formula in 1670.<ref name=stillwell>{{cite book |last=Stillwell |first=John |author-link=John Stillwell |title=Mathematics and its history |date=2010 |publisher=Springer |isbn=978-1-4419-6052-8 |page=186 |edition=3rd}}</ref>


== Applications ==
== Applications ==
Line 237: Line 237:
<math display="block">\cos(3x) = \cos^3 x - 3 \cos x \sin^2 x \quad\text{and}\quad \sin(3x) = 3\cos^2 x \sin x - \sin^3 x.</math>
<math display="block">\cos(3x) = \cos^3 x - 3 \cos x \sin^2 x \quad\text{and}\quad \sin(3x) = 3\cos^2 x \sin x - \sin^3 x.</math>
In general,
In general,
<math display="block">\cos(nx) = \sum_{k\text{ even}} (-1)^{k/2} {n \choose k}\cos^{n-k} x \sin^k x</math>
<math display="block">\cos(nx) = \sum_{k\text{ even}} (-1)^{k/2} {\binom{n}{k}}\cos^{n-k} x \sin^k x</math>
and
and
<math display="block">\sin(nx) = \sum_{k\text{ odd}} (-1)^{(k-1)/2} {n \choose k}\cos^{n-k} x \sin^k x.</math>There are also similar formulas using [[Chebyshev polynomials]].
<math display="block">\sin(nx) = \sum_{k\text{ odd}} (-1)^{(k-1)/2} {\binom{n}{k}}\cos^{n-k} x \sin^k x.</math>There are also similar formulas using [[Chebyshev polynomials]].


=== Series for ''e'' ===
=== Series for ''e'' ===
Line 246: Line 246:


Applying the binomial theorem to this expression yields the usual [[infinite series]] for {{mvar|e}}. In particular:
Applying the binomial theorem to this expression yields the usual [[infinite series]] for {{mvar|e}}. In particular:
<math display="block">\left(1 + \frac{1}{n}\right)^n = 1 + {n \choose 1}\frac{1}{n} + {n \choose 2}\frac{1}{n^2} + {n \choose 3}\frac{1}{n^3} + \cdots + {n \choose n}\frac{1}{n^n}.</math>
<math display="block">\left(1 + \frac{1}{n}\right)^n = 1 + {\binom{n}{1}}\frac{1}{n} + {\binom{n}{2}}\frac{1}{n^2} + {\binom{n}{3}}\frac{1}{n^3} + \cdots + {\binom{n}{n}}\frac{1}{n^n}.</math>


The {{mvar|k}}th term of this sum is
The {{mvar|k}}th term of this sum is
<math display="block">{n \choose k}\frac{1}{n^k} = \frac{1}{k!}\cdot\frac{n(n-1)(n-2)\cdots (n-k+1)}{n^k}</math>
<math display="block">{\binom{n}{k}}\frac{1}{n^k} = \frac{1}{k!}\cdot\frac{n(n-1)(n-2)\cdots (n-k+1)}{n^k}</math>


As {{math|''n'' → ∞}}, the rational expression on the right approaches {{math|1}}, and therefore
As {{math|''n'' → ∞}}, the rational expression on the right approaches {{math|1}}, and therefore
<math display="block">\lim_{n\to\infty} {n \choose k}\frac{1}{n^k} = \frac{1}{k!}.</math>
<math display="block">\lim_{n\to\infty} {\binom{n}{k}}\frac{1}{n^k} = \frac{1}{k!}.</math>


This indicates that {{mvar|e}} can be written as a series:
This indicates that {{mvar|e}} can be written as a series:
Line 261: Line 261:
=== Probability ===
=== 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 <math>\{X_t\}_{t\in S}</math> with probability of success <math>p\in [0,1]</math> all not happening is
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 <math>\{X_t\}_{t\in S}</math> with probability of success <math>p\in [0,1]</math> all not happening is
:<math> P\biggl(\bigcap_{t\in S} X_t^C\biggr) = (1-p)^{|S|} = \sum_{n=0}^{|S|} {|S| \choose n} (-p)^n.</math>
<math display="block"> P\biggl(\bigcap_{t\in S} X_t^C\biggr) = (1-p)^{|S|} = \sum_{n=0}^{|S|} {\binom{|S|}{n}} (-p)^n.</math>
An upper bound for this quantity is <math> e^{-p|S|}.</math><ref>{{Cite book |title=Elements of Information Theory |chapter=Data Compression |last1=Cover |first1=Thomas M. |author1-link=Thomas M. Cover |last2=Thomas |first2=Joy A. |author2-link=Joy A. Thomas |date=1991 |publisher=Wiley |isbn=9780471062592 |at=Ch. 5, {{pgs|78–124}} |doi=10.1002/0471200611.ch5}}<!-- a specific page number would be helpful. previously this citation noted p. 320 but that's not in this chapter. --> </ref>
An upper bound for this quantity is <math> e^{-p|S|}.</math><ref>{{Cite book |title=Elements of Information Theory |chapter=Data Compression |last1=Cover |first1=Thomas M. |author1-link=Thomas M. Cover |last2=Thomas |first2=Joy A. |author2-link=Joy A. Thomas |date=1991 |publisher=Wiley |isbn=9780471062592 |at=Ch. 5, {{pgs|78–124}} |doi=10.1002/0471200611.ch5}}<!-- a specific page number would be helpful. previously this citation noted p. 320 but that's not in this chapter. --> </ref>


== In abstract algebra ==
== In abstract algebra ==


The binomial theorem is valid more generally for two elements {{math|''x''}} and {{math|''y''}} in a [[Ring_(mathematics)|ring]], or even a [[semiring]], provided that {{math|1=''xy'' = ''yx''}}. For example, it holds for two {{math|''n'' × ''n''}} matrices, provided that those matrices commute; this is useful in computing powers of a matrix.<ref>{{cite book |last=Artin |first=Michael |author-link=Michael Artin |title=Algebra |edition=2nd |year=2011 |publisher=Pearson |at=equation (4.7.11)}}</ref>
The binomial theorem is valid more generally for two elements {{math|''x''}} and {{math|''y''}} in a [[Ring_(mathematics)|ring]], or even a [[semiring]], provided that {{math|1=''xy'' = ''yx''}}. For example, it holds for two {{math|''n'' × ''n''}} matrices, provided that those matrices commute; this is useful in computing powers of a matrix.<ref>{{cite book |last=Artin |first=Michael |author-link=Michael Artin |title=Algebra |edition=2nd |year=2011 |publisher=Pearson |at=equation (4.7.11)}}</ref>


The binomial theorem can be stated by saying that the [[polynomial sequence]] {{math|1={{mset|1, ''x'', ''x''<sup>2</sup>, ''x''<sup>3</sup>, ...}}}} is of [[binomial type]].
The binomial theorem can be stated by saying that the [[polynomial sequence]] {{math|1={{mset|1, ''x'', ''x''<sup>2</sup>, ''x''<sup>3</sup>, ...}}}} is of [[binomial type]].


== See also ==
== See also ==

Latest revision as of 19:55, 8 November 2025

Template:Short description Template:CS1 config

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

Script error: No such module "Check for unknown parameters".

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

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

Statement

According to the theorem, the expansion of any nonnegative integer power Template:Mvar of the binomial Template:Math 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 Template:Mvar and Template:Mvar 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 Template:Math for Template:Mvar, 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

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 Template:Math on the right side in the Template:Mvarth row (numbered so that the top row is the 0th row):

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 Template:Math: (x+2)3=x3+3x2(2)+3x(2)2+23=x3+6x2+12x+8.

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

Geometric explanation

File:Binomial theorem visualisation.svg
Visualisation of binomial expansion up to the 4th power

For positive values of Template:Mvar and Template:Mvar, the binomial theorem with Template:Math is the geometrically evident fact that a square of side Template:Math can be cut into a square of side Template:Mvar, a square of side Template:Mvar, and two rectangles with sides Template:Mvar and Template:Mvar. With Template:Math, the theorem states that a cube of side Template:Math can be cut into a cube of side Template:Mvar, a cube of side Template:Mvar, three Template:Math rectangular boxes, and three Template:Math 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 Template:Mvar as an infinitesimal change in Template:Mvar, then this picture shows the infinitesimal change in the volume of an Template:Mvar-dimensional hypercube, (x+Δx)n, where the coefficient of the linear term (in Δx) is nxn1, the area of the Template:Mvar faces, each of dimension Template:Math: (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 Template:Mvar-cube as side length varies is the area of Template:Mvar of its Template:Math-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

Script error: No such module "Labelled list hatnote". The coefficients that appear in the binomial expansion are called binomial coefficients. These are usually written (nk), and pronounced "Template:Mvar choose Template:Mvar".

Formulas

The coefficient of Template:Math is given by the formula (nk)=n!k!(nk)!, which is defined in terms of the factorial function Template:Math. Equivalently, this formula can be written (nk)=n(n1)(nk+1)k(k1)1==1kn+1==0k1nk with Template:Mvar 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

The binomial coefficient (nk) can be interpreted as the number of ways to choose Template:Mvar elements from an Template:Mvar-element set (a combination). This is related to binomials for the following reason: if we write Template:Math 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 Template:Mvar or Template:Mvar from each of the binomials of the product. For example, there will only be one term Template:Math, corresponding to choosing Template:Mvar from each binomial. However, there will be several terms of the form Template:Math, one for each way of choosing exactly two binomials to contribute a Template:Mvar. Therefore, after combining like terms, the coefficient of Template:Math will be equal to the number of ways to choose exactly Template:Math elements from an Template:Mvar-element set.

Proofs

Combinatorial proof

Expanding Template:Math yields the sum of the Template:Math products of the form Template:Math where each Template:Math is Template:Mvar or Template:Mvar. Rearranging factors shows that each product equals Template:Math for some Template:Mvar between Template:Math and Template:Mvar. For a given Template:Mvar, the following are proved equal in succession:

This proves the binomial theorem.

Example

The coefficient of Template:Math 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 Template:Math strings of length 3 with exactly two Template:Mvar's, namely, xyy,yxy,yyx, corresponding to the three 2-element subsets of Template:Math, namely, {2,3},{1,3},{1,2}, where each subset specifies the positions of the Template:Mvar in a corresponding string.

Inductive proof

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

Generalizations

Generalized binomial theorem

Script error: No such module "Labelled list hatnote". 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 Template:Mvar, 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 Template:Mvar is a nonnegative integer. Then, if Template:Mvar and Template:Mvar are real numbers with Template:Math,[Note 2] and Template:Mvar 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 Template:Mvar is a nonnegative integer, the binomial coefficients for Template:Math are zero, so this equation reduces to the usual binomial theorem, and there are at most Template:Math nonzero terms. For other values of Template:Mvar, the series has infinitely many nonzero terms.

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

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

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

So, for instance, when Template:Math, 11+x=112x+38x2516x3+35128x463256x5+.

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

So, for instance, when Template:Math, we have for Template:Math: 11x=1+12x+38x2+516x3+35128x4+63256x5+.

Further generalizations

The generalized binomial theorem can be extended to the case where Template:Mvar and Template:Mvar are complex numbers. For this version, one should again assume Template:Math[Note 2] and define the powers of Template:Math and Template:Mvar using a holomorphic branch of log defined on an open disk of radius Template:Math centered at Template:Mvar. The generalized binomial theorem is valid also for elements Template:Mvar and Template:Mvar of a Banach algebra as long as Template:Math, and Template:Mvar is invertible, and Template:Math.

A version of the binomial theorem is valid for the following Pochhammer symbol-like family of polynomials: for a given real constant Template:Mvar, 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 Template:Math 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

Script error: No such module "Labelled list hatnote". 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 Template:Math through Template:Math such that the sum of all Template:Math is Template:Mvar. (For each term in the expansion, the exponents must add up to Template:Mvar). 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 Template:Mvar-element set into disjoint subsets of sizes Template:Math.

Script error: No such module "anchor". Multi-binomial theorem

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

Script error: No such module "Labelled list hatnote".

The general Leibniz rule gives the Template:Mvarth 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 Template:Math indicates the Template:Mvarth derivative of a function, f(n)(x)=dndxnf(x). If one sets Template:Math and Template:Math, cancelling the common factor of Template:Math from each term gives the ordinary binomial theorem.[7]

History

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 Template:Mvar objects out of Template:Mvar 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 Template:Tmath (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 Template:Tmath, 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).Template:RTemplate:R[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ī.Template:RTemplate:R 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 Template:Tmath and a rule for generating them equivalent to the recurrence relation Template:Tmath.Template:R[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).Template:R Isaac Newton is generally credited with discovering the generalized binomial theorem, valid for any real exponent, in 1665, inspired by the work of John Wallis's Arithmetic Infinitorum and his method of interpolation.[22][25][8][26]Template:R A logarithmic version of the theorem for fractional exponents was discovered independently by James Gregory who wrote down his formula in 1670.[27]

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, 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 Template:Math and Template:Math. 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

The [[e (mathematical constant)|number Template:Mvar]] is often defined by the formula e=limn(1+1n)n.

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

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

As Template:Math, the rational expression on the right approaches Template:Math, and therefore limn(nk)1nk=1k!.

This indicates that Template:Mvar 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 Template:Mvar, it follows from the monotone convergence theorem for series that the sum of this infinite series is equal to Template:Mvar.

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 {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|.[28]

In abstract algebra

The binomial theorem is valid more generally for two elements Template:Math and Template:Math in a ring, or even a semiring, provided that Template:Math. For example, it holds for two Template:Math matrices, provided that those matrices commute; this is useful in computing powers of a matrix.[29]

The binomial theorem can be stated by saying that the polynomial sequence Template:Math is of binomial type.

See also

Script error: No such module "Portal".

Notes

Template:Reflist

References

Template:Reflist

Further reading

  • Script error: No such module "citation/CS1".

External links

Template:Sister project

Template:Calculus topics Template:Authority control


Cite error: <ref> tags exist for a group named "Note", but no corresponding <references group="Note"/> tag was found

  1. a b Script error: No such module "Citation/CS1".
  2. Binomial theorem – inductive proofs Template:Webarchive
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "Citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".
  7. Script error: No such module "citation/CS1".
  8. a b c d e f Script error: No such module "Citation/CS1".
  9. Script error: No such module "Citation/CS1".
  10. Script error: No such module "Citation/CS1". Reprinted as "The Mathematical Achievements of the Jainas" in Script error: No such module "citation/CS1".
  11. Script error: No such module "Citation/CS1". Template:Pb Script error: No such module "Citation/CS1". (Preprint) Template:Pb Survey sources: Template:Pb Script error: No such module "citation/CS1". Template:Pb Script error: No such module "citation/CS1". Template:Pb Script error: No such module "citation/CS1".
  12. Script error: No such module "Citation/CS1". Reprinted in Script error: No such module "citation/CS1".
  13. Script error: No such module "citation/CS1".
  14. Script error: No such module "Citation/CS1".
  15. Script error: No such module "Citation/CS1". Translated into English by A. F. W. Armstrong in Script error: No such module "citation/CS1".
  16. Script error: No such module "citation/CS1".
  17. Script error: No such module "Citation/CS1". Republished in Script error: No such module "citation/CS1".
  18. Script error: No such module "Template wrapper".
  19. Script error: No such module "citation/CS1".
  20. Script error: No such module "citation/CS1".
  21. Script error: No such module "Citation/CS1".
  22. a b c Script error: No such module "citation/CS1".
  23. Script error: No such module "citation/CS1".
  24. Script error: No such module "citation/CS1".
  25. Script error: No such module "citation/CS1".
  26. Script error: No such module "Citation/CS1".
  27. Script error: No such module "citation/CS1".
  28. Script error: No such module "citation/CS1".
  29. Script error: No such module "citation/CS1".