PrevNext

Overview

The Multinomial Theorem generalises the Binomial Theorem.

The Binomial Theorem expands expressions of the form

(a+b)n.(a+b)^n.

The Multinomial Theorem expands expressions of the form

(x1+x2+⋯+xm)n.(x_1+x_2+\cdots+x_m)^n.

It is useful for:

  • Expanding powers with more than two terms
  • Finding coefficients
  • Counting arrangements with repeated objects
  • Distributing choices among categories
  • Solving probability problems with more than two outcomes

Motivation

Consider

(x+y+z)4.(x+y+z)^4.

A typical term in the expansion might be

x2yz.x^2yz.

Where does this term come from?

We are multiplying

(x+y+z)(x+y+z)(x+y+z)(x+y+z).(x+y+z)(x+y+z)(x+y+z)(x+y+z).

To get x2yzx^2yz, we have to choose:

  • xx from 22 of the factors
  • yy from 11 factor
  • zz from 11 factor

The number of ways to decide which factors contribute each variable is

4!2!1!1!.\frac{4!}{2!1!1!}.

So the coefficient of x2yzx^2yz is

4!2!1!1!=12.\frac{4!}{2!1!1!}=12.

This is the main idea behind the Multinomial Theorem.

Multinomial Coefficients

Suppose

k1+k2+⋯+km=n.k_1+k_2+\cdots+k_m=n.

The multinomial coefficient

n!k1!k2!⋯km!\frac{n!}{k_1!k_2!\cdots k_m!}

counts the number of ways to arrange nn objects where there are:

  • k1k_1 objects of the first type
  • k2k_2 objects of the second type and so on

For example, the number of arrangements of the letters in

AABBCAABBC

is

5!2!2!1!=30.\frac{5!}{2!2!1!}=30.

The Multinomial Theorem

For every nonnegative integer nn,

(x1+x2+⋯+xm)n=∑n!k1!k2!⋯km!x1k1x2k2⋯xmkm,(x_1+x_2+\cdots+x_m)^n = \sum \frac{n!}{k_1!k_2!\cdots k_m!} x_1^{k_1}x_2^{k_2}\cdots x_m^{k_m},

where the sum is taken over all nonnegative integers

k1,k2,…,kmk_1,k_2,\ldots,k_m

satisfying

k1+k2+⋯+km=n.k_1+k_2+\cdots+k_m=n.

Each term corresponds to choosing how many times each variable appears.

The Three Term Case

The most common version is

(x+y+z)n.(x+y+z)^n.

The general term is

n!a!b!c!xaybzc,\frac{n!}{a!b!c!}x^ay^bz^c,

where

a+b+c=n.a+b+c=n.

This is especially useful for coefficient extraction.

Coefficient Extraction

To find a coefficient, determine how many times each term must be chosen.

Example 1

Find the coefficient of x2y3zx^2y^3z in

(x+y+z)6.(x+y+z)^6.

The exponents are

2,3,1.2,3,1.

Their sum is

2+3+1=6,2+3+1=6,

so the term can appear.

The coefficient is

6!2!3!1!=60.\frac{6!}{2!3!1!}=60.

Terms With Coefficients

If the expression contains coefficients, include them in the term.

Example 2

Find the coefficient of x2yz2x^2y z^2 in (2x−y+3z)5(2x-y+3z)^5

To get

x2yz2,x^2yz^2,

we must choose:

  • 2x2x from 22 factors
  • −y-y from 11 factor
  • 3z3z from 22 factors

The multinomial coefficient is

5!2!1!2!=30.\frac{5!}{2!1!2!}=30.

The contribution from the chosen terms is

22(−1)132.2^2(-1)^1 3^2.

So the coefficient is

30(4)(−1)(9)=−1080.30(4)(-1)(9)=-1080.

Connection to Repeated Arrangements

The multinomial coefficient also counts arrangements with repeated objects.

Example 3

How many distinct arrangements are there of the letters in MISSISSIPPIMISSISSIPPI?

The word has 1111 letters.

The counts are:

  • MM appears 11 time
  • II appears 44 times
  • SS appears 44 times
  • PP appears 22 times

So the number of distinct arrangements is

11!1!4!4!2!.\frac{11!}{1!4!4!2!}.

This is a multinomial coefficient.

Connection to Distribution

The multinomial coefficient also counts the number of ways to assign nn distinct objects into labelled groups of specified sizes.

Example 4

How many ways are there to split 1010 distinct students into labelled groups of sizes 2,3,52,3,5?

The answer is

10!2!3!5!.\frac{10!}{2!3!5!}.

This is the same coefficient that would appear in a multinomial expansion with exponents 2,3,52,3,5.

Counting All Outcomes

The Multinomial Theorem can also explain why

mnm^n

counts the number of ways to assign each of nn distinct objects to one of mm categories.

Set

x1=x2=⋯=xm=1.x_1=x_2=\cdots=x_m=1.

Then

(x1+x2+⋯+xm)n=mn.(x_1+x_2+\cdots+x_m)^n=m^n.

The multinomial expansion becomes the sum of all ways to split the nn choices among the mm categories.

Probability Applications

The multinomial distribution generalises binomial probability.

Suppose an experiment has mm possible outcomes with probabilities

p1,p2,…,pm.p_1,p_2,\ldots,p_m.

If the experiment is repeated nn times independently, then the probability of getting outcome 11 exactly k1k_1 times, outcome 22 exactly k2k_2 times, and so on is

n!k1!k2!⋯km!p1k1p2k2⋯pmkm,\frac{n!}{k_1!k_2!\cdots k_m!} p_1^{k_1}p_2^{k_2}\cdots p_m^{k_m},

where

k1+k2+⋯+km=n.k_1+k_2+\cdots+k_m=n.

This is the probability version of the Multinomial Theorem.

Worked Probability Example

Example 5

A fair six-sided die is rolled 55 times. What is the probability of rolling exactly two 11's, one 22, and two numbers that are neither 11 nor 22?

There are three categories:

  • Rolling a 11
  • Rolling a 22
  • Rolling something else

Their probabilities are

16,16,46.\frac{1}{6}, \qquad \frac{1}{6}, \qquad \frac{4}{6}.

We want counts

2,1,2.2,1,2.

The probability is

5!2!1!2!(16)2(16)1(46)2.\frac{5!}{2!1!2!} \left(\frac{1}{6}\right)^2 \left(\frac{1}{6}\right)^1 \left(\frac{4}{6}\right)^2.

The multinomial coefficient is

5!2!1!2!=30.\frac{5!}{2!1!2!}=30.

So the probability is

30(16)3(46)2.30\left(\frac{1}{6}\right)^3\left(\frac{4}{6}\right)^2.

Multinomial Theorem and Binomial Theorem

The Binomial Theorem is the special case of the Multinomial Theorem with two terms.

When

m=2,m=2,

the Multinomial Theorem becomes

(x+y)n=∑k=0n(nk)xn−kyk.(x+y)^n = \sum_{k=0}^{n}\binom{n}{k}x^{n-k}y^k.

So binomial coefficients are just multinomial coefficients with two categories.

Worked Examples

Example 6

Find the coefficient of a2b2c3a^2b^2c^3 in

(a+b+c)7.(a+b+c)^7.

The exponents are

2,2,3.2,2,3.

Their sum is

7.7.

So the coefficient is

7!2!2!3!=210.\frac{7!}{2!2!3!}=210.

Example 7

Find the coefficient of x3y2x^3y^2 in

(x+y+1)5.(x+y+1)^5.

To get

x3y2,x^3y^2,

we choose:

  • xx from 33 factors
  • yy from 22 factors
  • 11 from 00 factors

The coefficient is

5!3!2!0!=10.\frac{5!}{3!2!0!}=10.

Example 8

How many ways are there to arrange 44 red balls, 33 blue balls, and 22 green balls in a row?

There are 99 total balls.

The arrangements are counted by

9!4!3!2!.\frac{9!}{4!3!2!}.

Key Contest Insight

The Multinomial Theorem is a counting formula disguised as algebra.

Each term in an expansion corresponds to choosing how many times each part of the sum is selected.

The same coefficient also counts arrangements of repeated objects and distributions into labelled groups of fixed sizes.

Strategy Tips

  • Identify the terms in the sum
  • Decide how many times each term must be chosen
  • Make sure the exponents add to the total power
  • Use the multinomial coefficient
  • Include numerical coefficients and signs from the terms
  • For repeated arrangements, divide by factorials of repeated counts
  • For probability, multiply the multinomial coefficient by the appropriate powers of the probabilities

Common Pitfalls

  • Forgetting that the exponents must add to nn
  • Ignoring coefficients such as 2x2x or −y-y
  • Losing negative signs
  • Forgetting the 0!0! term when one variable is not chosen
  • Confusing multinomial coefficients with ordinary binomial coefficients
  • Treating repeated objects as distinct

Practice Problems

StatusSourceProblem NameDifficultyTags

Module Progress:

Join the Discord Community!

Stuck on a problem, or don't understand a module? Join the Discord and get help with your doubts while making more math friends.

PrevNext