Mathematics · Functions
JEE Main 2026 — 23 January, Evening Shift — Question 5
Consider two sets and . Then the number of onto functions is equal to:
- Option A:Correct
- Option B:
- Option C:
- Option D:
Answer: A
Step-by-step solution
Let . Then
So,
Hence
Thus,
The product equals zero when any factor is zero (keeping domain restrictions in mind).
-
But is excluded, so .
-
-
(excluded)
Hence,
So,
Number of onto functions
Number of surjections from a set of size onto a set of size is
(Subtract the two constant functions.)
Answer key and solution verified before publishing.
Practise Functions
Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.
- Exam
- JEE Main 2026
- Subject
- Mathematics
- Chapter
- Functions
- Topic
- One-One, many-one, onto, into, bijective functions