Rules:
1. Pick 2 of the equations, and pick a letter to eliminate, and multiply
the equations through as is necessary to make the letter cancel out.
2. Take the equation you did not use in step 1, together with one of the
equations you used in step 1, and eliminate the SAME letter you eliminated
in step 1.
3. The results of step 1 and step 2 give you two equations in two letters.
Solve them for the two letters they contain.
4. Substitute those two values in one of the original equations and solve
for the remaining letter (the one you eliminated in steps 1 and 2.
---------------------
2x - y + z = 1
x + y - 7z = 2
3x - y + z = 0
1. Pick 2 of the equations, and pick a letter to eliminate, and multiply
the equations through as is necessary to make the letter cancel out.
I will pick the 2nd and 3rd equations and pick y to eliminate because that's
easy since the y's cancel without multiplying either one through.
x + y - 7z = 2
3x - y + z = 0
---------------
4x - 6z = 2
[Notice that since all the numbers in that equation are even, we can
divide that equation through by 2.]
2x - 3z = 1
2. Take the equation you did not use in step 1, together with one of the
equations you used in step 1, and eliminate the SAME letter you eliminated
in step 1.
The equation I did not use in step 1 is
2x - y + z = 1
I will take it together with this one that I did use in step 1:
x + y - 7z = 2
I will eliminate the letter y because that's the same letter I chose to
eliminate in step 1.
I don't need to multiply either equation through by anything because
the y's cancel as they are:
2x - y + z = 1
x + y - 7z = 2
---------------
3x - 6z = 3
[Notice that since all the numbers in that equation are multiples of 3,
we can divide that equation through by 3.]
x - 2z = 1
3. The results of step 1 and step 2 give you two equations in two letters.
Solve them for the two letters they contain.
2x - 3z = 1
x - 2z = 1
To make the x's cancel multiply the second equation through by -2 and add
corresponding terms:
2x - 3z = 2
-2x + 2z = -1
--------------
-z = 1
z = -1
Substitute -1 for z in
x - 2z = 1
x - 2(-1) = 1
x + 2 = 1
x = -1
4. Substitute those two values in one of the original equations and solve
for the remaining letter (the one you eliminated in steps 1 and 2.
So we substitute x = -1 and z = 1 in one of the original equations, say,
x + y - 7z = 2
-1 + y - 7(-1) = 2
-1 + y + 7 = 2
y + 6 = 2
y = -4
So the solution is (x,y,z) = (-1,-4,-1)
Edwin