Question 153430
<Font size = 6 color = "red">Stanbon's solution has a mistake.
Edwin's Solution:</font> 
<pre><font size = 4 color = "indigo"><b>
{{{system(2x+6y+8z=5,-2x+9y-12z=-1,4x+6y-4z=3)}}} 

 [ 2   6   8 |  5]
 [-2   9 -12 | -1]
 [ 4   6  -4 |  3]

We must get 0's where the -2, 
the 4, and the 6 are now. We 
make three 0's in the lower 
left hand corner

The top row will never change. 
The other two will. To get a 0 
where the -2 is, We multiply 1 
times the first row and add it 
to 1 times the 2nd row. It's a 
good idea to put what you're
going to multiply a row by out
to the left of the row, even 
when it is just 1, like this:

1[ 2   6   8 |  5]
1[-2   9 -12 | -1]
 [ 4   6  -4 |  3]

The next matrix is then

 [ 2   6   8 |  5]
 [ 0  15  -4 |  4]
 [ 4   6  -4 |  3]

To get a 0 where the 4 is, 
We multiply -2 times the first 
row and add it to 1 times the 
3rd row. 

-2[ 2   6   8 |  5]
  [ 0  15  -4 |  4]
 1[ 4   6  -4 |  3]

  [ 2   6   8 |  5]
  [ 0  15  -4 |  4]
  [ 0  -6 -20 | -7]

To get a 0 where the -6 is, 
we notice that the least common
multiple of 15 and 6 is 30.  So,
We multiply 2 times the second 
row and add it to 5 times the 
3rd row.

  [ 2   6   8 |  5]
 2[ 0  15  -4 |  4]
 5[ 0  -6 -20 | -7]

We get this:

  [ 2   6    8|  5]
  [ 0  15   -4|  4]
  [ 0   0 -108|-27]

Now that we have three 0's in the
lower left corner, we go back to
a system of equations:

{{{system(2x+6y+8z=5,15y-4z=4,-108z=-27 )}}}

Start at the bottom, and go back up.
This is called back-substitution.
Start with the bottom equation, solve for
z:

{{{-108z=-27}}}
{{{z=(-27)/(-108)}}}
{{{z=1/4}}}

Substitute {{{1/4}}} for {{{z}}} in the
second equation:

{{{15y-4z=4}}}
{{{15y-4(1/4)=4}}}
{{{15y-1=4}}}
{{{15y= 5}}}
{{{y=5/15}}}
{{{y=1/3}}}

Finally sibstitute both {{{1/4}}} for {{{z}}}
and {{{1/3}}} for {{{y}}}

{{{2x+6y+8z=5}}}
{{{2x+6(1/3)+8(1/4)=5}}}
{{{2x+2+2=5}}}
{{{2x+4=5}}}
{{{2x=1}}}
{{{x=1/2}}}

So the solution is

(x,y,z)=({{{1/2}}},{{{1/3}}},{{{1/4}}})

Edwin</pre>