For a given real polynomial $$p(x)=a_0 + a_1x + a_2x^2+\dots +a_nx^n,\quad\text{with $a_0=0$, $x\in \mathbb{R}$},$$ is there any proof that all local extrema will always lie between two roots of $p(x)=0$?
I was messing around with some visualizations and tried to proof it using derivatives but could not solve it. Internet search wasn't helpful either. Thanks for your help!