Denote x1<x2<…<xn as the roots of P(x). Let d=xn−xn−1=⋯=x2−x1>0. Since P(x) has rational coefficients then by applying Vieta's theorem, we have
i=1∑nxi∈Q and 1≤i<j≤n∑xixj∈Q.
Note that ∑i=1nxi=2n(x1+xn) so x1+xn∈Q. On the other hand,
i=1∑nxi2=(i=1∑nxi)2−21≤i<j≤n∑xixj∈Q
and
i=1∑nxi2=i=1∑n(x1+(i−1)d)2=nx12+n(n−1)x1d+6n(n−1)(2n−1)d2=n(x1+2(n−1)d)2+12n2(n2−1)d2=4n(x1+xn)2+12n(n2−1)d2
From these, we can conclude that 12n(n2−1)d2∈Q so d2∈Q. Thus
x1xn=4(x1+xn)2−(xn−x1)2=4(x1+xn)2−(n−1)2d2∈Q.
Therefore, x1+xn,x1xn∈Q which implies that two numbers x1,xn satisfy.