I know that if $f(x)$ is a cusp or a point of inflection, then it's not a local max/min when $f'(x)=0$.
But what about in a piece wise function?
Given $f(x) = 0$ when $x = 0$, and $f(x) = \sin(1/x)$ for all other values of $x$, it's clear that $f(0)$ is not a local max or min. However, $f'(0) = 0$. Is it because $f''(0)$ also equals $0$ making $x=0$ a point of inflection?
Edit: Sorry maybe I should have asked instead: is $f'(x)$ differentiable at $0$?