- The Difference of Two Squares
- Fundamental Rules of Factoring
- Perfect Square Trinomials
Recall that when we multiplied together the two binomials ( a+b ) ( a b ) and ( a−b ) ( a b ) , we obtained the product a 2 − b 2 a 2 b 2 .
( a+b ) ( a−b )= a 2 − b 2 ( a b ) ( a b ) a 2 b 2
Notice that the terms a 2 a 2 and b 2 b 2 in the product can be produced by squaring a a and b b, respectively. A term that is the square of another term is called a perfect square. Thus, both a 2 a 2 and b 2 b 2 are perfect squares. The minus sign between a 2 a 2 and b 2 b 2 means that we are taking the difference of the two squares.
Since we know that ( a+b ) ( a−b )= a 2 − b 2 ( a b ) ( a b ) a 2 b 2 , we need only turn the equation around to find the factorization form.
a 2 − b 2 =( a+b ) ( a−b ) a 2 b 2 ( a b ) ( a b )
The factorization form says that we can factor
a 2 − b 2 a 2 b 2 , the difference of two squares, by finding the terms that produce the perfect squares and substituting these quantities into the factorization form.
When using real numbers (as we are), there is no factored form for the sum of two squares. That is, using real numbers,
a 2 + b 2 a 2 b 2 cannot be factored
Factor x 2 −16 x 2 16 . Both x 2 x 2 and 16 are perfect squares. The terms that, when squared, produce x 2 x 2 and 16 are x x and 4, respectively. Thus,
x 2 −16=( x+4 ) ( x−4 ) x 2 16 ( x 4 ) ( x 4 )
We can check our factorization simply by multiplying.
(x+4)(x-4) = x 2 -4x+4x-16 = x 2 -16. (x+4)(x-4) = x 2 -4x+4x-16 = x 2 -16.
49 a 2 b 4 −121 49 a 2 b 4 121 . Both 49 a 2 b 4 49 a 2 b 4 and 121 are perfect squares. The terms that, when squared, produce 49 a 2 b 4 49 a 2 b 4 and 121 are 7 a b 2 7 a b 2 and 11, respectively. Substituting these terms into the factorization form we get
49 a 2 b 4 −121=(7 a b 2 +11) (7 a b 2 −11) 49 a 2 b 4 121 (7 a b 2 11) (7 a b 2 11)
We can check our factorization by multiplying.
(7a b 2 +11)(7a b 2 -11) = 49 a 2 b 4 -11a b 2 +11a b 2 -121 = 49 a 2 b 4 -121 (7a b 2 +11)(7a b 2 -11) = 49 a 2 b 4 -11a b 2 +11a b 2 -121 = 49 a 2 b 4 -121
3 x 2 −27 3 x 2 27 . This doesn’t look like the difference of two squares since we don’t readily know the terms that produce 3 x 2 3 x 2 and 27. However, notice that 3 is common to both the terms. Factor out 3.
3 ( x 2 −9 ) 3 ( x 2 9 )
Now we see that x 2 −9 x 2 9 is the difference of two squares. Factoring the x 2 −9 x 2 9 we get
3 x 2 -27 = 3( x 2 -9) = 3(x+3)(x-3) 3 x 2 -27 = 3( x 2 -9) = 3(x+3)(x-3)
Be careful not to drop the factor 3.
If possible, factor the following binomials completely.
( m+5 ) ( m−5 ) ( m 5 ) ( m 5 )
36 p 2 −81 q 2 36 p 2 81 q 2
9 ( 2 p−3 q ) ( 2 p+3 q ) 9 ( 2 p 3 q ) ( 2 p 3 q )
49 a 4 − b 2 c 2 49 a 4 − b 2 c 2
(7 a 2 +bc)(7 a 2 −bc) (7 a 2 +bc)(7 a 2 −bc)
x 8 y 4 −100 w 12 x 8 y 4 −100 w 12
( x 4 y 2 +10 w 6 )( x 4 y 2 −10 w 6 ) ( x 4 y 2 +10 w 6 )( x 4 y 2 −10 w 6 )
3 ( x+5 ) ( x−5 ) 3 ( x 5 ) ( x 5 )
a 3 b 4 m−a m 3 n 2 a 3 b 4 m a m 3 n 2
am(a b 2 +mn)(a b 2 −mn) am(a b 2 +mn)(a b 2 −mn)
There are two fundamental rules that we follow when factoring:
- Factor out all common monomials first.
- Factor completely.
Factor each binomial completely.
4
a
8
b-36
b
5
.
Factor out the common factor 4b.
4b(
a
8
-9
b
4
)
4
a
8
b-36
b
5
.
Factor out the common factor 4b.
4b(
a
8
-9
b
4
)
Now we can see a difference of two squares, whereas in the original polynomial we could not. We’ll complete our factorization by factoring the difference of two squares.
4 a 8 b-36 b 5 = 4b( a 8 -9 b 4 ) = 4b( a 4 +3 b 2 )( a 4 -3 b 2 ) 4 a 8 b-36 b 5 = 4b( a 8 -9 b 4 ) = 4b( a 4 +3 b 2 )( a 4 -3 b 2 )
x
16
-
y
8
.
Factor this difference of two squares.
x
16
-
y
8
=
(
x
8
+
y
4
)
Sum of two squares
Does not factor
(
x
8
-
y
4
)
Difference of two squares
Factor it!
=
(
x
8
+
y
4
)(
x
4
+
y
2
)
(
x
4
-
y
2
)
Factor again!
=
(
x
8
+
y
4
)(
x
4
+
y
2
)(
x
2
+y)(
x
2
-y)
x
16
-
y
8
.
Factor this difference of two squares.
x
16
-
y
8
=
(
x
8
+
y
4
)
Sum of two squares
Does not factor
(
x
8
-
y
4
)
Difference of two squares
Factor it!
=
(
x
8
+
y
4
)(
x
4
+
y
2
)
(
x
4
-
y
2
)
Factor again!
=
(
x
8
+
y
4
)(
x
4
+
y
2
)(
x
2
+y)(
x
2
-y)
Finally, the factorization is complete.
These types of products appear from time to time, so be aware that you may have to factor more than once.
Factor each binomial completely.
( m 2 + n 2 )(m−n)(m+n) ( m 2 + n 2 )(m−n)(m+n)
(4 y 4 +1)(2 y 2 +1)(2 y 2 −1) (4 y 4 +1)(2 y 2 +1)(2 y 2 −1)
Recall the process of squaring a binomial.
( a b ) 2 = a 2 +2 a b+ b 2 ( a b ) 2 a 2 2 a b b 2 ( a b ) 2 = a 2 −2 a b+ b 2 ( a b ) 2 a 2 2 a b b 2
Table 1 | Our Method Is | We Notice |
| Square the first term. | The first term of the product should be a perfect square. |
| Take the product of the two terms and double it. | The middle term of the product should be divisible by 2 (since it’s multiplied by 2). |
| Square the last term. | The last term of the product should be a perfect square. |
Perfect square trinomials always factor as the square of a binomial.
To recognize a perfect square trinomial, look for the following features:
- The first and last terms are perfect squares.
- The middle term is divisible by 2, and if we divide the middle term in half (the opposite of doubling it), we will get the product of the terms that when squared produce the first and last terms.
In other words, factoring a perfect square trinomial amounts to finding the terms that, when squared, produce the first and last terms of the trinomial, and substituting into one of the formula
a 2 +2ab+ b 2 = (a+b) 2 a 2 -2ab+ b 2 = (a-b) 2 a 2 +2ab+ b 2 = (a+b) 2 a 2 -2ab+ b 2 = (a-b) 2
Factor each perfect square trinomial.
x 2 +6x+9 x 2 +6x+9 . This expression is a perfect square trinomial. The x 2 x 2 and 9 are perfect squares.
The terms that when squared produce x 2 x 2 and 9 are x x and 3, respectively.
The middle term is divisible by 2, and 6 x 2 =3 x 6 x 2 3 x. The 3 x 3x is the product of x x and 3, which are the terms that produce the perfect squares.
x 2 +6x+9= (x+3) 2 x 2 +6x+9= (x+3) 2
x 4 -10 x 2 y 3 +25 y 6 x 4 -10 x 2 y 3 +25 y 6 . This expression is a perfect square trinomial. The x 4 x 4 and 25 y 6 25 y 6 are both perfect squares. The terms that when squared produce x 4 x 4 and 25 y 6 25 y 6 are x 2 x 2 and 5 y 3 5 y 3 , respectively.
The middle term -10 x 2 y 3 -10 x 2 y 3 is divisible by 2 2 . In fact, -10 x 2 y 3 2 =-5 x 2 y 3 -10 x 2 y 3 2 =-5 x 2 y 3 . Thus,
x 4 -10 x 2 y 3 +25 y 6 = ( x 2 -5 y 3 ) 2 x 4 -10 x 2 y 3 +25 y 6 = ( x 2 -5 y 3 ) 2
x 2 +10x+16 x 2 +10x+16 . This expression is not a perfect square trinomial. Although the middle term is divisible by 2,? 10x 2 =5x 2,? 10x 2 =5x , the 5 and x x are not the terms that when squared produce the first and last terms. (This expression would be a perfect square trinomial if the middle term were 8x 8x .)
4 a 4 +32 a 2 b-64 b 2 4 a 4 +32 a 2 b-64 b 2 . This expression is not a perfect square trinomial since the last term -64 b 2 -64 b 2 is not a perfect square (since any quantity squared is always positive or zero and never negative).
Thus, 4 a 4 +32 a 2 b-64 b 2 4 a 4 +32 a 2 b-64 b 2 cannot be factored using this method.
Factor, if possible, the following trinomials.
4 a 2 +12a+9 4 a 2 +12a+9
9 x 2 -24xy+16 y 2 9 x 2 -24xy+16 y 2
2 w 3 z+16 w 2 z 2 +32w z 3 2 w 3 z+16 w 2 z 2 +32w z 3
2wz (w+4z) 2 2wz (w+4z) 2
For the following problems, factor the binomials.
(
a+3
)(
a−3
)
(
a+3
)(
a−3
)
(
x+4
)(
x−4
)
(
x+4
)(
x−4
)
(
a+10
)(
a−10
)
(
a+10
)(
a−10
)
4(
a+4
)(
a−4
)
4(
a+4
)(
a−4
)
3(
x+3
)(
x−3
)
3(
x+3
)(
x−3
)
(
2a+5
)(
2a−5
)
(
2a+5
)(
2a−5
)
(
6y+5
)(
6y−5
)
(
6y+5
)(
6y−5
)
3(
2a+5
)(
2a−5
)
3(
2a+5
)(
2a−5
)
2(
2y+5
)(
2y−5
)
2(
2y+5
)(
2y−5
)
(
xy+5
)(
xy−5
)
(
xy+5
)(
xy−5
)
(
x
2
y
2
+3a
)(
x
2
y
2
−3a
)
(
x
2
y
2
+3a
)(
x
2
y
2
−3a
)
a2 b4−16 y4 a 2 b 4 16 y 4
4 a2 b2−9 b2 4 a 2 b 2 9 b 2
b
2
(
2a+3
)(
2a−3
)
b
2
(
2a+3
)(
2a−3
)
16 x 2 −25 y 2 16 x 2 25 y 2
(
a+b
)(
a−b
)
(
a+b
)(
a−b
)
(
x
2
+
y
2
)(
x+y
)(
x−y
)
(
x
2
+
y
2
)(
x+y
)(
x−y
)
(
a
4
+y
)(
a
4
−y
)
(
a
4
+y
)(
a
4
−y
)
(
b
3
+
x
2
)(
b
3
−
x
2
)
(
b
3
+
x
2
)(
b
3
−
x
2
)
(
5+a
)(
5−a
)
(
5+a
)(
5−a
)
4(
5+3
b
2
)(
5−3
b
2
)
4(
5+3
b
2
)(
5−3
b
2
)
(
x
2
+4
)(
x+2
)(
x−2
)
(
x
2
+4
)(
x+2
)(
x−2
)
2a b 3 − a 3 b 2a b 3 − a 3 b
(
a
2
+
b
2
)(
a+b
)(
a−b
)
(
a
2
+
b
2
)(
a+b
)(
a−b
)
(
x
6
+
x
6
)(
x
3
+
y
3
)(
x
3
−
y
3
)
(
x
6
+
x
6
)(
x
3
+
y
3
)(
x
3
−
y
3
)
a 3 c 2 −25a c 2 a 3 c 2 −25a c 2
a
c
2
(
a+5
)(
a−5
)
a
c
2
(
a+5
)(
a−5
)
a 4 b 4 c 2 d 2 −36 x 2 y 2 a 4 b 4 c 2 d 2 −36 x 2 y 2
49 x 2 y 4 z 6 −64 a 4 b 2 c 8 d 10 49 x 2 y 4 z 6 −64 a 4 b 2 c 8 d 10
(
7x
y
2
z
3
+8
a
2
b
c
4
d
5
)(
7x
y
2
z
3
−8
a
2
b
c
4
d
5
)
(
7x
y
2
z
3
+8
a
2
b
c
4
d
5
)(
7x
y
2
z
3
−8
a
2
b
c
4
d
5
)
For the following problems, factor, if possible, the trinomials.
y 2 +20 y+100 y 2 20 y 100
b 2 −22 b+121 b 2 22 b 121
a 2 −24 a+144 a 2 24 a 144
4 a 2 +12 a+9 4 a 2 12 a 9
4 x 2 +28 x+49 4 x 2 28 x 49
16 a 2 −24 a+9 16 a 2 24 a 9
25 a 2 −20 a+4 25 a 2 20 a 4
9 x 2 +6 x y+ y 2 9 x 2 6 x y y 2
16 x 2 +24 x y+9 y 2 16 x 2 24 x y 9 y 2
36 a 2 +60 a b+25 b 2 36 a 2 60 a b 25 b 2
4 x 2 −12 x y+9 y 2 4 x 2 12 x y 9 y 2
12 a 2 −60 a+75 12 a 2 60 a 75
3
(
2a−5
)
2
3
(
2a−5
)
2
16 x 2 +8 x+1 16 x 2 8 x 1
32 x 2 +16 x+2 32 x 2 16 x 2
2
(
4x+1
)
2
2
(
4x+1
)
2
9 a 2 −21 a+49 9 a 2 21 a 49
x 5 +8 x 4 +16 x 3 x 5 8 x 4 16 x 3
x
3
(
x+4
)
2
x
3
(
x+4
)
2
12 a 3 b-48 a 2 b 2 +48a b 3 12 a 3 b-48 a 2 b 2 +48a b 3
((Reference)) Factor
(
m−3
)
x−(
m−3
)
y
(
m
3
)
x
(
m
3
)
y
.
(
m−3
)(
x−y
)
(
m−3
)(
x−y
)
((Reference)) Factor
8
x
m+16
x
n+3
y
m+6
y
n
8x
m
16
x
n
3
y
m
6
yn by grouping.
"Elementary Algebra covers traditional topics studied in a modern elementary algebra course. Written by Denny Burzynski and Wade Ellis, it is intended for both first-time students and those […]"