Docsity

1 Sets and Partitions, Lecture notes of Number Theory

Toggle sidebar
bg1
1 Sets and Partitions
Aset is a grouping of numbers (or people, or fruits, etc.), like {1,2,3}. A subset
is a grouping of numbers (or people, or fruits, etc.) that may or may not contain
any of the original set: {1,3}is a subset (and it’s the same subset as {3,1}).
One subset contains all the elements, and one subset contains none of them: the
notation, {}, is called the empty set.
1. (a) How many subsets of {1,2,3}have exactly two elements?
(b) How many subsets of {1,2,3}are there?
(c) How many subsets of {1,2,4,8,16}have exactly three elements?
2. You can partition a set of numbers into non-empty subsets. For example,
the set {1,2,3}can be partitioned into two subsets: {1,3}and {2}(which
is the same as {2}and {1,3}). Or, it can be partitioned into two other
subsets: {1,2}and {3}. It can even by partitioned into one or three
subsets, thought not in particularly exciting ways.
(a) How many total ways are there to partition {1,2,3}into two subsets?
(b) How many total ways are there to partition {1,2,3,4}into two sub-
sets?
(c) How many total ways are there to partition {1,2,3,4,5}into two
subsets?
(d) How many total ways are there to partition {1,2,3,4,5,6}into two
subsets?
(e) What’s going on?
3. Complete this table, with the number of elements as rows and the number
of subsets as columns.
12345
1−−−−
2−−−
3 1 3 1 − −
4 7 −
5
Continue this table until you find a recursive rule you could use to continue
the table even further.
4. Suppose we have the set
{Alicia,Bill,Claudia}.
1
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download 1 Sets and Partitions and more Lecture notes Number Theory in PDF only on Docsity!

1 Sets and Partitions

A set is a grouping of numbers (or people, or fruits, etc.), like { 1 , 2 , 3 }. A subset is a grouping of numbers (or people, or fruits, etc.) that may or may not contain any of the original set: { 1 , 3 } is a subset (and it’s the same subset as { 3 , 1 }). One subset contains all the elements, and one subset contains none of them: the notation, {}, is called the empty set.

  1. (a) How many subsets of { 1 , 2 , 3 } have exactly two elements? (b) How many subsets of { 1 , 2 , 3 } are there? (c) How many subsets of { 1 , 2 , 4 , 8 , 16 } have exactly three elements?
  2. You can partition a set of numbers into non-empty subsets. For example, the set { 1 , 2 , 3 } can be partitioned into two subsets: { 1 , 3 } and { 2 } (which is the same as { 2 } and { 1 , 3 }). Or, it can be partitioned into two other subsets: { 1 , 2 } and { 3 }. It can even by partitioned into one or three subsets, thought not in particularly exciting ways.

(a) How many total ways are there to partition { 1 , 2 , 3 } into two subsets? (b) How many total ways are there to partition { 1 , 2 , 3 , 4 } into two sub- sets? (c) How many total ways are there to partition { 1 , 2 , 3 , 4 , 5 } into two subsets? (d) How many total ways are there to partition { 1 , 2 , 3 , 4 , 5 , 6 } into two subsets? (e) What’s going on?

  1. Complete this table, with the number of elements as rows and the number of subsets as columns.

Continue this table until you find a recursive rule you could use to continue the table even further.

  1. Suppose we have the set

{Alicia, Bill, Claudia}.

(a) List all the possible ways to partition this set into exactly two non- empty subsets. (b) List all the possible ways to partition this set into exactly one non- empty subset. (c) Using your results from (a) and (b), derive all possible ways to par- tition the set {Alicia, Bill, Claudia, Donna} into exactly two non-empty subsets.

  1. Consider again the set

{Alicia, Bill, Claudia}.

(a) List all the possible ways to partition this set into exactly three non- empty subsets. (b) List all the possible ways to partition this set into exactly two non- empty subsets. (c) Using your results from (a) and (b), derive all possible ways to par- tition the set {Alicia, Bill, Claudia, Donna} into exactly three non-empty subsets.

  1. Let

n k

denote the number of ways to partition a set of n people into k non-empty subsets.

(a) Using Problem 4, explain why { 4 2

(b) Using Problem 5, explain why { 4 3

(c) Use a “grouping” argument to explain why the following is true in general: (^) { n k

= k

n − 1 k

n − 1 k − 1

  1. Once again, complete the table:
  1. Continue the table from Problem 11 until you find a recursive rule that you could use to continue the table even further.
  2. How are tables in Problems 7 and 11 related?
  3. The newly created American Dodgeball League has five teams which must be placed into three divisions. The teams are: Giants, Eagles, Rams, Panthers, and Jets. The divisions are: East, Central, and West. For example, the teams can be divided as follows.

East Central West Giants, Panthers Eagles Rams, Jets

Each division must contain at least one team. In how many different ways can the teams be divided?

  1. A class has five people:

{Alicia, Bill, Claudia, Donna, Eugene}.

Their teacher breaks them up into the following three groups:

  • Alicia, Eugene
  • Bill
  • Claudia, Donna

Each group must give a presentation on one of the following topics: Alge- bra, Geometry, and Combinatorics. And no two groups can pick the same topic. In how many different ways can the three topics be assigned to the three groups?

  1. Recall that

n k

denotes the number of ways to partition a set of n people into k non-empty subsets.

(a) Find the value of

(b) Now let

n k

denote the number of ways to order-partition a set of n people into k non-empty subsets. (E.g. we count {Nick, Ellie} and {Megan, Lynda} to be different from {Megan, Lynda} and {Nick, Ellie}.) Find the value of

(c) How are

and

related?

(d) How are

n k

and

n k

related?

  1. We have seen the following recursive rule for

n k

n k

= k

n − 1 k

n − 1 k − 1

which led to the following table (the number of elements are the rows and the number of non-empty subsets are the columns):

Now complete the following table for

n k

2 Breaking the Lock

  1. (a) On a 5-button Simplex Lock, find the number of combinations that use all five buttons and contain exactly three pushes. (b) On a 5-button Simplex Lock, find the number of combinations that use all five buttons.
  2. Let T (n) be the total number of combinations on an n-button Simplex Lock, and L(n) the number of combinations on an n-button Simplex Lock that use all n buttons. Fill in the table below.

n L(n) T (n) 1 2

3 4 150 5 1082

Any thoughts?

  1. (a) On a 3-button Simplex Lock, list all combinations that use all three buttons. (b) On a 3-button Simplex Lock, list all combinations that do not use all three buttons. (c) Can you find a mapping between the lists in (a) and (b) that explains why there are just as many of each?
  2. Use Problem 3 to explain why the total number of combinations on a Simplex Lock is exactly twice the number of combinations that use all the buttons (i.e. T (n) = 2L(n)).

3 The Mahler Basis

In this section, we will discuss an interesting connection between partitioning of sets (from Section 1) and a certain family of polynomials. For an integer k ≥ 1, the kth combinatorial polynomial,

(x k

, is defined by ( x k

x(x − 1)(x − 2) · · · (x − k + 1) k!

For example, ( x 4

x(x − 1)(x − 2)(x − 3) 4!

= x^4 − 6 x^3 + 11x^2 − 6 x 24 =

x^4 −

x^3 +

x^2 −

x.

By convention, we also put

(x 0

  1. Let f (x) = 3

x 5

x 4

x 3

x 1

x 0

Write f as a linear combination of the powers of x.

  1. Show that x^4 = 24

x 4

x 3

x 2

x 1

  1. Let g(x) = 3x^5 − 2 x^4 + 5x^3 − 4 x + 7. Write g as a linear combination of the

(x k

Of course, the “normal” way to express a polynomial is as a linear combination of powers of x, e.g.

f (x) =

x^5 40

x^4 3

53 x^3 24

14 x^2 3

37 x 30

For some purposes (Newton’s difference formula, for example), it turns out to be more useful to express f in terms of the

(x k

, i.e. in terms of the Mahler basis:

f (x) = 3

x 5

x 4

x 3

x 1

x 0

(You showed in Problem 1 that (∗) and (∗∗) give the same polynomial.) Thus, it will be useful to be able to convert back and forth between “normal” and Mahler bases. One direction is fairly straightforward.

  1. Define the numbers bn,k by ( x n

∑^ n

k=

bn,k · xk.

For example, since ( x 4

x +

x^2 −

x^3 +

x^4 ,

Fill in the following table containing the values an,k, with n as rows and k as columns.

  1. Compare the tables of the

n k

from Section 1 and of the an,k. What’s going on here?