Are there a finite number of pairs of integers ( x , y ) satisfying ( x − y ) 2 = x + y ?
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.
Put x − y = k ⟹ x = y + k in the given equation
k 2 = 2 y + k ⟹ 2 y = k ( k − 1 ) ⟹ y = 2 k ( k − 1 )
Now x = k + 2 k ( k − 1 ) = 2 k ( k + 1 )
We can find infinitely many k .For each k ( x , y ) will be integer because k ( k − 1 ) / 2 and k ( k + 1 ) / 2 are integers as thay are product of consecutive integers.These evens are divided by 2 so they will be integers.
So, there will be infinitely many solutions.
Suggested improvements to your solution:
You can be more explicit in your steps. Remember that not everyone is a mind reader.
IE In your head, you intended
k
(
k
−
1
)
=
2
m
, but that is not written down. It then makes it slightly confusing for someone to see
2
y
=
2
m
, without knowing what
m
is.
Also, because you chose to use single direction implication signs, you should establish that "the solution to the final equation is indeed a solution to the initial conditions".
Log in to reply
I have slightly changed my solution
Log in to reply
Much better now.
It is given that ( x − y ) ² = x + y .
We note that ( x − y ) ² = ( x + y ) ² − 4 x y , then we have
( x + y ) ² − ( x − y ) ² = 4 x y ⇒ ( x + y + x − y ) ( x + y − x + y ) = 4 x y
4 x y = 4 x y , then, we can conclue that there are infinte pairs of ( x , y ) .
Problem Loading...
Note Loading...
Set Loading...
One way of generating infinite solutions is to use triangular numbers.
WLOG x > y .
Let x be 2 n ( n + 1 ) . Then make y be 2 n ( n − 1 ) .
x − y = 2 2 n = n .
x + y = 2 2 n 2 = n 2 .
Therefore ( x − y ) 2 = x + y , and there are an infinite amount of solutions.
This can also be represented geometrically:
As x and y are successive triangular numbers, they can be made into a square. However, instead of using a grid, we will use dots, with one dot in each grid square.
The area of the square is equal to x + y , and the diagonal of the square is equal to x − y , as removing it would leave two equal triangles, meaning it is the difference between x and y .
The number of dots along the diagonal of the square is equal to the number of dots along each of the edges, meaning that x − y = x + y , satisfying the equation.
A diagram for n = 3 can be seen below: