document.write( "Question 785389: I am trying to solve a linear equation with three variables and I am stuck on this problem. My teacher said the answer is not in a fraction but is a whole number but every time I have tried to solve it I get a fraction.\r
\n" ); document.write( "\n" ); document.write( "3x-2y+3z=11
\n" ); document.write( "5x+2y-2z=4
\n" ); document.write( "-x+y+z=-7
\n" ); document.write( "

Algebra.Com's Answer #477506 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
When my solution does not check, or looks too complicated, I throw away my prior attempt, take a few deep breaths, and start again from scratch writing as big and neatly as possible on a large, clean piece of paper. I did that with your problem, twice, and the third time was a charm. (If I reviewed what I had done looking for the mistake, I would be most likely to miss it).
\n" ); document.write( "
\n" ); document.write( "In \"system%283x-2y%2B3z=11%2C5x%2B2y-2z=4%2C-x%2By%2Bz=-7%29\",
\n" ); document.write( "-x+y+z=-7 looks like the simplest of the three equations.
\n" ); document.write( "I am going to use it to eliminate \"z\" from the other two.
\n" ); document.write( "(The sooner I eliminate \"z\" the less likely I am to confuse it with a \"2\").
\n" ); document.write( "
\n" ); document.write( "I multiply -x+y+z=-7 times \"%28-3%29\" and add it to 3x-2y+3z=11:
\n" ); document.write( "3x -2y +3z = 11
\n" ); document.write( "3x -3y -3z = 21
\n" ); document.write( "______________
\n" ); document.write( "6x -5y = 32
\n" ); document.write( "
\n" ); document.write( "I multiply -x+y+z=-7 times \"2\" and add it to 5x+2y-2z=4:
\n" ); document.write( " 5x +2y -2z = 4
\n" ); document.write( "-2x +2y +2z = -14
\n" ); document.write( "______________
\n" ); document.write( "3x +4y = -10
\n" ); document.write( "
\n" ); document.write( "Now I have the equivalent system
\n" ); document.write( "\"system%28-x%2By%2Bz=-7%2C6x-5y=32%2C3x%2B4y=-10%29\"
\n" ); document.write( "I am going to combine 6x-5y=32 and 3x+4y=-10 to get an equation without \"x\".
\n" ); document.write( "
\n" ); document.write( "I multiply 3x+4y=-10 times \"%28-2%29\" and add it to 6x-5y=32:
\n" ); document.write( " 6x -5y = 32
\n" ); document.write( "-6x -8y = 20
\n" ); document.write( "___________
\n" ); document.write( "-13y = 52 ---------> y = 52 / (-13) -----> \"highlight%28y=-4%29\"
\n" ); document.write( "
\n" ); document.write( "Now I have the equivalent system
\n" ); document.write( "\"system%28-x%2By%2Bz=-7%2C3x%2B4y=-10%2C+y=-4%29\"
\n" ); document.write( "
\n" ); document.write( "Substituting y=-4 into 3x+4y=-10, I get
\n" ); document.write( "3x+4(-4)=-10 ------> 3x-16 = -10 ------> 3x=-10+16 ----> 3x=6 ---> x=6/3 ---> \"highlight%28x=2%29\"
\n" ); document.write( "
\n" ); document.write( "Now I have the equivalent system
\n" ); document.write( "\"system%28-x%2By%2Bz=-7%2Cx=2%2C+y=-4%29\"
\n" ); document.write( "
\n" ); document.write( "Substituting x=2 and y= -4 into -x+y+z=-7, I get
\n" ); document.write( "-2 + (-4) +z = -7 ---> -2-4 +z = -7 ---> -6 + z = -7 --> z=-7+6 ---> \"highlight%28z=1%29\"
\n" ); document.write( "
\n" );