So if you want to find a local minimum of a function, one way to do that would be to find an interval $[a,b)$ where the derivative is negative, and that the derivative in the interval $(b,c]$ is positive for some $c$. $f'(b)$ needs to $0$ or not defined. But my question is, is there a function where the derivative in $[a,b)$ is negative, and positive in $[b,c]$? That means there's a jump discontinuity in the derivative, so the original function would be piece-wise
Thank you!