Bijective Functions (One-One and Onto)
On this page· 13 sections
Source & scope. Class 12 Mathematics, Chapter 1 Relations and Functions, Section 1.3 Types of Functions, Definition 7. Builds on: One-One (Injective) Functions, Onto (Surjective) Functions. Next: Invertible Functions and the Link to Bijectivity.
Source & scope. Class 12 Mathematics, Chapter 1 Relations and Functions, Section 1.3 Types of Functions, Definition 7. Builds on: One-One (Injective) Functions, Onto (Surjective) Functions. Next: Invertible Functions and the Link to Bijectivity.
A function f : X → Y is bijective if it is both one-one and onto — every element of X maps to a distinct element of Y (one-one), and every element of Y is hit by some element of X (onto). A bijective function is also called a bijection, and it is the exact condition NCERT uses to define when a function is invertible.
At a glance
- Definition 7: f is bijective if f is both one-one and onto simultaneously — neither property alone is enough.
- In NCERT's Fig 1.2, only f₄ is bijective; f₁ is one-one but not onto, f₂ and f₃ are many-one (f₃ is onto but not one-one).
- f(x) = 2x on R → R is bijective (one-one from Example 9's algebra, onto from Example 9's solving step) — but the same formula on N → N (Example 8) is only one-one, not onto, hence not bijective there.
- The piecewise function f(x) = x + 1 (x odd), x − 1 (x even) on N → N is bijective: proven one-one and onto using the identical case-split machinery.
- Bijectivity is the single property that matters most among the three, because it is exactly the condition required for a function to have an inverse.
Learning objectives
- State Definition 7 and recognise it requires both one-one and onto to hold at once.
- Combine an existing one-one proof and an existing onto proof into a single bijectivity conclusion.
- Identify the bijective function among several candidates using an arrow diagram.
- Explain, at a conceptual level, why bijectivity is the gateway property to invertibility.
Prerequisite knowledge
The reader must already understand one-one-ness (see One-One (Injective) Functions) and onto-ness (see Onto (Surjective) Functions) individually, since bijectivity is defined purely as their conjunction — nothing new is added to either definition.
Core explanation
Definition 7 — one-one AND onto
NCERT states: a function f : X → Y is said to be bijective if f is both one-one and onto. There is no separate algebraic test for bijectivity distinct from the two tests already learned — to prove f is bijective, a writer must simply present (or reference) a valid one-one proof and a valid onto proof for the same f, X, and Y, and conclude both hold together.
Reading bijectivity off an arrow diagram
Looking back at NCERT's Fig 1.2 with all four functions side by side:
- f₁ is one-one (no two arrows share a head) but not onto (two elements of Y receive no arrow) — not bijective.
- f₂ and f₃ are many-one (at least one shared arrowhead) — not bijective, regardless of their onto status.
- f₄ is one-one (no shared arrowheads) and onto (every element of Y has an incoming arrow) — f₄ is the only bijective function among the four.
This single comparison is the cleanest way to see why bijectivity is the strictest and rarest of the four classifications (one-one-only, many-one-only, onto-only, bijective) — a function must simultaneously avoid every many-one pair and leave no codomain element uncovered.
Example 9 — f : R → R, f(x) = 2x is bijective
This function was already shown one-one in the one-one article (assume f(x₁) = f(x₂), i.e. 2x₁ = 2x₂, so x₁ = x₂) and onto in the onto article (for any y ∈ R, x = y/2 ∈ R satisfies f(x) = y). Since both properties hold for the same f : R → R, f(x) = 2x is bijective on R.
It is essential to contrast this with the same formula restricted to N → N (Example 8): there, f(x) = 2x is still one-one (the algebra x₁ = x₂ is unchanged), but it is not onto (odd naturals have no preimage), so it is not bijective on N → N. Bijectivity, like onto-ness, genuinely depends on the stated domain and codomain, not the formula alone.
Example 12 — the piecewise N → N function is bijective
Recall f : N → N defined by f(x) = x + 1 if x is odd, and f(x) = x − 1 if x is even. The one-one article proved this one-one via a three-case split (odd-odd, even-even, mixed), and the onto article (reasoning analogous to Example 10) can similarly show every y ∈ N has a preimage: if y is odd, take x = y + 1 (even, and f(y+1) = (y+1) − 1 = y); if y is even, take x = y − 1 (odd, and f(y−1) = (y−1) + 1 = y, provided y − 1 ∈ N, i.e. y ≥ 2, which holds since y is a positive even number). Since every y ∈ N has such a preimage, f is onto as well as one-one — so f is bijective on N.
What this bijection actually does. The rule pairs up consecutive odd/even numbers and swaps each pair: 1 ↔ 2 (f(1) = 2, f(2) = 1), 3 ↔ 4 (f(3) = 4, f(4) = 3), 5 ↔ 6, and so on. Every natural number belongs to exactly one such pair, and the function simply exchanges the two members of its pair. This pairing structure is why the function manages to be both one-one (no two different pairs can collide, and within a pair the swap is self-inverse-like) and onto (every number is itself the partner of some other number, so it is always reached) — a visibly bijective construction once seen as pairing rather than as a raw piecewise formula.
Why bijectivity matters most
Among one-one, onto, and bijective, bijectivity is the property that matters most for what comes next in the chapter: a function has an inverse function f⁻¹ : Y → X if and only if f is bijective. One-one alone is not enough (if f is not onto, some y ∈ Y would have no x to send it back to); onto alone is not enough (if f is many-one, some y would have two or more candidate preimages, and an inverse must assign exactly one). Only when both conditions hold together does the rule "send y back to the unique x with f(x) = y" become a genuine, well-defined function. This forward connection is explored fully in Invertible Functions and the Link to Bijectivity.
Key terms
- Bijective function (bijection) — a function that is both one-one and onto.
- Invertible function — a function possessing an inverse; a function is invertible if and only if it is bijective (forward reference, proved in the sibling article).
- Pairing/swap structure — a way of visualising certain bijections (like Example 12) as exchanging elements in matched pairs that exhaust the whole set.
Diagram / figure guidance
Redraw NCERT's Fig 1.2 as a 2×2 comparison grid: f₁ labelled "one-one, not onto"; f₂ and f₃ labelled "many-one"; f₄ labelled "one-one AND onto — bijective" with every arrow in f₄'s diagram drawn as a clean one-to-one pairing between X and Y with no element of either set left unmatched.
Worked example
Show that f : R → R defined by f(x) = 4x − 9 is bijective.
One-one. Assume f(x₁) = f(x₂): 4x₁ − 9 = 4x₂ − 9 ⟹ 4x₁ = 4x₂ ⟹ x₁ = x₂. So f is one-one.
Onto. Let y ∈ R be arbitrary. Solve 4x − 9 = y for x: x = (y + 9)/4, which is a real number for every real y, so x ∈ R is a valid preimage. So f is onto.
Conclusion. Since f is both one-one and onto, f(x) = 4x − 9 is bijective on R.
Common misconceptions
- "Showing a function is one-one is enough to call it bijective." No — bijective requires onto as well; f : N → N, f(x) = 2x is one-one but not onto, hence not bijective.
- "Bijectivity needs a brand-new, separate proof technique." It does not — it is proved by combining an ordinary one-one proof and an ordinary onto proof for the same f, X, Y; no new algebra is introduced.
- "A formula that is bijective on one pair of sets is bijective on any domain/codomain." False — f(x) = 2x is bijective on R → R but not even onto (let alone bijective) on N → N; always check the stated sets.
- "Every invertible-looking formula is automatically bijective." Bijectivity must be verified, not assumed from appearance — a formula can look "reversible" informally while still failing onto-ness or one-one-ness on the stated sets.
Exam application (JEE)
JEE frequently asks students to classify a function as one-one/many-one/onto/into (not onto)/bijective, and bijectivity questions are often the final, hardest tier because they demand both proofs at once. A very common JEE pattern is then to ask for the inverse of a bijective function immediately after establishing bijectivity — so recognising bijectivity quickly (often via the one-one algebra plus the "solve for x" onto step, both of which are usually short for linear and many standard functions) is a gateway skill for the next article's inverse-finding techniques.
Frequently asked questions
- What is a bijective function? A bijective function is a function that is both one-one (injective) and onto (surjective) at the same time — every element of the domain maps to a distinct element of the codomain, and every element of the codomain is covered.
- Is f(x) = 2x bijective? It depends on the domain and codomain: f(x) = 2x is bijective on R → R (both one-one and onto there) but not bijective on N → N (one-one but not onto, since odd naturals are missed).
- How do you prove a function is bijective? Prove it is one-one (assume f(x₁) = f(x₂) and derive x₁ = x₂) and separately prove it is onto (take an arbitrary y in the codomain and exhibit an x in the domain with f(x) = y); if both proofs succeed, the function is bijective.
- Why does bijectivity matter so much? Because a function has an inverse function if and only if it is bijective — bijectivity is the exact gate condition for invertibility, covered in the dedicated article on invertible functions.
- Which function in NCERT's Fig 1.2 is bijective? Only f₄ — f₁ is one-one but not onto, and f₂ and f₃ are many-one, so f₄ is the sole function in that figure that is both one-one and onto.
Practice questions (original practice questions)
- f : R → R, f(x) = 7x + 1. Is f bijective?
- (a) No
- (b) Yes
- (c) Only one-one
- (d) Only onto
- Answer: (b) — The algebra 7x₁+1 = 7x₂+1 ⟹ x₁=x₂ gives one-one; solving y = 7x+1 gives x = (y−1)/7 ∈ R for any y, giving onto. Both hold, so bijective.
- f : N → N, f(x) = x + 2. Is f bijective?
- (a) Yes
- (b) No, since 1 and 2 in the codomain have no preimage in N
- (c) No, since f is many-one
- (d) Cannot be determined
- Answer: (b) — f is one-one but not onto (y=1 needs x=−1 ∉ N), so it fails bijectivity despite being one-one.
- Which combination of properties makes a function bijective?
- (a) One-one only
- (b) Onto only
- (c) Many-one and onto
- (d) One-one and onto
- Answer: (d) — This is precisely Definition 7.
- f : R → R, f(x) = x³. Is f bijective?
- (a) Yes
- (b) No, many-one
- (c) No, not onto
- (d) Cannot be determined
- Answer: (a) — f(x)=x³ is one-one (x₁³=x₂³ ⟹ x₁=x₂ over R) and onto (any real y has cube root x=y^(1/3) ∈ R), so it is bijective.
- If f : X → Y is bijective and X has 5 elements while Y has 6 elements, this situation is:
- (a) perfectly possible
- (b) impossible, since a bijection between finite sets requires equal cardinality
- (c) possible only if f is many-one
- (d) possible only if f is not onto
- Answer: (b) — A bijection pairs every element of X with a distinct element of Y and leaves none of Y uncovered, which forces |X| = |Y| for finite sets.
Quick revision
- Bijective = one-one AND onto, simultaneously — Definition 7.
- In Fig 1.2, only f₄ is bijective.
- f(x) = 2x: bijective on R → R, but only one-one (not onto, not bijective) on N → N — domain/codomain matters.
- The piecewise N → N function from Example 12 is bijective via a pairing/swap structure.
- Bijectivity is exactly the condition for a function to be invertible.
- Finite bijections require equal set sizes on both sides.
Related articles
- Builds on: One-One (Injective) Functions, Onto (Surjective) Functions
- See also: Many-One Functions
- See also: One-One and Onto Are Equivalent for Functions on a Finite Set
- Next: Invertible Functions and the Link to Bijectivity
- See also: Finding the Inverse of an Invertible Function
- Related topics: Composition of Functions (gof), Composition of Functions Is Not Commutative (gof ≠ fog), Counting Relations on a Finite Set with Given Properties, Empty Relation on a Set, Equivalence Classes and Partition of a Set, Equivalence Relation — Definition and How to Prove One