Let $f: \mathbb R \rightarrow \mathbb R$ defined by $$f(x) := \begin{cases}x^2 \sin \frac 1 x\ & x \neq 0\\ 0\ & x = 0\end{cases}$$
Show $f$ is differentiable on $\mathbb R$:
Let $\epsilon > 0$.
$x_0 \neq 0$: $\left\lvert\frac {x^2 \sin \frac 1 x - x_0^2 \sin \frac 1 {x_0}}{x-x_0} \right\rvert \le \epsilon$
I'm thinking that since the fraction is continuous there exists $\delta > 0$ satisfying the above for $x \in [-\delta,\delta] / \{0\}$ ?
$x_0 = 0$: $\left\rvert\frac {x^2 \sin \frac 1 x - 0} {x} \right\rvert \le \epsilon$
How can I evaluate this limit ? I cannot say the fraction is continuous at $0$ ?
Also I must find the derivative of $f$ and show it is not continuous at $x=0$, but I'm stuck.