I found this theorem on Wikipedia without a name being mentioned:
Say $f$ is a function that is differentiable $n$ times and $f^{'}(x_0)=f^{''}=(x_0)=f^(x_0){'''}=....=f^{n-1}(x_0)=0$ and $f^{n}\ne0.$ If $n$ is even, there is an extremum at $x_0$, else an inflection point.
I would like to see a proof on that, can anyone tell me what this theorem is called or even explain why this theorem is true?