



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!




Homework 5 Solutions Section 5.
11. Let the universal set be the set R of all real numbers and let: A = { x R | -3 ≤ x ≤ 0 }, B = { x R | -1 < x < 2 }, C = { x R | 6 < x ≤ 8 }. Find each of the following: a. A B = { x R | -3 ≤ x ≤ 0 or -1 < x < 2 } = { x R | -3 ≤ x < 2 } b. A B = { x R | -3 ≤ x ≤ 0 and -1 < x < 2 } = { x R | -1 < x ≤ 0 } c. Ac^ = { x R | it is not the case that -3 ≤ x ≤ 0 } = { x R | it is not the case that (-3 ≤ x and x ≤ 0) } = { x R | x < -3 or x > 0 } d. A C = { x R | -3 ≤ x ≤ 0 or 6 < x ≤ 8 } e. A C = { x R | -3 ≤ x ≤ 0 and 6 < x ≤ 8 } = { x R | 6 < x ≤ 0 } = f. Bc^ = { x R | it is not the case that -1 < x < 2 } = { x R | it is not the case that (-1 < x and x < 2) } = { x R | x ≤ -1 or x ≥ 2} g. Ac^ Bc^ = { x R | (x < -3 or x > 0) and (x ≤ -1 or x ≥ 2) } = { x R | (x < -3 and x ≤ -1) or (x < -3 and x ≥ 2) or (x > 0 and x ≤ -1) or (x > 0 and x ≥ 2) } = { x R | x < -3 or x ≥ 2 } h. Ac^ Bc^ = { x R | (x < -3 or x > 0) or (x ≤ -1 or x ≥ 2) } = { x R | x ≤ -1 or x > 0 } i. (A B)c^ = { x R | it is not the case that (-1 < x ≤ 0) } = { x R | it is not the case that (-1 < x and x ≤ 0) } = { x R | x ≤ -1 or x > 0 } j. (A B)c^ = { x R | it is not the case that (-3 ≤ x < 2) } = { x R | it is not the case that (-3 ≤ x and x < 2) } = { x R | x < -3 or x ≥ 2 } 15. Let A = { n Z | n = 5r for some integer r }. Let B = { m Z | m = 20s for some integer s }. a. Is A B? No. Consider the element 5; 5 A but 5 B. b. Is B A? Yes. For any element m in B, where m = 20s for some integer s, let integer r = 4s to satisfy set membership for A. 20. Let A = {a, b, c}, B = {b, c, d}, and C = {b, c, e}. a. Find A (B C), (A B) C, and (A B) (A C). Which of these sets are equal? A (B C) = {a, b, c} ({b, c, d} {b, c, e}) = {a, b, c} {b, c} = {a, b, c}. (A B) C = ({a, b, c}{b, c, d}) {b, c, e} = {a, b, c, d} {b, c, e} = {b, c}.
(A B) (A C) = ({a, b, c} {b, c, d}) ({a, b, c} {b, c, e}) = {a, b, c, d} {a, b, c, e} = {a, b, c}. Sets A (B C) and A B) (A C) are equal. b. Find A (B C), (A B) C, and (A B) (A C). Which of these sets are equal? A (B C) = {a, b, c} ({b, c, d} {b, c, e}) = {a, b, c} {b, c, d, e} = {b, c} (A B) C = ({a, b, c} {b, c, d}) {b, c, e} = {b, c} {b, c, e} = {b, c, e} (A B) (A C) = ({a, b, c} {b, c, d}) ({a, b, c} {b, c, e}) = {b, c} {b, c} = {b, c} Sets A (B C) and (A B) (A C) are equal. c. Find (A – B) – C and A – (B – C). Are these sets equal? Note that U = {a, b, c, d, e}. (A – B) – C = (A Bc) Cc^ = ({a, b, c} {a, e}) {a, d} = {a} {a, d} = {a} A – (B – C) = A (B Cc)c^ = {a, b, c} ({b, c, d} {a, d})c = {a, b, c} ({d})c^ = {a, b, c} {a, b, c, e} = {a, b, c} These sets are not equal.
25. Let Z be the set of all integers and let A 0 = { n Z | n = 4k, for some integer k }, A 1 = { n Z | n = 4k + 1, for some integer k }, A 2 = { n Z | n = 4k + 2, for some integer k }, A 3 = { n Z | n = 4k + 3, for some integer k }. Is { A 0 , A 1 , A 2 , A 3 } a partition of Z? Explain your answer. Yes, { A 0 , A 1 , A 2 , A 3 } is a partition of Z. Note that the explanation requires that both properties of the definition of a partition must be satisfied. The first property, that Z = { A 0 , A 1 , A 2 , A 3 }, is proven by using Quotient-Remainder Theorem. We apply it conclude that any integer n can be represent by one of the four forms n = 4k, n = 4k + 1, n = 4k + 2, or n = 4k + 3. The second property, that A 0 , A 1 , A 2 , A 3 are mutually disjoint, stems from exercise 18 of Section 3.7 (though it is also part of the Quotient-Remainder Theorem), which states the
8. Consider the following statement: For all sets A and B, if Ac^ B then A B = U. If the statement is true, prove that it is true. If the statement is false, show that it is false by finding a counterexample. This statement is true. Proof: Let A and B be sets with Ac^ B. To prove that A B = U, suppose x A B. Then x A or x B by definition of union. But both sets A and B are subsets of the universal set U, and so regardless of whether x A or x B, x U. [Therefore, A B U.] To prove that U A B, suppose x U. It is certainly true that x A or x A (a tautology), and so by definition of complement x A or x Ac. In case x A, then x A B by definition of union. In case x Ac, then x B because Ac^ B by hypothesis, and so x A B by definition of union. Thus in either case x A B. [Therefore, U A B.] [Since both set containments A B U and U A B have been proved, A B = U by definition of set equality.] 27. Use the properties in Theorem 5.2.2 to construct and algebraic proof for the statement: For all sets A, B, and C, (A – B) – C = A – (B C). Proof: Suppose A, B, and C are sets. Then (A – B) – C = (A Bc) – C (Set Difference Law) = (A Bc) Cc^ (Set Difference Law) = A (Bc^ Cc) (Associative Law for ) = A (B C)c^ (De Morgan’s Law for Sets) = A – (B C) (Set Difference Law) 38. Consider the following set property: For all sets A, B, and C, (A – B) (B – C) = (A B) – (B C). a. Use an element argument to derive the property. In order to show that (A – B) (B – C) = (A B) – (B C), we must show that (1) (A – B) (B – C) (A B) – (B C) and (2) (A B) – (B C) (A – B) (B – C). Proof of (1): Suppose A, B, and C are any sets. [We must show that (A – B) (B – C) (A B) – (B C).] Suppose that x (A – B) (B – C). [We must show that x (A B) – (B C).] Then x (A – B) or x (B – C) by definition of union. If x (A – B), then x A and x B by definition of set difference. But (A B) – (B C) = (A B) (B C)c^ by definition of set difference. If x A, then x A B by definition of union. Also, if x B, then x B C by definition of intersection. That is, x (B C)c^ by definition of complement. So if x A and x B, then x A B and x (B C)c, which is precisely (A B) – (B C). If x (B – C), then x B and x C by definition of set difference. But (A B) – (B C) = (A B) (B C)c^ by definition of set difference. If x B, then x A B by definition of
union. Also, if x C, then x B C by definition of intersection. That is, x (B C)c^ by definition of complement. So if x B and x C, then x A B and x (B C)c, which is precisely (A B) – (B C). So in either case, x (A B) – (B C) [as was to be shown]. So (A – B) (B – C) (A B) – (B C) by definition of subset. Proof of (2): Suppose A, B, and C are any sets. [We must show that (A B) – (B C) (A – B) (B – C).] Suppose that x (A B) – (B C). [We must show that x (A – B) (B – C).] But (A B) – (B C) = (A B) (B C)c^ by definition of set difference. But (A B) (B C)c^ = (A B) (Bc^ Cc) by definition of complement. Then x A and x Bc^ or x A and x Cc^ or x B and x Cc^ (there cannot exist an x B Bc^ = and thus this case need not be considered) by definition of distribution. If x A and x Bc, then x A – B by definition of set difference. Also, x (A – B) (B – C) by definition of union. If x A and x Cc, Case x B: Then x B – C by definition of set difference. Also, x (A – B) (B – C) by definition of union. Case x B: Then x A – B by definition of set difference. Also, x (A – B) (B