SOLUTION: I am trying to solve a linear equation with three variables and I am stuck on this problem. My teacher said the answer is not in a fraction but is a whole number but every time I h

Algebra ->  Linear-equations -> SOLUTION: I am trying to solve a linear equation with three variables and I am stuck on this problem. My teacher said the answer is not in a fraction but is a whole number but every time I h      Log On


   



Question 785389: I am trying to solve a linear equation with three variables and I am stuck on this problem. My teacher said the answer is not in a fraction but is a whole number but every time I have tried to solve it I get a fraction.
3x-2y+3z=11
5x+2y-2z=4
-x+y+z=-7

Answer by KMST(5328) About Me  (Show Source):
You can put this solution on YOUR website!
When my solution does not check, or looks too complicated, I throw away my prior attempt, take a few deep breaths, and start again from scratch writing as big and neatly as possible on a large, clean piece of paper. I did that with your problem, twice, and the third time was a charm. (If I reviewed what I had done looking for the mistake, I would be most likely to miss it).

In system%283x-2y%2B3z=11%2C5x%2B2y-2z=4%2C-x%2By%2Bz=-7%29,
-x+y+z=-7 looks like the simplest of the three equations.
I am going to use it to eliminate z from the other two.
(The sooner I eliminate z the less likely I am to confuse it with a 2).

I multiply -x+y+z=-7 times %28-3%29 and add it to 3x-2y+3z=11:
3x -2y +3z = 11
3x -3y -3z = 21
______________
6x -5y = 32

I multiply -x+y+z=-7 times 2 and add it to 5x+2y-2z=4:
5x +2y -2z = 4
-2x +2y +2z = -14
______________
3x +4y = -10

Now I have the equivalent system
system%28-x%2By%2Bz=-7%2C6x-5y=32%2C3x%2B4y=-10%29
I am going to combine 6x-5y=32 and 3x+4y=-10 to get an equation without x.

I multiply 3x+4y=-10 times %28-2%29 and add it to 6x-5y=32:
6x -5y = 32
-6x -8y = 20
___________
-13y = 52 ---------> y = 52 / (-13) -----> highlight%28y=-4%29

Now I have the equivalent system
system%28-x%2By%2Bz=-7%2C3x%2B4y=-10%2C+y=-4%29

Substituting y=-4 into 3x+4y=-10, I get
3x+4(-4)=-10 ------> 3x-16 = -10 ------> 3x=-10+16 ----> 3x=6 ---> x=6/3 ---> highlight%28x=2%29

Now I have the equivalent system
system%28-x%2By%2Bz=-7%2Cx=2%2C+y=-4%29

Substituting x=2 and y= -4 into -x+y+z=-7, I get
-2 + (-4) +z = -7 ---> -2-4 +z = -7 ---> -6 + z = -7 --> z=-7+6 ---> highlight%28z=1%29