Professional Documents
Culture Documents
Applied Discrete Mathematics - Sets
Applied Discrete Mathematics - Sets
Applied Discrete Mathematics - Sets
A = {1, 3, 2, 5}
n(A) = | A | = 4
A= 1,2,3,4,5,6
Give a verbal description
“A is the set of all integers from 1 to 6,
inclusive”
Give a mathematical inclusion rule
A= Integers x 1 x 6
Membership Relationships
• Definition. Subset.
A B “A is a subset of B”
1. {A} {A} 2
2. {A , B} {A , B} {A} {B} 4
3. {A , B , C} {A , B , C} {A , B} {A , C} 8
{B , C} {A} {B} {C}
4. {A , B , C, D} {A , B , C , D} {A , B , C} {A
, B , D} {A , C , D} ?
16
{B , C , D} {A , B} {A , C}
{A , D} {A , B} …… {D}
AB = {1, 3, 5}
A={1,2,4,6,7,8,1,34,25}
1. How many elements are there in set A.
2. Finite or infinite set?
3. Is 3 an element of A?
4. How many subset can we form for set A?
5. B={1,4,6,8,1,34,25} A is a subset of B. True or False?
B= {2,4,6,8,10 .......}
6. Finite or infinite set?
7. Describe the set.
8. Is 115 an element of B?
9. How many possible subset can we from set B?
10. Give a subset of B.
These sets can be visualized with circles in what is called a
Venn Diagram.
A
A B
B A B
AB AB
Everything that is in Everything that is in
A or B. A AND B.
Often will have a set that contains all elements that we
wish to consider. This is called the universal set. All other
sets are subsets of this set.
AB=
Universal Set There are no
elements in
AA BA both A and B.
When this is
the case they
are called
disjoint sets.
n(C D) = 76
Set C is the cat owners and Set D is the dog
owners. The sets are NOT disjoint. Some
people could own both a dog and a cat. This n means the
Counting Formula: number of elements
in the set
n(A B) = n(A) + n(B) - n(A B)
Example: Let M, P and C be the sets of students taking Mathematics
courses, Physics courses and Computer Science courses respectively
in a university. Assume |M| = 300, |P| = 350, |C| = 450,
|M n P| = 100, |M n C| = 150, |P n C| = 75, |M n P n C| = 10. How
many students are taking exactly one of those courses?
Exercise : Draw the Venn Diagram of the following situation
As of now, the college of computer science is handling 450
students, 40% of which come from the straight curriculum while
35% are from the ladderized. 10% are cross enrolees which came
from the different colleges. The remaining students are both
enrolled in straight and ladderized department.