229k views
1 vote
Solve for z in the system of equations.

x + y - z = -5

2x - y + z = 8

x - 4y + 3z = 5

User Vinee
by
3.7k points

1 Answer

4 votes

Answer:

z = 20

Explanation:

Elimination Method:

We can use the elimination method in a systems of 3 equations, just as we did when we were solving systems of 2 equations. While the method we apply it is the same, we have to apply it multiple times as elimination gets rid of one variable (usually) and since we're dealing with 3 variables, that still leaves us with 2 variables and we need to cancel once more.

Applying Elimination Method:

We want to develop two linear equations, by applying elimination twice to each equation at least once, and then from there we can apply elimination once more.

Since we're solving for "z", we don't want to immediately cancel it out. So let's use the following two equations:

x+y-z=-5\\\\x-4y+3z

Let's cancel out the "x", by manipulating one equation to be -x. We can do this by multiplying one equation by -1, but remember we have to apply this to both sides of the equation. Let's do it to the top one (you could also do it to the bottom one)


-1(x+y-z)=-(-5)\implies -x-y+z=5

So now let's add the two equations:


\ \ \ (-x-\ y+\ z)=5\\+(\ \ x-4y + 3z) = 5\\ ------------\\ -5y+4z=10

Now let's apply the same thing, but to the middle and bottom equation. Since they don't have the same absolute value coefficients (ignoring the sign) we need to multiple one by a value other than just negative one. So let's multiply the bottom equation by -2 so that the bottom will have a -2x which will cancel when adding it to 2x


-2(x - 4y + 3z) = -2(5)\\-2x + 8y - 6z = -10

Now let's add the equations:


\ \ \ (\ \ 2x-y+z)=8\\+(-2x + 8y - 6z)=-10\\\\-----------\\7y - 5z = -2

So now we have the two equations:


7y-5z=-2\\-5y+4z=10

From here we can apply any method we want, from here I'll use substitution. Since we want to get rid of the "y", let's solve for "y" in terms of z, so once we substitute we have no "y" terms left.


7y-5z=-2\\7y=5z-2\\y=(5z-2)/(7)

Now let's plug this into the second two-variable equation we made.


-5((5x-2)/(7))+4z=10\\\\(-25x+10)/(7)+4z=10\\\\(-25)/(7)z+(10)/(7) + (28)/(7)z = (70)/(7)\\\\(-25+28)/(7)z = (70-10)/(7)\\\\(3)/(7)z = (60)/(7)\\\\z = (60)/(7) * (7)/(3)\\\\z = 20

User Pagep
by
3.9k points