Module-1 SetTheory
Module-1 SetTheory
August 1 5 , 2024
1/
32
Introduction to S e t The ory
OBJECTIVE:
2/
32
Introduction to S e t The ory
LET’S TRY!
2 PLANETS IN
OUR SOLAR
SYSTEM
2. What is a Subset?
6/
32
Introduction to S e t The ory
W h a t is a Se t ?
SPECIFYING A SET
Sets are defined by listing the elements inside curly braces, such as
A = {a 1 , . . . , a n }
We could also use a rule or property that specifies the elements, such as
SET EXAMPLE 1
Define the set C to denote the possible outcomes of a coin toss:
C = {heads, tails}
Given that there are only two elements, the list notation is preferable.
8/
32
Introduction to S e t The ory
W h a t is a Se t ?
SET EXAMPLE 2
Define the set D to denote the possible outcomes of the roll of a dice:
D = {1, 2, 3, 4, 5, 6}
Given that there are only six elements, the list notation is preferable.
DEFINITION OF A SUBSET
Given sets A and B , we say that A and B are equivalent if the two sets
contain the exact same elements.
• The notation A = B denotes that two sets are equivalent.
• Equivalent sets satisfy A ⊆ B and B ⊆ A.
10 /
32
Introduction to S e t The ory
W h a t is a Subs e t ?
SUBSET EXAMPLES
Example. Suppose that A is all possible outcomes of the roll of a
standard (six-sided) dice and B = {1, 2, 3, 4, 5, 6}.
• The sets A and B are equivalent, i.e., A = B ( A is equal to B )
• A ⊆ B ( A is a subset of B ) and B ⊆ A ( B is a subset of A)
The universal set U refers to the set that contains all other objects of
interest, such that any other set A is a proper subset of U .
• A ⊂ U where A is any other set
CARDINALITY OF A SET
If |A| ≤ |B| and |B| ≤ |A|, then we write that |A| = |B|, which is the
Schr¨oder-Bernstein theorem.
14 /
32
Introduction to S e t The ory
T h e S i z e of a S e t
15 /
32
Introduction to S e t The ory
T h e S i z e of a S e t
16 /
32
Introduction to S e t The ory
U n i o n s a n d I nt e rs ections
The union of two sets A and B contains all of the objects that are in
either set. The union is denoted as C = A ∪B , where the
C = {c | c ∈ A or c ∈ B } .
The intersection of two sets A and B contains all of the objects that
are in both sets. The intersection is denoted as C = A ∩B , where the
C = {c | c ∈ A and c ∈ B } .
17 /
32
Introduction to S e t The ory
U n i o n s a n d I nt e rs ections
A B A B
18 /
32
Introduction to S e t The ory
U n i o n s a n d I nt e rs ections
Note that the empty set is considered to be a subset of all sets, i.e.,
∅⊆ A. As a result, we have that ∅∪A = A for any set A. Note that
we also have that ∅∩A = ∅for any set A.
A B
A B
20 /
32
Introduction to S e t The ory
U n i o n s a n d I nt e rs ections
ORDER OF OPERATIONS
Note that the order of operations is important if you are talking about
unions and intersections with more than two sets:
• ( A ∪B ) ∩ C is not necessarily equivalent to A ∪( B ∩C )
Example. Using the three sets A = {1, 2, 3}, B = {4, 5, 6}, and
C = {1, 4, 7, 8, 9, 10}, we have that ( A ∪B ) ∩C = {1, 4} and
A ∪( B ∩C ) = {1, 2, 3, 4}.
Question for the Reader: Does the order of operations matter if we are
only talking about unions or intersections?
• Is ( A ∪B ) ∪C the same as A ∪( B ∪C)?
• Is ( A ∩B ) ∩C the same as A ∩( B ∩C)?
21 /
32
Introduction to S e t The ory
U n i o n s a n d I nt e rs ections
C C
A B A B
22 /
32
Introduction to S e t The ory
C o m p l e m e n t s a n d Differences
COMPLEMENT OF A SET
23 /
32
Introduction to S e t The ory
C o m p l e m e n t s a n d Differences
U
A
A B
25 /
32
Introduction to S e t The ory
C o m p l e m e n t s a n d Differences
26 /
32
Introduction to S e t The ory
C o m p l e m e n t s a n d Differences
27 /
32
Introduction to S e t The ory