document.write( "Question 1132097: How many ordered pairs of positive integers (x,y) satisfy the equation x=(4-x)/(y^2-x)? \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "My work: I am pretty sure that the only possible pair is (1,2), but I don’t know how to mathematically explain it... I just need help on this process.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #748989 by ikleyn(52787)\"\" \"About 
You can put this solution on YOUR website!
.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            The tutor @rothauserc was in one step from the final answer.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            I came to make this last step and to complete the solution.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "x = (4-x)/(y^2-x)    (1)\r\n" );
document.write( "\r\n" );
document.write( "x*(y^2-x) = 4 - x\r\n" );
document.write( "\r\n" );
document.write( "xy^2 -x^2 = 4 - x\r\n" );
document.write( "\r\n" );
document.write( "xy^2 = x^2 - x + 4\r\n" );
document.write( "\r\n" );
document.write( "y^2 = (x^2 -x +4)/x\r\n" );
document.write( "\r\n" );
document.write( "y = \"sqrt%28%28x%5E2+-x+%2B4%29%2Fx%29\" = \"sqrt%28x-1%2B4%2Fx%29\"\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now look into the last formula.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The number  \"x-1+%2B+4%2Fx\"  under the square root operator is integer only when\r\n" );
document.write( "\r\n" );
document.write( "    x=1  and  x= 2  and  x= 4.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "For x larger than 4 we have  the fraction under the square root, which CAN NOT give an integer number after taking the square root.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "x= 1  gives  y= +/-2.\r\n" );
document.write( "\r\n" );
document.write( "x= 2  gives  y= +/-\"sqrt%283%29\", which is not integer.\r\n" );
document.write( "\r\n" );
document.write( "x= 4 gives  y= +/-2.  But it makes the denominator of the equation (1) equal to zero, so it is ERRONEOUS solution.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "ANSWER.   The only solutions in integer numbers to equation  (1)  are these two pairs     (x,y) = (1,2)   and   (x,y) = (1,-2).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "                    Of them,   only the pair   (x,y) = (1,2)   is the solution in positive integer numbers.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );