Docsity

Fall 2000 COT 3100 Section 2 Homework: Set Theory and Combinatorics - Prof. Arup Guha, Assignments of Computer Science

Toggle sidebar
bg1
COT 3100 Section 2 Homework #2 Fall 2000
Lecturer: Arup Guha
Assigned: 9/12/00
Due: 9/21/00 in lecture
1) Determine all of the elements in the following sets:
a) {((-2)n + 2n )/2 | n ๏ƒŽ {0, 1, 2, 3, 4}}
b) {4n 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 โ€“ 6n2 + 5n | n ๏ƒŽ {0,1,2,3,4}}
2) For A = {1,2,3,...,14,15}, determine the number of
a) the number of subsets of A that contain all of the odd integers in A.
b) the number of subsets of A that contain exactly three odd integers.
c) the number of 8 element subsets of A that contain exactly three odd integers.
d) the number of subsets of A that contain the element 1.
e) the number of subsets of A such that the sumof the elements of the subset is less
than 6.
f) the number of non-empty subsets of A that do not contain the elements 7 and 14.
3) Given that our universe U has 50 elements(|U| = 50) and that A, B and C are sets such
that |A| = 25, |B| = 20, |C| = 15, |(A ๏ƒ‡ B) ๏ƒ‡ C| = 3, |A ๏ƒ‡ B| = 8, and |(A ๏ƒˆ B) ๏ƒˆ C|
=48, 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) How many subsets of {1,2,3,...,9} contain at least one odd integer?
How many subsets of {1,2,3,...,10} contain at least one odd integer?
Generalize the results based on your answers to these two questions for sets
{1,2,3,...,2n-1} and {1,2,3,...,2n} for positive integers n.
pf2

Partial preview of the text

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

COT 3100 Section 2 Homework #2 Fall 2000

Lecturer: Arup Guha

Assigned: 9/12/

Due: 9/21/00 in lecture

1) Determine all of the elements in the following sets: a) {((-2)n^ + 2n^ )/2 | n ๏ƒŽ {0, 1, 2, 3, 4}} b) {4n^ 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 โ€“ 6n^2 + 5n | n ๏ƒŽ {0,1,2,3,4}} 2) For A = {1,2,3,...,14,15}, determine the number of a) the number of subsets of A that contain all of the odd integers in A. b) the number of subsets of A that contain exactly three odd integers. c) the number of 8 element subsets of A that contain exactly three odd integers. d) the number of subsets of A that contain the element 1. e) the number of subsets of A such that the sumof the elements of the subset is less than 6. f) the number of non-empty subsets of A that do not contain the elements 7 and 14. 3) Given that our universe U has 50 elements(|U| = 50) and that A, B and C are sets such that |A| = 25, |B| = 20, |C| = 15, |(A ๏ƒ‡ B) ๏ƒ‡ C| = 3, |A ๏ƒ‡ B| = 8, and |(A ๏ƒˆ B) ๏ƒˆ C| =48, 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) How many subsets of {1,2,3,...,9} contain at least one odd integer? How many subsets of {1,2,3,...,10} contain at least one odd integer? Generalize the results based on your answers to these two questions for sets {1,2,3,...,2n-1} and {1,2,3,...,2n} for positive integers n.

5) Prove this equality between two sets. You may use any method presented in class. (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) ๏ƒˆ (A ๏ƒ‡ ๏ƒ˜C) ๏ƒˆ (๏ƒ˜(B ๏ƒˆ ๏ƒ˜C)) ) = A ๏ƒˆ B ๏ƒˆ C โ€“ (A ๏ƒ‡ B ๏ƒ‡ C) 6) In each of these questions, assume that A, B and C are sets. a) Prove or disprove: (A ๏‚น (A ๏ƒˆ B)) ๏ƒž B ๏ƒ‹ A. b) Prove or disprove: (A โ€“ B = B) ๏ƒž A = ๏ƒ†. c) Prove or disprove: ((A ๏ƒŒ B) ๏ƒš (A ๏ƒŒ C)) ๏ƒž A ๏ƒ‡ (๏ƒ˜C ๏ƒ‡ ๏ƒ˜B) = ๏ƒ†. d) Prove or disprove: ((A ๏ƒŒ B) ๏ƒ™ (A ๏ƒŒ C)) ๏ƒž ((B ๏ƒŒ C) ๏ƒš (C ๏ƒŒ B))