1.2 - Set Theory Review

1.2.1

a

Theorem

3 is irrational.

Proof
Assume for contradiction that 3 is rational, so then:

pq=3

for some p,qZ where q0 and p,q don't share any common factors. Squaring both sides gives that:

p2=3q2

so 3|p2, or p2 has a factor of 3. Notice that because of that:

p23=p3pZ

so then since pZ then clearly 3|p so then set p=3k for some kZ so then:

(3k)2=3q29k2=q2q2=3p2

so then q2 is divisible by 3, and by the same argument 3|q which contradicts p,q not sharing any factors.

Note that the argument would follow similarly for 6, except that when we breakup p2/6 notice that 6 isn't prime so then we'll get:

p26=p2p3

so we show that p is either divisible by 2 or by 3 and continue the argument to show that q shares the same factor.

b

The proof for showing 4 would work in the same way it did for 1.2 - Set Theory Review#1.2.1#a since we'd get to:

p2=4q2=2(2q2)

so then p is even, so then p=2k:

(2k)2=2(2q2)4k2=4q2k2=q2

but this couldn't lead to a contradiction as k=|q| so then p=2|q| so then:

pq=2|q|q=±2

which doesn't give a contradiction.

1.2.3

a

Postulate

If A1 are all sets with an infinite number of elements, then n=1An is infinite as well.

This is a false statement. Consider the superset (0,1)R, and have Ai defined by:

Ai=(0,12i)

We can see that Ai+1=Ai(12i+1,1) so then by that definition then Ai+1Ai as required. But all of these sets are uncountably infinite, but notice that n=1An=. This is because if there were some xn=1An then I can construct a new set A where:

A=(0,x2)

where clearly A is in our sequence of sets, but xA by definition. But this larger set is finite in length (length 0) which is a counter example to the postulate at hand.

b

Postulate

If A1 are all sets with finite number of elements, then n=1An is finite as well.

This is a true statement. Namely, we know that if A1A2 then A1A2=A1 which is finite, and in general then A1=A1 so then clearly n=1An=A1 is finite.

c

Postulate

A(BC)=(AB)C

This is a false statement. Let A={1,2},B={2,3} and C={3,1}. Notice that:

A(BC)={1,2}{1,2,3}={1,2}

but:

(AB)C={2}{3,1}={1,2,3}

and these don't equal.

d

Postulate

A(BC)=(AB)C

This is a true statement. For let x(AB)C so then xC and xAB so xA and xB. Then xBC and thus xA(BC). The other direction is proved similarly WLOG.

e

Postulate

A(BC)=(AB)(AC)

This is a true statement.

. Let xA(BC). Then xA and xBC. If xB then xAB so then x(AB)(AC). Then if xB then xC by requirement so then similarly xAC and x is in the RHS set. Thus we get .

. Let x be in the RHS set. Suppose xAB so then xA and xB. Then xBC so then xA(BC). WLOG the same applies for C.

1.2.5 (De Morgan's Laws)

a

Theorem

(AB)cAcBc

Proof
Let x(AB)c. Then xAB. For one case if xA then we must have that xB so then xBc so then xAcBc. If instead xA then xAc and we get the same result.

b

Theorem

(AB)cAcBc

Proof
Let xAcBc. If xAc then xA, so clearly xAB. Thus, then x(AB)c. WLOG, the same applies if xBc.

c

Theorem

(AB)c=AcBc

Proof
First . Let x(AB)c. Then xAB. Notice if xA then that's a contradiction and same for xB, so then xA and xB so then xAcBc.

Then . Let xAcBc, thus xAc and xBc. Then xA and xB. Notice by similar reasoning prior that xAB so x(AB)c.

1.2.7

Given function f and a subset of its domain A, we denote f(A)={f(x):xA} as the range of f over set A.

a

Given f(x)=x2 and A=[0,2] and B=[1,4] then we know that:

f(A)=[0,4],f(B)=[1,16]

so then:

f(AB)=f([1,2])=[1,4]

while:

f(A)f(B)=[1,4]

so in this case f(AB)=f(A)f(B). Similarly

f(AB)=f([0,4])=[0,16]

while:

f(A)f(B)=[0,16]

so f(A)f(B)=f(AB) in this case.

b

In general we don't have f(AB)=f(A)f(B). For instance, if A=[1,0] and B=[0,2] then:

f(A)=[0,1],f(B)=[0,4]f(AB)=f([0])={0}f(A)f(B)=[0,1]

here clearly f(AB)f(A)f(B).

c

Theorem

For any g:RR then g(AB)g(A)g(B).

Proof
Let yg(AB) be arbitrary. Then there is some xAB such that f(x)=y by definition. Clearly xA and xB. Thus, since f(x)=y then yf(A) since xA and likewise yf(B). Thus, yg(A)g(B), completing the proof.

1.2.9

Given some f:DR and a subset BR, denote f1 as the preimage, namely:

f1(B)={xD:f(x)B}

a

Let f(x)=x2. If A is the closed interval [0,4] and B is the closed interval [1,1] then:

f1(A)=[2,2],f1(B)=[1,1]

Notice that:

f1(AB)=f1([0,1])=[1,1]

while:

f1(A)f1(B)=[1,1]

so in this case f1(AB)=f1(A)f1(B). Similarly:

f1(AB)=f1([1,4])=[2,2]

while:

f1(A)f1(B)=[2,2]

so then f1(AB)=f1(A)f1(B) in this case.

b

Theorem

For any g:RR then:

  • g1(AB)=g1(A)g1(B)
  • g1(AB)=g1(A)g1(B)
    for all sets A,BR.

Proof
We prove the former.

(). Let xg1(AB). Then there is some f(x)AB by definition. Then f(x)A and f(x)B separately. Thus then xg1(A) and similar for B, so then xg1(A)g1(B).

(). Let xg1(A)g1(B). Then xg1(A) and similar for B. Then there is some f(x)A and likewise f(x)B. Thus f(x)AB. Thus, xg1(AB).

For the latter:

(). Let xg1(AB). Then there's some f(x)AB. If f(x)A then xg1(A) so then xg1(A)g1(B). WLOG, the same can be sead if f(x)B instead (ie: f(x)A).

(). Let xg1(A)g1(B). If xg1(A) then f(x)A so then f(x)AB so then xg1(AB). WLOG, the same works if xg1(B) instead.

1.2.11

We'll negate certain statements into their opposites:

a

The opposite of "for all reals where a<b then there is some nN where a+1/n<b" is:

"there are reals a<b where, for any nN, we have it that a+1/nb".

Here the original claim is true, as we can always choose some lowest fraction that's less than some ε>0.

b

The opposite of "there is a real x>0 such that x<1/n for all nN" is:

" for all reals x>0 there is some nN such that x1/n"

Here the negation is true for similar reasons to 1.2 - Set Theory Review#1.2.11#a.

c

The opposite of "between every two distinct real numbers is a rational number" is:

"there are two real numbers such that there exist no rational numbers between them"

I'm pretty sure that the negation is true since Q is not complete.

1.2.13

We'll be allowed to use De Morgan's Laws here from 1.2 - Set Theory Review#1.2.5 (De Morgan's Laws).

a

Theorem

For any nN:

(A1A2An)C=A1cAnc

Proof
We prove this via induction. The base case for A1,A2 is just the simpler De Morgan's Law from 1.2 - Set Theory Review#1.2.5 (De Morgan's Laws)#c. Let kN be arbitrary, and suppose the theorem holds for nk. Consider the k+1 case, then:

(A1AkAk+1)c=([A1Ak]Ak+1)c

Since the LHS set is composed of n=kk sets and the RHS set is just one set, we can use our Inductive Hypothesis:

=[A1Ak]cAk+1c=A1cAkcAk+1c

completing the proof by induction.

b

We'll show that induction can't always be used. We'll show that i=1nBi for some nN but i=1Bi=. Let Bi=(0,12i). Here any finite intersection allows us to find some x in that intersection, but intersecting all infinitely many sets, as we saw in 1.2 - Set Theory Review#1.2.3#a that we get the empty set.

c

Theorem

(i=1Ai)c=i=1AiC

Proof
We prove () first. Let x be an element of the LHS. Then xi=1Ai. That means that there isn't any set Ai where xAi. Hence, for all sets Ai then xAi, so then xAic for all these sets. Hence, then xi=1Aic as required.

Now for (). Let x be an element of the RHS. Then xAic for all i. Hence, then xAi for all i. Then there doesn't exist any sets Ai where xAi so then xi=1Ai. Hence, x is in the LHS.