document.write( "Question 159233: Hi,-
\n" ); document.write( "I have a problem with substitution that does not allow the use of matrices:\r
\n" ); document.write( "\n" ); document.write( "2x + y = -2
\n" ); document.write( "-x + 3y - 4z = -26
\n" ); document.write( "5x - 6y + z = 17\r
\n" ); document.write( "\n" ); document.write( "I started by solving for y in the first equation: y = -2 - 2x
\n" ); document.write( "I then solved for x in the second equation: 3y -4z +26 = x
\n" ); document.write( "I plugged the x and y values into the third equation
\n" ); document.write( " 5(3(-2-2x) - 6(-2 - 2x) + z = 17
\n" ); document.write( " 5(-6 -6x) + 12 + 12x + z = 17
\n" ); document.write( " -30 + 30x + 12 + 12x + z = 17
\n" ); document.write( " 42 x + z -18 = 17
\n" ); document.write( " 42x + z = 35
\n" ); document.write( " z = 35 - 42x
\n" ); document.write( "Now I'm stuck.\r
\n" ); document.write( "\n" ); document.write( "Thank you.
\n" ); document.write( "

Algebra.Com's Answer #117370 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
Hi, I have a problem with substitution that does not allow the use of matrices:
\n" ); document.write( "2x + y = -2
\n" ); document.write( "-x + 3y - 4z = -26
\n" ); document.write( "5x - 6y + z = 17
\n" ); document.write( "I started by solving for y in the first equation: y = -2 - 2x
\n" ); document.write( "I then solved for x in the second equation: 3y -4z +26 = x
\n" ); document.write( "I plugged the x and y values into the third equation
\n" ); document.write( "5(3(-2-2x) - 6(-2 - 2x) + z = 17
\n" ); document.write( "5(-6 -6x) + 12 + 12x + z = 17
\n" ); document.write( "-30 + 30x + 12 + 12x + z = 17 (should be -30x)
\n" ); document.write( "42 x + z -18 = 17
\n" ); document.write( "-18x + z = 35
\n" ); document.write( "z = 35 + 18x
\n" ); document.write( "Now I'm stuck.
\n" ); document.write( "Thank you.
\n" ); document.write( "------------------
\n" ); document.write( "Since there's no z term in the 1st eqn, sub for y in eqns 2 & 3. Then you'll have 2 eqns in 2 unknowns.
\n" ); document.write( "I started by solving for y in the first equation: y = -2 - 2x
\n" ); document.write( "-x + 3y - 4z = -26
\n" ); document.write( "5x - 6y + z = 17
\n" ); document.write( "--------------
\n" ); document.write( "-x + 3(-2-2x) -4z = -26
\n" ); document.write( "5x -6(-2-2x) +z = 17
\n" ); document.write( "collect terms
\n" ); document.write( "-x -6-6x -4z = -26
\n" ); document.write( "5x +12 +12x +z = 17
\n" ); document.write( "--------
\n" ); document.write( "-7x -4z = -20
\n" ); document.write( "17x + z = 5
\n" ); document.write( "-----------
\n" ); document.write( "Take the easy one, z = 5-17x
\n" ); document.write( "Sub into -7x -4z = -20
\n" ); document.write( "-7x -4(5-17x) = -20
\n" ); document.write( "-7x -20 + 68x = -20
\n" ); document.write( "61x = 0
\n" ); document.write( "x = 0
\n" ); document.write( "So y = -2
\n" ); document.write( "z = 5
\n" ); document.write( "-------
\n" ); document.write( "Check each original eqn:
\n" ); document.write( "2x + y = -2
\n" ); document.write( "-x + 3y - 4z = -26
\n" ); document.write( "5x - 6y + z = 17
\n" ); document.write( "-----
\n" ); document.write( "The 1st is good.
\n" ); document.write( "0 + 3(-2) - 4*5 = -26 is good.
\n" ); document.write( "0 -6(-2) + 5 = 17 is good.
\n" ); document.write( "It all works.
\n" ); document.write( "---------------
\n" ); document.write( "I think doing eliminating 1 variable at a time works better. Other methods might work, too, as you tried, but it's more confusing.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );