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,ifS⊆T,thenS⊆S∩T
Proof. Let S and T be sets. We work directly. Assume S⊆T. Let x∈S. Then x∈T since x⊆T. Thus x∈S∩T. Hence S⊆S∩T. ◻

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

(=>) Assume S⊆T.

(S⊆S∩T) Let x∈S... conclude x∈S∩T

(S∩T⊆S) Let x∈S∩T... conclude S∈S)

<= Assume S=S∩T
(S⊆T) Let x∈S... conclude x∈T

Proposition. B≠A∪B⟹A≠B.

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

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

Proof. We work contrapositively.

Assume that A∪B≠∅.
... conclus

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

Proof. Let A, B, C, D be sets. We work directly. Assume A⊆C and B⊆D. Let (x,y)∈A x B. Then x∈A and y∈B. Then x∈C and y∈D. Thus (x,y)∈C x D. ◻



HW 12

Ben Finch

E 12.1

Proposition. For sets A,B,C, prove that if A⊆B∩C, then A⊆B.

Proof. Assume that A⊆B∩C. Therefore, by definition of subset, every element that belongs to A also belongs to B∩C.

Let x be an arbitrary element of A. Because A⊆B∩C, we know that x∈B∩C. By definition of intersection, x∈B and x∈C. Therefore, every element of A is also an element of B, so A⊆B. ◻

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

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 x∈S and x∈T. Thus S⊆T. Then n∈T and n∈S. Thus we have T⊆S. Thus T=S. ◻

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

S=TS−S=T−SS−T=T−S

(<=) We work contrapositively. Assume S≠T.

Case 1: If there exists an x∈S and x∉T, then x will be in S−T, but x∉(T−S). Therefore, S−T≠T−S.

Case 2: If there exists a y∈T and y∉S, then y will be in T−S, but y ∉(S−T). Therefore, S−T≠T−S.

In either case, we see that S−T≠T−S.

Thus S=T if and only if S−T=T−S.

E 12.6
Disproof.

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

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 b∈S.

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 s∈S and t∈T. 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×B⊆B×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×B⊆B×C, this means (a,b) is also in B×C, implying that a is in C.
  5. Therefore, A⊆C.

Proof:

Per the definition of the cartesian product means that A×B⊆B×C means every pair in A×B is also in B×C. Suppose that A×B⊆B×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×B⊆B×C, this means (a,b)∈B×C, which implies that a∈C. Thus, for every a∈A, we have shown that a∈C. Therefore, A⊆C.

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×B⊆B×C, then A⊆C" 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×B⊆C×D, then A⊆C and B⊆D.

Let a∈A and b∈B. Assume A×B⊆C×D.

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

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

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

Thus we have that for all a∈A, a∈C and for all b∈B, b∈D.

This means that A⊆C and B⊆D. ◻