Multinomial theorem
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: where 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 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 has coefficient , the term has coefficient , and so on.
Alternate expression
The statement of the theorem can be written concisely using multiindices:
where
and
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
by the induction hypothesis. Applying the binomial theorem to the last factor,
which completes the induction. The last step follows because
as can easily be seen by writing the three coefficients using factorials as follows:
Multinomial coefficients
The numbers
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:
Sum of all multinomial coefficients
The substitution of Template:Math for all Template:Mvar into the multinomial theorem
gives immediately that
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:
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, so for example,
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
- Choosing Template:Math of the total Template:Mvar to be labeled 1. This can be done ways.
- From the remaining Template:Math items choose Template:Math to label 2. This can be done ways.
- From the remaining Template:Math items choose Template:Math to label 3. Again, this can be done ways.
Multiplying the number of choices at each step results in:
Cancellation results in the formula given above.
Number of unique permutations of words

The multinomial coefficient
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
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.