Q.Consider the identity function defined as . Show that although is onto but defined as is not onto.
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →The identity function on is onto because every natural number is its own image, but the function misses all odd numbers, so it is not onto — this shows that the sum of two onto functions need not be onto.
The key idea here is that "onto" (surjectivity) is a property of the range of a function, not just a property of the individual functions being added. When you add two functions, the outputs combine in a way that can skip values, even if each original function covered everything.
Let’s unpack this carefully.
-
What does being onto mean?
A function is onto if every element of is the image of at least one element of . For , the codomain is and the range is also — every natural number is hit by . So is onto. No surprises here.
-
Now define .
This is a new function from to . The codomain is still all natural numbers, but the outputs are only the even numbers: .
-
Why is not onto?
Take any odd natural number, say . Is there any such that ? No, because is not a natural number. In fact, no odd number appears in the range of . Since the codomain contains odd numbers, misses them — so it’s not onto.
A common mistake is to think: "If is onto, then should also be onto." That’s false. Onto-ness is about covering the entire codomain, and adding functions can restrict the set of outputs. Here, covers everything, but only covers evens. …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.