JEE Main 23 January 2026 Shift 2: Mathematics Question 17
Consider two sets : and
, : [ . Then the number of onto functions : A is equal to
Show answer and solution
Correct answer: Option 2
The condition for A is . The integer solutions are , , , , and , so A.
For , the factor gives . The logarithm vanishes when , giving or , but is excluded. The potential zero is also excluded because the logarithm is undefined. Hence , .
There are functions from a six-element set to a two-element set. Exactly two are not onto, namely the constant functions. Thus the number of onto functions is , option .
