Docsity

Math 310: Homework 3 Solutions - Set Theory - Prof. Alexandra Nichifor, Assignments of Mathematics

Toggle sidebar
bg1
Math 310: Solutions to Homework 3
1. Does the Trichotomy law hold for sets? In other words, given two sets Aand
B, is it true that one of: A⊂B,A⊃B, or A=Bmust be true? If yes, give a
proof; if no, give a counterexample.
SOLUTION:
No, the Trichotomy law does not hold for sets. There exist lots of sets Aand
Bwhich are neither equal, nor subsets of each other.
For example, A=Zand B={x|xis a student in Math 310}(disjoint sets)
or A={−1,1},B=Z+(here −1∈A−Band 5∈B−A).
2. Let A={1,2,3,4}. List all elements of P(A). List all elements of A×A.
SOLUTION:
Recall that P(A)denotes the set of all subsets of A. Here,
P(A) = {∅,
{1},{2},{3},{4},
{1,2},{1,3},{1,4},{2,3},{2,4},{3,4},
{1,2,3},{1,2,4},{1,3,4},{2,3,4},
{1,2,3,4}=A}
On the other hand, A×A={(a, b)|a∈A, b ∈A}=
={(1,1),(1,2),(1,3),(1,4),
(2,1),(2,2),(2,3),(2,4),
(3,1),(3,2),(3,3),(3,4),
(4,1),(4,2),(4,3),(4,4)}
3. Suppose A⊆B. Prove that P(A)⊆P(B).
PROOF:
Let x∈P(A). Since P(A)is the set of all subsets of A,x⊆A. But A⊆B, so
x⊆B(by transitivity of set inclusion: see lemma below). Hence, by definition
of P(B),x∈P(B).
Since any x∈P(A)is also in P(B),P(A)⊆P(B). QED.
REMARKS: To prove that a set (say, P(A)) is a subset of another (say, P(B)),
you should start with an arbitrary element of the supposed subset (”let x∈
P(A)”), and, using any definitions that apply or properties we have proved,
prove that the arbitrary element you picked must be in the second set. An
argument such as ”Ais a subset of B, so all subsets of Aare subsets of B,
so P(A)is a subset of P(B)” is incomplete, since the point of the proof was to
show that all subsets of Aare subsets of B! How do you know this if you have
not proved it?
1
pf3
pf4

Partial preview of the text

Download Math 310: Homework 3 Solutions - Set Theory - Prof. Alexandra Nichifor and more Assignments Mathematics in PDF only on Docsity!

Math 310: Solutions to Homework 3

  1. Does the Trichotomy law hold for sets? In other words, given two sets A and B, is it true that one of: A ⊂ B, A ⊃ B, or A = B must be true? If yes, give a proof; if no, give a counterexample.

SOLUTION:

No, the Trichotomy law does not hold for sets. There exist lots of sets A and B which are neither equal, nor subsets of each other. For example, A = Z and B = {x | x is a student in Math 310} (disjoint sets) or A = {− 1 , 1 }, B = Z+^ (here − 1 ∈ A − B and 5 ∈ B − A).

  1. Let A = { 1 , 2 , 3 , 4 }. List all elements of P (A). List all elements of A × A.

SOLUTION: Recall that P (A) denotes the set of all subsets of A. Here, P (A) = {∅, { 1 }, { 2 }, { 3 }, { 4 }, { 1 , 2 }, { 1 , 3 }, { 1 , 4 }, { 2 , 3 }, { 2 , 4 }, { 3 , 4 }, { 1 , 2 , 3 }, { 1 , 2 , 4 }, { 1 , 3 , 4 }, { 2 , 3 , 4 }, { 1 , 2 , 3 , 4 } = A}

On the other hand, A × A = {(a, b)|a ∈ A, b ∈ A} = = {(1, 1), (1, 2), (1, 3), (1, 4), (2, 1), (2, 2), (2, 3), (2, 4), (3, 1), (3, 2), (3, 3), (3, 4), (4, 1), (4, 2), (4, 3), (4, 4)}

  1. Suppose A ⊆ B. Prove that P (A) ⊆ P (B).

PROOF: Let x ∈ P (A). Since P (A) is the set of all subsets of A, x ⊆ A. But A ⊆ B, so x ⊆ B (by transitivity of set inclusion: see lemma below). Hence, by definition of P (B), x ∈ P (B).

Since any x ∈ P (A) is also in P (B), P (A) ⊆ P (B). QED.

REMARKS: To prove that a set (say, P (A)) is a subset of another (say, P (B)), you should start with an arbitrary element of the supposed subset (”let x ∈ P (A)”), and, using any definitions that apply or properties we have proved, prove that the arbitrary element you picked must be in the second set. An argument such as ”A is a subset of B, so all subsets of A are subsets of B, so P (A) is a subset of P (B)” is incomplete, since the point of the proof was to show that all subsets of A are subsets of B! How do you know this if you have not proved it?

Lemma (Transitivity of Set Inclusion) If A ⊆ B and B ⊆ C, then A ⊆ C

Proof of Lemma Let x ∈ A. Then, since A ⊆ B, it follows that x ∈ B. But, since B ⊆ C, it further follows that x ∈ C. Hence A ⊆ C. QED.

REMARK:You should have proved the transitivity of set inclusion in your homework, since it wasn’t proved or listed as a result in your text or in class.

  1. Using truth tables, prove the following De Morgan Law for sets:

(A ∩ B)c^ = Ac^ ∪ Bc

PROOF: skipped, since it’s a pain to typeset and most people got this one right. Most common (and minor) error is to use the sets (A, B, etc) as column headers in the truth table instead of the proper statements (x ∈ A, x ∈ B, etc). Sets don’t have truth values, statements do. Feel free to ask me if you have questions, I’ll be glad to answer. If you follow the order I used in class for truth tables, both columns should be F,T,T,T.

  1. Prove that A ∪ (A ∩ B) = A.

PROOF: Showing double-inclusion:

  1. ”A ∪ (A ∩ B) ⊆ A”: x ∈ A ∪ (A ∩ B) ⇒ x ∈ A or x ∈ A ∩ B (by definition of ∪) ⇒ x ∈ A or (x ∈ A and x ∈ B) (by definition of ∩). If x ∈ A, then we’re done. Else, x ∈ A and x ∈ B, which again implies x ∈ A. ⇒ x ∈ A.

2. ”A ∪ (A ∩ B) ⊇ A”:

x ∈ A ⇒ x ∈ A or x ∈ A ∩ B (by definition of ”or”) ⇒ x ∈ A ∪ (A ∩ B).

Shorter Version of same proof: x ∈ A ∪ (A ∩ B) ⇔ x ∈ A or x ∈ A ∩ B (by definition of ∪) ⇔ x ∈ A or (x ∈ A and x ∈ B) (by definition of ∩) ⇔ x ∈ A. (by definition of math ”or” and ”and”)

same color. On the other hand, all the cows in the subset {C 2 , · · · , Ck+1} must also have the same color, again by induction hypothesis, because this is also a set of k cows.”

But the next step: ”From this, it follows that cows Ck and Ck+1 must have the same color” implicitly assumes that 2nd subset, namely {C 2 , · · · , Ck+1}, con- tains the penultimate cow, Ck, which is true only if there are at least 2 cows in each subset, i.e. if there are at least 3 cows to start with, but it’s false otherwise. In other words, if we consider a set of two cows {C 1 , C 2 }, and try to prove they have the same color applying on the base case of one cow, then the two subsets of one cow are {C 1 } and {C 2 } – so there is no ”middle” cow Ck with which to compare C 1 and C 2.