Definition: Let
be a set. A partition of
is a collection of subsets of
, say
such that
and
whenever
for
.
In other words, any element of
is in exactly on of the subsets
.
Example: For any finite set
, we can always partition the set into singleton sets (
-sets or set with a single element), i.e.
.
Example: Let
and
(this set is finite, so you may write out each set).
be the collection of integers in
of the form
.
be the collection of integers in
of the form
.
be the collection of integers in
of the form
.
A special way of constructing partitions of sets is using equivalence relations.
Definition: Let
be a relation on a set
. An equivalence relation on
satisfies three conditions:
, the equivalence class containing
is the set
.
- Reflexive: For all
,
.
- Symmetric: For all
, if
, then
.
- Transitive: For all
, if
and
, then
.
Proposition: Let
be a set with an equivalence relation
. The set of equivalence classes defines a partition on
. Conversely, one can define an equivalence relation whose equivalence classes are the subsets in the partition.
be a set with an equivalence relation
.
: By
reflexive, each
belongs to the subset
. Therefore, the union of equivalence classes is
. To show the equivalence classes are pairwise disjoint, we suppose that
, and show
. For if
, then
and
. By
symmetric,
. By
transitive,
and
implies
. Therefore, for any
,
and
implies
. The reverse containment follows similarly.
: Suppose
has a partition into
. Define
if
and
both lie in
for some
. Clearly,
since
is a partition and thus
is contained in some
. Let
, the
and
are contained in some
, so clearly,
and
are contained in
as well. Let
and
, then
and
are contained in some
and
and
are contained in some
. But
cannot be contained in two distinct sets
and
, thus
. Therefore,
is an equivalence relation.
Proof
LetRemark: For any partition of
, say
, we may define infinitely many partitions simply by tacking on copies of
to the list of subsets on the list. In the following exercises, we ignore this possibility.
In the following exercises, we compute the number of partitions of a set of size
for
. We say that the number of partitions of a set of size 0, i.e.
is 1 and clearly, the only partition of a set
is itself. As you complete these exercises, see if there are any patterns that you can use to help enumerate them.
Exercise 1: How many partitions of
exist?
Exercise 2: How many partitions of
exist?
Exercise 3: How many partitions of
exist?
Exercise 1: How many partitions of
Solution
There are 2. The list is given as follows:Exercise 2: How many partitions of
Solution
There are 5. The list is given as follows:Exercise 3: How many partitions of
Solution
There are 15. The list is given as follows:Definition: The number of partitions of a set with
elements is called the Bell number, often denoted
.
In the previous exercises, we have shown that
,
,
,
and
.
In the previous exercises, we have shown that