JEE Prep Master

Reading mode

Text size

JEE Main 23 January 2026 Shift 2: Mathematics Question 17

Sets and RelationsSingle correct option+4 / −1

Consider two sets A={x∈ZA = \{x \in Z : ∣(∣x−3∣−3)∣≤1}|(|x - 3| - 3)| \le 1\} and
B={x∈R−{1B = \{x \in R - \{1, 2}2\} : [(x−2)(x−4)(x−1)]log⁡e(∣x(x - 2)\frac{(x - 4)}{(x - 1)}] {\log }_{e}(|x −2∣)=0}- 2|) = 0\}. Then the number of onto functions ff : A →B\to B is equal to

Show answer and solution

Correct answer: Option 2

The condition for A is 2≤∣x−3∣≤42 \le |x - 3| \le 4. The integer solutions are −1-1, 00, 11, 55, 66 and 77, so ∣|A∣=6| = 6.

For BB, the factor x−4x - 4 gives x=4x = 4. The logarithm vanishes when ∣x−2∣=1|x - 2| = 1, giving x=1x = 1 or 33, but 11 is excluded. The potential zero x=2x = 2 is also excluded because the logarithm is undefined. Hence B={3B = \{3, 4}4\}.

There are 26{2}^{6} 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 64−2=6264 - 2 = 62, option 22.

More Sets and Relations questions

All 32 Sets and Relations questions