Set Operations and Venn Diagrams
Venn Diagrams
Wind diagram is a geometrical method to represent set or sets, using a box as our population or universal set and circular shapes to represent sets inside the box.
- Universal Set: The set of all elements or objects under consideration.
- Denoted by in set theory.
- Referred to as a sample space in probability.
Set Operations
Considering two sets and from a universal set :
Complement of a Set ( or ):
- The set of all elements in but not in .
- Set builder notation:
Union of Two Sets ():
- The set of all elements that are in or or both.
- Set builder notation:
Intersection of Two Sets ():
- The set of all elements that are in both and at the same time (overlap area).
- Set builder notation:
Difference of Two Sets ():
- The set of all elements that are in but not in .
- Set builder notation:
Cartesian Product ():
- The set of all ordered pairs where belongs to and belongs to .
Cardinality
- Cardinality of a Union of Two Sets:
- Cardinality of a Union of Three Sets: