Topper Copies

If $f(x) = x^2 \sin(1/x)$ when $x \neq 0$ and $f(0) = 0$, show that $f$ is derivable for every value of $x$ but the derivative is not continuous for $x = 0$.

Akshit Bhardwaj, AIR 12, 2025

$f(x)$ is a combination of polynomical or trigonometric function, Thus it is continous & Derivable at every value of $x$ except $x=0$ [$\because$ of $(\frac{1}{x})$ term] $\hookrightarrow$ ①

[Continuity at $x=0$]

$f(0) = 0$ given

Also $\lim_{x\to 0} f(x) = \lim_{h\to 0} h^2 \sin\left(\frac{1}{h}\right) = 0$ $= f(0)$ $\therefore$ $f(x)$ is continuous at $x=0$

[Derivative at $x=0$]

$f'(0) = \lim_{h\to 0} \frac{f(h) - f(0)}{h} = \lim_{h\to 0} \frac{h^2 \sin\frac{1}{h} - 0}{h}$ $= 0$ $\Rightarrow$ $f'(0)$ exists $\to$ ②

From ① & ② $f(x)$ is derivable for every value of $x$ Also for $x \neq 0$

Now

which oscillates & is not equal to $f'(0)$ Thus the derivative is not continuous for $x=0$