- 1. What is a relation, really?
- 2. Types of relations: empty, universal, reflexive, symmetric, transitive
- 3. When is a relation an equivalence relation?
- 4. Sorting a set into boxes: equivalence classes
- 5. How many relations? Counting with pairs
- 6. Different inputs, different outputs: one-one (injective) functions
- 7. Is every output used? Onto (surjective) functions
- 8. Both at once: bijective functions, and the finite vs infinite surprise
- 9. How many functions? Counting maps between finite sets
- 10. One function after another: composition of functions
- 11. Running a function backwards: invertible functions
- Review
8 of 11·NCERT §1.3·5 min
Both at once: bijective functions, and the finite vs infinite surprise
The big ideaA bijective function is both one-one and onto, a perfect pairing of domain and co-domain; for a finite set mapped to itself, one-one and onto always come together, but for infinite sets like \( \mathbf{N} \) they can come apart.
In simple words
A perfect cinema show: every person has a seat, no two people share a seat, and no seat is empty. People and seats are matched one to one. In a small hall, if nobody shares a seat, the hall must be full. But in a hall with endless seats, strange things happen: you can seat everyone with no sharing and still leave seats empty.
One-one and onto: bijective
A function f : X → Y is bijective (or one-one and onto, or a bijection) if it is both one-one and onto. In an arrow diagram, every point on the right receives exactly one arrow. On a graph of a real function, every horizontal line in the co-domain cuts it exactly once.
| Function | One-one? | Onto? | Type |
|---|---|---|---|
| f : \( \mathbf{R} \to \mathbf{R} \), 3x − 5 | Yes | Yes | bijective |
| f : \( \mathbf{R} \to \mathbf{R} \), x³ | Yes | Yes | bijective |
| f : [0, ∞) → [0, ∞), x² | Yes | Yes | bijective |
| f : \( \mathbf{N} \to \mathbf{N} \), x + 1 | Yes | No (1 missed) | one-one, into |
| f : \( \mathbf{R} \to [0, \infty) \), x² | No | Yes | many-one, onto |
| f : \( \mathbf{R} \to \mathbf{R} \), x² | No | No | neither |
| f : \( \mathbf{R} \to \mathbf{R} \), |x| | No | No | neither |
| f : \( \mathbf{R} - \{0\} \to \mathbf{R} - \{0\} \), 1/x | Yes | Yes | bijective |
To prove f is bijective, do both proofs: the "equal outputs give equal inputs" argument for one-one and the "solve for x" argument for onto.
On a finite set, one-one and onto go together
Take f : {1, 2, 3} → {1, 2, 3}.
- If f is one-one, the three inputs go to three different outputs. But there are only three outputs, so all of them are used: f is onto.
- If f is onto, the three outputs are all used by just three inputs, so no two inputs can share: f is one-one.
The same holds for any finite set X: a function f : X → X is one-one if and only if it is onto. More generally, if X and Y are finite with the same number of elements, f : X → Y is one-one exactly when it is onto.
Try it: guess first, then try to break the rule by rewiring the arrows.
Guess first: can a function on \( \mathbf{N} \) be one-one but not onto?
You just saw that on {1, 2, 3}, one-one forces onto. Guess: does the same happen on \( \mathbf{N} \) = {1, 2, 3, …}?
See what happens
Try it: guess first, then run the move in the endless hotel and in one with N rooms.
A bijection that surprises
Here is a bijection that pairs off the natural numbers with all the integers: send 1, 2, 3, 4, 5, 6, 7, … to 0, 1, −1, 2, −2, 3, −3, …. In formula form, f(n) = n/2 when n is even and f(n) = −(n − 1)/2 when n is odd. Every integer is hit exactly once. So in this precise sense \( \mathbf{Z} \), which looks "twice as big", has the same number of elements as \( \mathbf{N} \).
Adding bijections can spoil them
f(x) = x and g(x) = −x are both bijections from \( \mathbf{R} \) to \( \mathbf{R} \). But (f + g)(x) = x + (−x) = 0 for every x, a constant function, which is neither one-one nor onto. So the sum of one-one functions need not be one-one, and the sum of onto functions need not be onto.
Remember
- Bijective = one-one + onto: every output hit exactly once.
- For a finite set X, f : X → X is one-one if and only if it is onto.
- For infinite sets this fails: n + 1 on \( \mathbf{N} \) is one-one but not onto.
- Sums of one-one (or onto) functions need not be one-one (or onto).
Try it. Decide the type of f : \( \mathbf{R} \to \mathbf{R} \), f(x) = 7 − 2x.
Answer
- Bijective (bijection)
- One-one and onto: a perfect one-to-one pairing.
- Finite set
- A set you can finish counting.
- Infinite set
- A set that never runs out, like \( \mathbf{N} \).
- \( \lceil x \rceil \)
- x rounded up to the nearest integer.
Words to know
f : {a, b, c, d} → {a, b, c, d} is onto. What else must be true?
- f is one-one
- f may be many-one
- f(x) = x for every x
f : \( \mathbf{N} \to \mathbf{N} \), f(n) = 3n. Which is correct?
- f is bijective, because it is one-one
- f is one-one but not onto
- f is onto but not one-one
Which function from \( \mathbf{R} \) to \( \mathbf{R} \) is bijective?
- f(x) = x⁴
- f(x) = 5x + 2
- f(x) = [x]
Picture and video credits