39
Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as opposed to just taking out one subset.

Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Partitions

In this section we talk about fully dividing a set of size intodisjoint subsets or groups, as opposed to just taking outone subset.

Example Six friends Alan, Cassie, Maggie, Seth, Rogerand Beth have volunteered to help at a fund-raising show.One of them will hand out programs at the door, two willrun a refreshments stand and three will help guests findtheir seats. In assigning the friends to their duties, we needto divide or partition the set of 6 friends into disjointsubsets of 3, 2 and 1. There are a number of different waysto do this, a few of which are listed below:

Page 2: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Partitions

In this section we talk about fully dividing a set of size intodisjoint subsets or groups, as opposed to just taking outone subset.

Example Six friends Alan, Cassie, Maggie, Seth, Rogerand Beth have volunteered to help at a fund-raising show.One of them will hand out programs at the door, two willrun a refreshments stand and three will help guests findtheir seats. In assigning the friends to their duties, we needto divide or partition the set of 6 friends into disjointsubsets of 3, 2 and 1. There are a number of different waysto do this, a few of which are listed below:

Page 3: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Partitions

Prog. Refr. UsherA CM SRBC AS MRBM CB ASRB SR ACMR CM SAB

This is not a complete list, it is not difficult to think ofother possible partitions. However, we know fromexperience that it is easier to count the number of suchpartitions by using our counting principles than it is bylisting all of them. We can solve this problem easily bybreaking the task into steps

Page 4: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Partitions

Step 1: choose three of the friends to serve as ushers

(C(6, 3) =6!

3! · 3!ways)

Step 2: choose two of the remaining friends to run the

refreshment stand (C(3, 2) =3!

2! · 1!ways)

Step 3: choose one of the remaining friends to hand out

programs (C(1, 1) =1!

1! · 0!ways)

Thus using the multiplication principle, we find that thenumber of ways that we can split the group of 6 friends intosets of 3, 2 and 1 is

C(6, 3)·C(3, 2)·C(1, 1) =6!

3! · 3!· 3!

2! · 1!· 1!1!0!

=6!

3!��3!· ��3!2!��1!· ��1!1!0!

=6!

3!2!1!

since 0! = 1 = 1! we see the answer is 60.

Page 5: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Partitions

Step 1: choose three of the friends to serve as ushers

(C(6, 3) =6!

3! · 3!ways)

Step 2: choose two of the remaining friends to run the

refreshment stand (C(3, 2) =3!

2! · 1!ways)

Step 3: choose one of the remaining friends to hand out

programs (C(1, 1) =1!

1! · 0!ways)

Thus using the multiplication principle, we find that thenumber of ways that we can split the group of 6 friends intosets of 3, 2 and 1 is

C(6, 3)·C(3, 2)·C(1, 1) =6!

3! · 3!· 3!

2! · 1!· 1!1!0!

=6!

3!��3!· ��3!2!��1!· ��1!1!0!

=6!

3!2!1!

since 0! = 1 = 1! we see the answer is 60.

Page 6: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Partitions

Step 1: choose three of the friends to serve as ushers

(C(6, 3) =6!

3! · 3!ways)

Step 2: choose two of the remaining friends to run the

refreshment stand (C(3, 2) =3!

2! · 1!ways)

Step 3: choose one of the remaining friends to hand out

programs (C(1, 1) =1!

1! · 0!ways)

Thus using the multiplication principle, we find that thenumber of ways that we can split the group of 6 friends intosets of 3, 2 and 1 is

C(6, 3)·C(3, 2)·C(1, 1) =6!

3! · 3!· 3!

2! · 1!· 1!1!0!

=6!

3!��3!· ��3!2!��1!· ��1!1!0!

=6!

3!2!1!

since 0! = 1 = 1! we see the answer is 60.

Page 7: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Partitions

Step 1: choose three of the friends to serve as ushers

(C(6, 3) =6!

3! · 3!ways)

Step 2: choose two of the remaining friends to run the

refreshment stand (C(3, 2) =3!

2! · 1!ways)

Step 3: choose one of the remaining friends to hand out

programs (C(1, 1) =1!

1! · 0!ways)

Thus using the multiplication principle, we find that thenumber of ways that we can split the group of 6 friends intosets of 3, 2 and 1 is

C(6, 3)·C(3, 2)·C(1, 1) =6!

3! · 3!· 3!

2! · 1!· 1!1!0!

=6!

3!��3!· ��3!2!��1!· ��1!1!0!

=6!

3!2!1!

since 0! = 1 = 1! we see the answer is 60.

Page 8: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Partitions

This example was about partitions.

A set S is partitioned into k nonempty subsetsA1, A2, . . . , Ak if:

1. Every pair of subsets in disjoint: that is Ai ∩ Aj = ∅ ifi 6= j.

2. A1 ∪ A2 ∪ · · · ∪ Ak = S.

The partition described above is ordered: swapping A1

and A2 gives a different partition. Ordered partitions comeup when different subsets of the partition havecharacteristics that distinguish then from each other. (Asin the example about handing out programs, servingrefreshments, and ushing)

Page 9: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Partitions

This example was about partitions.

A set S is partitioned into k nonempty subsetsA1, A2, . . . , Ak if:

1. Every pair of subsets in disjoint: that is Ai ∩ Aj = ∅ ifi 6= j.

2. A1 ∪ A2 ∪ · · · ∪ Ak = S.

The partition described above is ordered: swapping A1

and A2 gives a different partition. Ordered partitions comeup when different subsets of the partition havecharacteristics that distinguish then from each other. (Asin the example about handing out programs, servingrefreshments, and ushing)

Page 10: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

The number of ordered partitionsThe number of ways to partition a set with n elements intok subsets A1, . . . , Ak with Ai having ri elements is(

n

r1

)·(n− r1r2

)· · ·

(n− r1 − . . .− rk−1

rk

)=

n!

r1! · r2! · · · rk!

There’s a special symbol for this: when n = r1 + . . . + rk,(n

r1, r2, . . . , rk

)=

n!

r1!r2! . . . rk!

Note 1: The elements in the individual subsets, A1, . . . ,Ar are not ordered!

Note 2: Partitioning a set with n elements into two sets ofsizes r1 and n− r1 is exactly the same as selecting r1elements from the set (put these in the first subset, put therest in the second subset). Hence(

nr1,n−r1

)= n

r1!(n−r1)!= C(n, r1)

Page 11: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

The number of ordered partitionsThe number of ways to partition a set with n elements intok subsets A1, . . . , Ak with Ai having ri elements is(

n

r1

)·(n− r1r2

)· · ·

(n− r1 − . . .− rk−1

rk

)=

n!

r1! · r2! · · · rk!

There’s a special symbol for this: when n = r1 + . . . + rk,(n

r1, r2, . . . , rk

)=

n!

r1!r2! . . . rk!

Note 1: The elements in the individual subsets, A1, . . . ,Ar are not ordered!

Note 2: Partitioning a set with n elements into two sets ofsizes r1 and n− r1 is exactly the same as selecting r1elements from the set (put these in the first subset, put therest in the second subset). Hence(

nr1,n−r1

)= n

r1!(n−r1)!= C(n, r1)

Page 12: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

The number of ordered partitionsThe number of ways to partition a set with n elements intok subsets A1, . . . , Ak with Ai having ri elements is(

n

r1

)·(n− r1r2

)· · ·

(n− r1 − . . .− rk−1

rk

)=

n!

r1! · r2! · · · rk!

There’s a special symbol for this: when n = r1 + . . . + rk,(n

r1, r2, . . . , rk

)=

n!

r1!r2! . . . rk!

Note 1: The elements in the individual subsets, A1, . . . ,Ar are not ordered!

Note 2: Partitioning a set with n elements into two sets ofsizes r1 and n− r1 is exactly the same as selecting r1elements from the set (put these in the first subset, put therest in the second subset). Hence(

nr1,n−r1

)= n

r1!(n−r1)!= C(n, r1)

Page 13: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

The number of ordered partitionsThe number of ways to partition a set with n elements intok subsets A1, . . . , Ak with Ai having ri elements is(

n

r1

)·(n− r1r2

)· · ·

(n− r1 − . . .− rk−1

rk

)=

n!

r1! · r2! · · · rk!

There’s a special symbol for this: when n = r1 + . . . + rk,(n

r1, r2, . . . , rk

)=

n!

r1!r2! . . . rk!

Note 1: The elements in the individual subsets, A1, . . . ,Ar are not ordered!

Note 2: Partitioning a set with n elements into two sets ofsizes r1 and n− r1 is exactly the same as selecting r1elements from the set (put these in the first subset, put therest in the second subset). Hence(

nr1,n−r1

)= n

r1!(n−r1)!= C(n, r1)

Page 14: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Ordered Partitions

Example A In how many ways can the group of sixfriends Alan, Cassie, Maggie, Seth, Roger and Beth, beassigned to three groups of two where two are assigned tohand out programs, two are assigned to the refreshmentsstand and two are assigned as ushers?

Since each person is assigned to exactly one group, thisscheme partitions the set of 6 friends. The subsets aredistinguished (ordered) because one is assigned toprograms, one to refreshments and one to usher. Hence the

answer is

(6

2, 2, 2

)=

6!

(2!)3=

720

8= 90.

Page 15: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Ordered Partitions

Example A In how many ways can the group of sixfriends Alan, Cassie, Maggie, Seth, Roger and Beth, beassigned to three groups of two where two are assigned tohand out programs, two are assigned to the refreshmentsstand and two are assigned as ushers?

Since each person is assigned to exactly one group, thisscheme partitions the set of 6 friends. The subsets aredistinguished (ordered) because one is assigned toprograms, one to refreshments and one to usher. Hence the

answer is

(6

2, 2, 2

)=

6!

(2!)3=

720

8= 90.

Page 16: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Ordered PartitionsExample In how many ways can a set of ten people bedivided into groups of five, three and two?

(10

5, 3, 2

)=

10!

5! · 3! · 2!=

10 · 9 · 8 · 7 · 612

=

10 · 9 · 8 · 72

= 5 · 9 · 8 · 7 = 72 · 35 = 2, 520 .

Example Evaluate

(7

3, 2, 2

).

(7

3, 2, 2

)=

7!

3! · 2! · 2!=

5040

24= 210

Page 17: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Ordered PartitionsExample In how many ways can a set of ten people bedivided into groups of five, three and two?

(10

5, 3, 2

)=

10!

5! · 3! · 2!=

10 · 9 · 8 · 7 · 612

=

10 · 9 · 8 · 72

= 5 · 9 · 8 · 7 = 72 · 35 = 2, 520 .

Example Evaluate

(7

3, 2, 2

).

(7

3, 2, 2

)=

7!

3! · 2! · 2!=

5040

24= 210

Page 18: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Ordered PartitionsExample In how many ways can a set of ten people bedivided into groups of five, three and two?

(10

5, 3, 2

)=

10!

5! · 3! · 2!=

10 · 9 · 8 · 7 · 612

=

10 · 9 · 8 · 72

= 5 · 9 · 8 · 7 = 72 · 35 = 2, 520 .

Example Evaluate

(7

3, 2, 2

).

(7

3, 2, 2

)=

7!

3! · 2! · 2!=

5040

24= 210

Page 19: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Ordered PartitionsExample In how many ways can a set of ten people bedivided into groups of five, three and two?

(10

5, 3, 2

)=

10!

5! · 3! · 2!=

10 · 9 · 8 · 7 · 612

=

10 · 9 · 8 · 72

= 5 · 9 · 8 · 7 = 72 · 35 = 2, 520 .

Example Evaluate

(7

3, 2, 2

).

(7

3, 2, 2

)=

7!

3! · 2! · 2!=

5040

24= 210

Page 20: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Ordered Partitions

Example A group of 12 new hires at the Electric CarCompany will be split into three groups. Four will be sentto Dallas, three to Los Angeles and five to Portland. Inhow many ways can the group of new hires be divided inthis way?

This is an ordered partition problem since the entire set of12 new hires is divided into 3 disjoint subsets which can be

distinguished. Hence the answer is

(12

4, 3, 5

)=

12!

5! · 4! · 3!=

12 · 11 · 10 · 9 · 8 · 7 · 64 · 3 · 2 · 3 · 2

=11 · 10 · 9 · 8 · 7 · 6

2 · 3 · 2=

11 · 10 · 9 · 8 · 72

= 11 · 10 · 9 · 4 · 7 = 27, 720

Page 21: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Ordered Partitions

Example A group of 12 new hires at the Electric CarCompany will be split into three groups. Four will be sentto Dallas, three to Los Angeles and five to Portland. Inhow many ways can the group of new hires be divided inthis way?

This is an ordered partition problem since the entire set of12 new hires is divided into 3 disjoint subsets which can be

distinguished. Hence the answer is

(12

4, 3, 5

)=

12!

5! · 4! · 3!=

12 · 11 · 10 · 9 · 8 · 7 · 64 · 3 · 2 · 3 · 2

=11 · 10 · 9 · 8 · 7 · 6

2 · 3 · 2=

11 · 10 · 9 · 8 · 72

= 11 · 10 · 9 · 4 · 7 = 27, 720

Page 22: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Ordered Partitions

Example I want to split her class of 15 students into threegroups with five students in each group. One group willdiscuss the last webassign assignment, a second group willreview Friday’s quiz, and the third group will practice forThursday’s exam. In how many ways can I form thegroups?

(15

5, 5, 5

)=

15!

(5!)3= 756, 756.

Page 23: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Ordered Partitions

Example I want to split her class of 15 students into threegroups with five students in each group. One group willdiscuss the last webassign assignment, a second group willreview Friday’s quiz, and the third group will practice forThursday’s exam. In how many ways can I form thegroups?

(15

5, 5, 5

)=

15!

(5!)3= 756, 756.

Page 24: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered Partitions

A partition is unordered when no distinction is madebetween subsets of the same size (the order of the subsetsdoes not matter).

We use the “overcounting” principle to find a formula forthe number of unordered partitions.

Example Our group of 6 friends Alan, Cassie, Maggie,Seth, Roger and Beth have signed up to distribute fliers inthe neighborhood. The person who hired them doesn’t carehow they do this but wants two people in each group. Alanwants to know how many ways they can divide up. Inparticular the six pairings shown next give us the sameunordered partition and is counted only as one suchunordered partition or pairing.

Page 25: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered Partitions

A partition is unordered when no distinction is madebetween subsets of the same size (the order of the subsetsdoes not matter).

We use the “overcounting” principle to find a formula forthe number of unordered partitions.

Example Our group of 6 friends Alan, Cassie, Maggie,Seth, Roger and Beth have signed up to distribute fliers inthe neighborhood. The person who hired them doesn’t carehow they do this but wants two people in each group. Alanwants to know how many ways they can divide up. Inparticular the six pairings shown next give us the sameunordered partition and is counted only as one suchunordered partition or pairing.

Page 26: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered PartitionsAS CM RBCM AS RBAS RB CMCM RB ASRB AS CMRB CM AS

The above single un-ordered partition wouldhave counted as six differentordered partitions if we hada different assignment foreach group.

Likewise each unordered partition into three sets of twogives rise to 3! ordered partitions and we can calculate thenumber of unordered partitions by dividing the number ofordered partitions by 3!.Hence a set with 6 elements can be partitioned into 3unordered subsets of 2 elements in

1

3!

(6

2, 2, 2

)=

6!

3! · 2! · 2! · 2!=

6!

3!(2!)3ways .

Page 27: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered PartitionsAS CM RBCM AS RBAS RB CMCM RB ASRB AS CMRB CM AS

The above single un-ordered partition wouldhave counted as six differentordered partitions if we hada different assignment foreach group.

Likewise each unordered partition into three sets of twogives rise to 3! ordered partitions and we can calculate thenumber of unordered partitions by dividing the number ofordered partitions by 3!.Hence a set with 6 elements can be partitioned into 3unordered subsets of 2 elements in

1

3!

(6

2, 2, 2

)=

6!

3! · 2! · 2! · 2!=

6!

3!(2!)3ways .

Page 28: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered PartitionsAS CM RBCM AS RBAS RB CMCM RB ASRB AS CMRB CM AS

The above single un-ordered partition wouldhave counted as six differentordered partitions if we hada different assignment foreach group.

Likewise each unordered partition into three sets of twogives rise to 3! ordered partitions and we can calculate thenumber of unordered partitions by dividing the number ofordered partitions by 3!.Hence a set with 6 elements can be partitioned into 3unordered subsets of 2 elements in

1

3!

(6

2, 2, 2

)=

6!

3! · 2! · 2! · 2!=

6!

3!(2!)3ways .

Page 29: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered PartitionsIn a similar way, we can derive a formula for the number ofunordered partitions of a set.

A set of n elements can be partitioned into k unorderedsubsets of r elements each (kr = n) in the followingnumber of ways:

1

k!

(n

r, r, . . . , r

)=

n!

k! · r! · r! · · · r!=

n!

k!(r!)k.

Example In how many ways can a set with 12 elements bedivided into four unordered subsets with three elements ineach?

12!

4! · (3!)4= 15, 400.

Page 30: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered PartitionsIn a similar way, we can derive a formula for the number ofunordered partitions of a set.

A set of n elements can be partitioned into k unorderedsubsets of r elements each (kr = n) in the followingnumber of ways:

1

k!

(n

r, r, . . . , r

)=

n!

k! · r! · r! · · · r!=

n!

k!(r!)k.

Example In how many ways can a set with 12 elements bedivided into four unordered subsets with three elements ineach?

12!

4! · (3!)4= 15, 400.

Page 31: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered PartitionsIn a similar way, we can derive a formula for the number ofunordered partitions of a set.

A set of n elements can be partitioned into k unorderedsubsets of r elements each (kr = n) in the followingnumber of ways:

1

k!

(n

r, r, . . . , r

)=

n!

k! · r! · r! · · · r!=

n!

k!(r!)k.

Example In how many ways can a set with 12 elements bedivided into four unordered subsets with three elements ineach?

12!

4! · (3!)4= 15, 400.

Page 32: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered Partitions

Example The draw for the first round of the middleweightdivision for the Bengal Bouts is about to be made. Thereare 32 competitors in this division. In how many ways canthey be paired up for the matches in the first round?

The answer is32!

16! ·((2!)16

) = 191, 898, 783, 962, 511, 000

Page 33: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered Partitions

Example The draw for the first round of the middleweightdivision for the Bengal Bouts is about to be made. Thereare 32 competitors in this division. In how many ways canthey be paired up for the matches in the first round?

The answer is32!

16! ·((2!)16

) = 191, 898, 783, 962, 511, 000

Page 34: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered PartitionsIn any unordered partition where k of the subsets have thesame number of elements, we must divide the number ofordered partitions by k! in order to get the number ofunordered partitions. We won’t write down a generalformula here, but instead work a few examples.

Example Find the number of partitions of a set of 20elements into subsets of two, two, two, four, four, three andthree. No distinction will be made between subsets exceptfor their size.

The number of partitions is20!

2! · 2! · 2! · 4! · 4! · 3! · 3!but

these are ordered in that there is a first subset with 2elements, a second subset with 2 elements and a thirdsubset with 2 elements. There are similar remarks aboutthe 3 and 4 element subsets.

Page 35: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered PartitionsIn any unordered partition where k of the subsets have thesame number of elements, we must divide the number ofordered partitions by k! in order to get the number ofunordered partitions. We won’t write down a generalformula here, but instead work a few examples.

Example Find the number of partitions of a set of 20elements into subsets of two, two, two, four, four, three andthree. No distinction will be made between subsets exceptfor their size.

The number of partitions is20!

2! · 2! · 2! · 4! · 4! · 3! · 3!but

these are ordered in that there is a first subset with 2elements, a second subset with 2 elements and a thirdsubset with 2 elements. There are similar remarks aboutthe 3 and 4 element subsets.

Page 36: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered PartitionsIn any unordered partition where k of the subsets have thesame number of elements, we must divide the number ofordered partitions by k! in order to get the number ofunordered partitions. We won’t write down a generalformula here, but instead work a few examples.

Example Find the number of partitions of a set of 20elements into subsets of two, two, two, four, four, three andthree. No distinction will be made between subsets exceptfor their size.

The number of partitions is20!

2! · 2! · 2! · 4! · 4! · 3! · 3!but

these are ordered in that there is a first subset with 2elements, a second subset with 2 elements and a thirdsubset with 2 elements. There are similar remarks aboutthe 3 and 4 element subsets.

Page 37: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered Partitions

If you don’t care about the order, the answer is

20!

(2! · 2! · 2! · 4! · 4! · 3! · 3!) · 3! · 2! · 2!=

20!

(2!)5 · (3!)3 · (4!)2=

20!

2 · 6 ·((2!)2 · 3! · 4!

)2 =

20!

12 · (4 · 6 · 24)2=

2 · 20!

(24)5= 611, 080, 470, 000

Page 38: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered Partitions

Example A math teacher wishes to split a class of thirtystudents into groups. All groups will work on the sameproblem. Five groups will have four students, two groupswill have three students and two groups will have twostudents. In how many ways can the teacher assignstudents to the groups?

30!((4!)5 · (3!)2 · (2!)2

)· 5! · 2! · 2!

=

30!

5! · (4!)5 · (3!)2 · (2!)4= 481, 947, 949, 543, 123, 000, 000

Page 39: Partitions - University of Notre Damedgalvin1/10120/10120_S17/Topic07_6p...Partitions In this section we talk about fully dividing a set of size into disjoint subsets or groups, as

Unordered Partitions

Example A math teacher wishes to split a class of thirtystudents into groups. All groups will work on the sameproblem. Five groups will have four students, two groupswill have three students and two groups will have twostudents. In how many ways can the teacher assignstudents to the groups?

30!((4!)5 · (3!)2 · (2!)2

)· 5! · 2! · 2!

=

30!

5! · (4!)5 · (3!)2 · (2!)4= 481, 947, 949, 543, 123, 000, 000