Find the number of positive integer solutions to the equation
a 2 − 4 a = y 2
Enter − 1 if there are infinitely many.
Note: Only one of the integers may be positive.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
@Andrei Li Did you mean to require just a to be positive, or were both a , y required to be positive? For the answer to be 1 as posted, you will need to specify that just a needs to b e positive.
The question is asking for integer solutions.
Consider the equation
n + m = n m
We may write this as
n + m = n m ⟹ n m − n = m ⟹ n ( m − 1 ) = m ⟹ m − 1 m = 1 + m − 1 1 = n
Suppose that ( n , m ) are positive integers. Thus, m − 1 ∣ 1 ⟹ m − 1 = 1 ⟹ m = n = 2 .
Now, consider the quadratic equation:
x 2 − ( n + m ) x + n m = 0
By Vieta's formula, n , m are the roots. As we assume that n m = n + m = a for some positive integer a , we may write
x 2 − a x + a = 0
The quadratic formula yields
x = n = m = 2 a ± a 2 − 4 a
In order for the expression on the right to be an positive integer, as implied, a 2 − 4 a = b 2 for some positive integer b . As there is only one possible value for a , as shown above, there is only one positive integer solution to a 2 − 4 a = b 2 , which is ( 4 , 0 ) .
Zero is not a positive integer.
Ya @Chris Lewis is correct
Problem Loading...
Note Loading...
Set Loading...
Rewrite the equation as a 2 − 4 a + 4 = y 2 + 4 ⟹ ( a − 2 ) 2 = y 2 + 4 ⟹ ( a − 2 ) 2 − y 2 = 4 .
But the only two perfect squares that differ by 4 are 4 and 0 , which yields a − 2 = 2 ⟹ a = 4 and y = 0 . So if we are only require a to be positive then the desired answer is 1 , but if both a , y must be positive then the answer would be 0 .