QlarIITy

MathematicsJEE Main 2023 · 24 JanuarySingle correct

Let f(x)={x2sin⁡(1x),x≠00,x=0f(x) = \begin{cases} x^2\sin\left(\frac{1}{x}\right), & x \neq 0 \\ 0, & x = 0 \end{cases}, then at x=0x = 0

  1. Option A: f is continuous but not differentiable
  2. Option B: f is continuous but f′f^{\prime} is not continuous
  3. Option C: both ff and f′f^{\prime} are continuous
  4. Option D: f′f^{\prime} is continuous but not differentiable
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 derivative can exist at a point without being the limit of the derivative nearby.

Concept refresher. The derivative of ff at xx is the limit

f′(x)=lim⁡h→0f(x+h)−f(x)hf^{\prime}(x) = \lim_{h \to 0}\dfrac{f(x + h) - f(x)}{h}

Picture the situation. Since ∣sin⁡1x∣≤1\left|\sin\dfrac{1}{x}\right| \leq 1, ∣f(x)∣≤x2|f(x)| \leq x^2, so the graph lies between the parabolas y=x2y = x^2 and y=−x2y = -x^2 and f(x)f(x) tends to 0=f(0)0 = f(0). So ff is continuous at 0. The question is whether the derivative exists at 0, and whether it is continuous there.

Graph of the function near the origin: a wave that oscillates faster and faster towards the origin while staying between the dashed parabolas y = x^2 and y = −x^2, which touch each other at the origin.

Approach. Use the definition at 0, the product rule elsewhere, and compare.

  1. Step 1: The derivative at 0

    The difference quotient is h2sin⁡(1/h)−0h=hsin⁡1h\dfrac{h^2\sin(1/h) - 0}{h} = h\sin\dfrac{1}{h}, which lies between −∣h∣-|h| and ∣h∣|h| and so tends to 0. Hence f′(0)=0f^{\prime}(0) = 0.

  2. Step 2: The derivative elsewhere

    For x≠0x \neq 0, f′(x)=2xsin⁡1x−cos⁡1xf^{\prime}(x) = 2x\sin\dfrac{1}{x} - \cos\dfrac{1}{x}. The first term tends to 0, but cos⁡1x\cos\dfrac{1}{x} keeps taking every value between −1-1 and 1 as xx tends to 0, so f′(x)f^{\prime}(x) has no limit.

  3. Step 3: Conclusion

    So ff is differentiable, and hence continuous, at 0, but its derivative f′f^{\prime} is not continuous there.

Answer. (B) ff is continuous but f′f^{\prime} is not continuous

Sanity check. At x=12nπx = \dfrac{1}{2n\pi} the derivative is −1-1, and at x=1(2n+1)πx = \dfrac{1}{(2n + 1)\pi} it is +1+1, for every positive integer nn, so it cannot settle near 0.

Why the other options are wrong

  • (A) The function is differentiable at 0: the difference quotient hsin⁡1hh\sin\dfrac{1}{h} tends to 0.
  • (C) The derivative is not continuous at 0, because the term cos⁡1x\cos\dfrac{1}{x} has no limit there.
  • (D) The derivative f′f^{\prime} is itself not continuous at 0, so this description fails at its first claim.

Key takeaway

The trap. The formula from the product rule is valid only away from the special point.

How toppers think. They go back to the definition whenever a function is given a separate value at one point.

Remember. f′(0)=lim⁡h→0hsin⁡1h=0f^{\prime}(0) = \lim_{h \to 0} h\sin\dfrac{1}{h} = 0

More on Differentiability