Sorry I meant how do you find the integer solutions (cases were both x and y are integers) when values of x are –c =< x =< c. c is 8 in this particular problem. Note that any values of x > c or x < -c will yield a non-integer y value when plugged into y = (8-x^2)/x.
To find the solutions you first solve x^2+x y-8 for y. when you do that for this particular equation you get x!=0, y = (8-x^2)/x.Now this is where I am stuck. I noticed that when you change the c value then if x= +-c and x=+-1 y will be an integer value every time. These are not given by the rational discriminant. I also tested all values –c < x < c (-8 < x < 8) for this problem and found that when x = -4, 4, 2, -2, I get integer values for y as well.
Now the thing is if I had a large number c then this method will be really inefficient. So is there a way to find all integer solutions for the equation y = (8-x^2)/x. Note that y will not be an integer when x != -8, -4, -2, -1, 1, 2, 4, 8.If you are interested the y values that I got from plugging these x values in are y = 7, 2, -2, -7, 7, 2, -2, -7. Note that when x is matched with the corresponding y then
x2+
kx−8=0 is true just make k=y.
You said that I can find the integer values for y=k using the rational discriminant “Are you looking perhaps for integer values of y=k? In that case (8-x^2) = kx, or
x2+
kx−8=0 For roots of that
quadratic to rational, the discriminant
k2+32 must be a perfect square; e.g., k = ±2, x=1±6.”
Also while we are on the subject I see no method to finding where the discriminant is a perfect square except by using brute force (graphing calculator or something of the sort). Also the rational discriminant doesn’t give me the integer solutions.