Mathematical Proof and the Principles of Mathematics/Sets/Pairs

From testwiki
Jump to navigation Jump to search

So far, the only set we've actually proved to exist is ∅. The next axiom allows us to create new sets from existing sets, so starting with ∅ we can build up an infinite number of new sets.

Unordered pairs

The Axiom of Pairs basically says that if we have two sets, x and y, then we can form the new set {x. y}. You may be wondering why we don't start with singletons, but since {x, x} = {x}, the axiom also forms singletons at the same time. As with the Axiom of Existence, the Axiom of Pairs really only says that there is some set whose elements are x and y, but we need to prove uniqueness before defining the notation.

Informally, the axiom states:

If x and y are sets (not necessarily distinct) then there exists a set z such that for all u, (uz) iff (u=x or u=y).

In more precise logical form:

Axiom S3 (Axiom of pairs): For all 'x' and 'y', for some z, for all u,
(uz) iff (u=x or u=y).

Definition Given two sets A and B we define the unordered pair of A and B to be the set containing precisely A and B. We denote it {A,B}.

The pair axiom doesn't state that A and B have to be distinct. Consider the unordered pair {A,A}. The Axiom of Extensionality tells us that this is equal to the set {A}.

Example Let A=B=. Then the axiom says that there is a set containing A and B. This is the set S={,}={}.

The set S in the example is distinct from the empty set, since is empty, whilst S contains the empty set as an element. Thus the two sets contain different elements.

Of course we can continue to create new sets using the pair axiom. For example T={S,}={{},} is a set distinct from both the empty set and the set S, and so on.

In fact we can create infinitely many different sets using this process. However, each such set contains either one or two elements.


Ordered pairs

If sets are always unordered, one might wonder how one defines ordered mathematical objects in terms of sets. The following ingenious definition of an ordered pair is due to Kuratowski.

Definition Given a set A and a,bA, the ordered pair of a and b, denoted (a,b), is the set {{a},{a,b}}.

The following theorem shows that ordered pairs have the properties we expect them to have.

Theorem We have that (a,b)=(c,d) if and only if a=c and b=d.

Proof Clearly if a=c and b=d then

  Template:NumBlk

To show the converse, suppose that (Template:EquationNote) holds.

Let us deal first with the case where ab. In this case, {a}{a,b} and so cd, otherwise {{c},{c,d}}={{c},{c,c}}={{c},{c}}={{c}} and we would have from (Template:EquationNote) that {a}={c}={a,b}, which would be a contradiction.

But if cd then {c,d}{a} and so for the elements to be the same on both sides of (Template:EquationNote), we must have {a}={c} and {a,b}={c,d}. But the first of these implies that a=c. Thus {a,b}={c,d}={a,d}. As ab, this implies b=d.

Now we deal with the case where a=b. In this case {{a},{a,b}}={{a},{a}}={{a}}.

Thus {c}={a}={c,d}. Thus a=b=c=d.

In both cases, a=c and b=d.

Ordered tuples

We can use Kuratowski's definition of an ordered pair to define an ordered triple.

Definition We define the ordered triple (a,b,c) to be (a,(b,c)).

Obviously we can extend the definition to n-tuples for any n.

Definition We define the ordered n-tuple (a1,a2,,an) to be (a1,(a2,a3,,an)).

Exercises

  • Show how to generate infinitely many distinct sets having just one element. Do the same for sets with two elements.
  • Suppose {a}={b,c}. Show that b=c.
  • Show that if one defines ordered pairs by (a,b)={{{a},},{{b}}} as Wiener did, then (a,b)=(c,d) if and only if a=b and c=d, just as for Kuratowski's definition.
  • Given Kuratowski's definition of an ordered pair, show that an ordered triple as defined above is a set containing either one or two elements.

Template:Chapnav

Template:BookCat