Main content
Algebra basics
Course: Algebra basics > Unit 7
Lesson 7: Factoring quadratics: Difference of squares- Factoring difference of squares: leading coefficient ≠ 1
- Factoring quadratics: Difference of squares
- Factoring difference of squares: analyzing factorization
- Factoring difference of squares: missing values
- Factoring difference of squares: shared factors
- Difference of squares
© 2023 Khan AcademyTerms of usePrivacy PolicyCookie Notice
Factoring quadratics: Difference of squares
CCSS.Math: , ,
Learn how to factor quadratics that have the "difference of squares" form. For example, write x²-16 as (x+4)(x-4).
Factoring a polynomial involves writing it as a product of two or more polynomials. It reverses the process of polynomial multiplication.
In this article, we'll learn how to use the difference of squares pattern to factor certain polynomials. If you don't know the difference of squares pattern, please check out our video before proceeding.
Intro: Difference of squares pattern
Every polynomial that is a difference of squares can be factored by applying the following formula:
Note that a and b in the pattern can be any algebraic expression. For example, for a, equals, x and b, equals, 2, we get the following:
The polynomial x, squared, minus, 4 is now expressed in factored form, left parenthesis, x, plus, 2, right parenthesis, left parenthesis, x, minus, 2, right parenthesis. We can expand the right-hand side of this equation to justify the factorization:
Now that we understand the pattern, let's use it to factor a few more polynomials.
Example 1: Factoring x, squared, minus, 16
Both x, squared and 16 are perfect squares, since x, squared, equals, left parenthesis, start color #11accd, x, end color #11accd, right parenthesis, squared and 16, equals, left parenthesis, start color #1fab54, 4, end color #1fab54, right parenthesis, squared. In other words:
Since the two squares are being subtracted, we can see that this polynomial represents a difference of squares. We can use the difference of squares pattern to factor this expression:
In our case, start color #11accd, a, end color #11accd, equals, start color #11accd, x, end color #11accd and start color #1fab54, b, end color #1fab54, equals, start color #1fab54, 4, end color #1fab54. Therefore, our polynomial factors as follows:
We can check our work by ensuring the product of these two factors is x, squared, minus, 16.
Check your understanding
Reflection question
Example 2: Factoring 4, x, squared, minus, 9
The leading coefficient does not have to equal to 1 in order to use the difference of squares pattern. In fact, the difference of squares pattern can be used here!
This is because 4, x, squared and 9 are perfect squares, since 4, x, squared, equals, left parenthesis, start color #11accd, 2, x, end color #11accd, right parenthesis, squared and 9, equals, left parenthesis, start color #1fab54, 3, end color #1fab54, right parenthesis, squared. We can use this information to factor the polynomial using the difference of squares pattern:
A quick multiplication check verifies our answer.
Check your understanding
Challenge problems
Want to join the conversation?
- If the question is x^2 + 25 its not factorable? Why?(5 votes)
- The difference of squares: (a+b)(a-b). x^2 + 25 is not factorable since you're adding 25, not subtracting. A positive multiplied by a negative is always a negative. If you were to factor it, you would have to use imaginary numbers such as i5. The factors of 25 are 5 and 5 besides 1 and itself. Since the formula: (a-b)(a+b), it uses a positive and negative sign, making the last term always a negative.(13 votes)
- i really don't understand factoring AT ALL even after watching the videos so can someone help me because i really suck at math! thank you in advance!(5 votes)
- Are you talking about just this video (difference of squares) or about any factoring at all? If it is factoring in general, you have to go through a sequence of factoring to support your learning. So just reaching out says that you are not as bad as you think. If you say all factoring, then we will start with a=1 and go one step at a time.(11 votes)
- Does the order of the signs matter? I have gotten it right when I do (x+y)(x-y). If I did it (x-y)(x+y) would it be wrong?(5 votes)
- While it is the same answer, sometimes questions ask for a specific order.(2 votes)
- in the video how did he know what number to divide by ?(4 votes)
- I think he looked for their square roots. Like when he had 25 5*5 = 25 so that's how he figured it out. Unless that's not what you're talking about then I feel embarrassed(2 votes)
- So when you have 25x-4 you have to make the 4 into a 2(2 votes)
- Yes, because the square root of 4 is 2. You should also notice the 25x^2. The square root of 25x^2 is 5x.(2 votes)
- how do you explain difference of squares to someone in words(2 votes)
- factoris 27-3x to the power of 2(1 vote)
- Same as your other question. Factor out the common factor as your first step. Then you will have a difference of 2 squares. Give it a try.(2 votes)
- Why can’t you factorise the difference of squares in the expression: (4a^2-9c^2)/ 12abc?(1 vote)
- How would I solve for a question like xp^2-4x and give a number for x to make the binomial a difference of perfect squares?(0 votes)
- You aren't solving, you are factoring.
The first step you should always try when factoring is to look for a common factor. Your binomials has a common factor of X. Factor it out using the distributive property.
x (p^2 - 4)
You now have a binomial in the parentheses that is a difference of 2 squares. When you factor it, your factors become:
x(p-2)(p+2)
Hope this helps.(3 votes)
- Is it possible to create a formula like this:
(a^2-b^2)=(√a+√b)(√a-√b)
and if so what will be the domain of it.
Thanks(1 vote)