Find all pairs (p,q) of real numbers such that whenever $\alpha$ is a root of $x^2 + px+q=0$ $\alpha^2-2$ is also root of the equation.
My Approach:
I could not find any elegant method that is why I tried applying quadratic formula: the roots will be $\frac{-p±\sqrt{p^2-4q}}{2}$ Now we have 2 cases:
- $$\left(\frac{-p+\sqrt{p^2-4q}}{2}\right) =\left (\frac{-p-\sqrt{p^2-4q}}{2}\right)^2 -2$$
- $$\left(\frac{-p-\sqrt{p^2-4q}}{2}\right)=\left(\frac{-p+\sqrt{p^2-4q}}{2}\right)^2-2$$
It's very tedious to solve these. I searched on Wolfram alpha and got these I II
Is there an elegant way to approach this problem?