Professional Documents
Culture Documents
Lecture Slides For Formal Logic
Lecture Slides For Formal Logic
Section 6.5
Generalized Permutations, Distributions
and the Multinomial Theorem
Theorem
Given a collection of n objects, consisting of ri indistinguishable
objects of type i for 1 ≤ i ≤ m such that r1 + r2 + · · · + rm = n,
the number of arrangements of these n objects is given by
P(n; r1 , r2 , · · · , rm )
n n − r1 n − r1 − r2 − · · · − rm−1
= ···
r1 r2 rm
n!
=
r1 !r2 !r3 ! · · · rm !
Examples
PROBLEM
How many ways are there to distribute n distinct objects into m
distinct boxes or to n different recipients?
The Problem (1)
PROBLEM
How many ways are there to distribute n distinct objects into m
distinct boxes or to n different recipients?
ANSWER
Line up the n objects and stamp each one with the number of
the box into which it is to go. For each object there are m
choices, so there are mn ways of completing this process.
The Problem (2)
C(n; r1 , r2 , n3 , . . . , rm )
n n − r1 n − r1 − r2 n − r1 − r2 − · · · − rm−1
= ···
r1 r2 r3 rm
n!
=
r1 !r2 !r3 ! · · · rm !
Distributions: Examples
(x1 + x2 + · · · + xm )n
n
x1r1 x2r2 · · · xm
X
rm
=
r1 +r2 +···+rm =n
r1 , r2 , . . . , rm
n!
x1r1 x2r2 . · · · xm
X
nm
=
r1 +r2 +···+rm
r !r
=n 1 2
! · · · r m !
Examples