



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




(a) P(A) (b) A × B (c) P(A ∪ B)
(d) P(A) ∪ P(B) (e) P(A × B) (f) P(A) × P(B)
(g) P(A^2 ∪ B^2 ) (h) P(A ∩ B) × (A − B) (i) P(P(P(P(A × B × ∅))))
Which answers above are valid even if A and B are not necessarily disjoint?
Solution: (a) |P(A)| = 2a (b) |A × B| = ab (c) |P(A ∪ B)| = 2a+b, since |A ∪ B| = a + b. (d) |P(A) ∪ P(B)| = |P(A)| + |P(B)| − |P(A) ∩ P(B)| = 2a^ + 2b^ − 1 (e) |P(A × B)| = 2ab (f) |P(A) × P(B)| = 2a^ · 2 b^ = 2a+b (g) |P(A^2 ∪ B^2 )| = 2a (^2) +b 2
(h) |P(A ∩ B) × (A − B)| = |P(∅) × A| = |{∅} × A| = a
(i) |P(P(P(P(A × B × ∅))))| = |P(P(P(P(∅))))| = 2^2 220 = 2^2 21 = 2^4 = 16 The solutions to parts a,b,e,f, and i still hold if A ∩ B 6 = ∅ Grading: 7 points total: subtract 12 point for each incorrect answer.
(b) Give a counterexample for the following statement: if A and B are sets, then P(A) ∪ P(B) = P(A ∪ B). (c) Fill in the blank in the simplest way possible that makes the following statement true: P(A) ∪ P(B) = P(A ∪ B) if and only if. Prove that your answer is correct; of course, you may use your solution to part (a) as a lemma.
Solution: (a) Let S be an arbitrary element in P(A) ∪ P(B). By the definition of union, S ∈ P(A) or S ∈ P(B), and so by the definition of the power set, S ⊆ A or S ⊆ B. If S ⊆ A, then we have that S ⊆ A ⊆ A ∪ B, and so S ∈ P(A ∪ B). If S ⊆ B, then we have that S ⊆ B ⊆ A ∪ B, and so S ∈ P(A ∪ B). In either case, S ∈ P(A ∪ B). Since S was arbitrary, we have that P(A) ∪ P(B) ⊆ P(A ∪ B) as desired. (b) There are many correct answers (e.g. A = { 0 }, B = { 1 }, in which case { 0 , 1 } ∈ P(A∪B), but not P(A) ∪ P(B)). In general any two sets neither contained in the other is a correct counterexample, since then A ∪ B is neither a subset of A nor a subset of B (and so A ∪ B 6 ∈ P(A) and A ∪ B 6 ∈ P(B)), but A ∪ B ∈ P(A ∪ B) does hold. (c) P(A) ∪ P(B) = P(A ∪ B) if and only if one contains the other. Proof: (⇒) Assume that P(A) ∪ P(B) = P(A ∪ B). Because X ∈ P(X) holds for every set X, it follows that A ∪ B ∈ P(A ∪ B). By assumption, P(A ∪ B) = P(A) ∪ P(B), and therefore A ∪ B must be in P(A) or in P(B). By the definition of powerset, either A ∪ B ⊆ A or A ∪ B ⊆ B. Note that A ∪ B ⊆ A implies that B ⊆ A. Similarly, A ∪ B ⊆ B implies that A ⊆ B. Therefore B ⊆ A or A ⊆ B. (⇐) Suppose that A ⊆ B or B ⊆ A. If A ⊆ B, then every subset of A is also a subset of B. By the definition of powerset, it follows that P(A) ⊆ P(B). Thus
P(A) ∪ P(B) = P(B) = P(A ∪ B)
because A ∪ B = B. If B ⊆ A, then the same proof shows that P(A) ∪ P(B) = P(A ∪ B) by reversing the roles of A and B. Grading: 10 points total: 3 points for part (a), 2 points for part (b), and 5 points for part (c). Give half credit on part (c) if only one direction is correctly proved.
(((A 1 4 A 2 ) 4 A 3 ) · · · 4 An− 1 ) 4 An = {x : x is in an odd number of the sets A 1 , A 2 ,... , An}.
Solution: This proof is by induction on the number of sets. Our base case here is n = 1. In this case, the expression on the left hand side (LHS) is just A 1. Because an element x is a member of A 1 if and only if x occurs in an odd number of the sets in the colletion {A 1 }, the right hand side (RHS) is also just A 1. Therefore the theorem holds when n = 1. Inductive step: Let n ≥ 2 be an arbitrary integer. We show that the equation holds when n sets are involved. For each 1 ≤ k ≤ n, we define
Sk := (((A 1 4 A 2 ) 4 A 3 ) · · · 4 Ak− 1 ) 4 Ak.
We must show that Sn = {x : x is in an odd number of the sets A 1 , A 2 ,... , An}. By the in- ductive hypothesis, the theorem holds for each 1 ≤ k < n; in other words, the inductive hypothesis tells us that
Sk = {x : x is in an odd number of the sets A 1 , A 2 ,... , Ak}
for each 1 ≤ k < n. Hence
Sn = Sn− 1 4 An (defn of Sn) = {x : x is in an odd number of the sets A 1 , A 2 ,... , An− 1 } 4 An. (i.h.)
Let Z = {x : x is in an odd number of the sets A 1 , A 2 ,... , An− 1 }; we complete the inductive step by arguing that
Z 4 An = {x : x is in an odd number of the sets A 1 , A 2 ,... , An}.
Suppose that x is an element of Z 4 An. By definition of the symmetric difference, either x is in Z − An (and hence in an odd number of the sets {A 1 ,... , An− 1 }), or x is An − Z (and hence is in an even number of the sets {A 1 ,... , An− 1 }). In either case, we have that x is in an odd number of the sets {A 1 ,... , An}. Conversely, suppose that x is in an odd number of the sets {A 1 ,... , An}. It follows that either x is in an odd number of the sets {A 1 ,... , An− 1 } and is not a member of An, or x is in an even number of the sets {A 1 ,... , An− 1 } and is a member of An. In the first case, x ∈ Z − An and in the second case x ∈ An − Z. Therefore in all cases, x ∈ Z 4 An. Because Z 4 An and {x : x is in an odd number of the sets A 1 , A 2 ,... , An} contain exactly the same elements, these two sets are equal and we are done. Grading: 10 points total: 2 points for correct base case, and 4 for a clearly stated induction hypothesis. The correctness of the remainder of the induction step is worth 4 points.
(a) Is ∅ special? (Your answer should be “yes” or “no”.) (b) Is {∅} special? (Your answer should be “yes” or “no”.) (c) Prove that there exists a special set S with |S| = 2n−^1. (Hint: give an example.) (d) Prove that if S is special, then |S| ≤ 2 n−^1. (Hint: most things in life are induction, but not quite everything.)
Solution: (a) Yes, the statement is vacuously true, since there are no elements of the empty set. (b) No, since ∅ ∩ ∅ = ∅. (c) Let S = {A ∈ P(U ) | 1 ∈ A}. Then clearly S ⊆ P(U ), and for all A, B ∈ S, 1 ∈ A ∩ B 6 = ∅. It is clear that |S| = 2n−^1. (d) Let S be a special set, and let X ∈ S. Note that X 6 ∈ S, since S is special and X ∩ X = ∅. Therefore, for each X ∈ P(U ) that is in S, we can find a partner set X ∈ P(U ) that is not in S. Moreover, because X = Y implies that X = Y , no two sets in S have the same partner outside of S. Because the sets in S have distinct partners outside of S, there are at least as many subsets of U that are outside S as there are in S. Because there are |P(U )| = 2n^ subsets of U and at most half of them can belong to S, we have that |S| ≤ 12 |P(U )| = 2n−^1. Grading: 10 points total. 1 point each for parts (a) and (b), 3 points for part (c), and 5 points for part (d).
(d) Our proof is by induction on n. We have proved the base case n = 0 in part (b). For the inductive step, let n ≥ 1 be an arbitrary integer. The inductive hypothesis is that for all 0 ≤ k < n, sk = k. Define Z = {S ∈ P(Un) : n ∈ S}. Note that {Vn− 1 , Z} is a partition of Vn because every nonempty subset of Un is an element of exactly one of Vn− 1 , Z. We have that ∑
A∈Vn
a∈A
a
A∈Vn− 1
a∈A
a
A∈Z
a∈A
a
({Vn− 1 , Z} is a partn. of Vn)
= sn− 1 +
A∈Z
a∈A
a
(defn of sn)
= n − 1 +
A∈Z
a∈A
a
(inductive hypothesis)
= n − 1 +
A∈Z
n
a∈A−{n}
a
(^) (each A ∈ Z contains n)
= n − 1 +
n
A∈Z
a∈A−{n}
a
(^) (factor out 1 /n)
= n − 1 +
n
A∈P(Un− 1 )
a∈A
a
(rearrange sets)
= n − 1 +
n
A∈Vn− 1
a∈A
a
(^) (∅ ∈ P(Un− 1 ) but ∅ 6 ∈ Vn− 1 )
= n − 1 +
n (1 + sn− 1 ) (defn of sn)
= n − 1 +
n
(1 + n − 1) (inductive hypothesis) = n. (algebra)
Grading: 15 points total: 1 point each for parts (a) and (b), 3 points for part (c), and 10 points for part (d). The base case is worth 2 points, a correct and clearly stated induction hypothesis is worth 2 points, and the remainder of the induction step is worth 6 points.