SOLUTION: x^2 + 19x + 92 = whole square of an integer when x is integer find x

Algebra ->  Quadratic Equations and Parabolas  -> Quadratic Equations Lessons  -> Quadratic Equation Lesson -> SOLUTION: x^2 + 19x + 92 = whole square of an integer when x is integer find x      Log On


   



Question 878713: x^2 + 19x + 92 = whole square of an integer when x is integer
find x

Answer by AnlytcPhil(1806) About Me  (Show Source):
You can put this solution on YOUR website!
Let y² be the whole square

x² + 19x + 92 = y²

x² + 19x + (92 - y²) = 0

 x%22%22=%22%22%28-19+%2B-+sqrt%2819%5E2-4%2A1%2A%2892-y%5E2%29%29%29%2F%282%2A1%29+ 

 x%22%22=%22%22%28-19+%2B-+sqrt%28361-4%2892-y%5E2+%29%29%29%2F2+

x%22%22=%22%22%28-19+%2B-+sqrt%28361-368%2B4y%5E2+%29%29%2F2+

x%22%22=%22%22%28-19+%2B-+sqrt%28-7%2B4y%5E2+%29%29%2F2+

The discriminant -7+4y² must be a perfect square in order that x be
an integer.  It also must be an odd square too, so that the numerator
will be even since -19 is odd.  But we'll worry about it being odd 
later, if necessary.  Let the discriminant be z²

discriminant = -7+4y² = z².  So,

x%22%22=%22%22%28-19+%2B-+z%29%2F2+

-7+4y² = z²

4y²-z² = 7

(2y-z)(2y+z) = 7

Either both those factor are positive or both are negative 

Case 1:  If both factors are both positive

Since 7 is prime, the smaller factor
2y-z must be 1 and the larger factor 2y+z = 7

So we have this system of equations:

system%282y-z=1%2C2y%2Bz=7%29

Solve that by substitution or elimination and get

y = 2, z = 3,  (z turned out to be odd, so x can be an integer)

Case 2:  If they are both negative

Since 7 is prime, the smaller factor
2y+z must be -7 and the larger factor 2y-z = -1

So we have this system of equations:

system%282y%2Bz=-7%2C2y-z=-1%29

Solve that by substitution or elimination and get

y = -2, z = -3,  (z turned out to be odd, so x can be an integer)

Since z = 3 or -3, both values of z are taken care of by:

x%22%22=%22%22%28-19+%2B-+z%29%2F2+

x%22%22=%22%22%28-19+%2B-+3%29%2F2+

Using the +

x%22%22=%22%22%28-19+%2B+3%29%2F2+%22%22=%22%22-16%2F2%22%22=%22%22-8

Using the -

x%22%22=%22%22%28-19+-+3%29%2F2+%22%22=%22%22-22%2F2%22%22=%22%22-11

Two solutions, x = -8, or x = -11

Edwin