Let $p:\mathbb{R}\rightarrow\mathbb{R}$ be a polynomial function with real coefficients satisfying \begin{align} p(x_1)<0, p(x_2)>0, p(x_3)<0,\ldots \text{(sign flips in alternating manner)} \end{align} for $x_1<x_2<\ldots<x_n$. Even without polynomial assumption, by virtue of intermediate value theorem (IVT), it is apparent that there are at least $n-1$ distinct real roots—precisely, at least one root in each interval $(x_k,x_{k+1}), k=1,\ldots,n-1$.
Replacing all strict inequalities with non-strict counterparts, that is, \begin{align} p(x_1)\leq0, p(x_2)\geq0, p(x_3)\leq0,\ldots \text{(sign flips in alternating manner)}, \end{align} we can again guarantee that there are at least $n-1$ real roots in $[x_1,x_n]$ when taking multiplicity into account. Let us commence (somehow dirty) derivation with strong induction on $n$.
Base case: The base case $n=2$ is trivial: if either $p(x_1)$ and $p(x_2)$ is zero, we are done; otherwise, applying IVT works out.
Induction step:
Assume that the claim holds for $n<m$ and consider the case $n=m$. Let us divide and conquer the problem.
i) $p(x_1)=0$: $x_1$ is a root, and there are at least $m-2$ roots in $[x_2,x_m]$ from induction hypothesis.
ii) $p(x_1)<0$, $p(x_2)>0$: There is at least one root in $(x_1,x_2)$ by IVT, and there are at least $m-2$ roots in $[x_2,x_m]$ from induction hypothesis.
iii) $p(x_1)<0$, $p(x_2)=0$: We further divide into three cases:
iii-a) $p'(x_2)=0$: $x_2$ is a root with multiplicity 2, and there are at least $m-3$ roots in $[x_3,x_m]$ from induction hypothesis.
iii-b) $p'(x_2)>0$: We can find $x_2'\in(x_2,x_3)$ such that $p(x_2')>0$. Applying the inductive hypothesis to $x_2',x_3,\ldots,x_m$, there are at least $m-2$ roots in $[x_2',x_m]$. Together with $x_2$, there are at least $m-1$ roots in $[x_2,x_m]$.
iii-c) $p'(x_2)<0$: We can find $x_2'\in(x_1,x_2)$ such that $p(x_2')>0$. Therefore, there is at least one root in $(x_1,x_2')$ by IVT. Together with $m-2$ roots in $[x_2,x_m]$ where the existence is guaranteed by induction hypothesis, we have $m-1$ roots in $[x_1,x_m]$.
I reckon that the statement of the claim is intuitive whereas my proof described above is unnecessarily complicated. Hence, my question is twofold:
- Is there any simple and elegant proof of this claim?
- Is there any name referring to this claim?
Any comments would be much appreciated.