integer

solve fr x and y

xy=2x-y solve for x and y. x and y are integers

4 Answers

1
Rohan Ghosh ·

rearranging we get

(x+1)(2-y)=2

so the left wo terms can be

2,1
-1,-2
1,2
-2,-1

hence the solutions are

(1,1)
(-2,4)
(0,0)
(-3,3)

1
Indraneel Chatterjee ·

nice one mate

1
Rohan Annavarapu ·

good solution

341
Hari Shankar ·

It is evident that x|y

Hence y = kx

Hence we get kx2 = 2x-kx

Noting that (0,0) is a solutio, divide by kx to get

x = 2/k - 1

Thus k = ±1 or ±2

and x=0,1,-2,-3

Your Answer

Close [X]