document.write( "Question 391152: 2x+y-z=7
\n" ); document.write( "2x-y+3z=13
\n" ); document.write( "3x+2y-z=17
\n" ); document.write( "

Algebra.Com's Answer #277454 by richard1234(7193)\"\" \"About 
You can put this solution on YOUR website!
Add the first two equations (this clears out the y-term) to get\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "4x + 2z = 20 --> 2x + z = 10\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Multiply the second equation by 2, so we can add the second and third equations and also clear the y-terms. This results in another equation in terms of x and z that is not equivalent to the one we already obtained.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "4x - 2y + 6z = 26
\n" ); document.write( "3x + 2y - z = 17
\n" ); document.write( "--------------------
\n" ); document.write( "7x + 5z = 43\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We can rewrite this as 5(2x + z) - 3x = 43 --> 5(10) - 3x = 43 --> x = 7/3, z = 16/3. Substituting x and z into any of the equations, we get y = 23/3. Therefore the solution (x,y,z) is (7/3, 23/3, 16/3).
\n" ); document.write( "
\n" );