Squares of Binomials
Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
- Expand as
- Use , keeping a plus sign before the last square
- 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
Squaring means multiplying a quantity by itself: . Picture a square with side . Split each side into lengths and , then cut across at those points. The four pieces have areas , , , and . The two matching rectangles contribute together.
For example, with and , the areas add to , the area of a square of side . The picture needs positive lengths. The algebra below works for all real and , including zero and negative values.
The picture shows where the middle term comes from. Multiplying the binomial by itself gives the same result:
Why #
First use and : . The two middle products both equal . Now multiply each term of the first factor by each term of the second for any real and :
The middle products and are equal because multiplication can be done in either order. Combining them gives
The formula includes both outer squares and both cross-products, the middle products and . Those two equal products are the reason for .
Squaring a difference
For a difference, the signs change but we still multiply every term.
Why #
For example, . The two cross-products are subtracted; the final square is added.
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 . The last is , since the two minus signs cancel. The middle products and combine into :
Compared with the sum formula, only the sign before changes. The last term is still . Here the minus in tells us to subtract ; it does not say the value is negative for every choice of and .
In either pattern, square both terms and double their product. Add that doubled product for a sum; subtract it for 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 the middle term is now subtracted:
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
A common mistake is to square each piece and stop, writing . The area example shows what this loses:
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 , the mistake described at the start of this section.
Squaring binomials that carry coefficients
The terms can include coefficients. Square the whole term: , not . Then double the product of the two whole terms to find the middle term.
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 . The rest of the pattern is the same: treat as one whole term, the way you treated a bare 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 a perfect-square trinomial. Recognizing the pattern saves a search through factor pairs. For recognition here, look for terms with integer coefficients, such as and . The identities themselves hold for all real values of the variables.
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 check the middle term. 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.
So the test has three parts. Find a term with integer coefficients whose square is the first term, find a term with integer coefficients whose square is the last term, then check the middle term. If it is , use ; if it is , use . Even when both outer terms are squares, the middle term has to match.
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 , matching the middle term would require . But its last term is , not , so this trinomial does not fit either. Only the first of the three passes.
As with other factoring methods, first pull out any common factor. Then check the trinomial that 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:
Keep the factor of you pulled out at the start in front of the answer:
The original coefficients , , do not give an integer-coefficient binomial square. After removing the common factor, the remaining trinomial does.
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.