10 - Proofs in set theory

Proving Set Membership

How to prove x is in some set A.

If the set is described using set builder notation, we have to prove a number meets all the conditions to be in the set.
For example:
Screen Shot 2023-09-26 at 10.58.34 AM.png

It should be within the stated domain (for example, x∈N).

Proving Inclusion of Sets

Screen Shot 2023-09-26 at 11.13.32 AM.png

Proving Equality

∀x,x∈A⇔x∈B.
Screen Shot 2023-09-26 at 11.20.52 AM.png

Laws of sets

Screen Shot 2023-09-26 at 11.21.26 AM.png

In class practice

We work directly. Let A={x∈Z:4|x} and B={x∈Z:2|x}. It holds that A⊆B. Assume x∈A. Thus x=4k for some k∈Z. Hence x=2(2k). Thus 2∣x. Thus x∈B. ◻


HW 10

Ben Finch

E 10.1
a) Yes, 3 is one of the elements listed in the set.
b) No π is not one of the elements listed in the set.
c) Yes, π is a real number.
d) Yes, 23 is a real number and 23<1.
e) No, 23∉Z.

E 10.2
Proof: Assume (x,y)∈A. Thus (x,y)∈Z x Z and 4∣x−y. Hence x−y = 4n for some n∈Z. There are two cases:

Case 1. Suppose x is even. Thus x=2m for some m∈Z. We find

y=x−4n=2m−4n=2(m−2n)

Hence, y is also an even integer.

Case 2. Suppose x is odd. Thus x=2k+1 for some k∈Z. We find

y=x−4n=2k+1−4n=2(k−2n)+1

Hence, y is also an odd integer.

In all cases x and y share the same parity. Thus (x,y) satisfy all conditions to be part of set B. Hence, A⊆B. ◻

E 10.3
Proposition:
Let X be the set of integers which are congruent to −1 modulo 6 and let Y be the set of integers which are congruent to 2 modulo 3. Prove X ⊆ Y.

Proof:
We work directly. Assume a∈X. Thus 6|(a−(−1)) and a+1=6k for some k∈Z. Now consider some b∈Y. Thus 3∣(b−2) and b=3m+2 for some m∈Z. We find

a=6k−1=3(2k)−1=3(2k)−3+2=3(2k−1)+2

The above expression confirms that a can be written in the form 3m+2 where m∈Z, which is the definition of the set Y. Therefore, a∈Y. Thus, we can conclude that for all a∈X, a∈Y, and therefore X⊆Y. ◻

E 10.4
(a) Let x∈A∩B―. This means that x∉A∩B. Hence, x∉A and x∉B, which is equivalent to x∈A― or x∈B―. So, x∈A―∪B―.

Therefore, A∩B―⊆A―∪B―. ◻

(b) Proof that A―∪B―⊆A∩B―:

Let x∈A―∪B―. This means that x∈A― or x∈B―, which is equivalent to x∉A or x∉B. Hence, x∉A∩B and therefore, x∈A∩B―.

Therefore, A―∪B―⊆A∩B―. ◻

(c) We have proved that A∩B―=A―∪B― since they are subsets of each other.

E 10.5

Let n∈X−(X−Y). We want to prove that n∈X∩Y.

We have: n∈X−(X−Y), which means that n∈X and n∉(X−Y). Thus n∉X or n∈Y. Since we've already established that n∈X, the latter must be true: x∈Y.

Therefore, since x∈X and x∈Y, we have x∈X∩Y. ◻

E 10.6

Assume a∈X∪∅.

This means that a∈X or a∈∅. However, the latter is not possible since the empty set ∅ has no elements.

Therefore, a∈X must be true. Hence, this implies that X∪∅=X. ◻

E 10.7
Let n∈Z.

Let x∈{x∈Z:n|x}. This implies n|x. By definition, there exists an integer k such that x=nk. This is equivalent to x≡0(modn). Thus {x∈Z:n|x}⊆{x∈Z:x≡0(modn)} .

Let x∈{x∈Z:x≡0(modn)}. This implies x≡0(modn). By definition, x=nk for some integer k, which means n|x. Thus {x∈Z:x≡0(modn)}⊆{x∈Z:n|x}.

Therefore, {x∈Z:n|x}={x∈Z:x≡0(modn)}.

E 10.8
Prove that A−(B∩C)≤(A−B)∪(A−C)
Proof: Let A,B,C be sets.

Let x∈A−(B∩C). Thus x∈A and x∉B∩C. Hence x∉B and x∉C. There are two cases:

Case 1: x∈B. Then x∉C. Then x∈(A−C), so x∈(A−B)∪(A−C)

Case 2: x∉B Then x∈A−B, so x∈(A−B)∪(A−C). ◻

E 10.9

Proof:

(1) ⋃n∈NSn⊆Z

By definition of the sets Sn, every element in each set Sn is an integer. Hence, every element in the union of all Sn is also an integer, proving that ⋃n∈NSn⊆Z.

(2) Z⊆⋃n∈NSn

We have two cases:

Therefore, we have shown that Z⊆⋃n∈NSn.

Thus we have ⋃n∈NSn=Z. ◻