Mathematics · Permutations and Combinations

JEE Advanced 2026 — Paper 2 — Question 22

Let N\mathbb{N} denote the set of all positive integers. Consider the sets A = {1, 2, 3, 4, 5} and B = {1, 2, 3, 4, 5, 6, 7}. Let S be the set of all functions f:A→Bf: A \rightarrow B such that f(2)≠2f(2) \neq 2 and f(4)≠4f(4) \neq 4. Consider the set T = {f∈Sf \in S : there exists a function g:B→Ng : B \rightarrow \mathbb{N} such that g(f(x))=2xg(f(x)) = 2^x for all x∈Ax \in A}. Then the number of elements in the set T is

Answer: 1860

Numerical answer — enter this value.

Step-by-step solution

As g(f(x))=2x∀x∈Ag(f(x)) = 2^x \quad \forall x \in \text{A}

so f(x)f(x) must be one-one function.

Total no. of functions =7C5×5!=2520= {}^{7}\text{C}_{5} \times 5! = 2520

Reqd. no. of functions == Total −(fn. with f(2)=2+fn. with f(4)=4)+(fn. with f(2)=2 & f(4)=4)- (\text{fn. with } f(2) = 2 + \text{fn. with } f(4) = 4) + (\text{fn. with } f(2) = 2 \ \& \ f(4) = 4)

=2520−(6C4×4!+6C4⋅4!)+5C2×3!= 2520 - \left({}^{6}\text{C}_{4} \times 4! + {}^{6}\text{C}_{4} \cdot 4!\right) + {}^{5}\text{C}_{2} \times 3! =2520−(360+360)+60= 2520 - (360 + 360) + 60 =1860 Ans.= 1860 \text{ Ans.}

Answer key and solution verified before publishing.

Practise Permutations and Combinations

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Advanced 2026
Paper
Paper 2
Subject
Mathematics
Chapter
Permutations and Combinations
Topic
Introduction