Solution:
Let zk,1≤k≤4, be the roots of the given equation. Using Vieta's formulas we obtain
z1+z2+z3+z4=a and z12+z22+z32+z42=a2
Set uk=a2zk=xk+iyk,1≤k≤4, where xk,yk∈R. Then uk2=xk2−yk2+2ixkyk and we get
x1+x2+x3+x4=2x12+x22+x32+x42=4+y12+y22+y32+y42≥4
On the other hand,
∣a−zk∣≥∣zk∣⟺∣2−uk∣≥∣uk∣⟺(2−xk)2+yk2≥xk2+yk2⟺xk≤1
Now (1) implies xk≥−1, i.e. xk2≤1, which together with (2) gives xk=±1, yk=0.
Hence (1) shows that three of the numbers xk are equal to 1 and the fourth one is −1. We can assume that z1=z2=z3=−z4. Then z1z2z3z4=−1 implies z1=±1,±i, which gives
(a,b)=(2,−2),(−2,2),(2i,2i),(−2i,−2i)