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

Proving Inclusion of Sets

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

Proving Equality

x,xAxB.
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={xZ:4|x} and B={xZ:2|x}. It holds that AB. Assume xA. Thus x=4k for some kZ. Hence x=2(2k). Thus 2x. Thus xB.


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, 23Z.

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

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

y=x4n=2m4n=2(m2n)

Hence, y is also an even integer.

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

y=x4n=2k+14n=2(k2n)+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, AB.

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 aX. Thus 6|(a(1)) and a+1=6k for some kZ. Now consider some bY. Thus 3(b2) and b=3m+2 for some mZ. We find

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

The above expression confirms that a can be written in the form 3m+2 where mZ, which is the definition of the set Y. Therefore, aY. Thus, we can conclude that for all aX, aY, and therefore XY.

E 10.4
(a) Let xAB. This means that xAB. Hence, xA and xB, which is equivalent to xA or xB. So, xAB.

Therefore, ABAB.

(b) Proof that ABAB:

Let xAB. This means that xA or xB, which is equivalent to xA or xB. Hence, xAB and therefore, xAB.

Therefore, ABAB.

(c) We have proved that AB=AB since they are subsets of each other.

E 10.5

Let nX(XY). We want to prove that nXY.

We have: nX(XY), which means that nX and n(XY). Thus nX or nY. Since we've already established that nX, the latter must be true: xY.

Therefore, since xX and xY, we have xXY.

E 10.6

Assume aX.

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

Therefore, aX must be true. Hence, this implies that X=X.

E 10.7
Let nZ.

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

Let x{xZ:x0(modn)}. This implies x0(modn). By definition, x=nk for some integer k, which means n|x. Thus {xZ:x0(modn)}{xZ:n|x}.

Therefore, {xZ:n|x}={xZ:x0(modn)}.

E 10.8
Prove that A(BC)(AB)(AC)
Proof: Let A,B,C be sets.

Let xA(BC). Thus xA and xBC. Hence xB and xC. There are two cases:

Case 1: xB. Then xC. Then x(AC), so x(AB)(AC)

Case 2: xB Then xAB, so x(AB)(AC).

E 10.9

Proof:

(1) nNSnZ

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

(2) ZnNSn

We have two cases:

Therefore, we have shown that ZnNSn.

Thus we have nNSn=Z.