Multinomial theorem explained

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 and any non-negative integer, the multinomial theorem describes how a sum with terms expands when raised to the th power:(x_1 + x_2 + \cdots + x_m)^n = \sum_ x_1^ \cdot x_2^ \cdots x_m^where = \fracis a multinomial coefficient. The sum is taken over all combinations of nonnegative integer indices through such that the sum of all is . That is, for each term in the expansion, the exponents of the must add up to .

In the case, this statement reduces to that of the binomial theorem.

Example

The third power of the trinomial 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.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,

a2b0c1

has coefficient

{3\choose2,0,1}=

3!
2! ⋅ 0! ⋅ 1!

=

6
2 ⋅ 1 ⋅ 1

=3

,

a1b1c1

has coefficient

{3\choose1,1,1}=

3!
1! ⋅ 1! ⋅ 1!

=

6
1 ⋅ 1 ⋅ 1

=6

, and so on.

Alternate expression

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

(x1+ … +x

n
m)

=\sum|\alpha|=n{n\choose\alpha}x\alpha

where

\alpha=(\alpha1,\alpha2,...,\alpham)

and
\alpha1
x
1
\alpha2
x
2

\alpham
x
m

Proof

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

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

\begin{align} &(x1+x2+ … +xm+xm+1)n=(x1+x2+ … +(xm+xm+1))n\\[6pt] ={}&

\sum
k1+k2+ … +km-1+K=n

{n\choosek1,k2,\ldots,km-1,K}

k1
x
1
k2
x
2

km-1
x
m-1

(xm+xm+1)K \end{align}

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

=

\sum
k1+k2+ … +km-1+K=n

{n\choosek1,k2,\ldots,km-1,K}

k1
x
1
k2
x
2

km-1
x
m-1
\sum
km+km+1=K

{K\choosekm,km+1

}x_m^x_^

=

\sum
k1+k2+ … +km-1+km+km+1=n

{n\choosek1,k2,\ldots,km-1,km,km+1

} x_1^x_2^\cdots x_^x_m^x_^

which completes the induction. The last step follows because

{n\choosek1,k2,\ldots,km-1,K}{K\choosekm,km+1

} =,as can easily be seen by writing the three coefficients using factorials as follows:
n!
k1!k2!km-1!K!
K!=
km!km+1!
n!
k1!k2!km+1!

.

Multinomial coefficients

The numbers

{n\choosek1,k2,\ldots,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:

{n\choosek1,k2,\ldots,km}=

n!
k1!k2!km!

={k1\choosek1}{k1+k2\choosek2}{k1+k2+ … +km\choosekm}

Sum of all multinomial coefficients

The substitution of for all into the multinomial theorem

\sum
k1+k2+ … +km=n

{n\choosek1,k2,\ldots,km}

k1
x
1
k2
x
2

km
x
m

=(x1+x2++

n
x
m)
gives immediately that
\sum
k1+k2+ … +km=n

{n\choosek1,k2,\ldots,km}=mn.

Number of multinomial coefficients

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

\#n,m={n+m-1\choosem-1}.

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

Valuation of multinomial coefficients

The largest power of a prime 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\binom = k n \log(k) + \frac \left(\log(k) - (k - 1) \log(2 \pi n)\right) - \frac + \frac - \frac + O\left(\frac\right)so for example,\binom \sim \frac

Interpretations

Ways to put objects into bins

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

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

The number of arrangements is found by

\tbinom{N}{n1}

ways.

\tbinom{N-n1}{n2}

ways.

\tbinom{N-n1-n2}{n3}

ways.

Multiplying the number of choices at each step results in:

{N\choosen1}{N-n1\choosen2}{N-n1-n2\choose

n
3} … =N!
(N-n1)!n1!

(N-n1)!
(N-n1-n2)!n2!

(N-n1-n2)!
(N-n1-n2-n3)!n3!

.

Cancellation results in the formula given above.

Number of unique permutations of words

The multinomial coefficient

\binom{n}{k1,\ldots,km}

is also the number of distinct ways to permute a multiset of elements, where is the multiplicity of each of the th 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\choose1,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

Notes and References

  1. Web site: NIST Digital Library of Mathematical Functions . National Institute of Standards and Technology . National Institute of Standards and Technology . May 11, 2010 . Section 26.4 . August 30, 2010.