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.

Main content

Combining like terms with negative coefficients

This example of combining like terms in an expression get a little hairy. Pay attention. Created by Sal Khan.

Want to join the conversation?

  • male robot hal style avatar for user Ben Willetts
    So x's cannot be combined with xy's or with x^2's, and y's cannot be combined with xy's or with y^2's, right? Doesn't this leave your equation containing a lot of terms still? Wouldn't it be a lot simpler if we could reduce the number of terms more?
    (3 votes)
    Default Khan Academy avatar avatar for user
    • starky tree style avatar for user Lord.Greenhart
      This is three years too late, but you can combine 2X and -Y with X squared and Y squared. X squared is equal to X(X) and 2X is 2(X) so combining them makes [X+2*(X)]. Same with -Y and Y squared. -1(Y) and Y(Y) make [Y-1(Y)] the simplest form of this equation is [Y-1(Y)] + [X+2(X)].
      (4 votes)
  • duskpin tree style avatar for user Jessica LeRoy
    I have been having trouble understand the -5+6=? I don't understand last video he had two numbers with - signs and he added them and kept the sign why? What am I missing maybe video that could help it seems so simple but I have no clue! Any feed back will be welcomed.
    (12 votes)
    Default Khan Academy avatar avatar for user
  • aqualine ultimate style avatar for user Jessiebee639
    At 0.21, what is the difference between x^2 and 2x?
    (0 votes)
    Default Khan Academy avatar avatar for user
  • starky ultimate style avatar for user alex lodi
    this is confusing.
    why don't you just give us the value of x and y so then I can solve it?
    (6 votes)
    Default Khan Academy avatar avatar for user
    • stelly blue style avatar for user Kim Seidel
      You won't always know the values of the variables. Part of learning algebra is that you need to learn the rules for how to manipulate algebraic expression that contain variables. This video is trying to teach one of those techniques. It is a basic skill you need to understand before you start solving algebria equations where you will actual discover for yourself what value the variable can be.
      (3 votes)
  • blobby green style avatar for user RexyRiblets {Not here}
    Sal can you PLEASE tell me what we are supposed to use our Energy Points for?!
    (5 votes)
    Default Khan Academy avatar avatar for user
  • primosaur seedling style avatar for user shemar.gardner
    at why did he leave out the y2 shouldn't that count as a y to?
    (1 vote)
    Default Khan Academy avatar avatar for user
  • primosaur seed style avatar for user sikati.mtonga
    HELP?
    On some examples it shows that we move the numbers on the other side of the equal = sign... I get that once thats done the numbers either become a negative or positive but... how do we know when to use it. There's some questions I can solve using the same method in this video but then there's this eg:
    -3n - 7 + (-6n) + 1
    If I were to use the method above would it be written as so?
    -3n - (-6n) -7 + 1 ?
    In this equation they used
    -3n - 7 + (-6n) + 1
    = (3+6)n -7 +1
    I don't get it? which method do we use? if both... how are we supposed to know which one is right? or when to use either one? Please.
    (5 votes)
    Default Khan Academy avatar avatar for user
    • stelly blue style avatar for user Kim Seidel
      First, you need to recognize an equation vs an expression.
      An expression contains no equals sign to start with. All the examples in this video (and your example in your question) are expressions. An equation is made up of 2 expressions separated by an equals sign.

      We only change the signs to move terms across an equals sign. This requires that you have an equation. When you changed: -3n - 7 + (-6n) + 1 into -3n - (-6n) -7 + 1, you moved the "-(-6n)" to the other side of the -7. You did not more it across and equals sign. So you do not change the sign.

      Hope this helps.
      (2 votes)
  • starky tree style avatar for user Lord.Greenhart
    Is there any reason why this, [X+2*(X)] + [Y-1*(Y)] , wouldn't work as the answer?
    My logic here is that X^2 and Y^2 are equal to X*(X) and Y*(Y) meaning they could be combined with -1*(Y) and 2*(X).
    (5 votes)
    Default Khan Academy avatar avatar for user
  • spunky sam blue style avatar for user Celeste Robinson
    i'm confused on this maths question.
    -n+(-4)-(-4n)+6
    Please help me on this equation
    (5 votes)
    Default Khan Academy avatar avatar for user
  • hopper happy style avatar for user Liberty
    how do you recognize the difference between a negative sign and a minus? it is all very confusing.
    (4 votes)
    Default Khan Academy avatar avatar for user
    • hopper cool style avatar for user Seed Something
      When combining like terms with negative coefficients, negative signs and subtraction signs mean the same thing, and positive signs and addition signs are the same as well.

      ★Actually, they always have, through out all of addition and subtraction plus and minus signs, + and - have always meant positive and negative number movement.

      3 - 2 = 1
      means positive 3 combined with negative 2 equals positive 1.

      +3 combined with -2 = +1


      So we've been doing this same math all along
      Just now, at this stage, we're using a broader spread of the existing number values placed in combinations that weren't given to us before.

      -5 - 7 = -12
      Means to combine a negative 5 and a negative 7, the subtraction sign belongs to the seven, creating a negative 7.

      So…
      -5 - 7 = -12
      means…
      -5 + -7 = -12

      This is also written as:
      -5 + (-7) = -12

      • If we intend to subtract a negative value, we must show it by using parentheses.

      -5 - (-7) = 2

      The notation of 'negative parentheses negative', separates the -7 in a subtraction problem, because it's considered bad form to write the subtraction of a negative with consecutive minus signs.

      -5 - -7 = 2 ←nope, bad form

      In this -(- situation)…
      The negative signs on each side of the parentheses cancel out.
      -(-7) is just like an invisible negative one in front of parentheses that needs to be distributed, all signs within the parentheses get flipped to their opposite.

      -5 - (-7) = 2
      =
      -5 + (+7) = 2
      =
      -5 + 7 = 2

      ★Combining Like Terms means to merge the known values, (coefficients), that have the same variable and exponent.

      To merge (both positive and negative) matching terms to combine them into one term.

      ★ So for this level, we're just learning addition and subtraction of any number value combination!

      (≧▽≦) I hope this helps!
      (1 vote)

Video transcript

Now we have a very, very, very hairy expression. And once again, I'm going to see if you can simplify this. And I'll give you little time to do it. So this one is even crazier than the last few we've looked at. We've got y's and xy's, and x squared and x's, well more just xy's and y squared and on and on and on. And there will be a temptation, because you see a y here and a y here to say, oh, maybe I can add this negative 3y plus this 4xy somehow since I see a y and a y. But the important thing to realize here is that a y is different than an xy. Think about it they were numbers. If y was 3 and an x was a 2, then a y would be a 3 while an xy would have been a 6. And a y is very different than a y squared. Once again, if the why it took on the value 3, then the y squared would be the value 9. So even though you see the same letter here, they aren't the same-- I guess you cannot add these two or subtract these two terms. A y is different than a y squared, is different than an xy. Now with that said, let's see if there is anything that we can simplify. So first, let's think about the y terms. So you have a negative 3y there. Do we have any more y term? Yes, we do. We have this 2y right over there. So I'll just write it out-- I'll just reorder it. So we have negative 3y plus 2y. Now, let's think about-- and I'm just going in an arbitrary order, but since our next term is an xy term-- let's think about all of the xy terms. So we have plus 4xy right over here. So let me just write it down-- I'm just reordering the whole expression-- plus 4xy. And then I have minus 4xy right over here. Then let's go to the x squared terms. I have negative 2 times x squared, or minus 2x squared. So let's look at this. So I have minus 2x squared. Do I have any other x squared? Yes, I do. I have this 3x squared right over there. So plus 3x squared. And then let's see, I have an x term right over here, and that actually looks like the only x term. So that's plus 2x. And then I only have one y squared term-- I'll circle that in orange-- so plus y squared. So all I have done is I've reordered the statement and I've color coded it based on the type of term we have. And now it should be a little bit simpler. So let's try it out. If I have negative 3 of something plus 2 of that something, what do I have? Or another way to say it, if I have two of something and I subtract 3 of that, what am I left with? Well, I'm left with negative 1 of that something. So I could write negative 1y, or I could just write negative y. And another way you could think about it, but I like to think about it intuitively more, is what's the coefficient here? It is negative 3. What's the coefficient here? It's 2. Where obviously both are dealing-- they're both y terms, not xy terms, not y squared terms, just y. And so negative 3 plus 2 is negative 1, or negative 1y is the same thing as negative y. So those simplify to this right over here. Now let's look at the xy terms. If I have 4 of this, 4 xy's and I were to take away 4 xy's, how many xy's am I left with? Well, I'm left with no xy's. Or you could say add the coefficients, 4 plus negative 4, gives you 0 xy's. Either way, these two cancel out. If I have 4 of something and I take away those 4 of that something, I'm left with none of them. And so I'm left with no xy's. And then I have right over here-- I could have written 0xy, but that seems unnecessary-- then right over here I have my x squared terms. Negative 2 plus 3 is 1. Or another way of saying it, if I have 3x squared and I were to take away 2 of those x squared, so I'm left with the 1x squared. So this right over here simplifies to 1x squared. Or I could literally just write x squared. 1x squared is the same thing as x squared. So plus x squared, and then these there's nothing really left to simplify. So plus 2x plus y squared. And we're done. And obviously you might have gotten an answer in some other order, but the order in which I write these terms don't matter. It just matters that you were able to simplify it to these four terms.