Week 1: Functions and Sets
859 words
4 min read
View
Week 1: Functions, Sets, and Relations
Course: Jan 2026 - Mathematics I Difficulty: Foundational Focus: Set notation, relation properties, function behavior, and quick proof habits.
1. Set Theory Fundamentals
A set is a well-defined collection of distinct objects.
1.1 Core symbols
- Union A∪B: in A or B or both.
- Intersection A∩B: in both A and B.
- Difference A−B: in A but not in B.
- Complement A′: everything in the universe U but not in A.
1.2 De Morgan's Laws
- (A∪B)′=A′∩B′
- (A∩B)′=A′∪B′
If you see a complement outside a union/intersection, flip the operator and complement each piece.
1.3 Common traps
- Do not confuse ∈ with ⊆.
- The empty set is a subset of every set.
- A set can contain another set as an element.
2. Cartesian Product and Relations
A relation from A to B is any subset of A×B.
For a relation R on a set A:
- Reflexive: (a,a)∈R for every a∈A
- Symmetric: (a,b)∈R⇒(b,a)∈R
- Transitive: (a,b)∈R and (b,c)∈R⇒(a,c)∈R
An equivalence relation must be reflexive, symmetric, and transitive together.
3. Functions
A function f:A→B assigns exactly one output in B to each input in A.
- Domain: where inputs come from
- Codomain: declared target set
- Range: actual outputs produced
- Injective: different inputs never share the same output
- Surjective: every codomain element is hit
- Bijective: both injective and surjective
2. Pattern A — Show a function is bijective
What to recognize: A question asking to prove or disprove a mapping is one-to-one or onto.
Abstract Solution (Strategy)
- [Key concept]: To prove bijection, you must prove injectivity and surjectivity independently.
- [Formula to use]: f(x1)=f(x2)⇒x1=x2 (Injectivity). For any y, ∃x,f(x)=y (Surjectivity).
- [Watch for]: Forgetting the horizontal line test or incorrectly handling y=x2 style mapping in domains over all Reals.
Procedure
- Step 1: Write down the assumption f(x1)=f(x2) and algebraically solve down to x1=x2.
- Step 2: Write y=f(x), solve for x in terms of y. Check if the resulting x is always within the given Domain.
- Step 3: Conclude bijection if both hold.
Worked Example:
Question: Prove f(x)=2x+3 from R to R is bijective.
- Step 1: Injectivity. Let 2x1+3=2x2+3, thus 2x1=2x2⇒x1=x2.
- Step 2: Surjectivity. Let y=2x+3⇒x=2y−3. For any Real y, x is Real.
- Answer: Yes, f(x) is bijective.
3. Pattern B — Evaluate relations on a Set
What to recognize: A question asking whether relation R is reflexive, symmetric, or transitive.
Abstract Solution (Strategy)
- [Key concept]: Break the relation definition down into conditions on x and y.
- [Formula to use]: Reflexive (xRx), Symmetric (xRy⇒yRx), Transitive (xRy,yRz⇒xRz).
- [Watch for]: Vacuous truth when testing properties or incorrectly mapping y=x2 when symmetry is asked.
Procedure
- Step 1: Test (x,x) for reflexivity.
- Step 2: Swap x and y and test symmetry constraint.
- Step 3: Plug into transitive property.
- Answer: Output the set of valid properties.
Worked Example:
Question: Is R={(1,1),(1,2),(3,1)} a function on {1,2,3}?
- Step 1: An input can only produce one independent output.
- Step 2: Look at input 1: It produces 1 and 2.
- Answer: No.
4. Common Mistakes
| Mistake | Why it happens | Correct approach |
|---|---|---|
| Thinking an Empty Set is not a subset | Misunderstanding the definition of a subset and vacuous truth | The empty set is a subset of every set by default |
| Confusing ∈ with ⊆ | Element vs Subset definitions | Elements belong to sets (∈). Subsets contain elements (⊆). |
| Assuming onto for quadratic functions mapping to R | Assuming the range is the same as the codomain | Find the range explicitly. x2≥0, so negative reals in the codomain are missed. |
5. Flashcards
<Flashcard front="What is the one-line test for a function?" back="Each input must have exactly one output." /> <Flashcard front="When is a function invertible?" back="When it is bijective." /> <Flashcard front="What does De Morgan's law do?" back="It swaps union/intersection under complement." />6. Practice Matrix
- Prove or disprove bijection for a linear map.
- Classify a relation as reflexive, symmetric, transitive, or none.
- Expand a 2-set or 3-set expression using De Morgan's laws.
7. Quick Recall
- Relation = subset of a Cartesian product.
- Function = relation with one output per input.
- Bijection = perfect matching between domain and codomain.