document.write( "Question 976106: Please solve and show work. Use the Gauss-Jordan method to solve the system of equations.\r
\n" ); document.write( "\n" ); document.write( "x+y+z= -1
\n" ); document.write( "x - y + 3z = -7
\n" ); document.write( "4x+y+z= -7\r
\n" ); document.write( "\n" ); document.write( "x =
\n" ); document.write( "y =
\n" ); document.write( "z =\r
\n" ); document.write( "\n" ); document.write( "Thank you.
\n" ); document.write( "

Algebra.Com's Answer #597803 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
Instead of doing your problem for you, I'll do one just like it and
\n" ); document.write( "you can use it as a guide:\r
\n" ); document.write( "\n" ); document.write( "\"system%28x+%2B+y+%2B+z=+4%2C%0D%0A2x+-+y+%2B+3z=+4%2C%0D%0A4x+%2B+2y+-+z=+-15%29\"\r
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Write that as a matrix by dropping the letters\r\n" );
document.write( "and putting vertical line instead of equal signs:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The idea is to get three zeros in the three positions\r\n" );
document.write( "in the lower left corner of the matrix, where the elements\r\n" );
document.write( "I've colored red are:\r\n" );
document.write( "\r\n" );
document.write( "To get a 0 where the red 2 on the left of the middle row is,\r\n" );
document.write( "multiply R1 by -2 and add it to 1 times R2, and put it in place \r\n" );
document.write( "of the present R2.  That's written as\r\n" );
document.write( "\r\n" );
document.write( "-2R1+1R2->R2\r\n" );
document.write( "\r\n" );
document.write( "To make it easy, write the multipliers to the left of the two\r\n" );
document.write( "rows you're working with; that is, put a -2 by R1 and a 1 by R2\r\n" );
document.write( "\r\n" );
document.write( "\"matrix%283%2C1%2C-2%2C1%2C%22%22%29\"\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "We are going to change only R2.  Although R1 gets multiplied\r\n" );
document.write( "by -2 we are going to just do that mentally and add it to R2, but\r\n" );
document.write( "not really change R1.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "-----\r\n" );
document.write( "\r\n" );
document.write( "To get a 0 where the lower left red 4 is, multiply R1\r\n" );
document.write( "by -4 and add it to 1 times R3.  That's written as\r\n" );
document.write( "\r\n" );
document.write( "-4R1+1R3->R3\r\n" );
document.write( "\r\n" );
document.write( "Write the multipliers to the left of the two rows you're \r\n" );
document.write( "working with; that is, put a -4 by R1 and a 1 by R3\r\n" );
document.write( "\r\n" );
document.write( "\"matrix%283%2C1%2C-4%2C%22%22%2C1%29\"\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "We are going to change only R3. \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "---------------\r\n" );
document.write( "\r\n" );
document.write( "To get a 0 where the red -2 is, multiply R2\r\n" );
document.write( "by -2 and add it to 3 times R3.  That's written as\r\n" );
document.write( "\r\n" );
document.write( "-2R2+3R3->R3\r\n" );
document.write( "\r\n" );
document.write( "Write the multipliers to the left of the two\r\n" );
document.write( "rows you're working with; that is, put a -2 by R2 and a 3 by R3\r\n" );
document.write( "\r\n" );
document.write( "\"matrix%283%2C1%2C%22%22%2C%22-2%22%2C3%29\"\r\n" );
document.write( "\r\n" );
document.write( "We are going to change only R3. \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now that we have 0's in the three positions in the\r\n" );
document.write( "lower left corner of the matrix, we change the matrix\r\n" );
document.write( "back to equations:\r\n" );
document.write( "\r\n" );
document.write( "\"system%28x%2By%2Bz=4%2C-3y%2Bz=-4%2C-17z=-85%29\"\r\n" );
document.write( "\r\n" );
document.write( "Solve the third equation for z:\r\n" );
document.write( "\r\n" );
document.write( "\"-17z=-85\"\r\n" );
document.write( "\"z=%28-85%29%2F%28-17%29\"\r\n" );
document.write( "\"z=5\"\r\n" );
document.write( "\r\n" );
document.write( "Substitute 5 for z in the middle equation:\r\n" );
document.write( "\r\n" );
document.write( "\"-3y%2Bz=-4\"\r\n" );
document.write( "\"-3y%2B%285%29=-4\"\r\n" );
document.write( "\"-3y%2B5=-4\"\r\n" );
document.write( "\"-3y=-9\"\r\n" );
document.write( "\"y=3\"\r\n" );
document.write( "\r\n" );
document.write( "Substitute 5 for z and 3 for y in the top equation:\r\n" );
document.write( "\r\n" );
document.write( "\"x%2By%2Bz=4\"\r\n" );
document.write( "\"x%2B%283%29%2B%285%29=4\"\r\n" );
document.write( "\"x%2B3%2B5=4\"\r\n" );
document.write( "\"x%2B8=4\"\r\n" );
document.write( "\"x=-4\"\r\n" );
document.write( "\r\n" );
document.write( "So the solution is \"%22%28x%2Cy%2Cz%29%22=%22%28-4%2C3%2C5%29%22\"\r\n" );
document.write( "\r\n" );
document.write( "Edwin

\n" ); document.write( "
\n" ); document.write( "
\n" );