Loading…
Loading…
Charting your lesson…
Opening your lesson…
Functions and types
Lesson 3 of 3
One-one, onto, composition, inverse.
7 steps•about 13 min•12 flashcards
Step 1/ 71 min
Functions are the language in which all of higher mathematics is written, and three properties — one-one, onto, and invertible — are the gatekeepers that decide what a function can do and whether you can undo it. Mastering these three concepts unlocks inverse trigonometric functions, logarithms, and the entire theory of equations.
Definition: Function — a rule f: A → B that assigns each element of the domain A to exactly one element of the codomain B. The set of outputs actually produced is the range (or image), which is a subset of B (range ⊆ B).
Step 3/ 71 min
A function f: A → B is onto (surjective) if every element of B is the image of at least one element of A — equivalently, the range equals the entire codomain.
Formal test: For every b ∈ B, there exists at least one a ∈ A such that f(a) = b.
Crucially, being onto depends on how the codomain is declared, not just the rule.
| Function | Codomain | Onto? | Reason |
|---|---|---|---|
| f(x) = x² | ℝ | No | Negative numbers never appear in output |
| f(x) = x² | [0, ∞) | Yes | Every non-negative real is a square |
| f(x) = x³ | ℝ | Yes | Every real number is the cube of some real (its cube root) |
| f(x) = sin x | ℝ | No | Range is [−1, 1], not all of ℝ |
| f(x) = sin x | [−1, 1] | Yes | Range exactly equals codomain |
This is why declaring the codomain carefully is mathematically important, not a technicality.
Step 4/ 71 min
A function is a bijection (one-one and onto) if it is simultaneously injective and surjective. Only bijections have well-defined inverse functions.
Intuition: a bijection is a perfect pairing — every input matches one output, and every output matches one input. Like seats in an exam hall where exactly one student per seat and every seat is occupied — you can uniquely reverse the assignment.
Finding the inverse:
Question: Find the inverse of f(x) = 3x + 5, f: ℝ → ℝ.
Solution:
Step 1: Write y = 3x + 5.
Step 2: Solve for x: 3x = y − 5 → x = (y − 5)/3.
Step 3: Rename: f⁻¹(x) = (x − 5)/3.
Conclusion: f⁻¹(x) = (x − 5)/3. Check: f⁻¹(f(x)) = f⁻¹(3x + 5) = (3x + 5 − 5)/3 = x ✓.
Question: Is f: ℝ → ℝ, f(x) = x² invertible? If not, how to make it so?
Solution:
Step 1: f is not one-one on ℝ (f(2) = f(−2)), so it is not a bijection.
Step 2: Restrict domain to [0, ∞) — now f is one-one; also redefine codomain as [0, ∞) — now f is onto.
Step 3: On [0, ∞) → [0, ∞), f(x) = x² is a bijection; its inverse is f⁻¹(x) = √x.
Conclusion: You must restrict the domain (and match the codomain) to recover invertibility.
Step 5/ 71 min
Composition chains two functions: (g ∘ f)(x) = g(f(x)) — apply f first, then g to the result.
Composition is associative: h ∘ (g ∘ f) = (h ∘ g) ∘ f.
Composition is generally not commutative: g ∘ f ≠ f ∘ g in most cases.
Example: f(x) = x + 1, g(x) = x².
(g ∘ f)(x) = g(x + 1) = (x + 1)² = x² + 2x + 1.
(f ∘ g)(x) = f(x²) = x² + 1.
These are different, confirming non-commutativity.
Defining property of the inverse:
(f⁻¹ ∘ f)(x) = x for all x in the domain of f.
(f ∘ f⁻¹)(x) = x for all x in the domain of f⁻¹.
This means composing a bijection with its inverse always returns the input — the identity function.
Step 6/ 72 min
If |A| = m and |B| = n:
Why it matters: Invertibility is what lets us "undo" operations — solving equations, decrypting messages, reversing geometric transformations, and computing inverse trigonometric or logarithmic values all depend on finding or creating a bijection. Whenever you write y = sin⁻¹ x, you are using a deliberately restricted domain [−π/2, π/2] that turns the non-injective sine into a bijection.
Real-world example: Think of a function as the PIN-to-account mapping in a banking system. One-one means no two accounts share the same PIN (security!). Onto means every PIN in the system is assigned to some account (no wasted PINs). If both hold, the bank can uniquely reverse the query — given a PIN, find exactly one account — which is the inverse function. If two accounts share a PIN (not one-one), the reverse lookup fails.
Common misconception: "Every function has an inverse — just swap x and y." Swapping always produces a relation, but it is a function only when the original is a bijection. For f(x) = x² on ℝ, swapping gives x = y² → y = ±√x, which returns two values for x > 0 — violating the definition of a function. You must restrict the domain first.
"One-one = no doubling; Onto = no missing; Both = bijection = undo-able" — remember the logic chain: inject means you never double-map, surject means you never miss, and bijection means you can always reverse.
Step 7/ 7· Worked examples1 min
Problem
Let f(x) = (x − 1)/(x + 2), defined for real x ≠ −2. (a) Show that f is one-one. (b) Find its inverse function and state the value excluded from the range.
Try it on paper first.
Recall
Keep this
Usage: to count functions choose the right formula by whether injective/onto is required.
Functions are the backbone of calculus, and in JEE Main they yield 1–2 questions (~4–8 marks) on their own, plus they underpin every limit, derivative, and integral. High-yield sub-topics: counting injective/surjective functions, domain & range, even/odd/periodic classification, and inverses/composition.
| Type | Count |
|---|---|
| All functions | nᵐ |
| Injective (n ≥ m) | ⁿPₘ = n!/(n−m)! |
| Surjective | Σ (−1)ʳ ⁿCᵣ (n−r)ᵐ |
| Bijective (m = n) | n! |
Expect one counting problem (injections/surjections/bijections) and/or one domain–range or even–odd–periodic identification. Difficulty medium; the surjection formula and codomain-vs-range distinction are the usual stumbling blocks.
nᵐ functions, ⁿPₘ injections, n! bijections, inclusion–exclusion for surjections. Invertible ⇔ bijective; (f∘g)⁻¹=g⁻¹∘f⁻¹. Check domains for √/log/denominators, and never confuse image with codomain.
You've read 0 of 7 steps
Now lock it in — questions straight after reading are what make it stick.