SOLUTION: I do not understand how to solve systems of linear equations in three variables. Could someone please explain how I would solve this problem x+y-z=-1 -4x+-y+2z=-7

Algebra.Com
Question 153681: I do not understand how to solve systems of linear equations in three variables.
Could someone please explain how I would solve this problem
x+y-z=-1
-4x+-y+2z=-7
2x+-2y+-5z=7

Found 2 solutions by Fombitz, ktsau:
Answer by Fombitz(32388)   (Show Source): You can put this solution on YOUR website!
There are many ways to solve.
We'll use elimination.
Combine the equations to get rid of one of the variables.
1.
2.
3.
Add eq.1 and eq.2, to get rid of y.

4.
Multiply eq. 2 by (-2) and add it to 3


5.
Now you have two equations 4 and 5 in x and z.
Keep going.
Multiply eq. 4 by (9) and add to eq. 5 to get rid of z.




Now that you have x you can work back to get z and then y.
5.




Finally,
1.



This method will work with as many number of equations as you have although it does get more tedious and prone to making mistakes when the number of equations gets too large.

Answer by ktsau(1)   (Show Source): You can put this solution on YOUR website!
Hi! We usually use simultaneous equations to solve this kind of question.
Firstly, name the formulas:
x+y-z=-1 -- (1)
-4x+-y+2z=-7 -- (2)
2x+-2y+-5z=7 -- (3)
the next thing we do is to prevent those three variables appear in a same formula, so, we need to remove one of them by subtracting or adding the formulas together. At the same time, we need to express a variable in terms of another variable. If you look careful enough, you will find 'y' can be removed by adding (1) and (2) together:
(1)+(2): x+y-z+(-4x-y+2z) = -1+(-7)
x-4x+y-y-z+2z = -8
-3x+z = -8
z = 3x-8 -- (4)
As shown above, i've expressed z in terms of x, and a new formula has produced. What i usually do is to give a name for new formulas: (4). Okay, let's ignore (4) for a second. And take a look at (2) and (3), i'm going to remove 'y' by substracting. But before that, we need to multiply (2) by 2, otherwise, the 'y' won't go.
(2)x2: (-4x+-y+2z)x2=-7x2
-8x-2y+4z =-14 -- (5)
Now, we can remove 'y' by substracting:
(5)-(3): -8x-2y+4z-(2x-2y-5z) = -14-(7)
-8x-2x-2y+2y+4z+5z = -21
-10x+9z = -21
At this moment, we substitute (4) into above formula.
-10x+9(3x-8) = -21
-10x+27x-72 = -21
17x = -21+72
17x = 51
x = 3
Now we've got one variable solved. Let's use 'x' to solve the others!
In here, we substitute x=3 into (4):
z=3(3)-8
z=1
Here's the last step, substitute all the knowns into one formula, i'll use the easiest one.
Sub. x=3, z=1 into (1)
(3)+y-(1) =-1
y =-1-3+1
y =-3
so, x=3, y=-3 and z=1. You may also check the answers by substituting them into other formulas. ( From (2): -4(3)-(-3)+2(1) = -7 )
Hope it helps!
see you later!

RELATED QUESTIONS

I don't understand how systems of linear equations work, please explain it to... (answered by richwmiller)
Could someone please explain how to do these problems, we are solving problems with two... (answered by ewatrrr,stanbon,solver91311)
Could you please explain the word problem for me so that I can explain to my son, In a... (answered by longjonsilver)
Solving Systems of Linear Equations by the Substitution Method. I am having a... (answered by stanbon)
Solving Systems of Linear Equations by the Substitution Method. I am having a... (answered by stanbon)
Solving Systems of Linear Equations by the Substitution Method. I am having a... (answered by stanbon)
I don't understand how to solve systems of... (answered by Alan3354)
Solving Systems of Linear Equations by the Substitution Method. I am having a... (answered by stanbon)
When solving a system of equations, how do I know what numbers to put in place of x and... (answered by jim_thompson5910)