document.write( "Question 53677: This is a question involving 3 variables, solve by elimination:\r
\n" ); document.write( "\n" ); document.write( "2x - 5y + 3z = -1
\n" ); document.write( "x + 4y - 2z = 9
\n" ); document.write( "x - 2y - 4z = -5
\n" ); document.write( "

Algebra.Com's Answer #35914 by funmath(2933)\"\" \"About 
You can put this solution on YOUR website!
You'll like these much better once you are introduced to matrices. Until then, we eliminate.
\n" ); document.write( "2x-5y+3z=-1
\n" ); document.write( "x+4y-2z=9
\n" ); document.write( "x-2z-4z=-5
\n" ); document.write( "-----------------------------------------------
\n" ); document.write( "(Step 1)Eliminate the x in the first 2 equations:
\n" ); document.write( "2x-5y+3z=-1
\n" ); document.write( "x+4y-2z=9
\n" ); document.write( "----
\n" ); document.write( "Multiply the second equation by -2 and add the two equations together.
\n" ); document.write( "2x-5y+3y=-1
\n" ); document.write( "-2(x+4y-2z)=-2(9)
\n" ); document.write( "---
\n" ); document.write( "2x-5y+3y=-1
\n" ); document.write( "-2x-8y+4z=-18
\n" ); document.write( "_____________
\n" ); document.write( "0x-13y+7z=-19
\n" ); document.write( "The result of step 1 is -13y+7y=-19
\n" ); document.write( "--------------------------------------------------
\n" ); document.write( "(Step 2)Eliminate the x in the second two equations:
\n" ); document.write( "x+4y-2z=9
\n" ); document.write( "x-2y-4z=-5
\n" ); document.write( "----
\n" ); document.write( "Multiply the the last equation by -1 and add the two equations together.
\n" ); document.write( "x+4y-2z=9
\n" ); document.write( "-1(x-2y-4z)=-1(-5)
\n" ); document.write( "---
\n" ); document.write( "x+4y-2z=9
\n" ); document.write( "-x+2y+4z=5
\n" ); document.write( "__________
\n" ); document.write( "0x+6y+2z=14
\n" ); document.write( "The result of step 2 is 6y+2z=14
\n" ); document.write( "-----------------------------------------------------
\n" ); document.write( "(Step 3) Eliminate the z's in the two equations that are the results of steps 1 and 2 and solve for y.
\n" ); document.write( "-13y+7z=-19
\n" ); document.write( "6y+2z=14
\n" ); document.write( "----Multiply the result of step one by-2 and multiply the result of step 2 by 7 and add the two equations together.
\n" ); document.write( "-2(-13z+7z)=-2(-19)
\n" ); document.write( "7(6y+2z)=7(14)
\n" ); document.write( "----
\n" ); document.write( "26y-14z=38
\n" ); document.write( "42y+14z=98
\n" ); document.write( "__________
\n" ); document.write( "68y+0z=136
\n" ); document.write( "68y=136
\n" ); document.write( "68y/68=136/68
\n" ); document.write( "y=2
\n" ); document.write( "----------------------------------------------------------------------
\n" ); document.write( "(Step 4) Substitute y=2 into the result of step 2 and solve for z:
\n" ); document.write( "6(2)+2z=14
\n" ); document.write( "12+2z=14
\n" ); document.write( "-12+12+2z=14-12
\n" ); document.write( "2z=2
\n" ); document.write( "2z/2=2/2
\n" ); document.write( "z=1
\n" ); document.write( "----------------------------------------------------------------------
\n" ); document.write( "(step 5) Substitute the y=2 that we got in step 3 and the z=1 that we got from step 4 into one of the original equations (I'm picking the last one because it looks easiest) and solve for x.
\n" ); document.write( "x-2(2)-4(1)=-5
\n" ); document.write( "x-4-4=-5
\n" ); document.write( "x-8=-5
\n" ); document.write( "x-8+8=-5+8
\n" ); document.write( "x=3
\n" ); document.write( "-------------------------------------------------------------------------
\n" ); document.write( "(Step 6) Check your answer (3,2,1) in all three equations to see if they check. There are way too many ways to mess these things up!
\n" ); document.write( "2(3)-5(2)+3(1)=-1
\n" ); document.write( "6-10+3=-1
\n" ); document.write( "-1=-1 Equation 1 checks, we're looking good.
\n" ); document.write( "(3)+4(2)-2(1)=9
\n" ); document.write( "3+8-2=9
\n" ); document.write( "9=9 Equation 2 checks, we're looking better.
\n" ); document.write( "(3)-2(2)-4(1)=-5
\n" ); document.write( "3-4-4=-5 Equation 3 checks, we're right!!!!
\n" ); document.write( "The answer is: (x,y,z)=(3,2,1).
\n" ); document.write( "Happy Calculating!!!!
\n" ); document.write( "
\n" ); document.write( "
\n" );