Section 3.1: Sets

Abstract:

This section, the only section we consider from Chapter 3, simply gives us some basic vocabulary and notions of sets that we will need when we get to Boolean algebras later. It also includes some really interesting examples of ideas from set theory (e.g. different sizes of infinite sets - did you know that infinity comes in infinitely many different sizes?).

Notation

A set (call it A) is loosely a collection of objects.

Capital letters denote sets, and tex2html_wrap_inline250 denotes inclusion in a set, so that tex2html_wrap_inline252 means that x is a member (or element) of a set, and tex2html_wrap_inline256 means that x isn't a member.

Sets are unordered: the order in which the elements are listed is unimportant.

We use predicate logic to determine when two sets are equal:

displaymath242

The notation for a set whose elements are characterized by possessing property P is

displaymath243

and is read ``S is the set of all x such that P(x)''

One curiously useful set is the empty set, denoted tex2html_wrap_inline268 or tex2html_wrap_inline270 .

Some important sets of numbers:

displaymath244

Example: Practice 3, p. 163/165

Relationships between Sets

A is a subset of B, denoted tex2html_wrap_inline282 , if

displaymath272

and A is a proper subset of B, denoted tex2html_wrap_inline288 , if

displaymath273

Example: Practice 6, p. 164/166

Theorem:

displaymath274

Sets of Sets

Power Set: Given set S, the power set of S, denoted tex2html_wrap_inline294 , is the set of all subsets of S. (Note that S and tex2html_wrap_inline268 are elements of the power set of S.)

Example: How big is the power set of a given set? (Practice 9, p. 166/168)

Binary and Unary Operations

We can create ordered pairs of elements of a set. From tex2html_wrap_inline304 we can create the ordered pairs (1,3) and (3,3), for example. Now the order of the elements is important!

Question: How many ordered pairs are there if we have a set with n elements?

Definition: tex2html_wrap_inline312 is a binary operation on a set S if for every ordered pair (x,y) of elements of S, tex2html_wrap_inline320 exists, is unique, and is a member of S.

Definition: tex2html_wrap_inline312 is well-defined if tex2html_wrap_inline320 exists and is unique.

Definition: tex2html_wrap_inline312 is closed if tex2html_wrap_inline330 .

Three ways to fail to be a binary operation on S:

  1. there are pairs for which tex2html_wrap_inline320 fails to exist;
  2. there are pairs for which tex2html_wrap_inline320 gives multiple different results;
  3. there are pairs for which tex2html_wrap_inline320 doesn't belong to S.

Definition: a unary operation on a set S associates with every element x of S a unique element of S.

Example: Practice 12, p. 168/170

Operations on Sets

Given a set S of elements of interest, we may want to operate on various subsets of S (that is, elements of tex2html_wrap_inline294 ). For example,

Definition: Let tex2html_wrap_inline358 . The union of A and B, denoted tex2html_wrap_inline364 , is given by tex2html_wrap_inline366 . The intersection of A and B, denoted tex2html_wrap_inline372 , is given by tex2html_wrap_inline374 .

Venn Diagrams are useful tools for considering the notions of union and intersection. The diagrams in Figures 3.1 and 3.2 (p. 169/171) illustrate these notions ``pictorially''.

Definition: For a set tex2html_wrap_inline376 , the complement of A, denoted A', is tex2html_wrap_inline382 .

Example: Practice 14, p. 170/171: illustrate A' using a Venn Diagram.

Definition: For set tex2html_wrap_inline358 , the set-difference of A and B, denoted A-B, is given by tex2html_wrap_inline394 .

Definition: For set tex2html_wrap_inline358 , the Cartesian product (cross product) of A and B, denoted tex2html_wrap_inline402 , is the set of all ordered pairs, and is given by

displaymath350

Example: Practice 15, p. 170/172: illustrate A-B using a Venn Diagram.

Set Identities

We will encounter the following ``Set identities'' later in the context of Boolean algebras:

displaymath406

Notice the ``dual'' nature of the properties: it seems that the operations of tex2html_wrap_inline408 and tex2html_wrap_inline410 have a lot in common!

Question: What correspondence do you observe between these identities and those of wffs with the logical connective tex2html_wrap_inline412 and tex2html_wrap_inline414 ?

Countable and Uncountable Sets

As an interesting application of set theory, we will now demonstrate that there are various sizes of infinity!

The natural numbers comprise the smallest infinity, a denumerable or countable infinity.

We prove that two sets are of equal size (even if infinite!) by creating a one-to-one correspondence between the two sets. If such a correspondence exists, then the two sets have the same size.

Theorem: the rational numbers are denumerable.

Theorem: the real numbers are not denumerable.

Theorem: the power set of a set S is always larger than S (punch line: there is always a bigger infinity than the one you already have).



LONG ANDREW E
Wed Oct 9 10:36:10 EDT 2002