Prove or disprove the following statment: For all integers b, c,and d, if x is a rational number such that $x^2+bx+c=d$, then x is an integer.
This is a homework question from the book Discrete Mathematics for Computer Scientists by Stein, Drysdale and Bogart.
I since x is rational I thought I could start off with:
${(\frac{m}{n})}^2+b\frac{m}{n}=d-c$
But I don't know where to go from here.
Or I could try using the quadratic formula
$x=\frac{1}{2}\left(\pm\sqrt{b^{2}-4c+4d}-b\right)$
but I am very weak with elementary number theory that I don't know where to go. I am thinking that regardless of if $\sqrt{b^{2}-4c+4d}$ is an integer or not, the fact that I have
$x=\frac{1}{2}*\pm$ SomeNumber
means that x is not an integer.
I am new to writing proofs, and unfortunately, I don't really know how to prove this. Any hints would be appreciated.
Thank you.
Edit: By plugging in simple numbers, for example x=1, b=1, c=1 and d=3 I can see that x is probably an integer, for all integers b,c,and d - so that means my thinking about the quadratic formula is not correct. I will still work on this.
2nd Edit: Now I plug in more numbers and don't get integers. For example $x^2+2x+3=4$. I am also new to this site, so I am not sure if I should continue to edit the post or write in the comments sections anytime I think of something new. Please advise.
3rd Edit: I think I know what to do. The last section of the book covered universal quantifiers. I believe the authors are are trying to get me to realize that they are saying $\forall b, c, d \in Z$ and I only need to give one one example for which the assertion is untrue. And in my previous edit, b=2, c=3, and d=4 did not result in x being an integer.