I have been struggling to solve this quadratic equation in the variable $x$ with integral coefficients: $$ax^2-4bx+4bc-\frac{d^2}{a}=0$$ $a\neq 0$ of course.How do I ensure that $x$ is an integer?

What I have done:



I know that $d^2\equiv 0\pmod a$. So there exists a non-zero $k$ such that $d^2=ak$


$$(\dfrac{\Delta}{2})^2=(2b)^2-2(2b)ac+(ak)^2$$ Can I conclude that $c=\pm k$? How do I proceed from here?

  • $\begingroup$ To clarify, you want a condition that ensures $x$ is an integer? $\endgroup$ – Aneesh Dec 6 '15 at 9:44
  • $\begingroup$ that is correct. $\endgroup$ – user97615 Dec 6 '15 at 9:46
  • $\begingroup$ I know this condition works, $ b \equiv 0\pmod a$ , $d \equiv 0\pmod a$, $b=ac$. $\endgroup$ – Aneesh Dec 6 '15 at 9:54
  • 1
    $\begingroup$ it's easy to find a condition that works. I need to find all of them. $\endgroup$ – user97615 Dec 6 '15 at 10:33
  • $\begingroup$ Oh ok, you want an if and only if condition, or just all possible conditions $\endgroup$ – Aneesh Dec 6 '15 at 11:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy