QlarIITy

MathematicsJEE Main 2025 · 28 JanuarySingle correct

Let f:[0,3]→Af : [0, 3] \to A be defined byf(x)=2x3−15x2+36x+7f(x) = 2x^3 - 15x^2 + 36x + 7and 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 andS={x∈Z:x∈AS = \{x \in \mathbb{Z} : x \in Aor x∈B}x \in B\}, then n(S)n(S) is equal to :

  1. Option A: 29
  2. Option B: 30
  3. Option C: 31
  4. Option D: 36
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. The range of a function on a closed interval comes from its end values and its turning points inside.

Concept refresher. If f′(x)>0f^{\prime}(x) > 0 on an interval the function is increasing there, and if

f′(x)<0f^{\prime}(x) < 0

it is decreasing; a strictly monotonic function is one-one.

Picture the situation. Onto means AA and BB are the ranges of ff and gg. The derivative

f′(x)=6x2−30x+36=6(x−2)(x−3)\begin{aligned} f^{\prime}(x) &= 6x^2 - 30x + 36 \\[4pt] &= 6(x - 2)(x - 3) \end{aligned}

is positive on [0,2)[0, 2) and negative on (2,3)(2, 3). The function gg is 1−1x2025+11 - \dfrac{1}{x^{2025} + 1}, which increases from 0 towards 1.

The graph of the cubic on the x and y axes from x = 0 to x = 3. It starts at the marked point (0, 7) on the y-axis, rises to its highest point (2, 35) and falls slightly to the end point (3, 34).

Approach. Find each range, then count the integers lying in at least one of them.

  1. Step 1: The set A

    The cubic increases on [0,2][0, 2] and decreases on [2,3][2, 3], with f(0)=7f(0) = 7, f(2)=35f(2) = 35 and f(3)=34f(3) = 34. So its least value is 7, its greatest is 35, and A=[7,35]A = [7, 35].

  2. Step 2: The set B

    Since g(0)=0g(0) = 0 and gg increases towards 1 without reaching it, the range is B=[0,1)B = [0, 1).

  3. Step 3: The count

    The integers in AA are 7 to 35, which is 29 numbers, and BB adds the integer 0. So n(S)=30n(S) = 30.

Answer. (B) 30

Sanity check. Check the values: f(2)=16−60+72+7=35f(2) = 16 - 60 + 72 + 7 = 35 and f(3)=54−135+108+7=34f(3) = 54 - 135 + 108 + 7 = 34.

Why the other options are wrong

  • (A) The value 29 counts the integers 7 to 35 but leaves out 0, which lies in BB.
  • (C) The value 31 also counts 1, but gg never reaches 1, so 1 is not in BB.
  • (D) The value 36 does not arise; there are 29 integers in AA and one more in BB.

Key takeaway

The trap. A greatest value can occur at a turning point, not at an end.

How toppers think. They list the candidate points and compare the values.

Remember. A=[7,35]A = [7, 35], B=[0,1)B = [0, 1)

More on Types of Functions