Math resources Algebra Factoring

Factoring the difference of two squares

Factoring the difference of two squares

Here you will learn how to factor the difference of two square terms to problem solve. You have already learned other techniques for factoring, now, you can add to your factoring strategies, factoring the difference of perfect square terms.

Students first learn how to factor in 7 th grade math where they learn how to factor the greatest common factor out of an expression. They extend that knowledge of factoring in an algebra 1 class.

What is factoring the difference of two squares?

The Difference of two squares is an algebraic expression where the first expression and the second expression are perfect square terms with the second square term being subtracted from the first. The difference of two squares is always in the form of:

a^2-b^2

Algebraic expressions that are the difference of squares are factorable.

They factor to be:

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

Let’s take a look algebraically and geometrically why the expression factors in this way.

If the expression were to be written in standard form of a quadratic, it would be written like this:

a^2-b^2=a^2+0 a b-b^2

You can use the trial and error method of factoring to factor the quadratic expression:

a^2+0 a b-b^2

The first term factors to a \times a and the last term factors to (- \, b) \times b

(a-b)(a+b)

The inside terms multiply to - \, ab and the outside terms multiply to be + \, ab

Factoring the difference of two squares 1 US

When you add ab and - \, ab, it equals 0ab or just 0 (they cancel each other out). This means that when you factor, a^2-b^2 it factors to be (a-b)(a+b). This works all the time with the difference of two perfect squares.

[FREE] Algebra Worksheet (Grade 6 to 8)

[FREE] Algebra Worksheet (Grade 6 to 8)

[FREE] Algebra Worksheet (Grade 6 to 8)

Use this quiz to check your grade 6 to 8 students’ understanding of algebra. 10+ questions with answers covering a range of 6th and 8th grade algebra topics to identify areas of strength and support!

DOWNLOAD FREE
x
[FREE] Algebra Worksheet (Grade 6 to 8)

[FREE] Algebra Worksheet (Grade 6 to 8)

[FREE] Algebra Worksheet (Grade 6 to 8)

Use this quiz to check your grade 6 to 8 students’ understanding of algebra. 10+ questions with answers covering a range of 6th and 8th grade algebra topics to identify areas of strength and support!

DOWNLOAD FREE

Now, let’s look at why this works geometrically using squares.

Factoring the difference of two squares 2 US

Take a square with side length a. This has an area of a^{2}.

Factoring the difference of two squares 3 US

Let b=\cfrac{1}{2} \, a. Draw a square of side length b from a vertex (you may notice that a vertex of square b is the centre of square a ). Square b has an area of b^{2}.

Factoring the difference of two squares 4 US

Remove the square with side length b from the diagram. The remaining area is now a^{2}-b^{2} as the area of b^2 has been subtracted from the area of a^2.

Factoring the difference of two squares 5 US

The width of the top of the L -shape is a-b as the length of b has been subtracted from the side length of the square a.

Factoring the difference of two squares 6 US

This is the same as the furthest right vertical of the L -shape, however as b=\cfrac{1}{2} \, a, \, a-b=a-\cfrac{1}{2} \, a=\cfrac{1}{2} \, a=b. So, the furthest right vertical side has length b.

Factoring the difference of two squares 7 US

If you then split the L -shape into a rectangle and a square, you can then move the square to make a longer rectangle. The area has not changed as nothing has been removed here:

Factoring the difference of two squares 8 US

The rectangle now has a width of a-b, a height of a+b and an area of a^{2}-b^{2} which if substituted into the standard formula for the area of a rectangle is equivalent.

Factoring the difference of two squares 9 US

A=L\times{W}=(a+b)\times(a-b)=a^{2}-b^{2}

This geometrical representation with squares further proves that:

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

What is the factoring the difference of two squares?

What is the factoring the difference of two squares?

Common Core State Standards

How does this relate to high school math?

  • High School Algebra – Seeing Structure in Expressions: (HSA-SSE.A.2)
    Use the structure of an expression to identify ways to rewrite it. For example, see x^4 - y^4 as (x^2)^2 - (y^2)^2, thus recognizing it as a difference of squares that can be factored as (x^2 - y^2)(x^2 + y^2).

  • High School Algebra – Seeing Structure in Expressions: (HSA-SSE.B.3a)
    Choose and produce an equivalent form of an expression to reveal and explain properties of the quantity represented by the expression.β˜… a. Factor a quadratic expression to reveal the zeros of the function it defines.

How to factor the difference of two squares

In order to factor an algebraic expression using the difference of two squares:

  1. Write down two sets of parentheses.
  2. Square root the first term and write it on the left hand side of both parentheses.
  3. Square root the last term and write it on the right hand side of both parentheses.
  4. Put a \textbf{β€œ +”} in the middle of one bracket and a \textbf{β€œ- β€œ} in the middle of the other (the order doesn’t matter).

Factor the difference of two squares examples

Example 1: variable has a coefficient of 1

Factor the expression x^{2}-9.

  1. Write down two sets of parentheses.

(\qquad)(\qquad)

2Square root the first term and write it on the left hand side of both parentheses.

x^2 is the first term and \sqrt{x^2}=x

Each set of parentheses starts with x.

(x\quad)(x\quad)

3Square root the last term and write it on the right hand side of both parentheses.

9 is the second term and \sqrt{9}=3

Each set of parentheses ends with 3.

(x\quad{3})(x\quad{3})

4Put a \textbf{β€œ +”} in the middle of one bracket and a \textbf{β€œ- β€œ} in the middle of the other (the order doesn’t matter).

(x+3)(x-3)

Remember, you can always check to see if your answer is correct by multiplying the factored expression back out.

Factoring the difference of two squares 10 US

x^{2}+3x-3x-9=x^{2}-9

x^{2}-9 factors to be (x+3)(x-3) .

Note: The order of the β€œ+” and β€œ-” does not matter.

Example 2: variable has a coefficient of 1

Factor the expression 64-y^{2} .

Write down two sets of parentheses.

Square root the first term and write it on the left hand side of both parentheses.

Square root the last term and write it on the right hand side of both parentheses.

Put a \textbf{β€œ +”} in the middle of one bracket and a \textbf{β€œ- β€œ} in the middle of the other (the order doesn’t matter).

Example 3: variable has a coefficient greater than 1

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

Write down two sets of parentheses.

Square root the first term and write it on the left hand side of both parentheses.

Square root the last term and write it on the right hand side of both parentheses.

Put a \textbf{β€œ +”} in the middle of one bracket and a \textbf{β€œ- β€œ} in the middle of the other (the order doesn’t matter).

Example 4: coefficient of both terms is greater than 1

Factor the expression fully.

4x^{2}-81y^{2}

Write down two sets of parentheses.

Square root the first term and write it on the left hand side of both parentheses.

Square root the last term and write it on the right hand side of both parentheses.

Put a \textbf{β€œ +”} in the middle of one bracket and a \textbf{β€œ- β€œ} in the middle of the other (the order doesn’t matter).

Example 5: exponents greater than 2

Factor the expression completely.

x^{4}-100

Write down two sets of parentheses.

Square root the first term and write it on the left hand side of both parentheses.

Square root the last term and write it on the right hand side of both parentheses.

Put a \textbf{β€œ +”} in the middle of one bracket and a \textbf{β€œ- β€œ} in the middle of the other (the order doesn’t matter).

Example 6: exponents greater than 2

Factor the expression completely.

2m^6-72

Write down two sets of parentheses.

Square root the first term and write it on the left hand side of both parentheses.

Square root the last term and write it on the right hand side of both parentheses.

Put a \textbf{β€œ +”} in the middle of one bracket and a \textbf{β€œ- β€œ} in the middle of the other (the order doesn’t matter).

Teaching tips for factoring the difference of squares

  • Use visual tools such as algebra tiles or digital algebra tiles so students can connect the area model with arrays to factoring.

  • Although worksheets have their place, having students work in collaborative groups to problem solve is essential to the math classroom.

Easy mistakes to make

  • Forgetting that in the parentheses the signs are different
    There must be a + in one bracket, and a – in the other, the order doesn’t matter for example (\quad+\quad)(\quad-\quad) or (\quad-\quad)(\quad+\quad) .

  • Not finding the square root when factoring the difference of squares.
    For example, factoring 16x^{2}-4 to be (8x-2)(8x+2). The correct factored expression should be (4x-2)(4x+2) as \sqrt{16x^{2}}=4x.

Practice factoring the difference of two squares questions

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

(x-5)(x-5)
GCSE Quiz False

(x+5)(x-5)
GCSE Quiz True

(x+1)(x-25)
GCSE Quiz False

(x-1)(x+25)
GCSE Quiz False

The expression x^2-25 is the difference of two squares. To factor it, take the square root of both the first and the second expressions and place the square roots in two sets of parentheses. The middle sign of one set of parentheses is β€œ+” and the second one is β€œ-”.

 

The first term in each pair of parentheses is \sqrt{x^2}=x

 

The second term in each pair of parentheses is \sqrt{25}=5

 

(x+5)(x-5) is the factored expression.

 

 

2. Factor the expression y^{2}-81.

(y+9)(y-9)
GCSE Quiz True

(y-9)(y-9)
GCSE Quiz False

(y+1)(y-81)
GCSE Quiz False

(y-1)(y+81)
GCSE Quiz False

The expression y^2-81 is the difference of two squares. To factor it, take the square root of both the first and the second expressions and place the square roots in two sets of parentheses. The middle sign of one set of parentheses is β€œ+” and the second one is β€œ-”.

 

The first term in each pair of parentheses is \sqrt{y^2}=y

 

The second term in each pair of parentheses is \sqrt{81}=9

 

(y+9)(y-9) is the factored expression.

 

 

3. Factor the expression 49-y^{2} .

(7-y)(7-y)
GCSE Quiz False

(49+y)(1-y)
GCSE Quiz False

(7+y)(7-y)
GCSE Quiz True

(1+y)(49-y)
GCSE Quiz False

The expression 49-y^2 is the difference of two squares. To factor it, take the square root of both the first and the second expressions and place the square roots in two sets of parentheses. The middle sign of one set of parentheses is β€œ+” and the second one is β€œ-”.

 

The first term in each pair of parentheses is \sqrt{49}=7

 

The second term in each pair of parentheses is \sqrt{y^{2}}=y

 

(7+y)(7-y) is the factored expression.

 

 

4. Factor the expression 4-x^4 .

(4+x)(1-x)
GCSE Quiz False

\left(x^2+2\right)\left(x^2-2\right)
GCSE Quiz False

\left(1+x^2\right)\left(4-x^2\right)
GCSE Quiz False

\left(2+x^2\right)\left(2-x^2\right)
GCSE Quiz True

The expression 4-x^4 is the difference of two squares. To factor it, take the square root of both the first and the second expressions and place the square roots in two sets of parentheses. The middle sign of one set of parentheses is β€œ+” and the second one is β€œ-”.

 

The first term in each pair of parentheses is \sqrt{4}=2

 

The second term in each pair of parentheses is \sqrt{x^{4}}=x^{2}

 

(2+x^{2})(2-x^{2}) is the factored expression.

 

 

5. Factor the expression 9x^{2}-100 .

(3x+10)(x-10)
GCSE Quiz True

(3x-10)(3x-10)
GCSE Quiz False

(9x+100)(x-1)
GCSE Quiz False

(9x+1)(x-100)
GCSE Quiz False

The expression 9x^{2}-100 is the difference of two squares. To factor it, take the square root of both the first and the second expressions and place the square roots in two sets of parentheses. The middle sign of one set of parentheses is β€œ+” and the second one is β€œ-”.

 

The first term in each pair of parentheses is \sqrt{9x^{2}}=3x

 

The second term in each pair of parentheses is \sqrt{100}=10

 

(3x+10)(3x-10) is the factored expression.

 

 

6. Factor the expression fully 363-27y^{4} .

(11-3y)(11+3y)
GCSE Quiz False

\left(121+y^2\right)\left(1-9y^2\right)
GCSE Quiz False

\left(11+9 y^2\right)\left(11-9 y^2\right)
GCSE Quiz False

3\left(11+3 y^2\right)\left(11-3 y^2\right)
GCSE Quiz True

The expression 363-27y^{4} is the difference of two squares. To factor it, first take out a common factor of 3 from the two terms in the expression, then take the square root of both the first and the second expressions and place the square roots in two sets of parentheses. The middle sign of one set of parentheses is β€œ+” and the second one is β€œ-”.

 

Take out the common factor of 3\text{:}

 

3\left(121-9y^{4}\right)

 

The first term in each pair of parentheses is \sqrt{121}=11

 

The second term in each pair of parentheses is \sqrt{9y^{4}}=3y^{2}

 

3(11+3y^{2})(11-3y^{2}) is the factored expression.

 

 

7. Factor the expression 81x^{2}-16y^{2} fully.

(81x+y)(x-4y)
GCSE Quiz False

(x+4y)(81x-y)
GCSE Quiz False

(9x+4y)(9x-4y)
GCSE Quiz True

(9x-4y)(9x-4y)
GCSE Quiz False

The expression 81x^{2}-16y^{2} is the difference of two squares. To factor it, take the square root of both the first and the second expressions and place the square roots in two sets of parentheses. The middle sign of one set of parentheses is β€œ+” and the second one is β€œ-”.

 

The first term in each pair of parentheses is \sqrt{81x^{2}}=9x

 

The second term in each pair of parentheses is \sqrt{16y^{2}}=4y

 

(9x+4y)(9x-4y) is the factored expression.

 

 

Factoring the difference of two squares FAQs

What factoring (factorising) strategies can you use to factor polynomials?

When factoring polynomials, you can apply the same strategies used for factoring trinomials, like quadratics. Many times when factoring polynomials, you will have to apply more than one factoring strategy.

Can you factor the sum of squares?

Binomials that are the sum of squares cannot be factored. They are considered to be prime expressions. For example, if asked to factor x^2+y^2, you would leave that binomial as the final answer.

Can fractions be in a perfect square binomial expression?

Yes, some fractions are considered perfect squares, for example, \cfrac{1}{4} \, x^2-1 is the difference of two perfect squares, which can be factored.

Still stuck?

At Third Space Learning, we specialize in helping teachers and school leaders to provide personalized math support for more of their students through high-quality, online one-on-one math tutoring delivered by subject experts.

Each week, our tutors support thousands of students who are at risk of not meeting their grade-level expectations, and help accelerate their progress and boost their confidence.

One on one math tuition

Find out how we can help your students achieve success with our math tutoring programs.

x

[FREE] Common Core Practice Tests (3rd to 8th Grade)

Prepare for math tests in your state with these 3rd Grade to 8th Grade practice assessments for Common Core and state equivalents.

Get your 6 multiple choice practice tests with detailed answers to support test prep, created by US math teachers for US math teachers!

Download free