Question: Do we have positive integers $a,b,c$, s.t. each of the following equations \begin{aligned} &ax^2+bx+c=0\\ &ax^2-bx+c=0\\ &ax^2+bx-c=0\\ &ax^2-bx-c=0 \end{aligned} has two integer roots?
My Attempt:
To determine whether there exist positive integers $a, b, c$ such that each of the equations:
\begin{align*} ax^2 + bx + c &= 0, \\ ax^2 - bx + c &= 0, \\ ax^2 + bx - c &= 0, \\ ax^2 - bx - c &= 0 \end{align*}
has two integer roots, we analyze each equation using the quadratic formula.
The roots of a quadratic equation $ax^2 + bx + c = 0$ are given by:
\begin{equation} x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \end{equation}
For the roots to be integers, the discriminant $b^2 - 4ac$ must be a perfect square, say $k^2$, so:
\begin{equation} b^2 - 4ac = k^2 \end{equation}
Similarly, for the equation $ax^2 - bx + c = 0$, the discriminant is:
\begin{equation} (-b)^2 - 4ac = b^2 - 4ac = k^2 \end{equation}
which is the same as the previous condition.
For $ax^2 + bx - c = 0$, the discriminant is:
\begin{equation} b^2 + 4ac = m^2 \end{equation}
for some integer $m$, meaning $b^2 + 4ac$ is also a perfect square.
Similarly, for $ax^2 - bx - c = 0$, the discriminant is:
\begin{equation} b^2 + 4ac = m^2 \end{equation}
which is the same condition.
Thus, we must find positive integers $a, b, c$ such that both:
\begin{equation} b^2 - 4ac \text{ and } b^2 + 4ac \end{equation}
are perfect squares. This leads to:
\begin{equation} b^2 - 4ac = k^2, \quad b^2 + 4ac = m^2 \end{equation}
Adding these,
\begin{equation} 2b^2 = k^2 + m^2 \end{equation}
which requires that $k^2 + m^2$ be an even integer and that $b^2$ is half of a sum of two perfect squares.
After this, I don't know how to proceed. Please give me some ideas. Thanks!