Jump to content
Wikipedia The Free Encyclopedia

Multinomial theorem

From Wikipedia, the free encyclopedia
Generalization of the binomial theorem to other polynomials
This article needs additional citations for verification . Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Multinomial theorem" – news · newspapers · books · scholar · JSTOR
(December 2022) (Learn how and when to remove this message)

In mathematics, the multinomial theorem describes how to expand a power of a sum in terms of powers of the terms in that sum. It is the generalization of the binomial theorem from binomials to multinomials.

Theorem

[edit ]

For any positive integer m and any non-negative integer n, the multinomial theorem describes how a sum with m terms expands when raised to the nth power: ( x 1 + x 2 + + x m ) n = k 1 + k 2 + + k m = n k 1 , k 2 , , k m 0 ( n k 1 , k 2 , , k m ) x 1 k 1 x 2 k 2 x m k m {\displaystyle (x_{1}+x_{2}+\cdots +x_{m})^{n}=\sum _{\begin{array}{c}k_{1}+k_{2}+\cdots +k_{m}=n\\k_{1},k_{2},\cdots ,k_{m}\geq 0\end{array}}{n \choose k_{1},k_{2},\ldots ,k_{m}}x_{1}^{k_{1}}\cdot x_{2}^{k_{2}}\cdots x_{m}^{k_{m}}} {\displaystyle (x_{1}+x_{2}+\cdots +x_{m})^{n}=\sum _{\begin{array}{c}k_{1}+k_{2}+\cdots +k_{m}=n\\k_{1},k_{2},\cdots ,k_{m}\geq 0\end{array}}{n \choose k_{1},k_{2},\ldots ,k_{m}}x_{1}^{k_{1}}\cdot x_{2}^{k_{2}}\cdots x_{m}^{k_{m}}} where ( n k 1 , k 2 , , k m ) = n ! k 1 ! k 2 ! k m ! {\displaystyle {n \choose k_{1},k_{2},\ldots ,k_{m}}={\frac {n!}{k_{1}!,円k_{2}!\cdots k_{m}!}}} {\displaystyle {n \choose k_{1},k_{2},\ldots ,k_{m}}={\frac {n!}{k_{1}!,円k_{2}!\cdots k_{m}!}}} is a multinomial coefficient.[1] The sum is taken over all combinations of nonnegative integer indices k1 through km such that the sum of all ki is n. That is, for each term in the expansion, the exponents of the xi must add up to n.[2] [a]

In the case m = 2, this statement reduces to that of the binomial theorem.[2]

Example

[edit ]

The third power of the trinomial a + b + c is given by ( a + b + c ) 3 = a 3 + b 3 + c 3 + 3 a 2 b + 3 a 2 c + 3 b 2 a + 3 b 2 c + 3 c 2 a + 3 c 2 b + 6 a b c . {\displaystyle (a+b+c)^{3}=a^{3}+b^{3}+c^{3}+3a^{2}b+3a^{2}c+3b^{2}a+3b^{2}c+3c^{2}a+3c^{2}b+6abc.} {\displaystyle (a+b+c)^{3}=a^{3}+b^{3}+c^{3}+3a^{2}b+3a^{2}c+3b^{2}a+3b^{2}c+3c^{2}a+3c^{2}b+6abc.} This can be computed by hand using the distributive property of multiplication over addition and combining like terms, but it can also be done (perhaps more easily) with the multinomial theorem. It is possible to "read off" the multinomial coefficients from the terms by using the multinomial coefficient formula. For example, the term a 2 b 0 c 1 {\displaystyle a^{2}b^{0}c^{1}} {\displaystyle a^{2}b^{0}c^{1}} has coefficient ( 3 2 , 0 , 1 ) = 3 ! 2 ! 0 ! 1 ! = 6 2 1 1 = 3 {\displaystyle {3 \choose 2,0,1}={\frac {3!}{2!\cdot 0!\cdot 1!}}={\frac {6}{2\cdot 1\cdot 1}}=3} {\displaystyle {3 \choose 2,0,1}={\frac {3!}{2!\cdot 0!\cdot 1!}}={\frac {6}{2\cdot 1\cdot 1}}=3}, the term a 1 b 1 c 1 {\displaystyle a^{1}b^{1}c^{1}} {\displaystyle a^{1}b^{1}c^{1}} has coefficient ( 3 1 , 1 , 1 ) = 3 ! 1 ! 1 ! 1 ! = 6 1 1 1 = 6 {\displaystyle {3 \choose 1,1,1}={\frac {3!}{1!\cdot 1!\cdot 1!}}={\frac {6}{1\cdot 1\cdot 1}}=6} {\displaystyle {3 \choose 1,1,1}={\frac {3!}{1!\cdot 1!\cdot 1!}}={\frac {6}{1\cdot 1\cdot 1}}=6}, and so on.

Alternate expression

[edit ]

The statement of the theorem can be written concisely using multiindices:

( x 1 + + x m ) n = | α | = n ( n α ) x α {\displaystyle (x_{1}+\cdots +x_{m})^{n}=\sum _{|\alpha |=n}{n \choose \alpha }x^{\alpha }} {\displaystyle (x_{1}+\cdots +x_{m})^{n}=\sum _{|\alpha |=n}{n \choose \alpha }x^{\alpha }}

where

α = ( α 1 , α 2 , , α m ) {\displaystyle \alpha =(\alpha _{1},\alpha _{2},\dots ,\alpha _{m})} {\displaystyle \alpha =(\alpha _{1},\alpha _{2},\dots ,\alpha _{m})}

and

x α = x 1 α 1 x 2 α 2 x m α m {\displaystyle x^{\alpha }=x_{1}^{\alpha _{1}}x_{2}^{\alpha _{2}}\cdots x_{m}^{\alpha _{m}}} {\displaystyle x^{\alpha }=x_{1}^{\alpha _{1}}x_{2}^{\alpha _{2}}\cdots x_{m}^{\alpha _{m}}}

Proof

[edit ]

This proof of the multinomial theorem uses the binomial theorem and induction on m.

First, for m = 1, both sides equal x1n since there is only one term k1 = n in the sum. For the induction step, suppose the multinomial theorem holds for m. Then

( x 1 + x 2 + + x m + x m + 1 ) n = ( x 1 + x 2 + + ( x m + x m + 1 ) ) n = k 1 + k 2 + + k m 1 + K = n ( n k 1 , k 2 , , k m 1 , K ) x 1 k 1 x 2 k 2 x m 1 k m 1 ( x m + x m + 1 ) K {\displaystyle {\begin{aligned}&(x_{1}+x_{2}+\cdots +x_{m}+x_{m+1})^{n}=(x_{1}+x_{2}+\cdots +(x_{m}+x_{m+1}))^{n}\\[6pt]={}&\sum _{k_{1}+k_{2}+\cdots +k_{m-1}+K=n}{n \choose k_{1},k_{2},\ldots ,k_{m-1},K}x_{1}^{k_{1}}x_{2}^{k_{2}}\cdots x_{m-1}^{k_{m-1}}(x_{m}+x_{m+1})^{K}\end{aligned}}} {\displaystyle {\begin{aligned}&(x_{1}+x_{2}+\cdots +x_{m}+x_{m+1})^{n}=(x_{1}+x_{2}+\cdots +(x_{m}+x_{m+1}))^{n}\\[6pt]={}&\sum _{k_{1}+k_{2}+\cdots +k_{m-1}+K=n}{n \choose k_{1},k_{2},\ldots ,k_{m-1},K}x_{1}^{k_{1}}x_{2}^{k_{2}}\cdots x_{m-1}^{k_{m-1}}(x_{m}+x_{m+1})^{K}\end{aligned}}}

by the induction hypothesis. Applying the binomial theorem to the last factor,

= k 1 + k 2 + + k m 1 + K = n ( n k 1 , k 2 , , k m 1 , K ) x 1 k 1 x 2 k 2 x m 1 k m 1 k m + k m + 1 = K ( K k m , k m + 1 ) x m k m x m + 1 k m + 1 {\displaystyle =\sum _{k_{1}+k_{2}+\cdots +k_{m-1}+K=n}{n \choose k_{1},k_{2},\ldots ,k_{m-1},K}x_{1}^{k_{1}}x_{2}^{k_{2}}\cdots x_{m-1}^{k_{m-1}}\sum _{k_{m}+k_{m+1}=K}{K \choose k_{m},k_{m+1}}x_{m}^{k_{m}}x_{m+1}^{k_{m+1}}} {\displaystyle =\sum _{k_{1}+k_{2}+\cdots +k_{m-1}+K=n}{n \choose k_{1},k_{2},\ldots ,k_{m-1},K}x_{1}^{k_{1}}x_{2}^{k_{2}}\cdots x_{m-1}^{k_{m-1}}\sum _{k_{m}+k_{m+1}=K}{K \choose k_{m},k_{m+1}}x_{m}^{k_{m}}x_{m+1}^{k_{m+1}}}
= k 1 + k 2 + + k m 1 + k m + k m + 1 = n ( n k 1 , k 2 , , k m 1 , k m , k m + 1 ) x 1 k 1 x 2 k 2 x m 1 k m 1 x m k m x m + 1 k m + 1 {\displaystyle =\sum _{k_{1}+k_{2}+\cdots +k_{m-1}+k_{m}+k_{m+1}=n}{n \choose k_{1},k_{2},\ldots ,k_{m-1},k_{m},k_{m+1}}x_{1}^{k_{1}}x_{2}^{k_{2}}\cdots x_{m-1}^{k_{m-1}}x_{m}^{k_{m}}x_{m+1}^{k_{m+1}}} {\displaystyle =\sum _{k_{1}+k_{2}+\cdots +k_{m-1}+k_{m}+k_{m+1}=n}{n \choose k_{1},k_{2},\ldots ,k_{m-1},k_{m},k_{m+1}}x_{1}^{k_{1}}x_{2}^{k_{2}}\cdots x_{m-1}^{k_{m-1}}x_{m}^{k_{m}}x_{m+1}^{k_{m+1}}}

which completes the induction. The last step follows because

( n k 1 , k 2 , , k m 1 , K ) ( K k m , k m + 1 ) = ( n k 1 , k 2 , , k m 1 , k m , k m + 1 ) , {\displaystyle {n \choose k_{1},k_{2},\ldots ,k_{m-1},K}{K \choose k_{m},k_{m+1}}={n \choose k_{1},k_{2},\ldots ,k_{m-1},k_{m},k_{m+1}},} {\displaystyle {n \choose k_{1},k_{2},\ldots ,k_{m-1},K}{K \choose k_{m},k_{m+1}}={n \choose k_{1},k_{2},\ldots ,k_{m-1},k_{m},k_{m+1}},}

as can easily be seen by writing the three coefficients using factorials as follows:

n ! k 1 ! k 2 ! k m 1 ! K ! K ! k m ! k m + 1 ! = n ! k 1 ! k 2 ! k m + 1 ! . {\displaystyle {\frac {n!}{k_{1}!k_{2}!\cdots k_{m-1}!K!}}{\frac {K!}{k_{m}!k_{m+1}!}}={\frac {n!}{k_{1}!k_{2}!\cdots k_{m+1}!}}.} {\displaystyle {\frac {n!}{k_{1}!k_{2}!\cdots k_{m-1}!K!}}{\frac {K!}{k_{m}!k_{m+1}!}}={\frac {n!}{k_{1}!k_{2}!\cdots k_{m+1}!}}.}

Multinomial coefficients

[edit ]

The numbers

( n k 1 , k 2 , , k m ) {\displaystyle {n \choose k_{1},k_{2},\ldots ,k_{m}}} {\displaystyle {n \choose k_{1},k_{2},\ldots ,k_{m}}}

appearing in the theorem are the multinomial coefficients. They can be expressed in numerous ways, including as a product of binomial coefficients or of factorials:

( n k 1 , k 2 , , k m ) = n ! k 1 ! k 2 ! k m ! = ( k 1 k 1 ) ( k 1 + k 2 k 2 ) ( k 1 + k 2 + + k m k m ) {\displaystyle {n \choose k_{1},k_{2},\ldots ,k_{m}}={\frac {n!}{k_{1}!,円k_{2}!\cdots k_{m}!}}={k_{1} \choose k_{1}}{k_{1}+k_{2} \choose k_{2}}\cdots {k_{1}+k_{2}+\cdots +k_{m} \choose k_{m}}} {\displaystyle {n \choose k_{1},k_{2},\ldots ,k_{m}}={\frac {n!}{k_{1}!,円k_{2}!\cdots k_{m}!}}={k_{1} \choose k_{1}}{k_{1}+k_{2} \choose k_{2}}\cdots {k_{1}+k_{2}+\cdots +k_{m} \choose k_{m}}}

Sum of all multinomial coefficients

[edit ]

The substitution of xi = 1 for all i into the multinomial theorem

k 1 + k 2 + + k m = n ( n k 1 , k 2 , , k m ) x 1 k 1 x 2 k 2 x m k m = ( x 1 + x 2 + + x m ) n {\displaystyle \sum _{k_{1}+k_{2}+\cdots +k_{m}=n}{n \choose k_{1},k_{2},\ldots ,k_{m}}x_{1}^{k_{1}}x_{2}^{k_{2}}\cdots x_{m}^{k_{m}}=(x_{1}+x_{2}+\cdots +x_{m})^{n}} {\displaystyle \sum _{k_{1}+k_{2}+\cdots +k_{m}=n}{n \choose k_{1},k_{2},\ldots ,k_{m}}x_{1}^{k_{1}}x_{2}^{k_{2}}\cdots x_{m}^{k_{m}}=(x_{1}+x_{2}+\cdots +x_{m})^{n}}

gives immediately that

k 1 + k 2 + + k m = n ( n k 1 , k 2 , , k m ) = m n . {\displaystyle \sum _{k_{1}+k_{2}+\cdots +k_{m}=n}{n \choose k_{1},k_{2},\ldots ,k_{m}}=m^{n}.} {\displaystyle \sum _{k_{1}+k_{2}+\cdots +k_{m}=n}{n \choose k_{1},k_{2},\ldots ,k_{m}}=m^{n}.}

Number of multinomial coefficients

[edit ]

The number of terms in a multinomial sum, #n,m, is equal to the number of monomials of degree n on the variables x1, ..., xm:

# n , m = ( n + m 1 m 1 ) . {\displaystyle \#_{n,m}={n+m-1 \choose m-1}.} {\displaystyle \#_{n,m}={n+m-1 \choose m-1}.}

The count can be performed easily using the method of stars and bars.

Valuation of multinomial coefficients

[edit ]

The largest power of a prime p that divides a multinomial coefficient may be computed using a generalization of Kummer's theorem.

Asymptotics

[edit ]

By Stirling's approximation, or equivalently the log-gamma function's asymptotic expansion, log ( k n n , n , , n ) = k n log ( k ) + 1 2 ( log ( k ) ( k 1 ) log ( 2 π n ) ) k 2 1 12 k n + k 4 1 360 k 3 n 3 k 6 1 1260 k 5 n 5 + O ( 1 n 6 ) {\displaystyle \log {\binom {kn}{n,n,\cdots ,n}}=kn\log(k)+{\frac {1}{2}}\left(\log(k)-(k-1)\log(2\pi n)\right)-{\frac {k^{2}-1}{12kn}}+{\frac {k^{4}-1}{360k^{3}n^{3}}}-{\frac {k^{6}-1}{1260k^{5}n^{5}}}+O\left({\frac {1}{n^{6}}}\right)} {\displaystyle \log {\binom {kn}{n,n,\cdots ,n}}=kn\log(k)+{\frac {1}{2}}\left(\log(k)-(k-1)\log(2\pi n)\right)-{\frac {k^{2}-1}{12kn}}+{\frac {k^{4}-1}{360k^{3}n^{3}}}-{\frac {k^{6}-1}{1260k^{5}n^{5}}}+O\left({\frac {1}{n^{6}}}\right)}so for example, ( 2 n n ) 2 2 n n π {\displaystyle {\binom {2n}{n}}\sim {\frac {2^{2n}}{\sqrt {n\pi }}}} {\displaystyle {\binom {2n}{n}}\sim {\frac {2^{2n}}{\sqrt {n\pi }}}}

Interpretations

[edit ]

Ways to put objects into bins

[edit ]

The multinomial coefficients have a direct combinatorial interpretation, as the number of ways of depositing n distinct objects into m distinct bins, with k1 objects in the first bin, k2 objects in the second bin, and so on.[3]

Number of ways to select according to a distribution

[edit ]

In statistical mechanics and combinatorics, if one has a number distribution of labels, then the multinomial coefficients naturally arise from the binomial coefficients. Given a number distribution {ni} on a set of N total items, ni represents the number of items to be given the label i. (In statistical mechanics i is the label of the energy state.)

The number of arrangements is found by

  • Choosing n1 of the total N to be labeled 1. This can be done ( N n 1 ) {\displaystyle {\tbinom {N}{n_{1}}}} {\displaystyle {\tbinom {N}{n_{1}}}} ways.
  • From the remaining Nn1 items choose n2 to label 2. This can be done ( N n 1 n 2 ) {\displaystyle {\tbinom {N-n_{1}}{n_{2}}}} {\displaystyle {\tbinom {N-n_{1}}{n_{2}}}} ways.
  • From the remaining Nn1n2 items choose n3 to label 3. Again, this can be done ( N n 1 n 2 n 3 ) {\displaystyle {\tbinom {N-n_{1}-n_{2}}{n_{3}}}} {\displaystyle {\tbinom {N-n_{1}-n_{2}}{n_{3}}}} ways.

Multiplying the number of choices at each step results in:

( N n 1 ) ( N n 1 n 2 ) ( N n 1 n 2 n 3 ) = N ! ( N n 1 ) ! n 1 ! ( N n 1 ) ! ( N n 1 n 2 ) ! n 2 ! ( N n 1 n 2 ) ! ( N n 1 n 2 n 3 ) ! n 3 ! . {\displaystyle {N \choose n_{1}}{N-n_{1} \choose n_{2}}{N-n_{1}-n_{2} \choose n_{3}}\cdots ={\frac {N!}{(N-n_{1})!n_{1}!}}\cdot {\frac {(N-n_{1})!}{(N-n_{1}-n_{2})!n_{2}!}}\cdot {\frac {(N-n_{1}-n_{2})!}{(N-n_{1}-n_{2}-n_{3})!n_{3}!}}\cdots .} {\displaystyle {N \choose n_{1}}{N-n_{1} \choose n_{2}}{N-n_{1}-n_{2} \choose n_{3}}\cdots ={\frac {N!}{(N-n_{1})!n_{1}!}}\cdot {\frac {(N-n_{1})!}{(N-n_{1}-n_{2})!n_{2}!}}\cdot {\frac {(N-n_{1}-n_{2})!}{(N-n_{1}-n_{2}-n_{3})!n_{3}!}}\cdots .}

Cancellation results in the formula given above.

Number of unique permutations of words

[edit ]
Multinomial coefficient as a product of binomial coefficients, counting the permutations of the letters of MISSISSIPPI.

The multinomial coefficient

( n k 1 , , k m ) {\displaystyle {\binom {n}{k_{1},\ldots ,k_{m}}}} {\displaystyle {\binom {n}{k_{1},\ldots ,k_{m}}}}

is also the number of distinct ways to permute a multiset of n elements, where ki is the multiplicity of each of the ith element. For example, the number of distinct permutations of the letters of the word MISSISSIPPI, which has 1 M, 4 Is, 4 Ss, and 2 Ps, is

( 11 1 , 4 , 4 , 2 ) = 11 ! 1 ! 4 ! 4 ! 2 ! = 34650. {\displaystyle {11 \choose 1,4,4,2}={\frac {11!}{1!,4円!,4円!,2円!}}=34650.} {\displaystyle {11 \choose 1,4,4,2}={\frac {11!}{1!,4円!,4円!,2円!}}=34650.}

Generalized Pascal's triangle

[edit ]

One can use the multinomial theorem to generalize Pascal's triangle or Pascal's pyramid to Pascal's simplex. This provides a quick way to generate a lookup table for multinomial coefficients.

A related structure is the multinomial triangle, or generalized Pascal triangle of order m, which may be constructed using the recurrence relation: ( n k ) m 1 = i = 0 m 1 ( n 1 k i ) m 1 {\displaystyle {\binom {n}{k}}_{m-1}=\sum _{i=0}^{m-1}{\binom {n-1}{k-i}}_{m-1}} {\displaystyle {\binom {n}{k}}_{m-1}=\sum _{i=0}^{m-1}{\binom {n-1}{k-i}}_{m-1}} from which Pascal's rule is recovered when m = 2 {\displaystyle m=2} {\displaystyle m=2}. These multinomial coefficients can be written as closed-form expressions with bounded integer compositions:

( n k ) m 1 = k 0 + k 1 + + k m 1 = n k 1 + 2 k 2 + + ( m 1 ) k m 1 = k ( n k 0 , k 1 , , k m 1 ) {\displaystyle {\binom {n}{k}}_{m-1}=\sum _{\begin{array}{c}k_{0}+k_{1}+\cdots +k_{m-1}=n\\k_{1}+2k_{2}+\cdots +(m-1)k_{m-1}=k\end{array}}{n \choose k_{0},k_{1},\ldots ,k_{m-1}}} {\displaystyle {\binom {n}{k}}_{m-1}=\sum _{\begin{array}{c}k_{0}+k_{1}+\cdots +k_{m-1}=n\\k_{1}+2k_{2}+\cdots +(m-1)k_{m-1}=k\end{array}}{n \choose k_{0},k_{1},\ldots ,k_{m-1}}} and without:[4] (sequence A008287 in the OEIS)

( n k ) m 1 = i = 0 k / m ( 1 ) i ( n i ) ( n 1 + k i m n 1 ) {\displaystyle {\binom {n}{k}}_{m-1}=\sum _{i=0}^{\lfloor k/m\rfloor }(-1)^{i}{\binom {n}{i}}{\binom {n-1+k-im}{n-1}}} {\displaystyle {\binom {n}{k}}_{m-1}=\sum _{i=0}^{\lfloor k/m\rfloor }(-1)^{i}{\binom {n}{i}}{\binom {n-1+k-im}{n-1}}}

See also

[edit ]

References

[edit ]
  1. ^ As with the binomial theorem, quantities of the form x0 that appear are taken to equal 1, even when x equals zero.
  1. ^ Aigner, Martin (1997), Combinatorial Theory, Springer, p. 77
  2. ^ a b Stanley, Richard (2012), Enumerative Combinatorics, vol. 1 (2 ed.), Cambridge University Press, §1.2
  3. ^ National Institute of Standards and Technology (May 11, 2010). "NIST Digital Library of Mathematical Functions". Section 26.4 . Retrieved August 30, 2010.
  4. ^ Belbachir, H.; Bouroubi, S.; Khelladi, A. (2008), "Connection between ordinary multinomials, Fibonacci numbers, Bell polynomials and discrete uniform distribution", Annales Mathematicae et Informaticae, 35: 24 https://arxiv.org/abs/0708.2195

AltStyle によって変換されたページ (->オリジナル) /