Let c denote the other root of Q. Since P and Q have rational coefficients the Vieta's formulas imply
a+b(a+2016)+c=p1∈Qandab=p2∈Q,=q1∈Qand(a+2016)c=q2∈Q.
Expressing b=p1−a and c=q1−a−2016 from the equations on the left and inserting them into the equations on the right we get
a(p1−a)(a+2016)(q1−a−2016)=p2,=q2.
Subtracting one equation from the other we get
a(p1−a)−(a+2016)(q1−a−2016)⇒a(p1−q1+4032)=p2−q2=p2−q2+2016q1−20162∈Q.
If p1−q1+4032=0, we can write
a=p1−q1+4032p2−q2+2016q1−20162∈Q.
It would follow that a is rational, which is not the case. So, p1−q1+4032=0. From here
(a+b)−(a+2016+c)+4032=0⇒c=b+2016.
Hence, the only candidate for the other root of Q is the number b+2016. We have to check that there indeed exists a polynomial Q with rational coefficients such that a+2016 and b+2016 are its roots. An example of such a polynomial would be
Q(x)=(x−a−2016)(x−b−2016)=x2−(a+b)x+ab+2016(a+b)+20162,
since a+b∈Q and ab+2016(a+b)+20162∈Q. The only possible value for the other root of the polynomial Q is therefore b+2016.