document.write( "Question 1203437: 3x+6y-z=7
\n" ); document.write( "2x-3y+5z=-12
\n" ); document.write( "8x+9y-2z=12
\n" ); document.write( "

Algebra.Com's Answer #839011 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "The button on wolframalpha.com for seeing the step-by-step solution does not work unless you have acquired special privileges on their site. And the beginning of the step-by-step solution you can see shows a rigid solution method that might not be the easiest.

\n" ); document.write( "And with a system of 3 equations I would not use substitution as the other tutor does... although that is a valid method.

\n" ); document.write( "Given three linear equations in three variables, I would definitely use elimination instead of substitution.

\n" ); document.write( "The general solution method for a system of any number of linear equations is to eliminate one variable at a time.

\n" ); document.write( "Our equations are

\n" ); document.write( "\"3x%2B6y-z=7\" [1]
\n" ); document.write( "\"2x-3y%2B5z=-12\" [2]
\n" ); document.write( "\"8x%2B9y-2z=12\" [3]

\n" ); document.write( "Use the \"-z\" in the first equation to eliminate the variable z in the other two equations, using elimination.

\n" ); document.write( "\"15x%2B30y-5z=35\" [1], multiplied by 5
\n" ); document.write( "\"2x-3y%2B5z=-12\" [2]
\n" ); document.write( "\"17x%2B27y=23\" [4] [the sum of those two equations]

\n" ); document.write( "and

\n" ); document.write( "\"-6x-12y%2B2z=-14\" [1], multiplied by -2
\n" ); document.write( "\"8x%2B9y-2z=12\" [2]
\n" ); document.write( "\"2x-3y=-2\" [5] [the sum of those two equations]

\n" ); document.write( "We have reduced the system of 3 equations in 3 variables to a system of 2 equations in 2 variables. Use elimination again to eliminate one of the variables; solve for the remaining variable, and back substitute to find the final answer.

\n" ); document.write( "\"17x%2B27y=23\" [4]
\n" ); document.write( "\"18x-27y=-18\" [5], multiplied by 9
\n" ); document.write( "\"35x=5\" [the sum of those two equations]
\n" ); document.write( "\"x=5%2F35+=+1%2F7\"

\n" ); document.write( "Substitute x = 1/7 in [5] and solve for y

\n" ); document.write( "\"2%2F7-3y=-2\"
\n" ); document.write( "\"2-21y=-14\"
\n" ); document.write( "\"-21y=-16\"
\n" ); document.write( "\"y=%28-16%29%2F%28-21%29=16%2F21\"

\n" ); document.write( "Substitute x = 1/7 and y = 16/21 in [1] and solve for z

\n" ); document.write( "\"3%2F7%2B6%2816%2F21%29-z=7\"
\n" ); document.write( "\"3%2F7%2B32%2F7-z=7\"
\n" ); document.write( "\"35%2F7-z=7\"
\n" ); document.write( "\"5-z=7\"
\n" ); document.write( "\"z=2\"

\n" ); document.write( "ANSWER: (x,y,z) = (1/7,16/21,-2)

\n" ); document.write( "
\n" ); document.write( "
\n" );