If $f(x)=2x^2+x^2\sin(1/x)$ for $x ≠ 0$ and $f(0)=0$, how can I prove $f(x)$ has a local minumum when $x= 0$ and (Df)(0)=0?
I'm thinking the first step is proving $(Df)(0)=0$ with
$$\lim_{x\to 0}(Df)=\lim_{x\to 0}(4x+2x\sin(1/x)-\cos(1/x))=0$$
But here I get stuck because I can't say anything about what happens to $\cos(1/x)$.
You have $f(0)=0$ and, if $x\ne0$,\begin{align}f(x)&=2x^2+x^2\sin\left(\frac1x\right)\\&=x^2\left(2+\sin\left(\frac1x\right)\right)\\&\geqslant x^2\\&>0.\end{align}So, $f$ even has an absolute minimum at $0$.