Let denote the set of all positive integers. Consider the sets
Let be the set of all functions such that and . Consider the set
Then the number of elements in the set is ________.
JEE Advanced 2026MathematicsNumerical+4
JEE Advanced 2026 Maths Q10: Types of functions
From the JEE Advanced 2026 · Paper 2 paper. Try it, check your answer, then read the worked solution below.
Answer and worked solution
Try it yourself first, then check your working against this.
Official answer1860
Worked solution
Condition on . If then , so : must be one-one. Conversely, for one-one define by (and anything in elsewhere). So is the set of one-one with , .
Count by inclusion-exclusion:
- all one-one maps : ;
- with : ; with : ;
- with both: .
Concepts used: g∘f injective forces f injective, inclusion-exclusion for forbidden values
Practise this topic
Every past question tagged to the same part of the syllabus, with solutions.
Similar questions from other papers
Past questions on the same topic (Types of functions), each with a worked solution.
- The number of functions f:{1,2,3,4}→{a,b,c}, which are not onto, is:JEE Main 2026 (4 Apr Shift 1) · Maths Q4
- Let for some α∈ℝ, f:ℝ→ℝ be a function satisfying f(x+y)=f(x)+2y²+y+α xy for all x,y∈ℝ. If f(0)=-1 and f(1)=2, then the value of Σₙ₌₁⁵(α+f(n)) is:JEE Main 2026 (4 Apr Shift 2) · Maths Q16
- Let f:ℝ→ℝ be a differentiable function such that f((x+y)/3)=(f(x)+f(y))/3 for all x,y∈ℝ, and f'(0)=3. Then the minimum value of the function…JEE Main 2026 (5 Apr Shift 1) · Maths Q19
- Let A={1,2,3,4,5,6}. The number of one-one functions f:A→ A such that f(1)≥3, f(3)≤4 and f(2)+f(3)=5, is ___.JEE Main 2026 (5 Apr Shift 1) · Maths Q21
- Let f:R→R be a function such that f(x)+3f(π/2-x)=sin x, x∈R. Let the maximum value of f on R be α. If the area of the region bounded by the curves…JEE Main 2026 (5 Apr Shift 2) · Maths Q24
- Let f:R→R be defined as f(x)=(2x²-3x+2)/(3x²+x+3). Then f is:JEE Main 2026 (6 Apr Shift 2) · Maths Q1