document.write( "Question 224322: Solve the following system of equations by any method you wish
\n" ); document.write( "X + y = 5
\n" ); document.write( "X + 2z = 6
\n" ); document.write( "Y + 3z = 4
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #167679 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
X + y = 5
\n" ); document.write( "X + 2z = 6
\n" ); document.write( "Y + 3z = 4
\n" ); document.write( ":
\n" ); document.write( "Rewrite it like this
\n" ); document.write( "x + y + 0z = 5
\n" ); document.write( "x + 0y + 2z = 6
\n" ); document.write( "0x + y + 3z = 4
\n" ); document.write( ":
\n" ); document.write( "Subtract the 3rd equation from the 1st equation
\n" ); document.write( "x + y + 0z = 5
\n" ); document.write( "0x + y + 3z = 4
\n" ); document.write( "--------------------subtraction eliminates y
\n" ); document.write( "x - 3z = 1
\n" ); document.write( "x = 3z + 1
\n" ); document.write( ":
\n" ); document.write( "Substitute (3z+1) for x in the 2nd equation
\n" ); document.write( "3z + 1 + 2z = 6
\n" ); document.write( "5z = 6 - 1
\n" ); document.write( "5z = 5
\n" ); document.write( "z = 1
\n" ); document.write( ":
\n" ); document.write( "Find x using x = 3z + 1
\n" ); document.write( "x = 3(1) + 1
\n" ); document.write( "x = 4
\n" ); document.write( ":
\n" ); document.write( "Find y using the 1st equation: x + y = 5
\n" ); document.write( "4 + y = 5
\n" ); document.write( "y = 5-4
\n" ); document.write( "y = 1
\n" ); document.write( ":
\n" ); document.write( "I'll let you check these values in the original equations
\n" ); document.write( "
\n" ); document.write( "
\n" );