Question
is a function from to , is a function from to , and their composition defined as is a mapping from to .
If and are onto (surjective) functions, which ONE of the following is TRUE about the function ?
Official answer and solution
- Official answer
- D
- From
- Official GATE 2025 answer key
Solution
Test whether and being surjective forces to be injective or surjective using a small counterexample.
When is onto, is guaranteed to be onto, but does not need to be either one-to-one or onto.
Counterexample: Let , , and . Define:
Here both and map onto , yet is neither one-to-one () nor onto ( has no preimage). Thus is not required to be a one-to-one or onto function.
Option (D)
Confusing the theorem ' onto onto' with ' onto onto'.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2025 Computer Science and Information Technology - Session 1 (CS1)
- Question
- 17 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.