The difference of squares allows us to factor algebraic expressions. The difference of squares tells us that it is possible to write a quadratic expression as the product of two binomials, one containing the sum of the square roots and the other containing the subtraction of the square roots.

In this article, we will look at a summary of the difference of squares along with several examples with answers and exercises to solve.

## Summary of the difference of squares

Remember that the difference of squares is a theorem that tells us whether a quadratic equation can be written as the product of two binomials. One of these binomials shows the difference of the square roots and the other binomial shows the sum of the square roots. A difference of squares is expressed in the form:

where both the first and second terms are perfect squares. By factoring the difference of squares, we have:

To factor using the difference of squares, we can follow the following steps:

**Step 1:** Extract the common factor if there is one. Don’t forget to include this common factor in your final answer.

** Step 2:** Determine the numbers that will produce the same results and use the formula .

** Step 3:** Factor and simplify the resulting expression if possible.

## Difference of squares – Examples with answers

The following difference of squares examples follow the steps detailed above to obtain the factorization of the algebraic expressions. Try to solve the exercises yourself before looking at the solution.

**EXAMPLE 1**

Factor the expression .

##### Solution

** Step 1:** We have no common factors.

** Step 2: **Since we know that 5 squared equals 25, we can rewrite the expression as follows:

Now, we apply the formula :

** Step 3:** We can no longer factor.

**EXAMPLE 2**

Factor the expression .

##### Solution

** Step 1:** The expression has no common factors.

** Step 2: **Since we have , we apply the formula of the difference of squares , where

*a*is equal to

*x*and

*b*is equal to 9:

** Step 3:** We can no longer factor.

Start now: Explore our additional Mathematics resources

**EXAMPLE 3**

Factor the expression .

##### Solution

** Step 1:** In this case, 3 is a common factor of both terms, so we factor it:

** Step 2: **We can write like . Now, we apply the formula for the difference of squares:

** Step 3:** We can no longer factor.

**EXAMPLE 4**

Factor the expression .

##### Solution

** Step 1:** Since

*x*is a common factor, we factor it:

** Step 2: **We can write the 64 like . Using the formula for the difference of squares, we have:

** Step 3:** We can no longer factor.

**EXAMPLE 5**

Factor the expression .

##### Solution

** Step 1:** We have nothing to factor.

** Step 2: **In this case, we have that

*a*is equal to and

*b*is equal to . Thus, we use the formula for the difference of squares:

** Step 3:** Here, we can combine like terms and simplify:

**EXAMPLE 6**

Factor the expression .

##### Solution

** Step 1:** We have nothing to factor.

** Step 2: **We start by writing the expression as follows:

Here, we have that *a* is equal to and *b* is equal to . So, we use the difference of squares formula:

** Step 3:** Here we can expand, combine like terms, and simplify:

## Difference of squares – Practice problems

Solve the following difference of squares problems to test your knowledge on this topic. The solved examples above can be used to review the solving process if you have problems.

## See also

Interested in learning more about algebraic expressions? Take a look at these pages:

### Learn mathematics with our additional resources in different topics

**LEARN MORE**