12 - Set proofs in logic

Exam Details

10 T/F 25%
10 MCQ 25%

5 Free response 50%

At least 2 hours

In class practice

S,T,ifST,thenSST
Proof. Let S and T be sets. We work directly. Assume ST. Let xS. Then xT since xT. Thus xST. Hence SST.

Proposition. Given sets S and T, we have ST iff S=ST.

(=>) Assume ST.

(SST) Let xS... conclude xST

(STS) Let xST... conclude SS)

<= Assume S=ST
(ST) Let xS... conclude xT

Proposition. BABAB.

Proof. We work contrapositively. Assume A=B. Show B=AB.

Proposition. Let A and B be sets. If A= and B=, then AB=.

Proof. We work contrapositively.

Assume that AB.
... conclus

Proposition. Theorem: Given four sets A, B, C, D. If AC and BD, then A x B C x D.

Proof. Let A, B, C, D be sets. We work directly. Assume AC and BD. Let (x,y)A x B. Then xA and yB. Then xC and yD. Thus (x,y)C x D.



HW 12

Ben Finch

E 12.1

Proposition. For sets A,B,C, prove that if ABC, then AB.

Proof. Assume that ABC. Therefore, by definition of subset, every element that belongs to A also belongs to BC.

Let x be an arbitrary element of A. Because ABC, we know that xBC. By definition of intersection, xB and xC. Therefore, every element of A is also an element of B, so AB.

An example of when the converse fails:
Consider the sets A = {1, 2, 3}, B = {1, 2, 3, 4}, C = {5}. Thus we have AB but not ABC.

IMG_4055.jpg

IMG_4056.jpg

E 12.4b
Proof.
We work directly. Assume S x T = T x S.
Let (x,n)S x T. Thus, per our assumption, (x,n)T x S. Then xS and xT. Thus ST. Then nT and nS. Thus we have TS. Thus T=S.

E 12.5
Proof.
(=>) We work directly. Assume S=T. Then

S=TSS=TSST=TS

(<=) We work contrapositively. Assume ST.

Case 1: If there exists an xS and xT, then x will be in ST, but x(TS). Therefore, STTS.

Case 2: If there exists a yT and yS, then y will be in TS, but y (ST). Therefore, STTS.

In either case, we see that STTS.

Thus S=T if and only if ST=TS.

E 12.6
Disproof.

Fix S={1,2,3} and T={1,2}. Then, ST={3}. However, ST.

So the initial claim is false.

E 12.7

Thus, ×S = {(a, b) | a and b ∈ S}.

Assume that there exists an element x in ×S.

Then, by the definition of the Cartesian product, x=(a,b) for some a and some bS.

However, by definition, the empty set has no elements. Therefore, there cannot be any element 'a' in the empty set.

Thus, there can be no elements in ×S.

Hence, ×S=.

E 12.8

Proof.
(=>)

If S=, there are no elements in S to form ordered pairs with elements of T. Similarly, if T=, there are no elements in T to form ordered pairs with elements of S. Thus, in either case, S×T=.

(<=)

Assume that neither S nor T are empty. Then there exists at least one element in each set. Denote them as sS and tT. By the definition of Cartesian product, there should be an ordered pair (s,t) in S×T. But we've assumed S×T=, which means there are no such ordered pairs, leading to contradiction. Therefore, if S×T=, then S= or T=.

E 12.9

Outline:

  1. Start by defining the Cartesian product A×B and B×C, as well as what it means for A×B to be a subset of B×C.
  2. Assume that A×BB×C and B.
  3. Show that for any element a in set A, there exists an element b in set B such that (a,b) is in A×B.
  4. Since A×BB×C, this means (a,b) is also in B×C, implying that a is in C.
  5. Therefore, AC.

Proof:

Per the definition of the cartesian product means that A×BB×C means every pair in A×B is also in B×C. Suppose that A×BB×C and B. For any element a in set A, there must exist an element b in set B such that (a,b)A×B, since B. As A×BB×C, this means (a,b)B×C, which implies that aC. Thus, for every aA, we have shown that aC. Therefore, AC.

If we remove the hypothesis that B:

If B is empty, then A×B will also be empty (since there are no elements in B to pair with elements in A). The empty set is a subset of every set, including B×C. This does not provide any information about the relationship between A and C. Therefore, the statement "if A×BB×C, then AC" would not necessarily hold if B could be empty.

E 12.10

The converse of the statement is: Given four sets A,B,C,D, if A×BC×D, then AC and BD.

Let aA and bB. Assume A×BC×D.

By definition of Cartesian product, (a,b)A×B.

Since we have assumed that A×BC×D, it follows that (a,b)C×D.

But (a,b)C×D means aC and bD by definition of Cartesian product.

Thus we have that for all aA, aC and for all bB, bD.

This means that AC and BD.