Quantrex Quantrex AcademyJEE · NEET · NDA PYQs with solutions Open app
JEE Advanced 2026Paper 2
Exam
JEE Advanced
Year
2026
Paper
Paper 2
Subject
Mathematics
Chapter
Functions

JEE Advanced 2026 · Paper 2 · Mathematics · Functions

Let ℕ denote the set of all positive integers. Consider the sets A...

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}A = \{1, 2, 3, 4, 5\} \text{ and }B = \{1, 2, 3, 4, 5, 6, 7\}.
Let SS 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∈S:there exists a function g:B→N such that g(f(x))=2x for all x∈A}T = \{f \in S : \text{there exists a function } g : B \rightarrow \mathbb{N} \text{ such that } g(f(x)) = 2^x \text{ for all } x \in A\}.
Then the number of elements in the set TT is ___________.

Correct answer

0

Step-by-step solution

The condition g(f(x))=2xg(f(x)) = 2^x for all x∈Ax \in A implies that if f(x1)=f(x2)f(x_1) = f(x_2), then g(f(x1))=g(f(x2))g(f(x_1)) = g(f(x_2)), which gives 2x1=2x2⇒x1=x22^{x_1} = 2^{x_2} \Rightarrow x_1 = x_2.

Thus, ff must be an injective (one-to-one) function. Conversely, if ff is injective, such a function gg can always be constructed. Therefore, TT is the set of all injective functions f:A→Bf: A \rightarrow B such that f(2)≠2f(2) \neq 2 and f(4)≠4f(4) \neq 4.

The total number of injective functions from AA to BB is 7P5=7×6×5×4×3=2520^{7}P_{5} = 7 \times 6 \times 5 \times 4 \times 3 = 2520.

Let E2E_2 be the set of injective functions where f(2)=2f(2) = 2. The number of such functions is 6P4=6×5×4×3=360^{6}P_{4} = 6 \times 5 \times 4 \times 3 = 360.

Let E4E_4 be the set of injective functions where f(4)=4f(4) = 4. The number of such functions is 6P4=360^{6}P_{4} = 360.

Let E2∩E4E_2 \cap E_4 be the set of injective functions where both f(2)=2f(2) = 2 and f(4)=4f(4) = 4. The number of such functions is 5P3=5×4×3=60^{5}P_{3} = 5 \times 4 \times 3 = 60.

Using the Principle of Inclusion-Exclusion, the number of injective functions where f(2)=2f(2) = 2 or f(4)=4f(4) = 4 is:

∣E2∪E4∣=∣E2∣+∣E4∣−∣E2∩E4∣=360+360−60=660|E_2 \cup E_4| = |E_2| + |E_4| - |E_2 \cap E_4| = 360 + 360 - 60 = 660

The number of elements in the set TT is the number of injective functions where f(2)≠2f(2) \neq 2 and f(4)≠4f(4) \neq 4, which is:

∣T∣=2520−660=1860|T| = 2520 - 660 = 1860

Answer: 18601860
Practice Functions on Quantrex Academy →

More from Functions

Let f:(1,∞)→ℝ be a function defined as f(x) = (x-1)/(x+1) . Let f^ i+1 (x) = f(f^i(x))… JEE Main 2026Let f be a polynomial function such that _2(f(x)) = ( _2(2+(2)/(3)+(2)/(9)+…∞))·… JEE Main 2026Let f: ℝ arrow ℝ be defined as f(x) = (2x^2 - 3x + 2)/(3x^2 + x + 3) . Then f is : JEE Main 2026Let e be the base of natural logarithm and let f: \ 1, 2, 3, 4\ arrow \ 1, e, e^2, e^3\… JEE Main 2026Let f: R arrow R be a function such that f(x) + 3f((π)/(2) - x) = x , x ∈ R . Let the… JEE Main 2026The sum of all the integral values of p such that the equation 3 ^2 x + 12 x - 3 = p , x… JEE Main 2026Let A = \ 1, 2, 3, 4, 5, 6\ . The number of one-one functions f: A arrow A such that f(1)… JEE Main 2026For the function f:[1,∞) arrow [1,∞) defined by f(x)=(x-1)^4+1 , among the two… JEE Main 2026Let for some α ∈ ℝ , f:ℝarrowℝ be a function satisfying f(x+y)=f(x)+2y^2+y+α xy for all… JEE Main 2026Let [·] denote the greatest integer function. If the domain of the function f(x) = ^ -1… JEE Main 2026The number of functions f: \ 1, 2, 3, 4\ arrow \ a, b, c\ , which are not onto, is: JEE Main 2026If the domain of the function f(x) = _ (0.6) (|(2x-5)/(x^2-4)|) is (-∞, a] \ b\ [c, d)… JEE Main 2026Given below are two statements: Statement I: The function f: R arrow R defined by… JEE Main 2026The sum of all the elements in the range of f(x)=Sgn( x)+Sgn( x)+Sgn( x)+Sgn( x) , x ≠ n… JEE Main 2026If g(x)=3 x^ 2 +2 x-3, f(0)=-3 and 4 g(f(x))=3 x^ 2 -32 x+72 , then f(g(2)) is equal to: JEE Main 2026Let f be a function such that 3 f(x)+2 f((m)/(19 x))=5 x, x ≠ 0 , where m=∑_ i=1 ^ 9 (i)^… JEE Main 2026 Full Functions list Functions JEE Maths PYQsJEE Mathematics PYQs All JEE Advanced PYQs