jeetdan wrote:
y(x-5/2) = y
y(x-5/2) - y =0
y(x - 5/2-1) = 0
thus
either : y =0
or : x= 7/2
If we were given that y is positive integer we would have directly cancelled out y on both sides. But since we aren't told that y is positive we have to substract y on both sides and so on.
Jeetdan's response is correct. NEVER divide both sides by a variable unless you know it's not zero. The correct approach is to bring all terms to one side of the equation, then factor.