Find $ f: \mathbb{R} \to \mathbb{R}$ such that $f$ has a strict local minimum at$x_0$ but $f$ is NOT increasing on any interval ending on $x_0$ and $f$ is NOT decreasing on any interval beginning at $x_0$. No constant functions.
My only thought is $f = x^2 sin(\frac{1}{x}) $