RankRizz

One-one, onto functions and counting functions — JEE Main Previous Year Questions

One-one, onto functions and counting functions has been asked 43 times in JEE Main, in 12 different years between 2009 and 2026, and in all of the last five exam years (2022–2026), 27 questions in all. That is 27% of Functions, its most-asked topic. Last asked in JEE Main 06 Apr 2026, Shift 2. 31 are multiple choice and 12 numerical-value; 36 medium and 4 hard by our difficulty labels. All of them are below, newest first, free to read.

Questions

43

Years asked

12

Since

2009

Of the chapter

27%

Every One-one, onto functions and counting functions question

21–40 OF 43 · NEWEST FIRST

JEE MAIN 2023 · 25 JAN S2One-one, onto functions and counting functions

The number of functions f:{1,2,3,4}→{a∈Z:∣a∣≤8}f : \{1, 2, 3, 4\} \to \{a \in \mathbb{Z} : |a| \leq 8\} satisfying f(n)+1nf(n+1)=1f(n) + \frac{1}{n}f(n+1) = 1, ∀n∈{1,2,3}\forall n \in \{1, 2, 3\} is

  1. A

    3

  2. B

    4

  3. C

    1

  4. D

    2

JEE MAIN 2022 · 27 JUL S2One-one, onto functions and counting functions

The number of functions ff, from the set A={x∈N:x2−10x+9≤0}A = \{x \in \mathbb{N}: x^2 - 10x + 9 \leq 0\} to the set B={n2:n∈N}B = \{n^2 : n \in \mathbb{N}\} such that f(x)≤(x−3)2+1f(x) \leq (x-3)^2 + 1, for every x∈Ax \in A, is _______.

JEE MAIN 2022 · 25 JUL S1One-one, onto functions and counting functions

The total number of functions, f:{1,2,3,4}→{1,2,3,4,5,6}f: \{1, 2, 3, 4\} \to \{1, 2, 3, 4, 5, 6\} such that f(1)+f(2)=f(3)f(1) + f(2) = f(3), is equal to

  1. A

    6060

  2. B

    9090

  3. C

    108108

  4. D

    126126

JEE MAIN 2022 · 25 JUL S2One-one, onto functions and counting functions

The number of bijective functions f({1,3,5,7,…,99})→{2,4,6,8,…,100}f(\{1, 3, 5, 7, \ldots, 99\}) \to \{2, 4, 6, 8, \ldots, 100\} if f(3)>f(5)>f(7)…>f(99)f(3) > f(5) > f(7) \ldots > f(99) is

  1. A

    50C1^{50}C_1

  2. B

    50C2^{50}C_2

  3. C

    50!2\dfrac{50!}{2}

  4. D

    50C3×3!^{50}C_3 \times 3!

JEE MAIN 2022 · 28 JUN S1One-one, onto functions and counting functions

Let a function f:N→Nf : \mathbb{N} \to \mathbb{N} be defined by
f(n)={2n,n=2,4,6,8,…n−1,n=3,7,11,15,…n+12,n=1,5,9,13,…f(n) = \begin{cases} 2n, & n = 2, 4, 6, 8, \ldots \\ n-1, & n = 3, 7, 11, 15, \ldots \\ \frac{n+1}{2}, & n = 1, 5, 9, 13, \ldots \end{cases}
then, ff is

  1. A

    One-one and onto

  2. B

    One-one but not onto

  3. C

    Onto but not one-one

  4. D

    Neither one-one nor onto

JEE MAIN 2022 · 28 JUN S2One-one, onto functions and counting functions

Let S={1,2,3,4}S = \{1, 2, 3, 4\}. Then the number of elements in the set {f:S×S→S:f\{f : S \times S \to S : f is onto and f(a,b)=f(b,a)≥a∀(a,b)∈S×S}f(a,b) = f(b,a) \geq a \forall (a,b) \in S \times S\} is

JEE MAIN 2022 · 24 JUN S1One-one, onto functions and counting functions

The number of one-one functions f:{a,b,c,d}→{0,1,2,…,10}f : \{a, b, c, d\} \to \{0, 1, 2, \ldots, 10\} such that 2f(a)−f(b)+3f(c)+f(d)=02f(a) - f(b) + 3f(c) + f(d) = 0 is ______

JEE MAIN 2021 · 25 JUL S1One-one, onto functions and counting functions

Let g:N→Ng : N \to N be defined as
g(3n+1)=3n+2g(3n+1) = 3n+2
g(3n+2)=3n+3g(3n+2) = 3n+3
g(3n+3)=3n+1g(3n+3) = 3n+1, for all n≥0n \ge 0
Then which of the following statements is true?

  1. A

    There exists an onto function f:N→Nf: N \to N such that fog=ffog = f

  2. B

    There exists a one-one function f:N→Nf: N \to N such that fog=ffog = f

  3. C

    gogog=ggogog = g

  4. D

    There exists a function f:N→Nf: N \to N such that gof=fgof = f

JEE MAIN 2021 · 22 JUL S1One-one, onto functions and counting functions

Let A={0,1,2,3,4,5,6,7}A = \{0, 1, 2, 3, 4, 5, 6, 7\}. Then the number of bijective functions f:A→Af : A \to A such that f(1)+f(2)=3−f(3)f(1) + f(2) = 3 - f(3) is equal to ___.

JEE MAIN 2021 · 26 FEB S2One-one, onto functions and counting functions

Let A={1,2,3,…,10}A = \{1, 2, 3, \ldots, 10\} and f:A→Af : A \to A be defined as
f(k)={k+1if k is oddkif k is evenf(k) = \begin{cases} k + 1 & \text{if } k \text{ is odd} \\ k & \text{if } k \text{ is even} \end{cases}
Then the number of possible functions g:A→Ag : A \to A such that gof=fgof = f is:

  1. A

    10C5{}^{10}C_5

  2. B

    555^5

  3. C

    5!5!

  4. D

    10510^5

JEE MAIN 2021 · 25 FEB S1One-one, onto functions and counting functions

Let f,g:N→Nf, g : N \to N such that f(n+1)=f(n)+f(1)f(n + 1) = f(n) + f(1) ∀n∈N\forall n \in N and gg be any arbitrary function. Which of the following statements is NOT true?

  1. A

    If ff is onto, then f(n)=nf(n) = n ∀n∈N\forall n \in N

  2. B

    If gg is onto, then fogfog is one-one

  3. C

    ff is one-one

  4. D

    If fogfog is one-one, then gg is one-one

JEE MAIN 2021 · 25 FEB S2One-one, onto functions and counting functions

Let xx denote the total number of one-one functions from a set AA with 3 elements to a set BB with 5 elements and yy denote the total number of one-one functions from the set AA to the set A×BA \times B. Then:

  1. A

    y=273xy = 273x

  2. B

    2y=273x2y = 273x

  3. C

    2y=91x2y = 91x

  4. D

    y=91xy = 91x

JEE MAIN 2020 · 05 SEP S2One-one, onto functions and counting functions

Let A={a,b,c}A = \{a, b, c\} and B={1,2,3,4}B = \{1, 2, 3, 4\}. Then the number of elements in the set C={f:A→B∣2∈f(A)C = \{f : A \to B \mid 2 \in f(A) and ff is not one-one}\} is...

JEE MAIN 2019 · 09 APR S1One-one, onto functions and counting functions

If the function f:R−{1,−1}→Af: R - \{1, -1\} \rightarrow A defined by f(x)=x21−x2f(x) = \frac{x^2}{1 - x^2}, is surjective, then AA is equal to:

  1. A

    [0,∞)[0, \infty)

  2. B

    R−{−1}R - \{-1\}

  3. C

    R−[−1,0)R - [-1, 0)

  4. D

    R−(−1,0)R - (-1, 0)

JEE MAIN 2019 · 11 JAN S2One-one, onto functions and counting functions

Let a function f:(0,∞)→(0,∞)f : (0, \infty) \to (0, \infty) be defined by f(x)=∣1−1x∣f(x) = \left|1 - \frac{1}{x}\right|. Then f is:

  1. A

    not injective but it is surjective

  2. B

    injective only

  3. C

    neither injective nor surjective

  4. D

    None of the above

JEE MAIN 2019 · 11 JAN S2One-one, onto functions and counting functions

The number of functions f from {1,2,3,…,20}\{1, 2, 3, \ldots, 20\} onto {1,2,3,…,20}\{1, 2, 3, \ldots, 20\} such that f(k)f(k) is a multiple of 3, whenever k is a multiple of 4 is:

  1. A

    65×(15)!6^5 \times (15)!

  2. B

    5!×6!5! \times 6!

  3. C

    (15)!×6!(15)! \times 6!

  4. D

    56×155^6 \times 15

JEE MAIN 2019 · 09 JAN S2One-one, onto functions and counting functions

Let A={x∈R:xA = \{x \in R : x is not a positive integer}\}. Define a function f:A→Rf: A \to R as f(x)=2xx−1f(x) = \frac{2x}{x-1}, then ff is:

  1. A

    Injective but not surjective

  2. B

    Not injective

  3. C

    Surjective but not injective

  4. D

    Neither injective nor surjective

JEE MAIN 2017 · 09 APR ONLINEOne-one, onto functions and counting functions

The function f:N→If : N \to I defined by f(x)=x−5[x5]f(x) = x - 5\left[\frac{x}{5}\right], where NN is the set of natural numbers and [x][x] denotes the greatest integer less than or equal to xx, is:

  1. A

    one-one but not onto

  2. B

    one-one and onto

  3. C

    neither one-one nor onto

  4. D

    onto but not one-one

JEE MAIN 2017 · 02 APR OFFLINEOne-one, onto functions and counting functions

The function f:R→(−12,12)f : R \to \left(-\frac{1}{2}, \frac{1}{2}\right) defined as f(x)=x1+x2f(x) = \frac{x}{1+x^{2}}, is:

  1. A

    Invertible

  2. B

    Injective but not surjective

  3. C

    Surjective but not injective

  4. D

    Neither injective nor surjective

JEE MAIN 2014 · 19 APR ONLINEOne-one, onto functions and counting functions

Let f:R→Rf : R \to R be defined by f(x)=∣x∣−1∣x∣+1f(x) = \frac{|x|-1}{|x|+1}, then f is:

  1. A

    one-one but not onto

  2. B

    neither one-one nor onto

  3. C

    both one-one and onto

  4. D

    onto but not one-one