QlarIITy

MathematicsJEE Main 2021 · 17 MarchSingle correct

Consider the function f:R→Rf : R \to R defined by f(x)={(2−sin⁡(1x))∣x∣,x≠00,x=0f(x) = \begin{cases} \left(2 - \sin\left(\frac{1}{x}\right)\right)|x|, & x \neq 0 \\ 0, & x = 0 \end{cases}. Then ff is:

  1. Option A: monotonic on (−∞,0)∪(0,∞)(-\infty, 0) \cup (0, \infty)
  2. Option B: not monotonic on (−∞,0)(-\infty, 0) and (0,∞)(0, \infty)
  3. Option C: monotonic on (0,∞)(0, \infty) only
  4. Option D: monotonic on (−∞,0)(-\infty, 0) only
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. A term like the cosine of the reciprocal divided by the variable swings without bound near 0.

Concept refresher. On an interval where f′(x)>0f^{\prime}(x) > 0 the function ff increases, and where

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

it decreases.

Picture the situation. For x>0x > 0, f(x)=2x−xsin⁡1xf(x) = 2x - x\sin\dfrac{1}{x}, so f′(x)=2−sin⁡1x+1xcos⁡1xf^{\prime}(x) = 2 - \sin\dfrac{1}{x} + \dfrac{1}{x}\cos\dfrac{1}{x}. For x<0x < 0, f(x)=−2x+xsin⁡1xf(x) = -2x + x\sin\dfrac{1}{x}, whose derivative is the negative of the same expression.

Approach. Evaluate the derivative at points where the sine vanishes.

  1. Step 1: Positive side

    Take 1x=2nπ\dfrac{1}{x} = 2n\pi for a positive integer nn: then f′(x)=2+2nπ>0f^{\prime}(x) = 2 + 2n\pi > 0. Take 1x=(2n+1)π\dfrac{1}{x} = (2n + 1)\pi: then f′(x)=2−(2n+1)π<0f^{\prime}(x) = 2 - (2n + 1)\pi < 0. So f′f^{\prime} takes both signs in every interval (0,δ)(0, \delta), and ff is not monotonic on (0,∞)(0, \infty).

  2. Step 2: Negative side

    For x<0x < 0 the derivative is the negative of the same expression, so it also takes both signs arbitrarily close to 0. Hence ff is not monotonic on (−∞,0)(-\infty, 0) either.

Answer. (B) not monotonic on (−∞,0)(-\infty, 0) and (0,∞)(0, \infty)

Sanity check. For example at x=1πx = \dfrac{1}{\pi} the derivative is 2−π2 - \pi, negative, while at x=12πx = \dfrac{1}{2\pi} it is 2+2π2 + 2\pi, positive.

Why the other options are wrong

  • (A) The derivative changes sign near 0 on both sides, for example between x=12πx = \dfrac{1}{2\pi} and x=1πx = \dfrac{1}{\pi}, so ff is not monotonic.
  • (C) On (0,∞)(0, \infty) the derivative is 2+2nπ2 + 2n\pi at x=12nπx = \dfrac{1}{2n\pi} and 2−(2n+1)π2 - (2n + 1)\pi at x=1(2n+1)πx = \dfrac{1}{(2n + 1)\pi}, so it changes sign.
  • (D) On (−∞,0)(-\infty, 0) the derivative is the negative of the expression for positive xx and changes sign in the same way.

Key takeaway

The trap. A bounded factor times the modulus looks monotonic on each side, but its derivative is not bounded.

How toppers think. They pick points where the sine vanishes and the cosine is 1 or minus 1.

Remember. f′(x)=2−sin⁡1x+1xcos⁡1xf^{\prime}(x) = 2 - \sin\dfrac{1}{x} + \dfrac{1}{x}\cos\dfrac{1}{x}

More on Increasing & Decreasing Functions