TITLE: Why can’t a non-constant polynomial have a constant interval?
QUESTION [8 upvotes]: Given a polynomial that is not constant, of course, it doesn’t contain a constant interval. But how can we prove it?
Since the polynomial is differentiable over R, I came up with a solution that uses Lagrange mean value theorem n times and reduces the nth derivative to a constant. Since the leading term is not zero, there can not be a zero in the nth derivative, and that contradicts the mean value theorem. Therefore, the polynomial must not contain a constant interval.
However, I do realize that this solution is a bit complicated,  so is there a simpler solution(possibly elementary) that can prove this?

REPLY [2 votes]: Suppose $p$ is a polynomial of degree $n$, i.e. $$ p(x) = \sum\limits_{i=0}^n a_ix^i $$
and $p(x) = c$ for $x\in (a,b)$. Choose $n+1$ distinct points from $(a,b)$, $x_0,\dots , x_n$. The system of equations $p(x_i) = c$ for the $a_i$ is clearly solved by $a_0 = c$ and $a_i = 0$ otherwise. However, since the matrix of coefficients (the Vandermonde matrix) is invertible whenever the $x_i$ are distinct*, the solution is unique. Thus, $p(x) \equiv c$.