Docsity

COT 3100 Section 2 Homework #2 Spring 2000: Set Theory Problems - Prof. Arup Guha, Assignments of Computer Science

Toggle sidebar
bg1
COT 3100 Section 2 Homework #2 Spring 2000
Lecturer: Arup Guha
Assigned: 1/25/00
Due: 2/10/00, 2/11/00 in recitation
1) Determine all of the elements in the following sets:
a) {((-1)n + 1n )/2 | n ๏ƒŽ N}
b) {6n mod 24 | n ๏ƒŽ N} (Note: a mod b is simply the remainder you get when you
divide a by b. Thus, 17 mod 7 = 3.)
c) {n3 โ€“ 3n2 + 2n | n ๏ƒŽ {0,1,2,3,4}}
2) Do problem #8 on page 137 of the text. Here it is:
For A = {1,2,3,4,5,6,7}, determine the number of
a) subsets of A
b) nonempty subsets of A
c) proper subsets of A
d) nonempty proper subsets of A
e) subsets of A containing 3 elements
f) subsets of A containing 1 and 2.
g) subsets of A containing 5 elements, including 1 and 2.
h) subsets of A with an even number of elements
i) subsets of A with an odd number of elements
3) Given that our universe U has 20 elements(|U| = 20) and that A, B and C are sets such
that |A| = 10, |B| = 12, |C| = 8, |(A ๏ƒ‡ B) ๏ƒ‡ C| = 4, |A ๏ƒ‡ B| = 7, and |(A ๏ƒˆ B) ๏ƒˆ C|=18,
find the following values. Please show your work. (Note: if the values can not be
determined given the information above, state this and give two examples(by use of a
Venn Diagram) where the size of the set in question is different, but all of the above
properties hold.)
a) |U โ€“ ((A ๏ƒˆ B) ๏ƒˆ C)|
b) |U โ€“ (A ๏ƒ‡ (B ๏ƒ‡ C))|
c) |A ๏ƒ‡ C|
d) |A ๏ƒˆ B|
e) |(C โ€“ A) โ€“ B|
4) Question #14 on page 138 of the text. Here it is:
How many subsets of {1,2,3,...,11} contain at least one even integer?
How many subsets of {1,2,3,...,12} contain at least one even integer?
Generalize the results based on your answers to these two questions.
pf2

Partial preview of the text

Download COT 3100 Section 2 Homework #2 Spring 2000: Set Theory Problems - Prof. Arup Guha and more Assignments Computer Science in PDF only on Docsity!

COT 3100 Section 2 Homework #2 Spring 2000

Lecturer: Arup Guha

Assigned: 1/25/

Due: 2/10/00, 2/11/00 in recitation

1) Determine all of the elements in the following sets: a) {((-1)n^ + 1n^ )/2 | n ๏ƒŽ N } b) {6n^ mod 24 | n ๏ƒŽ N } (Note: a mod b is simply the remainder you get when you divide a by b. Thus, 17 mod 7 = 3.) c) {n^3 โ€“ 3n^2 + 2n | n ๏ƒŽ {0,1,2,3,4}} 2) Do problem #8 on page 137 of the text. Here it is: For A = {1,2,3,4,5,6,7}, determine the number of a) subsets of A b) nonempty subsets of A c) proper subsets of A d) nonempty proper subsets of A e) subsets of A containing 3 elements f) subsets of A containing 1 and 2. g) subsets of A containing 5 elements, including 1 and 2. h) subsets of A with an even number of elements i) subsets of A with an odd number of elements 3) Given that our universe U has 20 elements(|U| = 20) and that A, B and C are sets such that |A| = 10, |B| = 12, |C| = 8, |(A ๏ƒ‡ B) ๏ƒ‡ C| = 4, |A ๏ƒ‡ B| = 7, and |(A ๏ƒˆ B) ๏ƒˆ C|=18, find the following values. Please show your work. (Note: if the values can not be determined given the information above, state this and give two examples(by use of a Venn Diagram) where the size of the set in question is different, but all of the above properties hold.) a) |U โ€“ ((A ๏ƒˆ B) ๏ƒˆ C)| b) |U โ€“ (A ๏ƒ‡ (B ๏ƒ‡ C))| c) |A ๏ƒ‡ C| d) |A ๏ƒˆ B| e) |(C โ€“ A) โ€“ B| 4) Question #14 on page 138 of the text. Here it is: How many subsets of {1,2,3,...,11} contain at least one even integer? How many subsets of {1,2,3,...,12} contain at least one even integer? Generalize the results based on your answers to these two questions.

5) Prove this equality between two sets by using the laws of set theory AND the table method. (Note: I can not place bars of designated strings. So, for this problem I will use the โ€˜๏ƒ˜โ€™ symbol to denote the complement of a set.) ๏ƒ˜( (A ๏ƒ‡ ๏ƒ˜(B) ) ๏ƒˆ (๏ƒ˜(B) ๏ƒ‡ C) ) ๏ƒˆ ( A ๏ƒ‡ ๏ƒ˜(C) ) = B ๏ƒˆ ๏ƒ˜C 6) In each of these questions, assume that A, B and C are sets. a) Prove or disprove: (A ๏‚น B) ๏ƒž B ๏‚น (A ๏ƒˆ B). b) Prove or disprove: (A โ€“ B = B โ€“ A) ๏ƒž A ๏ƒ‡ B = ๏ƒ†. c) Prove or disprove: ((A ๏ƒŒ B) ๏ƒ™ (A ๏ƒŒ C)) ๏ƒž A ๏ƒ‡ (๏ƒ˜(C) ๏ƒˆ ๏ƒ˜(B)) = ๏ƒ†. d) Prove or disprove: ((A ๏ƒŒ B) ๏ƒ™ (A ๏ƒŒ C)) ๏ƒž ((B ๏ƒŒ C) ๏ƒš (C ๏ƒŒ B)) 7) Let Power(A) denote the power set of A. Prove the following: Power(A) ๏ƒ‡ Power(B) ๏ƒŒ Power(A ๏ƒ‡ B) 8) Given that the set A = {1, 2, 3}, find |Power(Power(A))|. In general, if |A| = n, what is |Power(Power(A))| in terms of n?