Injection, Surjection, Bijection
Context: FIT1058_MOC · classifies a function by how it maps to its codomain · controls when an Inverse Function exists · counted in Counting Functions
Quick Revision
- 🎯 Objective: restrict how a function maps to its codomain ➔ injective (distinct outputs), surjective (full coverage), bijective (both).
- 📦 Core Components: injective = lossless ➔ surjective = image=codomain ➔ bijective = permutation (finite).
- ⚡ Key Constraint: on a finite same-set map, injective ⟺ surjective ⟺ bijective (pigeonhole).
📝 Core
1. The Three Classifications
- Injective ➔ (one-to-one).
- Surjective ➔ ⟹ image = codomain.
- Bijective ➔ injective and surjective (perfect correspondence).
2. Lossless vs Lossy
- Injective = lossless ➔ each output traces to one input ➔ reversible (basis of Inverse Function, encryption).
- Non-injective = lossy ➔ sends ; output can’t recover input.
3. Domain Restriction
- ➔ injective on ; ➔ not, but injective on .
- Finite bijection ➔ a permutation (rearrangement).
Key identities:
⚖️ Core Decision Matrix
| Map | Injective? | Surjective? | Note |
|---|---|---|---|
| on | yes | no (odds skipped) | infinite breaks equivalence |
| no () | yes | — | |
| on | no | no | lossy |
| finite | inj ⟺ surj ⟺ bij | pigeonhole |
When It Flips: for finite , injective ⟺ surjective ⟺ bijective — no repeats among outputs fills all slots, and vice versa. Infinite sets have "room" to be one without the other.
📊 Exam Execution Trace
Applied Exercise
Problem: Classify on and the permutation . Derivation Proof / Hand-Calculation Walkthrough:
Final Extracted Output: (a) injective only; (b) bijective (permutation of a 3-set).
⚠️ Common Mistakes
- 💡 Surjectivity is codomain-relative ➔ the same rule can be onto a tight codomain but not a larger one; injective ⟹ inverse on the image, bijective ⟹ inverse on the whole codomain.
🧠 Active Recall
Give the formal definitions of injective and surjective, and explain "lossless" vs "lossy".
- Hint: Distinct outputs / full image.
Answer
- Short answer: Injective: ; surjective: image = codomain.
- Why: Recoverability ➔ injective outputs trace to unique inputs (lossless); loses the sign (lossy).
For a finite same-set function, why are the three notions equivalent, and why does this fail for infinite sets?
- Hint: Pigeonhole vs room.
Answer
- Short answer: With inputs into slots, no collision ⟺ all slots filled.
- Why: Infinite room ➔ on is injective but not surjective.