If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

### Course: Algebra (all content)>Unit 2

Lesson 12: Old school equations with Sal

# Linear equations 3

Linear equations with multiple variable and constant terms. Created by Sal Khan.

## Want to join the conversation?

• i dont get the problem at ? can someone please help me i am real stuck thx much
• -5 - 3. Okay. well, there is a way that I know. Remember that subtracting a positive is the same as adding a negative? So that would be the same as saying this:
Lisa owed her dad 5 dollars. When she talked her dad into buying a 3\$ headband he agreed but on the condition that she pay her back. What is her complete debt now?Well, if you add a debt to a debt it is going to make the debt bigger, farther to the LEFT of zero. So consequently that would equal -8.If that doesn't help there is a video called Adding Negative Numbers. He has a really good way of thinking about it!!
• I need to find out linear equations in three variables. So for example, 3x + y - 2z = 10
6x - 2y + z = -2
x + 4y + 3z = 7
Where can i find a answer for questions like this?
• Still do the same substitution or elimination, just multiple times. I prefer elimination.

3x+y-2z=10
6x-2y+z= -2
x+4y+3x=7.

Eliminate a variable of your choice. I will eliminate x. I like to pair the first with the second and then the second with the third.

Multiply first by -2:
-6x-2y+4z= -20
Second: 6x-2y+z= -2
=> -4y+5z= -22.

Multiply third by -6.
-6x-24y-18z= -42
Second: 6x-2y+z= -2
=> -26y-17z= -44.

-4y+5z= -22
-26y-17z= -44
Now let's eliminate y.
Multiply first by -13: 52y-65z=286
Multiply second by 2: -52y-34z= -88
=> -99z=198 => z= -2 => y=3 => x=1.
=> (1,3,-2).
It's been a long time since I learned this, but I think that it's later on in Algebra 1.
• i need help on a problem like... 6(3x-5)-7x=25
• 6(3x-5)-7x=25
18x-30-7x=25
11x-30=25
11x=55
x=5
• why is it called linear equations
• When you graph a linear equations, the graph will be a straight line. Linear means "line". This is why they are called linear equations.
• So basically you just reduce a level 3 problem to a two, and a level two problem to a level one problem, and then you get the answer?
• Yes! Essentially that's all problem-solving is. You take a hard problem, and you make it a bit easier, then you keep making it a bit easier until it's easy enough that you can solve it.
• in I got 11/-3. Is it the same as -11/3?
• Yes it is.
(1 vote)
• sorry for disturbing you, but on the second question, there was -2x at the first step so after doing the first step why does sir make it into -3x ?
• Sal subtracted "x" from both sides to move the "x" on the right side over to the left side. When combined with the "-2x" on the left side, you get "-3x".
-x-2x = -3x

Hope this helps.
• dang thats crazy i learned how to do math i think im smort
• Thank you man but I got a question. if you cancel out 1 side first you get different answers.
Lets say the equation 2x+3=-15
We could do this
2x+3+15=-15+15
2x=18
x=9
or this
2x+3-3=-15-3
2x=-18
x=-9
• You have an error in your first calculation.
2x+3+15=-15+15 becomes 2x+18=0
You are moving the 15 to the left side of the equals. So, the right side becomes 0. This does not help you solve the equation - it just gives you extra work steps. You should always focus on the location of the variable (the left side in this equation) and move numbers away from that side.

Hope this helps.
• This is tough... I'm learning thw British was but i just cant get it! It seems much harder than this way but i dont think its exactly the same though. In the questions im doing i have roots and brackets... im really stuck. Help!
(1 vote)
• From your description, I don't think this video applies to your type of equation. Can you give an example of the equation you are trying to solve? Then, I can help you.

## Video transcript

Welcome to my presentation on level three linear, yeah, level three linear equations. [LAUGH] Okay. So let me, let's, let's make up a problem. Let's say I had X plus 2x plus 3 is equal to, minus 7x minus 5. Well, in all of these linear equations, the first things that we, the first thing that we try to do is, get all of our variables on one side of the equation, and then get all of our concept terms on the other side of the equation. And then it actually will become a level one linear equation. So, the first thing we can do is we can try to simplify each of the sides. Well we, on this, on this left side we have this X plus 2x. Well, what is X plus 2x? Well that's like saying I have one apple and now I have two apples. So here I have one X and now I have two more Xs that I'm adding together. So that's equal 3x, 3x plus 3 is equal to minus 7x minus 5. Now let's bring the 7x over onto the left-hand side. And we could do that by adding 7x to both sides, 7x. This is a review. We, we're adding the opposite. So, it's negative 7x, so we add 7x so that's why. And we do that, become the right side, these two will cancel. And the left side, we get 10x plus 3 equals, and on the right side, all we have left is the negative 5. Almost there, now we're at a level, what is this, a level two problem. And now we just have to take this 3 and move it to the other side. And we can do that by subtracting 3 from both sides. That's a 3 minus 3. The left-hand side, the 3s cancel out, that's why we subtract it in the first place. And you have 10x equals and then minus 5 minus 3, well that equals minus 8. Now, we just multiply both sides of this equation by 1 over 10, or the reciprocal of 10, which is the coefficient on x, times 1 over 10. You could also, some people would say, well, we're just dividing both side by 10 which is essential what we're doing. If you divide by 10, that's the same thing as multiplying by 1 over 10. Well, anyway, the left-hand side, 1 over 10 times 10. Well, that equals 1, so we're just left with x equals negative 8 over 10. And that can be reduced further. They both share the common factor 2. So you divide by 2. So it's minus 4 over 5. I think that's right, assuming that I didn't make any careless mistakes. Let's do another problem. Let's say I had 5, that's a 5x minus 3 minus 7x equals x plus 8. And in general if you wanna work this out before I give you how I do it that now's a good time to actually pause the video. And you could, you could try to work it out and then, play it again and, and see what I have to say about it. But assuming you wanna hear it, let me go and do it. So let's do the same thing. We, first of all, we can merge these two Xs on the left-hand side. Remember, you can't add the 5 and the 3 because the 3 is just a constant term while the 5 is 5 times x. But the 5 times x and the negative 7 times actually can merge. So 5, you just add the coefficient. So, it's 5 and negative 7. So, that becomes negative 2x minus 3 is equal to x plus 8. Now, if we wanna take this x that's on the right-hand side and put it over the left-hand side, we can just subtract x from both sides. The left-hand side becomes minus 3x minus 3 is equal to, these two Xs cancel out, is equal to 8. Now, we can just add 3 to both sides to get rid of that constant term 3 on left hand-side. These two 3's will cancel out. And you get minus 3x is equal to 11. Now, you just multiply both sides by negative one-third. And once again, this is just the same thing as dividing both sides by negative 3. And you get x equals negative 11 over 3. Actually let's, let's, just for fun, let's check this just to see. And the cool thing about algebra is if you have enough time, you can always make sure you got the right answer. So we have 5x, so we have 5 times negative 11 over 3. So that's, I'm just, I'm just gonna take this and substitute it back into the original equation. And you might wanna try that out, too. So you have minus 55 over 3, that's just 5 times negative 11 over 3, that's a 3, minus 3. And what's 3? Three could also be written as, minus 9 over 3. I'm skipping some steps, but I think you, you know your fractions pretty good by this point. So that's minus 9 over 3. And then, minus 7x is the same thing, as plus 77 over 3. Because we have the minus 7 times minus 11, so it's plus 77. And, and the equation is saying that should equal minus 11 over 3, that's what x is, plus an 8 is nothing more than 24 over 3. Let's add this up. Minus 55 minus 9, that's minus 64, if I'm right, yeah, that's minus 64. And then, plus 77 minus 64 plus 77 is 13. So the left-hand side becomes 13 over 3. And on the right-hand side minus 11 plus 24, well that's 13 and we still have over 3. So looks like we got the right solution. It checks out. So the correct answer was minus 11 over 3. Hopefully you're ready by now to, do some level three problems. The only thing that makes this a little bit more complicated than level two is you just have to remember to merge the variables in the beginning, and, know that you could subtract variables or constants from both sides. Have fun.