How many pairs of positive integers satisfying x + y = 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.
Good usage of Simon's Favourite Factoring Trick.
x + y = x y y=\(\frac{x}{x-1} =1+ x − 1 1 ) For y to be positive, x − 1 1 must also be positive, which is only true when x = 2 (for positive values of x )
Let y = cx. Then x + cx = cx^2. Either x = 0, or dividing by x, 1 + c = cx. Then c|1. so c = 1; Then 2 = x, and y = cx = 2. Ed Gray
Problem Loading...
Note Loading...
Set Loading...
x + y = x y x y − x − y = 0 x ( y − 1 ) − y = 0 x ( y − 1 ) − y + 1 = 1 x ( y − 1 ) − ( y − 1 ) = 1 ( x − 1 ) ( y − 1 ) = 1
For 1 = 1 × 1 , x = 2 and y = 2 .
For 1 = − 1 × − 1 , x = 0 and y = 0 .
Since x and y are positive, the only pair is x = 2 and y = 2 .