1) Sets: core definitions
A set is a well-defined collection of distinct objects (elements).
1.1 Notation
- Membership: ,
- Empty set:
- Universal set:
1.2 Types of sets
- Finite (limited elements), Infinite
- Subset:
- Proper subset:
- Equal sets: if they have same elements
1.3 Set operations (very testable)
- Union:
- Intersection:
- Difference:
- Complement:
1.4 Laws (high-yield identities)
- Commutative: ,
- Associative: (same for ∩)
- Distributive:
- De Morgan’s laws:
1.5 Counting (basic)
If A and B are finite:
Used in probability/survey data type questions.
2) Relations and functions (bridge concept)
A relation from set to set is a subset of (Cartesian product).