Let $f(x) = x^2 + ax + b$. If for all non-zero real $x$ $$f\left(x + \frac1x\right) = f(x) + f\left(\frac1x\right)$$ and the roots of $f(x) = 0$ are integers, what is the value of $a^2 + b^2$?
Here is the photo of the question if you are finding difficult to look at it here
EDIT: The answer must be in two-digits
EDIT: What I have done so far is that I added temporary values to the equation $$f(x) = 0 = x^2 + ax + b$$ and tried to solve it in the form of $a + b$ to which then I squared and solved and got, $$a^2 + b^2 = x^2 - 2ab$$
I don't really know what I am doing is correct, so help me out please!
Hints:
Even though there is more than one possible value for $a$, you should find a unique value for $a^2+b^2$.