How to Factor a Difference of Squares?

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.

ALGEBRA
how to factor Difference of squares

Relevant for

Learning to solve exercises with difference of squares.

See process

ALGEBRA
how to factor Difference of squares

Relevant for

Learning to solve exercises with difference of squares.

See process

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 {{x}^2} - 4. This is because {{2} ^ 2} = 4, so we actually have {{x} ^ 2}- {{2} ^ 2}, 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:

{{a}^2} - {{b}^2}

where the first and last terms are perfect squares.

Factoring the difference of squares, we have:

{{a}^{2}}-{{b}^{2}}=(a+b)(a-b)

This is true because (a+b)(a-b)={{a}^{2}}+ab-ab-{{b}^{2}}={{a}^{2}}-{{b}^{2}}.


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: {{a}^2}-{{b}^2} = (a + b) (a-b). 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.


Difference of squares – Examples with answers

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

EXAMPLE 1

Factor {{x}^{2}}-9.

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

Step 2: To factor the problem in the form (a+b)(a-b), we need to determine the value that we have to square to get {{x}^{2}} and the value that we have to square to obtain 9. In this case, we have x and 3 because (x)(x)={{x}^{2}} and (3)(3)=9.

(x+3)(x-3)

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

EXAMPLE 2

Factor 4{{x}^{2}}-49.

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

Step 2: To factor the problem in the form (a+b)(a-b), we need to determine the value that we have to square to get 4{{x}^{2}} and the value that we have to square to obtain 49. In this case, we have 2x and 7 because (2x)(2x)=4{{x}^{2}} and (7)(7)=49.

(2x+7)(2x-7)

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

EXAMPLE 3

Factor 18{{x}^{2}}-98.

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

2(9{{x}^2}-49)

Step 2: To factor the problem in the form (a+b)(a-b), we need to determine the value that we have to square to get 9{{x}^{2}} and the value that we have to square to obtain 49. In this case, we have 3x and 7 because (3x)(3x)=9{{x}^{2}} and (7)(7)=49.

2(3x+7)(3x-7)

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

EXAMPLE 4

Factor 4{{x}^{2}}-64.

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

4({{x}^2}-16)

Step 2: To factor the problem in the form (a+b)(a-b), we need to determine the value that we have to square to get {{x}^{2}} and the value that we have to square to obtain 16. In this case, we have x and 4 because (x)(x)={{x}^{2}} and (4)(4)=16.

4(x+4)(x-4)

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

EXAMPLE 5

Factor 16{{x}^{4}}-1.

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

Step 2: To factor the problem in the form (a+b)(a-b), we need to determine the value that we have to square to get 16{{x}^{4}} and the value that we have to square to obtain 1. In this case, we have 4{{x}^2} and 1 because (4{{x}^2})(4{{x}^2})=16{{x}^{4}} and (1)(1)=1.

(4{{x}^2}+1)(4{{x}^2}-1)

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 4{{x}^2} and the value we have to square to obtain 1. In this case, we have 2x and 1 since (2x) (2x) = 4 {{x} ^2} and (1)(1) = 1.

(4{{x}^{2}}+1)(2x+1)(2x-1)


Difference of squares – Practice problems

Factor the expression -3{{x}^2}+12.

Choose an answer






Factor the expression 81{{x}^2}-25.

Choose an answer







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