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. We make an observation about the rules satisfied by the operations of ``intersection'' and ``union'' from set theory.

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_inline381 denotes inclusion in a set, so that tex2html_wrap_inline383 means that x is a member (or element) of a set, and tex2html_wrap_inline387 means that x isn't a member.

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

We can use predicate logic to determine (or even define) when two sets are equal:

displaymath373

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

displaymath374

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_inline399 or tex2html_wrap_inline401 .

Some important sets of numbers:

displaymath375

Example: Practice 3, p. 165/189. Describe each set:

  1. tex2html_wrap_inline403
  2. tex2html_wrap_inline405

Relationships between Sets

A is a subset of B, denoted tex2html_wrap_inline417 , if

displaymath407

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

displaymath408

Example: Practice 6, p. 166/190

Theorem:

displaymath409

Sets of Sets

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

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

Binary and Unary Operations

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

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

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

Definition: tex2html_wrap_inline447 is well-defined if tex2html_wrap_inline455 exists and is unique.

Definition: tex2html_wrap_inline447 is closed if tex2html_wrap_inline465 .

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

  1. there are pairs for which tex2html_wrap_inline455 fails to exist;
  2. there are pairs for which tex2html_wrap_inline455 gives multiple different results;
  3. there are pairs for which tex2html_wrap_inline455 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. 170/193

Operations on Sets

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

Definition: Let tex2html_wrap_inline493 . The union of A and B, denoted tex2html_wrap_inline499 , is given by tex2html_wrap_inline501 . The intersection of A and B, denoted tex2html_wrap_inline507 , is given by tex2html_wrap_inline509 .

These are examples of binary operations on the set of power sets of a set.

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

Definition: For a set tex2html_wrap_inline511 , the complement of A, denoted A', is tex2html_wrap_inline517 .

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

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

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

displaymath485

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

Set Identities

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

displaymath541

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

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

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).

Proof: By contradiction. Consider tex2html_wrap_inline557 a one-to-one correspondence between S and tex2html_wrap_inline429 . That is, every set of tex2html_wrap_inline429 is represented by an element of S. But

displaymath551

and yet tex2html_wrap_inline511 . This is a contradiction.



Mon Feb 18 17:54:43 EST 2008