Multinomial theorem

From testwiki
Revision as of 22:24, 18 February 2025 by imported>Robertas.Vilkas (Theorem)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description

Template:More citations needed 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

For any positive integer Template:Mvar and any non-negative integer Template:Mvar, the multinomial theorem describes how a sum with Template:Mvar terms expands when raised to the Template:Mvarth power: (x1+x2++xm)n=k1+k2++km=nk1,k2,,km0(nk1,k2,,km)x1k1x2k2xmkm where (nk1,k2,,km)=n!k1!k2!km! is a multinomial coefficient.[1] The sum is taken over all combinations of nonnegative integer indices Template:Math through Template:Mvar such that the sum of all Template:Mvar is Template:Mvar. That is, for each term in the expansion, the exponents of the Template:Mvar must add up to Template:Mvar.[2]Template:Efn

In the case Template:Math, this statement reduces to that of the binomial theorem.[2]

Example

The third power of the trinomial Template:Math is given by (a+b+c)3=a3+b3+c3+3a2b+3a2c+3b2a+3b2c+3c2a+3c2b+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 a2b0c1 has coefficient (32,0,1)=3!2!0!1!=6211=3, the term a1b1c1 has coefficient (31,1,1)=3!1!1!1!=6111=6, and so on.

Alternate expression

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

(x1++xm)n=|α|=n(nα)xα

where

α=(α1,α2,,αm)

and

xα=x1α1x2α2xmαm

Proof

This proof of the multinomial theorem uses the binomial theorem and induction on Template:Mvar.

First, for Template:Math, both sides equal Template:Math since there is only one term Template:Math in the sum. For the induction step, suppose the multinomial theorem holds for Template:Mvar. Then

(x1+x2++xm+xm+1)n=(x1+x2++(xm+xm+1))n=k1+k2++km1+K=n(nk1,k2,,km1,K)x1k1x2k2xm1km1(xm+xm+1)K

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

=k1+k2++km1+K=n(nk1,k2,,km1,K)x1k1x2k2xm1km1km+km+1=K(Kkm,km+1)xmkmxm+1km+1
=k1+k2++km1+km+km+1=n(nk1,k2,,km1,km,km+1)x1k1x2k2xm1km1xmkmxm+1km+1

which completes the induction. The last step follows because

(nk1,k2,,km1,K)(Kkm,km+1)=(nk1,k2,,km1,km,km+1),

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

n!k1!k2!km1!K!K!km!km+1!=n!k1!k2!km+1!.

Multinomial coefficients

The numbers

(nk1,k2,,km)

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:

(nk1,k2,,km)=n!k1!k2!km!=(k1k1)(k1+k2k2)(k1+k2++kmkm)

Sum of all multinomial coefficients

The substitution of Template:Math for all Template:Mvar into the multinomial theorem

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

gives immediately that

k1+k2++km=n(nk1,k2,,km)=mn.

Number of multinomial coefficients

The number of terms in a multinomial sum, Template:Math, is equal to the number of monomials of degree Template:Mvar on the variables Template:Math:

#n,m=(n+m1m1).

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

Valuation of multinomial coefficients

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

Asymptotics

By Stirling's approximation, or equivalently the log-gamma function's asymptotic expansion, log(knn,n,,n)=knlog(k)+12(log(k)(k1)log(2πn))k2112kn+k41360k3n3k611260k5n5+O(1n6)so for example,(2nn)22nnπ

Interpretations

Ways to put objects into bins

The multinomial coefficients have a direct combinatorial interpretation, as the number of ways of depositing Template:Mvar distinct objects into Template:Mvar distinct bins, with Template:Math objects in the first bin, Template:Math objects in the second bin, and so on.[3]

Number of ways to select according to a distribution

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 Template:Math on a set of Template:Mvar total items, Template:Mvar represents the number of items to be given the label Template:Mvar. (In statistical mechanics Template:Mvar is the label of the energy state.)

The number of arrangements is found by

Multiplying the number of choices at each step results in:

(Nn1)(Nn1n2)(Nn1n2n3)=N!(Nn1)!n1!(Nn1)!(Nn1n2)!n2!(Nn1n2)!(Nn1n2n3)!n3!.

Cancellation results in the formula given above.

Number of unique permutations of words

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

The multinomial coefficient

(nk1,,km)

is also the number of distinct ways to permute a multiset of Template:Mvar elements, where Template:Mvar is the multiplicity of each of the Template:Mvarth 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

(111,4,4,2)=11!1!4!4!2!=34650.

Generalized Pascal's triangle

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.

See also

References

Template:Notelist Template:Reflist