SOLUTION: Solve the Following: x-2y=2 2x-z=-2 x-y-2z=4

Algebra ->  Coordinate Systems and Linear Equations -> SOLUTION: Solve the Following: x-2y=2 2x-z=-2 x-y-2z=4      Log On


   



Question 72925: Solve the Following:
x-2y=2
2x-z=-2
x-y-2z=4

Answer by bucky(2189) About Me  (Show Source):
You can put this solution on YOUR website!
Given:
.
x-2y=2
2x-z=-2
x-y-2z=4
.
A clue to this one is that x is the only variable that appears in all three of these
equations. Therefore let's solve the top equation for y in terms of x. Then let's
solve the middle equation for z in terms of x. When we do those two things we can substitute
for y and z in the bottom equation. If we do that, then the bottom equation will have only
x as a variable and we can, therefore, solve that equation for x and back solve to get
y and z.
.
That's the plan. Let's see how it develops.
.
The first equation is: x+-+2y+=+2. Let's solve it for y in terms of x.
.
First subtract x from both sides to get:
.
-2y+=+-x+%2B+2
.
Next divide all terms on both sides by -2 to solve for y. The answer is:
.
y+=+%28-x%2F-2%29+%2B%282%2F-2%29+=+%28x%2F2%29+-+1
.
Remember that y+=+%28x%2F2%29+%2B+1. We'll use it later.
.
Next solve the middle equation for z in terms of x. Start with:
.
2x-z=-2
.
Subtract 2x from both sides to eliminate the 2x on the left side and get:
.
-z+=+-2x+-+2
.
Next multiply all terms on both sides by -1 to change -z to + z. The result is:
.
z+=+2x+%2B+2
.
Remember this also. We'll be using it shortly.
.
Next go to the bottom one of the three given equations. It is:
.
x-y-2z=4
.
Substitute the right side of the equations we got above for y and z. When you do this
equation becomes:
.
x+-+%28x%2F2+-+1%29+-2%2A%282x%2B2%29=+4
.
This reduces to:
.
x+-+x%2F2+%2B+1+-4x+-+4+=+4
.
Double all the terms to get rid of the denominator of 2 and you get:
.
2x+-+x+%2B+2+-+8x+-+8+=+8
.
Combine the x terms on the left side to get:
.
-7x+%2B2+-8+=+8
.
Combine the numbers on the left side to get -6 and then add +6 to both sides to get rid
of the number -10 on the left side. The result is:
.
-7x+=+14
.
and if you divide both sides by -7 you find that:
.
x+=+-14%2F7+=+-2
.
Now that we know x=-2 we can return to the given top equation, substitute -2 for x and
solve for y to get:
.
x-2y=2 = -2+-+2y+=+2
.
Add +2 to both sides to get rid of the - 2 on the left side. The equation then becomes:
.
-2y+=+4
.
and dividing both sides by - 2 your get that y+=+-2.
.
Now take the value of x and substitute it into the middle one of the given equations
to get:
.
2x-z=-2 = 2%2A%28-2%29+-+z+=+-2
.
Do the multiplication on the left side:
.
-4+-+z+=+-2
.
Add 4 to both sides to eliminate the -4 on the left side and you get:
.
+-+z+=+%2B2
.
Finally multiply both sides by -1 so that you are finding +z. You end up with:
.
z+=+-2
.
Interesting. All three variables (x, y, and z) equal -2.
.
Hope this method helps you to understand the substitution method of working with three linear
equations that have a total of three variables.