Medium MCQ +4 / -1 PYQ · JEE Mains 2025

Let $f:[0,3] \rightarrow$ A be defined by $f(x)=2 x^3-15 x^2+36 x+7$ and $g:[0, \infty) \rightarrow B$ be defined by $g(x)=\frac{x^{2025}}{x^{2025}+1}$, If both the functions are onto and $S=\{ x \in Z ; x \in A$ or $x \in B \}$, then $n(S)$ is equal to :

  1. A <p>29</p>
  2. B <p>31</p>
  3. C <p>30</p> Correct answer
  4. D <p>36</p>

Solution

<p>as $f(x)$ is onto hence $A$ is range of $f(x)$</p> <p>$$\text { now } \begin{aligned} f^{\prime}(x) & =6 x^2-30 x+36 \\ & =6(x-2)(x-3) \end{aligned}$$</p> <p>$f(2)=16-60+72+7=35$</p> <p>$$\begin{aligned} & \mathrm{f}(3)=54-135+108+7=34 \\ & \mathrm{f}(0)=7 \end{aligned}$$</p> <p>hence range $\in[7,35]=\mathrm{A}$</p> <p>also for range of $g(x)$</p> <p>$$\begin{aligned} & g(x)=1-\frac{1}{x^{2025}+1} \in[0,1)=B \\ & s=\{0,7,8, \ldots . .35\} \text { hence } n(s)=30 \end{aligned}$$</p>

About this question

Subject: Mathematics · Chapter: Sets, Relations and Functions · Topic: Sets and Operations

This question is part of PrepWiser's free JEE Main question bank. 195 more solved questions on Sets, Relations and Functions are available — start with the harder ones if your accuracy is >70%.

Drill 25 more like these. Every day. Free.

PrepWiser turns these solved questions into a daily practice loop. Chapter-wise drills, full mocks, AI doubt chat. No auto-renew.

Start free →