t^4+\frac{p-2}{2}t^2+\frac{q-2p+1}{4}=0