Question
How do we classify a function as injective (one-one), surjective (onto), or bijective? Given defined by , determine its type.
(CBSE 11/12 + JEE Main — theory + application)
Solution — Step by Step
| Type | Also called | Condition | Venn diagram idea |
|---|---|---|---|
| Injective | One-one | Different inputs give different outputs: | No two arrows land on the same element in codomain |
| Surjective | Onto | Every element in codomain is hit: for every , there exists such that | Every element in codomain has at least one arrow |
| Bijective | One-one and onto | Both injective AND surjective | Perfect pairing — each element maps to exactly one |
Assume :
Since forces , the function is injective (one-one).
For any , we need to find such that :
Since for every , every element in the codomain is achieved. The function is surjective (onto).
Since is both injective and surjective, it is bijective.
A bijective function has an inverse: .
flowchart TD
A["Given function f: A → B"] --> B["Test Injective: Does f(a)=f(b) imply a=b?"]
B -- Yes --> C["Function is One-One"]
B -- No --> D["Function is Many-One"]
A --> E["Test Surjective: Is range = codomain?"]
E -- Yes --> F["Function is Onto"]
E -- No --> G["Function is Into"]
C --> H{"Both One-One AND Onto?"}
F --> H
D --> I["Not Bijective"]
G --> I
H -- Yes --> J["BIJECTIVE — inverse exists"]
H -- No --> K["One-One but not Onto, or vice versa"]
Why This Works
Injectivity ensures no information is lost — every output traces back to a unique input. Surjectivity ensures nothing in the codomain is “wasted” — every element gets mapped to. Together (bijection), they guarantee a perfect one-to-one correspondence, which is exactly when an inverse function exists.
For , it is a straight line with non-zero slope. Geometrically, any horizontal line cuts the graph at exactly one point (injective), and the line extends infinitely in both directions covering all of (surjective).
Alternative Method
Horizontal Line Test (graphical method):
- If every horizontal line intersects the graph at most once, the function is injective.
- If every horizontal line intersects the graph at least once, the function is surjective.
- If every horizontal line intersects exactly once, it is bijective.
For JEE Main, pay close attention to the domain and codomain. The function is NOT injective from (since ), but it IS injective from . The classification depends on the sets, not just the formula.
Common Mistake
Students confuse “range” with “codomain.” A function is surjective when range = codomain. For given by , the range is which is NOT all of . So it is NOT surjective. But if we redefine the codomain as , then the same formula becomes surjective. Always check what codomain is given in the question.