Science · Mathematics
Sets and Relations
Definitions, methods and quick revision
Introduction
Set theory provides a language for collections and membership. Relations use ordered pairs to describe how elements from one or more sets are connected.
Set theory provides a language for collections and membership. Relations use ordered pairs to describe how elements from one or more sets are connected.
1. Sets, Subsets and Power Sets
- Set notation. A set is a well-defined collection; x ∈ A means x is an element of A, while x ∉ A means it is not.
- Subset. A ⊆ B when every element of A is also in B; equality holds if both A ⊆ B and B ⊆ A.
- Power set. The power set ℘(A) contains every subset of A; a finite set with n elements has 2ⁿ subsets.
2. Set Operations and Identities
- Union and intersection. A ∪ B contains elements in either set; A ∩ B contains elements shared by both.
- Difference and complement. A \ B contains elements in A but not B; a complement depends on the stated universal set.
- De Morgan’s laws. The complement of a union is the intersection of complements, and the complement of an intersection is the union of complements.
3. Cartesian Products and Relations
- Ordered pair. (a,b) records a first and second component; order matters.
- Cartesian product. A × B contains all ordered pairs (a,b) with a ∈ A and b ∈ B.
- Relation. A relation from A to B is any subset of A × B; it can link one input to multiple outputs.
4. Properties of Relations
- Reflexive. Every element is related to itself.
- Symmetric and transitive. Symmetry reverses related pairs; transitivity links aRb and bRc to aRc.
- Equivalence and order. A relation that is reflexive, symmetric and transitive is an equivalence relation; partial orders are reflexive, antisymmetric and transitive.
Quick Revision
| Concept | Key point |
|---|---|
| A ∪ B | In A or B |
| A ∩ B | In both A and B |
| A × B | All ordered pairs from A and B |
| Equivalence relation | Reflexive, symmetric, transitive |
Conclusion
Sets organize collections; relations organize connections among elements. Test relation properties from their definitions rather than assuming every relation is a function or an equivalence.
Sets organize collections; relations organize connections among elements. Test relation properties from their definitions rather than assuming every relation is a function or an equivalence.