Squares of Binomials
Learning goals
- Expand as
- Use for a difference, keeping the last term positive
- Show why the middle term cannot be dropped
- Square the whole term, coefficient included
- Factor a perfect-square trinomial by reading the pattern backward, pulling out a common factor first
Squaring a sum
To square any quantity is to multiply it by itself, so squaring the binomial means forming the product . Before working through the algebra, look at a picture of it: cut a square into pieces and watch where each term in the answer comes from.
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. This picture needs and to be positive lengths; the algebra below proves the identity for any real numbers at all, including negative ones.
The picture shows why the middle term is there. Algebra confirms it for every real number, not just positive lengths:
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.
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, is nonzero too, so squaring a sum is never the same as adding the squares. Keep all three terms, or the total comes out wrong.
Check your understanding
In the area model, a square of side splits into a square of area , a square of area , and two matching rectangles. Why does dropping those two rectangles make the wrong total?
The four regions together make up the whole square, so none of them can be left out. The two rectangles are the cross-products from , each of area , and together they are worth . Dropping them, the way does, throws away that , which is exactly the gap the numbers above show: .
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
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 . Nothing else about the pattern changes: is treated as one whole term, the way a bare was treated before.
Worked example 3 Square
The pattern also handles a binomial built from two different variables instead of one. 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, and recognizing one lets you factor it instantly, with no searching through factor pairs. As in every example in this lesson, look for terms with whole-number coefficients, not any real number. Here is what to look for, worked through on one trinomial before the rule is stated in general.
Worked example 4 Factor
Test the two outer terms first. The first term is the square of , since , and the last term is the square of , since . Call these two terms 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.
That example passed a short test with three parts, and every perfect-square trinomial passes the same one. The first term must be the square of some whole-number term . The last term must be the square of some whole-number term . And the middle term must equal , up to its sign: positive gives , negative gives . If the middle term does not match , or if there is no middle term at all, the trinomial is not a perfect square this way. (Sticking to whole-number coefficients is what keeps and easy to spot by inspection.)
Worked example 5 Which trinomials are perfect squares?
Run each one through the same three conditions: the first term is the square of some term, the last term is the square of some term, and the middle term equals twice the product of those two terms.
For , the outer terms are squares, since and , and twice their product is , which matches the middle term. So it is a perfect square:
For , the outer terms are still squares, 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 square, . But no whole number squares to give , so the last term is not a perfect square. The pattern needs both outer terms to be perfect squares, so this trinomial does not fit either. Only the first of the three passes.
Before running the test, make sure the trinomial is in lowest terms: if every coefficient shares a common whole-number factor, pull that factor out first, the same way you would before any other factoring, and then run the test on what remains.
Worked example 6 Factor
Before testing anything, check for a common numerical factor. Here , , and are all multiples of , so pull it out first:
Now run the three-part test on what is left inside the parentheses. The outer terms are squares, and , and twice their product is , which matches the middle term with a positive sign:
The factor of pulled out at the start does not disappear. It stays in front of the answer:
Testing the original coefficients , , directly against the pattern would fail, even though the trinomial is a perfect square once the common factor is removed.
Check your understanding
Factor completely.
Every term shares a factor of , so pull it out first: . Inside the parentheses, and , and matches the middle term, so , giving .
The choice drops the outside factor of . The choice puts the back inside the binomial instead of leaving it out front: , twice too large. The choice forgets to square the binomial at all.