How many ordered pairs $(a, b)$ of positive integers satisfying $a ≤ 8$ and $b ≤ 8$ are there, such that each of the equations
$x^2 + ax + b = 0$, and $x^2 + bx + a = 0$
has two different real solutions in $x$; note all four real solutions need not be different.
I have attempted to rewrite these two equations and then divide to get $x=-(a+b)$ but I am not getting anywhere algebraically when I substitute this back into the original equation. I'm wondering whether I'm approaching this wrong?
Equation $x^2+ax+b=0$ has two distinct real roots if and only if $a^2>4b$ and equation $x^2+bx+a=0$ has two distinct real roots if and only if $b^2>4a$. So, you are after the pairs $(a,b)\in\{1,2,\ldots,8\}^2$ such that $a^2>4b$ and $b^2>4a$. It's not hard to check that these pairs are $(5, 5)$, $(5, 6)$, $(6, 5)$, $(6, 6)$, $(6, 7)$, $(6, 8)$, $(7, 6)$, $(7, 7)$, $(7, 8)$, $(8, 6)$, $(8, 7)$, and $(8, 8)$.