\r\n" );
document.write( "In the Gauss-Jordan elimination, you start with a system\r\n" );
document.write( "of three equations and three unknowns:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Then you convert it to this matrix:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Then you use row operations and end up with a matrix like this:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "That is, you get 0's in the lower left three elements.\r\n" );
document.write( "\r\n" );
document.write( "Then you convert back to a system of equations:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Then you do what is called \"back-substitution\":\r\n" );
document.write( "\r\n" );
document.write( "1. Solve the bottom equation for z.\r\n" );
document.write( "2. Substitute that value of z in the middle equation, \r\n" );
document.write( " and solve for y.\r\n" );
document.write( "3. Substitute the values of y and z in the top equation\r\n" );
document.write( " and solve for x. \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 3 is on the middle row:\r\n" );
document.write( "\r\n" );
document.write( "Multiply the top row by -3 and the middle row by 7, and\r\n" );
document.write( "add them together:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "--------------\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Replace the second row by that, leaving the rest as is\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "To get a 0 where the 5 is on the bottom row:\r\n" );
document.write( "\r\n" );
document.write( "Multiply the top row by -5 and the bottom row by 7, and\r\n" );
document.write( "add them together:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "--------------\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Notice that as it turns out, we can divide that through\r\n" );
document.write( "by -2, so we might as well do that too, and get:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "We replace the bottom row by that, leaving the rest as is\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "To get a 0 where the 2 is on the bottom row:\r\n" );
document.write( "\r\n" );
document.write( "Take the middle row as it is. Multiply the bottom row by 25, and\r\n" );
document.write( "add them together:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "--------------\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Notice that as it turns out, we can divide that through\r\n" );
document.write( "by 448, so we might as well do that too, and get:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "We replace the bottom row by that, leaving the rest as is\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Then we convert that back to this system of equations:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "or rather,\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Now we do what is called \"back-substitution\":\r\n" );
document.write( "\r\n" );
document.write( "The bottom equation is already solved for z.\r\n" );
document.write( "\r\n" );
document.write( "Substitute
in the middle equation:\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( "\r\n" );
document.write( "Substitute
and
in the top\r\n" );
document.write( "equation:\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( "
\r\n" );
document.write( "\r\n" );
document.write( "So the solution is
\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" );
document.write( " \n" );
document.write( "