# How Do I Calculate the Difference between Two Squared numbers?

By Robert O

The difference of the two squares formula is useful when factoring quadratic expressions. In general form, a difference of two squares is (a² – b²). How does that come about?

If you are to expand (a – b)(a + b), the result is the difference of squares. Let us see how we get there.

This formula is very helpful in factoring expressions. Provided you can recognize that an expression involves the difference of two squares, you can apply the formula directly without even stating it. Your examiner already knows it.

## How to factor polynomials using the difference of two squares formula?

For the formula to work, there must be a subtraction (-) separating the two terms. Any other operation apart from subtraction is not applicable. For instance, (a² + b²) is not a difference between the two squares. It may be a sum of two squares, but that does not exist.

We will use examples to help us in understanding this concept.

Example 1:

Factor x² – 4

Solution

This example is the simplest form of a difference of two squares. The first step is to confirm if it is indeed a difference between the two squares. That may not be obvious in some cases. So, you may need to first pull out a common factor before proceeding with the identification. In this case, we have only 1 to factor out, which makes no difference.

After confirming that it is a difference between the two squares, we check the numbers that make up the squares. The first term is x² and the second term is 4. Find the square root of each term independently. In this case, our square roots are x and 2. Note that if you cannot find a definite square root of individual terms, then that is not a difference between two squares.

Applying the general formula:

Example 2:

Factor 2x² – 98

Solution

A quick look at the problem tells you that it is not a difference of two squares. Do not fall into this trap. There is a common factor to pull out, and that is 2.

The terms in the bracket form a difference of two squares.

Example 3:

Factor 32 – 8x²

Solution

Does this look like a difference of two squares? Let us factor out 8 and see.

We now have a difference of two squares in between the braces.

Homework

Factor:

## Remarks

The difference between the two squares formula makes it easier to factorize polynomials. This formula is also applicable in simplifying complex algebraic fractions plus many other applications. The good news is that there is nothing complicated about it, and you can easily derive it when you need to use it.