573 words
3 min read
View
Week 1 Notes: Sets, Relations, and Functions
Course: Jan 2026 - Mathematics I Difficulty: Foundational Focus: Abstract structures and mappings
1. Set Theory Fundamentals
A Set is a well-defined collection of distinct objects.
1.1 Types of Sets
- Empty Set (∅): Contains no elements. ∣Ø∣=0.
- Singleton Set: Contains exactly one element.
- Finite vs. Infinite: Based on whether the count of elements terminates.
- Power Set P(A): The set of all subsets. If ∣A∣=n, then ∣P(A)∣=2n.
1.2 Operations
| Operation | Symbol | Logic |
|---|---|---|
| Union | A∪B | Elements in A OR B |
| Intersection | A∩B | Elements in A AND B |
| Difference | A−B | Elements in A but NOT in B |
| Complement | Ac or A′ | Elements in Universal Set U but not in A |
Tip
De Morgan's Laws
- (A∪B)′=A′∩B′
- (A∩B)′=A′∪B′ Mnemonic: Break the line, change the sign.
2. Relations
A relation R from A to B is a subset of the Cartesian product A×B.
2.1 Properties of Relations (on Set A)
- Reflexive: ∀a∈A,(a,a)∈R.
- Symmetric: If (a,b)∈R, then (b,a)∈R.
- Transitive: If (a,b)∈R and (b,c)∈R, then (a,c)∈R.
Important
Equivalence Relation: A relation that is Reflexive, Symmetric, AND Transitive.
3. Functions
A function f:A→B is a special relation where every element in A is mapped to exactly one element in B.
3.1 Key Classifications
- Injective (One-to-One): No two distinct elements in A have the same image in B.
- Check: f(x1)=f(x2)⟹x1=x2.
- Surjective (Onto): Range = Co-domain. Every element in B has at least one pre-image in A.
- Bijective: Both Injective and Surjective. Bijective functions have inverses.
4. Common Traps & Do's/Don'ts
❌ Don'ts (Common Mistakes)
- Miscounting Subsets: Forgotten that the empty set ∅ is a subset of every set.
- Mistaking ∈ vs ⊂:
- a∈{a,b} is True.
- {a}⊂{a,b} is True.
- {a}∈{a,b} is False.
- Onto Confusion: Thinking a function is onto just because it's defined. Always check if the Co-domain is fully covered.
✅ Do's
- Use Venn Diagrams: Always sketch logic for 3-set problems.
- Horizontal Line Test: Use it to check for Injectivity on graphs.
- Vertical Line Test: Use it to verify if a relation is even a function.
5. Mnemonics & Quick Recall
-
PIE (Principle of Inclusion-Exclusion): ∣A∪B∪C∣=(∣A∣+∣B∣+∣C∣)−(∣A∩B∣+∣B∩C∣+∣C∩A∣)+∣A∩B∩C∣ Think: Add all singles, Subtract all doubles, Add the triple.
-
Relation Acronym: RST
- Reflexive (Selfie)
- Symmetric (Mirror)
- Transitive (Bridge)
6. Representative Examples
Example: Set Cardinality
Question: If A={1,2,{3,4}}, find ∣P(A)∣.
Analysis:
- Elements of A are: 1, 2, and the set {3,4}.
- Count n=3.
- ∣P(A)∣=23=8.