document.write( "Question 549954: The equation x3 +3xy + y3 = 1 is solved in integers. Find the possible values of x-y \n" ); document.write( "
Algebra.Com's Answer #358530 by richard1234(7193)\"\" \"About 
You can put this solution on YOUR website!
From the binomial expansion, we have\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( ", which we can write as\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( ".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Clearly, all (x,y) satisfying x+y = 1 work. Note that the other tutor also stated x+y = 1, using a valid argument, but the solution is much longer.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now suppose x+y was not equal to 1. We may treat the original equation as a cubic equation by fixing a value for y and solving for x. In other words, we want to find integer roots for the cubic equation\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " other than x = 1-y.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here, we use the fact that if r is a root of a polynomial, then 1-r is a factor. We divide both sides by x - (1-y) or x+y-1:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( ". Solve for x via the quadratic formula.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "One thing to note: the expression inside the radical is equal to -3(y+1)^2. Since the square of a number is always non-negative, we will never have a real root, unless the expression inside the radical is equal to zero. Hence, we want y to equal -1. If y = -1, then x is also equal to -1. It is seen that (x,y) = (-1,-1) satisfies the original equation.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Therefore, the only solutions to the original equation are ordered pairs (x,y) satisfying x+y = 1 or (-1,-1). We want to evaluate x-y, which is equal to (x+y)-2y, or 1-2y, which can be any odd number (since y can equal anything). Also, (-1,-1) yields x-y = 0. Hence, the possible values for x-y are odd numbers and 0.
\n" ); document.write( "
\n" );