Answer as required.
1. Let A = {1, 2, 3, 4, 5} and B = {0, 3, 6}. Find (a) A U B (b) A – B
2. Let A = {a, b, c, d, e} and B = {a, b, c, d, e, f, g, h}. Find (a) A ∩ B (b) B – A
3. Let C = {1, a , 2, c}. Find (a) Cardinality of C (b) P(C)
4. Consider sets in #s 2 and 3, show that
(a) A U (B ∩ C) = (A U B) ∩ (A U C) (b) (A U B)c = Ac ∩ Bc.
5. Suppose that the universal set is U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. Express each of these sets with bit strings where the ith bit in the string is 1 if i is in the set and 0 otherwise.
(a) {3,4,5}
(b) {2, 3, 4, 7, 8, 9}
1. a. {0,1,2,3,4,5,6}
b.{1,2,4,5}
2.a. {a,b,c,d,e}
b. {f,g,h}
3. a.4
b. {1,a,2,c}
4.B ∩ C={a,c}
A U (B ∩ C)={a,b,c,d,e}
A U B={a, b, c, d, e, f, g, h}
A U C={1,2,a, b, c, d, e}
(A U B) ∩ (A U C) ={s,b,c,d,e}
A U (B ∩ C) = (A U B) ∩ (A U C)
b.(A U B)c={1,2}
Ac={1,2,f, g, h}
Bc={1,2}
Ac ∩ Bc.={1,2}
(A U B)c = Ac ∩ Bc
5.a)
{3,4,5}=0011100000 (As there are 3 1's which means only 3,4,5 are present in both universal set and subset)
3,4,5 take 3rd, 4th, 5th positions in U, so there are '1's on these positions in bit string
b)
Similarly,
{1, 3, 6, 10} = 1010010001
1,3,6,10 take 1st, 3rd, 6th, 10th positions in U, so there are '1's on these positions in bit string
Comments
Leave a comment