Docsity

Partitions, Summaries of Number Theory

Toggle sidebar
bg1
Partitions
If we wish to divide a set of size ninto disjoint subsets,
there are many ways to do this.
Example Six friends Alan, Cassie, Maggie, Seth, Roger
and Beth have volunteered to help at a fund-raising show.
One of them will hand out programs at the door, two will
run a refreshments stand and three will help guests find
their seats. In assigning the friends to their duties, we need
to divide or partition the set of 6 friends into disjoint
subsets of 3, 2 and 1. There are a number of different ways
to do this, a few of which are listed below:
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Partitions and more Summaries Number Theory in PDF only on Docsity!

Partitions

If we wish to divide a set of size n into disjoint subsets, there are many ways to do this.

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

Partitions

Prog. Refr. Usher A CM SRB C AS MRB M CB ASR B SR ACM R CM SAB This is not a complete list, it is not difficult to think of other possible partitions. However, we know from experience that it is easier to count the number of such partitions by using our counting principles than it is by listing all of them. We can solve this problem easily by breaking the task into steps

Partitions

This example was about partitions.

A set S is partitioned into k nonempty subsets A 1 , A 2 ,... , Ak if:

  1. Every pair of subsets in disjoint: that is Ai ∩ Aj = ∅ if i 6 = j.
  2. A 1 ∪ A 2 ∪ · · · ∪ Ak = S.

The partition described above is ordered: swapping A 1 and A 2 gives a different partition. Ordered partitions come up when different subsets of the partition have characteristics that distinguish then from each other. (As in the example about handing out programs, serving refreshments, and ushing)

The number of ordered partitions

The number of ways to partition a set with n elements into k subsets A 1 ,... , Ak with Ai having ri elements is ( n r 1

n − r 1 r 2

n − r 1 −... − rk− 1 rk

n! r 1! · r 2! · · · rk! There’s a special symbol for this: when n = r 1 +... + rk, ( n r 1 , r 2 ,... , rk

n! r 1 !r 2!... rk!

Note 1: The elements in the individual subsets, A 1 ,... , Ar are not ordered! Note 2: Partitioning a set with n elements into two sets of sizes r 1 and n − r 1 is exactly the same as selecting r 1 elements from the set (put these in the first subset, put the rest in the second subset). Hence( n r 1 ,n−r 1

= (^) r 1 !(nn−r 1 )! = C(n, r 1 )

Ordered Partitions

Example In how many ways can a set of ten people be divided into groups of five, three and two?

Example Evaluate

Ordered Partitions

Example A group of 12 new hires at the Electric Car Company will be split into three groups. Four will be sent to Dallas, three to Los Angeles and five to Portland. In how many ways can the group of new hires be divided in this way?

This is an ordered partition problem since the entire set of 12 new hires is divided into 3 disjoint subsets which can be distinguished. Hence the answer is

Unordered Partitions

A partition is unordered when no distinction is made between subsets of the same size (the order of the subsets does not matter).

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

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

Unordered Partitions

AS CM RB

CM AS RB

AS RB CM

CM RB AS

RB AS CM

RB CM AS

The above single un- ordered partition would have counted as six different ordered partitions if we had a different assignment for each group. Likewise each unordered partition into three sets of two gives rise to 3! ordered partitions and we can calculate the number of unordered partitions by dividing the number of ordered partitions by 3!. Hence a set with 6 elements can be partitioned into 3 unordered subsets of 2 elements in

1 3!

3!(2!)^3

ways.

Unordered Partitions

Example The draw for the first round of the middleweight division for the Bengal Bouts is about to be made. There are 32 competitors in this division. In how many ways can they be paired up for the matches in the first round?

The answer is

(2!)^16

Unordered Partitions

In any unordered partition where k of the subsets have the same number of elements, we must divide the number of ordered partitions by k! in order to get the number of unordered partitions. We won’t write down a general formula here, but instead work a few examples. Example Find the number of partitions of a set of 20 elements into subsets of two, two, two, four, four, three and three. No distinction will be made between subsets except for their size.

The number of partitions is

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

Unordered Partitions

Example A math teacher wishes to split a class of thirty students into groups. All groups will work on the same problem. Five groups will have four students, two groups will have three students and two groups will have two students. In how many ways can the teacher assign students to the groups?

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

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