At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
alright. there are a few ways to do this. For a simple system like this (3 equations, 3 unknowns) probably the easiest way is to do it like this
\[x+y-z=1\]\[z+y+z=3\]\[3x-2y-z=4\]first solve one of the equations for one of the variables. I will solve the first one for \(z\)\[z=x+y+1\]alright, so now you have z in terms of x and y, so plug that value into another equation. I'll plug it into the second one.\[x+y+(x+y+1)=3\]now you can solve that one for one of the variables. I'll solve for x. \[2x=2-2y\]\[x=1-y\]and now you can plug that into the third equation to find the value of x.
I meant the value of y. \[3(1-y)-2y-((1-y)+y+1)=-4\]\[3-3y-2y-2=-4\]\[-5y=-5\]\[y=1\]
How did you get x+y+1=z? I got x+y=z. Sorry, I don't mean to sound stupid but I never learned anything in Alg2. I'm good at Geometry concepts, not Alg2 and PreCalc :/
now back substitute to find the other two values. \[x=1-y=1-1=0\]\[z=x+y+1=1+0+1=2\]so the solution is \(x=0, \: y=1,\: z=2\)
in the first equation we have \(x+y-z=-1\) and we want to isolate z right? so add z to both sides and we get \[x+y-z+z=-1+z\]\[x+y=z-1\]now we want z by itself so we add 1 to each side and get \[x+y+1=z-1+1\]\[x+y+1=z\]
Oh, okay, I see. That's not how I did it at all. See, what I tried to do was add the top two equations together, and then do the same for the bottom two. (I used the middle one 2 times) and then used the sum of both to add together and create a new equation to find the answer for a variable.
that is an excellent method choice as well.
the method I have shown you is probably one of two methods you will learn to solve these. I think it is often called "substitution". The method you described is much more powerful for larger systems of equations. If you take a course on linear algebra you will become very familier with it. I think in high school algebra they call the method "subtraction". You might find this method less confusing and I can explain that as well.
most people use "substitution" for systems of equations 3x3 or smaller. and use "subtraction" for everything bigger than that. would you like me to show you how to solve this one using subtraction?
Yes please! and thank you
alright. i'm just going to to it by hand and then take a pic to save time.
Alright, thank you very much.
sorry I got a phone call. I'll actually just type this out.
so for the subtraction method what you want to do is subtract one from the other. Now this is only going to help you if one of the variables is going to cancel out!. If they will not, you must multiply each side of the equation by a constant so that they do. but let's look at the first two equations. x+y-z=-1 x+y+z=3 ok so this is good, because we can immediately eliminate two of the variables by subtracting. So let's do that! x+y-z=-1 x+y+z=3 ------------ 0+0-2z=-4 now consider the first equation and the third x+y-z=-1 3x-2y-z=-4 ok so here subtraction is not going to eliminate one of the variables. so we need to multiply one of these equations by something so that it does. I'll multiply the first equation by 3 (don't forget to do this on both sides of the = sign!) 3(x+y-z)=3(-1) so this gives us 3x+3y-3z=-3 3x-2y-z=-4 ok now subtract again 3x+3y-3z=-3 3x-2y-z=-4 --------------- 0+5y-2z=1 and we already know what 2 is, so this becomes 5y-2(2)=1 and therefore y=1. Now you can solve for x really easy.
so that was perhaps a bad example to show the subtraction method. There are also some problems you can run into when using this method if you don't use all of the equations (you will end up with statements like y=y, which is useless). There are also cases where the system has no solution. I don't want to confuse you with this, but if you would like to learn the best way to solve this using the subtraction method, I would encourage you you look up how to do it using an augmented matrix.
haha that was way to much typing to explain this concept! some things are just better explained in person I guess. watch this video. http://www.youtube.com/watch?v=woqq3Sls1d8 it will clear up everything.
Thank you SO very much for all of your help!
You started to do the addition/elimination method. I will show you that... x + y - z = -1 (equation 1) x + y + z = 3 (equation 2) 3x - 2y - z = - 4 (equation 3) Take the first 2 equations and add them trying to eliminate a variable. The best variable to eliminate in these two equations is z because they already cancel each other out. x + y - z = - 1 x + y + z = 3 ------------- 2x + 2y = 2 <===answer to first two equations Now take the last two equations and eliminate z ...you have to eliminate the same variable as you did in the first two equations. x + y + z = 3 3x - 2y - z = - 4 ------------------------- 4x - y = -1 <===answer to last two equations Now take the answers from the previous equations and eliminate a variable. 2x + 2y = 2 ---> (-2)2x + 2y = 2 4x - y = - 1 -------------- I multiplied 1st equation by -2 to cancel out the x's -4x - 4y = - 4 (result of multiplying by a -2 4x - y = - 1 -------------- - 5y = - 5 y = 1 Now take either one of the equations you just used and substitute 1 in for y 2x + 2y = 2 2x + 2(1) = 2 2x + 2 = 2 2x = 2-2 2x = 0 x = 0/2 = 0 now that we know y = 1 and x = 0, we can substitute these in to any of the 1st three equations... x + y + z = 3 0 + 1 + z = 3 1 + z = 3 z = 3 - 1 z = 2 Now we can check with any of the 1st three equations... x + y - z = - 1 0 + 1 - 2 = -1 -1 = -1 (correct) check.. x + y + z = 3 0 + 1 + 2 = 3 3 = 3 (correct) check... 3x - 2y - z = - 4 3(0) - 2(1) - 2 = -4 0 - 2 - 2 = - 4 - 4 = - 4 (correct) I checked with all 3 equations and the answer is... x = 0, y = 1, z = 2
Thank you so much kelliegirl33!!