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

Squaring binomials of the form (x+a)²

Sal introduces perfect square expressions. For example, (x+7)² is expanded as x²+14x+49.

Want to join the conversation?

  • piceratops ultimate style avatar for user Chris Wells
    At , Isn't the binomial (x+a)(x+b) = x^2 + (a+b)x +ab? Thanks.
    (151 votes)
    Default Khan Academy avatar avatar for user
  • starky ultimate style avatar for user Brian A. Green
    Sal,

    Is 2x equivalent to X^2? Logically, it would seem so: 2-X's or X,X (squared), yet, I am relearning math after decades of "dust." I don't assume anything! lol
    (8 votes)
    Default Khan Academy avatar avatar for user
  • starky tree style avatar for user Scaly V
    Has Sal released a video on trinomials?
    (12 votes)
    Default Khan Academy avatar avatar for user
  • duskpin ultimate style avatar for user nadija
    with an expression like (x+a)^2 why wouldn't you just distribute the exponent to do x^2 + a^2 ?
    (4 votes)
    Default Khan Academy avatar avatar for user
    • stelly blue style avatar for user Kim Seidel
      Exponents represent repetitive multiplication. Thus, the exponent property that distribute the exponent only works when you have factors (items being multiplied or divided). The expression (x+2)^2 contains terms inside the parentheses. So, the exponent properties do not apply.
      To simplify (x+2)^2, you need to use distributive property or FOIL. Or, you can learn the pattern as Sal shows at bout into the video. Squaring a binomial creates a perfect square trinomial.
      Hope this helps.
      (15 votes)
  • aqualine seed style avatar for user Sero
    In exponents properties, there's this property for taking a power of a product: (x*y)^n=x^n*y^n. But when taking a power of a sum like in this video, I've noticed that it seems to work differently, and I find that confusing. Could anyone clarify? Why isn't it: (x+y)^2 = x^2+y^2?
    (10 votes)
    Default Khan Academy avatar avatar for user
    • duskpin tree style avatar for user Juhi Kariya
      Well using the distributive property, (x+y)^2 gets distributed to (x+y)(x+y) and then either using the FOIL method you proceed ahead or in the common way which leads up to x^2+2xy+y^2. Instead if you do it x^2+y^2 then it simplifies to (x+y)(x-y),as taught in the previous videos by Sal, which is totally different than your question. Hope I was of some help!
      (0 votes)
  • male robot hal style avatar for user RandomDad
    What if we have this kind of expression(3x+2)^2, is its form alsox^2+2ax+a^2?
    (4 votes)
    Default Khan Academy avatar avatar for user
    • purple pi pink style avatar for user ZeroFK
      Almost; in this case you have a factor of 3 along with x, which you also need to take into account. The general form (without x or numbers) is (a+b)^2 = a^2 + 2ab + b^2. In your example a = 3x and b = 2 (I hope it's not too confusing, the b in the general form is the a in the video).
      So then a^2 = (3x)^2 = 9x^2; b^2 = 2^2 = 4; and 2ab = 2*3x*2 = 12x.
      Putting it all together:
      (3x+2)^2 = 9x^2 + 12x + 4.
      (12 votes)
  • purple pi purple style avatar for user louisaandgreta
    I don’t find these so called short cuts worth it, you’re likely to misremember it and doing the distributive property takes like 3 more seconds.
    (4 votes)
    Default Khan Academy avatar avatar for user
    • stelly blue style avatar for user Kim Seidel
      You are right that it doesn't save much time in multiplying the 2 binomials. However, when you get to later lessons on factoring quadratics, it can speed up the process. The pattern is also used in converting quadratic equations to vertex form. You also use it with equations of circles. So, it is worth understanding and learning the pattern.
      (9 votes)
  • aqualine ultimate style avatar for user Arash Shariatzadeh
    I learned a different method, FOIL, does it apply here as well?
    (5 votes)
    Default Khan Academy avatar avatar for user
  • leaf orange style avatar for user UserKA
    What is a binomial?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • male robot johnny style avatar for user Jon Pierre de Guzman
    can someone explain how sal got the second up to the last step in the pattern?
    (3 votes)
    Default Khan Academy avatar avatar for user
    • leaf green style avatar for user phat.phuk
      Do you mean the second step written with the white pen on the right-hand side of the video at ? The clue is in the title.

      You have to remember that the original expression is (x + 7)^2. What the video is saying at , therefore, is that whenever you are Squaring binomials of the form (x+b)^2, the constant term that you get in your final solution will always be the result of raising the constant term from the original expression (b = 7 in this case) to the second power.

      That second line written in white is just giving you a formula for doing the work in your head quicker than you would do it the long way.

      But don't take my word for it (nor the video's word for it). Do some of the related exercises. When you get them correct, you will see that the constant term in a correct solution will always be the original constant raised to the power of 2. Precisely as the video says.
      (6 votes)

Video transcript

- [Voiceover] Let's see if we can figure out what x plus seven, let me write that a little bit neater, x plus seven squared is. And I encourage you to pause the video and work through it on your own. Alright, now let's work through this together. So we just have to remember, we're squaring the entire binomial. So this thing is going to be the same thing as: x plus seven times x plus seven. I'm gonna write the second x plus seven in a different color, which is going to be helpful when we actually multiply things out. When we see it like this, then we can multiply these out the way we would multiply any binomials. And I'll first do it the, I guess you can say, the slower way, but the more intuitive way, applying the distributive property twice. And then we'll think about maybe some shortcuts or some patterns we might be able to recognize, especially when we are squaring binomials. So let's start with just applying the distributive property twice. So let's distribute this yellow x plus seven over this magenta x plus seven. So we can multiply it by the x, this magenta x, so it's going to be x, let me do it in that same color. So it's going to be magenta x times x plus seven plus magenta seven times yellow x plus seven. X plus seven, and now we can apply the distributive property again. We can take this magenta x and distribute it over the x plus seven. So x times x is x-squared. X times seven is seven x. And then we can do it again over here. This seven, let me do it in a different color, so this seven times that x is going to be plus another seven x and then the seven times the seven is going to be 49. And we're in the home stretch. We can then simplify it. This is going to be x-squared and then these two middle terms we can add together. Seven x, let me do this in orange, seven x plus seven x is going to be 14 x plus 14 x plus 49. Plus 49. And we're done. Now the key question is do we see some patterns here? Do we see some patterns that we can generalize and that might help us square binomials a little bit faster in the future? Well, when we first looked at just multiplying binomials, we saw a pattern like x plus a times x plus b is going to be equal to x-squared, let me write it this way, is going to be equal to x-squared plus a plus b x plus b-squared. And so, if both a and b are the same thing, we can say that x plus a times x plus a is going to be equal to x-squared, and this is the case when we have a coefficient of one on both of these x's, x-squared's. Now in this case, a and b are both a. So it's going to be a plus a times x, or we can just say plus two a x. Let me be clear what I just did. Instead of writing a plus b, I can just view this as a plus a times x, and then plus a-squared, or that's the same thing as x-squared plus two a x plus a-squared. This is a general way of expressing a squared binomial like this. A squared binomial where the coefficients on both x's are one. We can see that's exactly what we saw over here. In this, in the example we did, seven is our a. So we got x-squared right over there let me circle it. So we have this blue x-squared that corresponds to that over there. And then seven is our a, so two a x , two times seven is 14 x. Notice we have the 14 x right over there. So this 14 x corresponds to two a x, and then finally if a is seven, a-squared is 49. A-squared is 49. So in general if you are squaring a binomial, you could, a fast way of doing it is to do this pattern here, and we can do another example real fast, just to make sure that we've understood things. If I were to tell you what is x minus, I'll throw a negative in here, x minus three squared, I encourage you to pause the video and think about it. Think about expressing this using this pattern. Well this is going to be, in this case our a, we have to be careful, our a is going to be negative three, so that is our a right over there. So this is going to be equal to x-squared. Now two a x, let me do it in the same colors actually, just for fun. So it's going to be x-squared. Now what is two times a times x? A is negative three, so two times a is negative six. So it's going to be negative six x. So, minus six x, that's two times a is the coefficient. And then we have our x there. And then plus a-squared. Well if a is negative three, what is negative three times negative three? It's going to be positive nine. And just like that, when we looked at this pattern, we were able to very quickly figure out what this binomial squared actually is. And I encourage you, you can do it again, with applying the distributive property twice to verify that this is indeed the same thing as x minus three squared.