To factor a difference of squares, we need to start by applying a square root to both terms of the expression given. Then, we write the algebraic expression as a product of the sum of the terms and a difference of the terms.

In this article, we will look at the difference of squares in more detail. We will look at how to factor the difference of squares by using a formula, and we will look at worked-out examples to understand the concepts.

## Definition of difference of squares

The difference of two squares is a theorem that tells us if a quadratic equation can be written as a product of two binomials, where one shows the difference of the square roots and the other shows the sum of the square roots.

A difference of squares is something that looks like . This is because , so we actually have , which is a difference of squares.

## Difference of squares formula

The difference of squares formula is an algebraic expression that is used to express the difference between two squared values. A difference of squares is expressed in the form:

where the first and last terms are perfect squares.

Factoring the difference of squares, we have:

This is true because .

## How to factor the difference of squares

The following are the steps required to factor a difference of squares:

**Step 1:** Determine if the terms have something in common, called the greatest common factor. If so, factor out that common factor, and don’t forget to include it in your final answer.

** Step 2:** All difference of squares problems can be factored as follows: . Therefore, all we have to do is to find the square numbers that will produce the desired results.

** Step 3:** Determine if the remaining factors can be factored further.

Start now: Explore our additional Mathematics resources

## Difference of squares – Examples with answers

The following examples follow the process outlined above to factor the difference of squares:

### EXAMPLE 1

Factor .

** Step 1:** Determine if the terms have anything in common: they have nothing in common.

** Step 2: **To factor the problem in the form , we need to determine the value that we have to square to get and the value that we have to square to obtain . In this case, we have

*x*and 3 because and .

** Step 3: **Determine whether the remaining factors can be factored: in this case no.

### EXAMPLE 2

Factor .

** Step 1:** Determine if the terms have anything in common: they have nothing in common.

** Step 2: **To factor the problem in the form , we need to determine the value that we have to square to get and the value that we have to square to obtain . In this case, we have 2

*x*and 7 because and .

** Step 3: **Determine whether the remaining factors can be factored: in this case no.

### EXAMPLE 3

Factor .

** Step 1:** Determine if the terms have anything in common: they have 2 common.

** Step 2: **To factor the problem in the form , we need to determine the value that we have to square to get and the value that we have to square to obtain . In this case, we have 3

*x*and 7 because and .

** Step 3: **Determine whether the remaining factors can be factored: in this case no.

### EXAMPLE 4

Factor .

** Step 1:** Determine if the terms have anything in common: they have 4 common.

** Step 2: **To factor the problem in the form , we need to determine the value that we have to square to get and the value that we have to square to obtain . In this case, we have

*x*and 4 because and .

** Step 3: **Determine whether the remaining factors can be factored: in this case no.

### EXAMPLE 5

Factor .

** Step 1:** Determine if the terms have anything in common: they have nothing in common.

** Step 2: **To factor the problem in the form , we need to determine the value that we have to square to get and the value that we have to square to obtain . In this case, we have and 1 because and .

** Step 3: **Determine whether the remaining factors can be factored: in this case one of the factors is a difference of squares, so we can factor it: we need to determine the value we have to square to get and the value we have to square to obtain 1. In this case, we have and 1 since and .

Start now: Explore our additional Mathematics resources

## Difference of squares – Practice problems

## See also

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

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

**LEARN MORE**