Mathematics · Functions

JEE Main 2025 — 28 Jan — Evening Shift — Question 14

Let f:[0,3]→Af:[0,3]\to A be defined by f(x)=2x3−15x2+36x+7f(x)=2x^{3}-15x^{2}+36x+7 and g:[0,∞)→Bg:[0,\infty)\to B be defined by g(x)=x2025x2025+1g(x)=\frac{x^{2025}}{x^{2025}+1}. If both the functions are onto and S={x∈Z:x∈A or x∈B}S=\{x\in\mathbf{Z}: x\in A \text{ or } x\in B\}, then n(S)n(S) is equal to:

  1. Option A:

    30

    Correct
  2. Option B:

    36

  3. Option C:

    29

  4. Option D:

    31

Answer: A

Step-by-step solution

Since ff is onto, AA is the range of ff on [0,3][0,3].

f′(x)=6x2−30x+36=6(x−2)(x−3)f'(x)=6x^{2}-30x+36=6(x-2)(x-3).

So ff increases up to x=2x=2 and decreases after x=2x=2; f(0)=7f(0)=7, f(2)=35f(2)=35, f(3)=34f(3)=34.

Thus A=[7,35]A=[7,35].

For gg, g(x)=1−1x2025+1g(x)=1-\frac{1}{x^{2025}+1}, and x2025∈[0,∞)x^{2025}\in[0,\infty), so B=[0,1)B=[0,1).

Integers in AA are 7,8,…,357,8,\ldots,35 (29 integers); integers in BB are only 00.

Hence S={0,7,8,…,35}S=\{0,7,8,\ldots,35\} and n(S)=1+29=30n(S)=1+29=30.

Answer: A

Answer key and solution verified before publishing.

Practise Functions

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

Exam
JEE Main 2025
Subject
Mathematics
Chapter
Functions
Topic
One-One, many-one, onto, into, bijective functions