document.write( "Question 204756: Solve the system of equations, thank you
\n" ); document.write( " 3x + 4y + z = 7
\n" ); document.write( " 2y + z = 3
\n" ); document.write( "-5x + 3y + 8z = -31
\n" ); document.write( "

Algebra.Com's Answer #154550 by alicealc(293)\"\" \"About 
You can put this solution on YOUR website!
eliminate x from the 1st and 3rd equations by:
\n" ); document.write( "multiply the 1st equation by 5:
\n" ); document.write( "15x + 20y + 5z = 35
\n" ); document.write( "multiply the 3rd equation by 3:
\n" ); document.write( "-15x + 9y + 24z = -93
\n" ); document.write( "add them up:
\n" ); document.write( "15x + 20y + 5z = 35
\n" ); document.write( "-15x + 9y + 24z = -93
\n" ); document.write( "------------------------- (+)
\n" ); document.write( "29y + 29z = -58
\n" ); document.write( "------------------ (divide each side by 29)
\n" ); document.write( "y + z = -2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "subtract the 2nd equation from the problem with this new equation:
\n" ); document.write( "2y + z = 3
\n" ); document.write( "y + z = -2
\n" ); document.write( "------------- (-)
\n" ); document.write( "y = 5\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "substitute the value of y into 2nd equation:
\n" ); document.write( "2y + z = 3
\n" ); document.write( "2*5 + z = 3
\n" ); document.write( "10+ z = 3
\n" ); document.write( "z = 3 - 10 = -7\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "substitute the value of y and z into the 1st equation:
\n" ); document.write( "3x + 4y + z = 7
\n" ); document.write( "3x + 4*5 + (-7) = 7
\n" ); document.write( "3x + 20 - 7 = 7
\n" ); document.write( "3x + 13 = 7
\n" ); document.write( "3x = 7 - 13
\n" ); document.write( "3x = -6
\n" ); document.write( "x = -6/3 = -2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "so, x = -2, y = 5, z = -7\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );