CSE230: Discrete Mathematics
Practice Sheet 3: Sets
Determine whether each of these pairs of sets are equal.
a) {1, 3, 3, 3, 5, 5, 5, 5, 5}, {5, 3, 1}
Q1
b) {{1}}, {1, {1}}
c) ∅, {∅}
How many elements does each of these sets have where a and b are distinct elements? Here P
represents the power set.
Q2 a) P({a, b, {a, b}})
b) P({∅, a, {a}, {{a}}})
c) P(P(∅))
List all the subsets of:
a){1,2,3}
Q3
b) {ϕ,λ,Δ,μ}
c) {∅}
What is the cardinality of each of these sets?
a) {a}
b) {{a}}
Q4 c) ∅
d) {∅}
e) {∅,{∅}}
f) {∅,{∅},{∅,{∅}}}
Find the power set of each of these sets, where p and q are distinct elements.
a) {q}
Q5
b) {p, q}
c) {∅,{∅}}
Find if the following statements are True or False.
a) 7∈{6,7,8,9}
b) 5∉{6,7,8,9}
Q6
c) {2}⊈{1,2}
d) ∅⊈{α,β,x}
e) ∅={∅}
Let A={1, 5, 31, 56, 101}, B={22, 56, 5, 103, 87}, C={41, 13, 7, 101, 48} and D={1,3,5,7...}
Give the sets resulting from:
a) A∩B
Q7
b) C∪A
c) C∩D
d) (A∪B)∪(C∪D)
Assume that the universal set is the set of all integers.
Let,
Q8
A={−7,−5,−3,−1,1,3,5,7}
B={x∈Z|x2<9}
C={2,3,4,5,6}
D={x∈Z|x≤9}
In each of the following fill in the blank with most appropriate symbol from ∈,∉,⊂,=,≠,⊆ , so
that resulting statement is true.
i. A____D
ii. 3____B
iii. 9____D
iv. {2}____ Cc
v. ∅____D
vi. A____C
vii. B____C
viii. C____D
ix. 0____A∩D
x. 0____A∪D
Let A={r,e,a,s,o,n,i,g},B={m,a,t,h,e,t,i,c,l} and C = the set of vowels. Calculate:
a) A∪B∪C.
Q9
b) A∩B.
c) Cc.
Given sets A and B in a universe U, draw the Venn diagrams of each of these sets.
Q1
a) A → B = {x ∈ U | x ∈ A → x ∈ B}
0
b) A ↔ B = {x ∈ U | x ∈ A ↔ x ∈ B}
Find A3 if :
Q1
a) A = {0}.
1
b) A = {0, a}
Let A = {a, b, c}, B = {x, y}, and C = {0, 1}. Find
a) A × B × C.
Q1
b) C × B × A.
2
c) C × A × B.
d) B × B × B.
Q1 Given sets A = {1, 2, 3} and B = {x, {y}}, find A×B and B×A. Are the sets equal?
3 What is the cardinality of the cartesian product B×A?
Q1
Use a Venn diagram to illustrate the relationship A ⊆ B and B ⊆ C.
4
Q1
Use a Venn diagram to illustrate the relationships A ⊂ B and B ⊂ C.
5
Q1
Suppose that A, B, and C are sets such that A ⊆ B and B ⊆ C. Show that A ⊆ C.
6
Let A = {1, 2, 3, 4, 5} and B = {0, 3, 6}. Find
Q1 a) A ∪ B.
7 b) A ∩ B.
c) A − B.
d) B − A.
Let A = {a, b, c, d, e} and B = {a, b, c, d, e, f, g, h}. Find
a) A ∪ B.
Q1
b) A ∩ B.
8
c) A − B.
d) B − A.
Prove the second De Morgan law that if A and B are sets, then (A ∪ B)c = Ac ∩ Bc by
Q1
a) showing each side is a subset of the other side.
9
b) using a membership table.
Q2
Use a membership table to show that A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C).
0
Q2
Using set identities, show that (A ∪ (B ∩ C))c = (Cc ∪ Bc) ∩ Ac
1
Prove the complement laws using membership table:
Q2
a) A ∪ Ac = U.
2
b) A ∩ Ac = ∅.
Q2 Let A and B be two finite sets such that n(A) = 20, n(B) = 28 and n(A ∪ B) = 36,
3 find n(A ∩ B) where n(S) representing the number of elements in the set S.
Let A, B, and C be sets. Show that
Q2 a) (A ∪ B) ⊆ (A ∪ B ∪ C).
4 b) (A ∩ B ∩ C) ⊆ (A ∩ B).
c) (A − B) − C ⊆ A − C.
In a group of 200 students, 85 students are attending leadership training programs, 50
Q2 students are involved in a team-building workshop . There are 15 students who are both
5 attending leadership training programs and participating in the team-building workshop.
Determine the number of students who are involved in exactly one of the activities.
Q2
6
Use the diagram above to find the cardinality for each problem.
1. n(N)
2. n[(R ∩ E) ∪ N]
3. n(E′)
4. n(E\R)
5. n(U)
6. n(R ∪ E ∪ N)
Illustrate each of the following by shading the Venn diagrams below.
Q2
7
Use the Venn diagram to work the following problem in three steps A′ ∪(B ∩C).
Q2
8
A teacher surveyed her class of 43 students to find out how they prepared for their last test.
She found that 24 students made flash cards, 14 studied their notes, and 27 completed the
review assignment. Of the entire class of 43 students, 12 completed the review and made
Q29 flash cards, 9 completed the review and studied their notes, and 7 made flash cards and
studied their notes, while only 5 students completed all three of these tasks. The remaining
students did not do any of these tasks. Represent this information in a Venn Diagram.
A number of deer were surveyed about activities that they enjoy. The results are summarized
in the Venn diagram below:
Q30
How many deer :
a) Enjoy running or staring into headlights?
b) Enjoy nibbling and running?
c) Enjoy exactly one of these activities?
d) Enjoy staring into headlights but not running?
e) Enjoy nibbling?
f) Don't enjoy any of the activities?
g) Enjoy any two activities only?
Draw a Venn diagram using 3 sets Q, T and P. None of these 3 sets are pairwise disjoint.
Q31 Moreover, 𝑃 ∩ 𝑄 ∩ 𝑇 ≠ ϕ. How many disjoint regions are there? Indicate which regions fall
𝑐
under (𝑇 ∩ 𝑄) − 𝑃.
A survey of 1,200 people was conducted on three types of sports they enjoy: soccer,
basketball, and baseball. Out of these, 670 enjoy soccer, 510 enjoy basketball, and 760 enjoy
baseball. It was found that 320 people enjoy all three sports, while 45 people do not enjoy any
of the three sports.
Q32
a) How many people enjoy exactly two of these sports?
b) How many people enjoy at least two of these sports?
c) How many people enjoy exactly one of these sports?