Squares of Binomials
Learning goals
- Expand as
- Subtract the middle term for a difference instead
- Show why the middle term cannot be dropped
- Square the whole term, coefficient included
- Read the pattern backward to spot a perfect-square trinomial
Squaring a sum
To square any quantity is to multiply it by itself, so squaring the binomial means forming the product . There is nothing new in expanding it; it is a product of two sums, exactly the kind you learned to multiply term by term. What is worth doing once, slowly, is watching where each piece lands, because the answer has a shape that repeats for every sum you will ever square.
Why #
Squaring a quantity means multiplying it by itself, so is shorthand for the product . Expand it the way you expand any product of two sums, multiplying every term of the first factor by every term of the second:
The four products are , then , then , then . Because the order of multiplication does not matter, and are the same quantity, so the two middle products are equal and combine into a single :
So squaring a sum gives three terms, not two. The three are the square of the first term, the square of the last term, and a middle term twice the product of the sum’s two terms. That doubled middle term is there because a sum has two matching cross-products, one from each factor, and they land on top of each other.
The picture makes the middle term impossible to miss. A square with side has area . Cut it at the point where the length meets the length , in both directions. Those two cuts split the square into four regions: a square of area , a square of area , and two identical rectangles each of area . The two rectangles are exactly why the middle term is and not just . There are genuinely two of them, one above the small square and one beside it.
Squaring a difference
A difference squared works in the very same way, and only one thing changes. Write as the product and expand it, carrying every sign along.
Why #
Write the square as a product and multiply every term of the first factor by every term of the second, keeping track of the signs:
The first product is , and the last is , which is positive because a negative times a negative is positive. The two middle products are and , both negative, and they combine into :
Only the middle term changed. Squaring a difference gives the same first square and the same last square as squaring a sum, but the middle term is now subtracted. The final term stays positive because the last term of is , and squaring gives .
The two patterns are worth holding side by side, because they differ in exactly one place. In both, the first and last terms are the squares and . The middle term is twice the product of the two terms, added when the binomial is a sum and subtracted when it is a difference.
Worked example 1 Expand and
For , use with and . Square the first term, square the last term, and put twice their product in the middle:
For , use the difference pattern with and . The first and last terms are still squares, and only the middle term turns negative:
Notice that the last term is in the second one too. Squaring the makes it positive, so a difference squared never ends in a negative constant.
Why the middle term cannot be dropped
The single most common error with these patterns is to square each piece and stop, writing . That throws away the two cross-products entirely, and it is simply false. A quick number check settles it once and for all. Take and :
The two results are not equal, and the gap between them is , which is exactly the missing middle term . Whenever and are both nonzero, squaring a sum is never the same as adding the squares. The reason is that the middle term is real, and in that case it is not zero. Keep all three terms and you keep the truth.
Check your understanding
Expand .
Use with and . The middle term is twice the product of the two terms.
The choice drops the middle term , which is the classic mistake this pattern is meant to prevent.
Squaring binomials that carry coefficients
Nothing about the patterns requires and to be single letters. They can be terms with coefficients, and the rule is unchanged: square the whole term, coefficient and variable together. The trap is to square the variable but leave the coefficient behind. In the entire is squared, so , not . Once each term is squared correctly and their product is doubled for the middle, everything proceeds as before.
Worked example 2 Square and
For , take and . Square the first term, square the last term, and double their product:
The first term is , with the squared as well as the . For the binomial is a difference, so use with and :
The outer terms and are squares, and the middle term is twice the product carrying a minus sign because the binomial is a difference.
Worked example 3 Square and
For , the difference pattern applies with and :
The same pattern handles two different variables, since and never had to be numbers. For , take the first term to be and the last to be :
Each outer term is squared in full, and , and the middle term is twice their product.
Check your understanding
Expand .
Use with and . Square each term and double their product for the middle.
The first term is , so forgets to square the coefficient, and forgets to double the product.
Reading the pattern backward: perfect-square trinomials
Every identity in algebra can be read in both directions. Read forward, is what you get by squaring . Read backward, it tells you that any trinomial of that exact shape factors as a single square:
A trinomial that factors this way is called a perfect-square trinomial. Recognizing one lets you factor it instantly, with no searching through factor pairs. There is a short test with three parts. The first term must be a perfect square, with some square root . The last term must be a perfect square, with some square root . And the middle term must equal , up to its sign. When all three hold, the trinomial factors as if the middle term is positive, or if it is negative. If the middle term does not match , or if there is no middle term at all, the trinomial is not a perfect square.
Worked example 4 Factor
Test the two outer terms first. The first term is a perfect square, since , and the last term is a perfect square, since . Call these roots and .
Now the middle term decides everything. For a perfect square it must be twice the product of and :
The actual middle term is , which is , so the sign is negative and the trinomial fits the difference pattern:
Expanding back to confirms the factorization.
Worked example 5 Which trinomials are perfect squares?
Run each one through the same three conditions: a perfect-square first term, a perfect-square last term, and a middle term equal to twice the product of their roots.
For , the roots of the outer terms are and , and twice their product is , which matches the middle term. So it is a perfect square:
For , the outer terms are perfect squares, with roots and , but there is no middle term at all. A perfect square would need a middle term of , so without it this is not a perfect-square trinomial.
For , the first term is a perfect square with root . But the last term is not a perfect square, since is not a whole number. The pattern needs both outer terms to be perfect squares, so this trinomial does not fit either. Only the first of the three is a perfect square.
Check your understanding
Factor .
Check the outer terms: and , so and . The middle term should be , which matches, with a plus sign.
The choice would give a middle term of , and would give .