Consider the equation x2+ax+b=0
It has two roots (not necessarily real α and β)
Either α=β or α=β
Case (1) If α=β, then it is repeated root. Given than α2−2 is also root
So, α=α2−2
⇒(α+1)(α−2)=0
⇒α=−1 or α=2
When α=−1 then (a,b)=(2,1)
α=2 then (a,b)=(−4,4)
Case (2) If α=β, then four possibilities are there
(I) α=α2−2 and β=β2−2
Here (α,β)=(2,−1) or (−1,2)
Hence (a,b)=(−(α+β),αβ)
=(−1,−2)
(II) α=β2−2 and β=α2−2
Then α−β=β2−α2=(β−α)(β+α)
Since α=β we get α+β=β2+α2−4
α+β=(α+β)2−2αβ−4
Thus −1=1−2αβ−4 which implies
αβ=−1. Therefore (a,b)=(−(α+β),αβ)
=(1,−1)
(III) α=α2−2=β2−2 and α=β
⇒α=−β
Thus α=2,β=−2
α=−1,β=1
Therefore (a,b)=(0,−4) and (0,−1)
(IV) β=α2−2=β2−2 and α=β is same as (III)
Therefore we get 6 pairs of (a,b)
Which are (2,1),(−4,4),(−1,−2),(1,−1),(0,−4),(0,−1)