6 - Set Membership and Set Containment
6 - Set Membership and Set Containment
Set Membership
Set Containment.
SET MEMBERSHIP
Definition
member of a set A.
Example
Let A = {1,3,5,7,9}
Here
1 ∈ A, 3 ∈ A, 5 ∈ A; 7 ∈ A, 9 ∈ A
but
2 ∉ A, 4 ∉ A, 6 ∉ A; 8 ∉ A, 10 ∈ A
SET CONTAINMNET
Subset
element of set B.
Example
A = {1,2,3,4}
B = {2,3,1,4}
Here
A ⊆ B is true
and
B ⊆ A is true
Proper Subset
A = {1,2,3,4}
B = {1,2,3,4,5}
C = {1,2,3,4,5,6}
U = {1,2,3,4,5,6,7}
here
A = {1,2,3,4}
B = {1,2,3,4,5}
C = {1,2,3,4,5,6}
U = {1,2,3,4,5,6,7}
B ⊄ A is true
Example
A = {1,2,3,4}
B = {1,2,3,4,5}
C = {1,2,3,4,5,6}
U = {1,2,3,4,5,6,7}
B ⊂ C is true
Example
A = {1,2,3,4}
B = {1,2,3,4,5}
C = {1,2,3,4,5,6}
U = {1,2,3,4,5,6,7}
A ⊂ C is true
Example
A = {1,2,3,4}
B = {1,2,3,4,5}
C = {1,2,3,4,5,6}
U = {1,2,3,4,5,6,7}
A ⊂ U is true
B ⊂ U is true
C ⊂ U is true
Size of the Set
Let S be a set. If there are exactly n
denoted by |S|.
Remark: The term cardinality comes from the
then
|A| = 5.
Example
then
|S| = 26.
Example
it follows that
|∅| = 0.
Venn Diagram
Sets can be represented graphically using
between sets.
Example
MIDTERM
EXAM