document.write( "Question 329142: solve using elimination\r
\n" ); document.write( "\n" ); document.write( "x+y+z=-2
\n" ); document.write( "x+y-z=2
\n" ); document.write( "4x-3y+z=-9
\n" ); document.write( "

Algebra.Com's Answer #235969 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "Rules for solving a system of three equations in three unknowns:\r\n" );
document.write( "\r\n" );
document.write( "1. If one of the equations has only two unknowns, call it \"equation 1\".\r\n" );
document.write( "Observe which of the three unknowns is missing from that equation and \r\n" );
document.write( "eliminate that unknown from the other two equations, and call the \r\n" );
document.write( "resulting equation \"equation 2\".\r\n" );
document.write( "\r\n" );
document.write( "2. If all three equations contain all three unknowns, pick two of the \r\n" );
document.write( "three equations and eliminate an unknown from them, and call the \r\n" );
document.write( "resulting equation \"equation 1\".  Us the equation you haven't yet used with \r\n" );
document.write( "one of the others and eliminate that same letter.  Call the resulting \r\n" );
document.write( "equation \"equation 2\".\r\n" );
document.write( "\r\n" );
document.write( "3. Solve the system of two equation in two unknowns, consisting of \"equation\r\n" );
document.write( "1\" and \"equation 2\".\r\n" );
document.write( "\r\n" );
document.write( "4. Find the third unknown by substituting in one of the original equations \r\n" );
document.write( "that contains that third unknown.\r\n" );
document.write( "\r\n" );
document.write( "\"system%28x%2By%2Bz=-2%2C%0D%0Ax%2By-z=2%2C%0D%0A4x-3y%2Bz=-9%29\"\r\n" );
document.write( "\r\n" );
document.write( "None of the equations have only two unknowns, so step 1 is out.  So we go \r\n" );
document.write( "to step 2.\r\n" );
document.write( "\r\n" );
document.write( "I'll pick the first two equations and eliminate z, since all I have to is \r\n" );
document.write( "add them term by term and the z's will cancel:\r\n" );
document.write( "\r\n" );
document.write( "\"x%2By%2Bz=-2\"\r\n" );
document.write( "\"x%2By-z=2%29\"\r\n" );
document.write( "\r\n" );
document.write( "Result:\r\n" );
document.write( "\r\n" );
document.write( "\"2x%2B2y=0\", that's equation 1.\r\n" );
document.write( "\r\n" );
document.write( "Now I'll pick the second one and the third one and eliminate that same \r\n" );
document.write( "variable z.  All I have to do is add them term by term and the z's will \r\n" );
document.write( "cancel:\r\n" );
document.write( "\r\n" );
document.write( "\"x%2By-z=2\"\r\n" );
document.write( "\"4x-3y%2Bz=-9%29\"\r\n" );
document.write( "\r\n" );
document.write( "  Result:\r\n" );
document.write( "\r\n" );
document.write( "\"5x-2y=-7\", that's equation 2.\r\n" );
document.write( "\r\n" );
document.write( "Step 3 is to solve equation 1 and equation 2:\r\n" );
document.write( "\r\n" );
document.write( "\"system%282x%2B2y=0%2C5x-2y=-7%29\"\r\n" );
document.write( "\r\n" );
document.write( " All I have to do is add them term by term and the y's will\r\n" );
document.write( "cancel:\r\n" );
document.write( "\r\n" );
document.write( "The result is:\r\n" );
document.write( "\r\n" );
document.write( "\"7x=-7%29\"\r\n" );
document.write( "\"x=-1\"\r\n" );
document.write( "\r\n" );
document.write( "Substitute in\r\n" );
document.write( "\r\n" );
document.write( "\"2x%2B2y=0\"\r\n" );
document.write( "\"2%28-1%29%2B2y=0\"\r\n" );
document.write( "\"-2%2B2y=0\"\r\n" );
document.write( "\"2y=2\"\r\n" );
document.write( "\"y=1\"\r\n" );
document.write( "\r\n" );
document.write( "Step 4 is to substitute theose two values in one of the original \r\n" );
document.write( "equations to find the third letter z. I'll pick the first original \r\n" );
document.write( "equation:\r\n" );
document.write( "\r\n" );
document.write( "\"x%2By%2Bz=-2\"\r\n" );
document.write( "\"-1%2B1%2Bz=-2\"\r\n" );
document.write( "\"0%2Bz=-2\"\r\n" );
document.write( "\"z=-2\"\r\n" );
document.write( "\r\n" );
document.write( "solution \"%22%28x%2Cy%2Cz%29%22\"\"%22%22=%22%22\"\"%22%28-1%2C1%2C-2%29%22\"\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );