Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Understanding the Difference Of Two Squares in Algebra

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon

Difference Of Two Squares Formula Proof and Solved Examples

The difference of two squares theorem states that a quadratic equation can be written as a product of two binomials, one showing the difference of the square roots and the other showing the sum of the square roots. It is an algebraic representation of the equation used to express the difference between two square values. This type of formula allows us to solve a mathematical equation of the difference of squares quickly.

In this article, we will learn about the difference of two squares theorems, and also we will learn how to write the suitable identity to evaluate 103 x 107.


Square Objects


Square Objects

Difference of Squares Formula

The formula for the difference between the squares of two numbers is given by:

Difference of Square Formula


Difference of Square Formula

Where the first and last terms are both perfect squares.

On expanding the above image equation, we get,

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

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


Using the Difference of Square Formula

First, consider the following questions:

What is the square of 9? The answer is 81. So, how about 6 squares? The answer is 36.

Do you notice how 81-36 is the same as $9^{2}-6^{2}$?

How about the equation $a^{2}-b^{2}=(a+b)(a-b)$ ?

Now, comparing the equation, we get 9 as the letter $a$ and 6 as the letter $b$.

For 9 and 6, let's apply the difference of squares formula:

$9^{2}-6^{2} =(9+6)(9-6)$

$=15 \times 3$

$=45$

Have you noticed we might simply have subtracted 36 from 81 to have the same result? But what if the number was $86^{2}-77^{2}$? Finding a squared value for each and performing subtraction is a time taking process. The quickest and the easiest way to the answer is to recognise a difference in squares and use the formula:


In this example, you can see $a=86$ and $b=77$.

Substituting these values in the difference of square formula, we get,

$86^{2}-77^{2} =(86+77)(86-77)$

$=163 \times 9$

$=1467$


Example: Use suitable identity to evaluate: 97 x 103?

In this example, we will use a suitable identity to evaluate: 97 x 103. The identity is $(a+b)(a-b)=a^{2}-b^{2}$.

$97 \times 103$ can be rewritten as $(100-3)(100+3)$

$\therefore 97 \times 103=(100)^{2}-(3)^{2}$

$=10000-9$

$=9991$


Examples: The difference of the squares of two numbers is 88. If the larger number is 5, less than twice the smaller number, then the product of the two numbers is:

Ans: Let smaller number be $x$ and larger number be $y$ According to the question, $\Rightarrow \mathrm{y}^{2}-\mathrm{x}^{2}=88$ $\Rightarrow \mathrm{y}=2 \mathrm{x}-5$

Substituting the value of $y$ from equation (2) in (1),

$(2 x-5)^{2}-x^{2}=88$

$\Rightarrow 4 \mathrm{x}^{2}-20 \mathrm{x}+25-\mathrm{x}^{2}-88=0$

$\Rightarrow 3 \mathrm{x}^{2}-20 \mathrm{x}-63=0$

$\Rightarrow 3 \mathrm{x}^{2}-27 \mathrm{x}+7 \mathrm{x}-63=0$ $\Rightarrow 3 \mathrm{x}(\mathrm{x}-9)+7(\mathrm{x}-9)=0$ $\Rightarrow(\mathrm{x}-9)(3 \mathrm{x}+7)=0$

$\Rightarrow \mathrm{x}-9=0$ and $3 \mathrm{x}+7=0$ $\Rightarrow \mathrm{x}=9$ and $\mathrm{x}=-\dfrac{7}{3}$

The number cannot be negative.

$\therefore$ Smaller number $=9$

$\Rightarrow$ Larger number $=2 \mathrm{x}-5=2 \times 9-5=18-5=13$

$\Rightarrow$ Product of two numbers $=9 \times 13=117$

Therefore, if the difference of the squares of two numbers is 88, then the product of two numbers is 117.


Solved Examples for the Difference in Squares

Q1. Evaluate $12^{2}-9^{2}$ using the difference of squares.

Ans: Remember that a difference of two squares has the form $a^{2}-b^{2}$ and that it may be factored using the formula $a^{2}-b^{2}=(a+b)(a-b)$.

On comparing the given expression with $a^{2}-b^{2}$, we have,

$a^{2}=12^{2} \Rightarrow a=12$

$b^{2}=9^{2} \Rightarrow b=9$

Putting the values in the difference of squares formula, we get;

$(12+9)(12-9)=(21)(3)=63$


Q2. Write the suitable identity to evaluate 103 x 107

Ans: In this question, we must write the suitable identity to evaluate 103 x 107. So for this, we will use the identity and then solve it.

The identity is: $(x+a)(x+b)=x^{2}+(a+b) x+a b$

To split $103 \times 107$, we need a square that is easy to calculate.

Hence, $x=100, a=3, b=7$

$\therefore 103 \times 107=(100+3)(100+7)$

$=100^{2}+(3+7)(100)+(3)(7)$

$=10000+1000+21=11021$


Factor Using the Difference of Square

We will learn how to factorise algebraic problems using the difference of squares formula in this portion. Recall that a difference of two squares has the form $a^{2}-b^{2}$ and that it may be factored using the formula $a^{2}-b^{2}=(a+b)(a-b)$.


The following procedures are taken to factor a difference of squares:

Step 1: Check for the greatest common factor (GCF) of the terms and factor it out.

Step 2: Determine the numbers that will yield the same results and use the difference of squares formula: $a^{2}-b^{2}=(a+b)(a-b)$ or $(a-b)(a+b)$

Let's use these two steps to solve a few examples.


Q1. Factorize $7 a^{2}-63 b^{2}$

Ans: Here 7 is the Greatest Common Factor(GCF) of the terms, So take it out.

$7 a^{2}-63 b^{2}=7\left(a^{2}-9 b^{2}\right)$

$=7\left[(a)^{2}-(3 b)^{2}\right]$

Now apply $a^{2}-b^{2}=(a+b)(a-b)$ to get; $=7(a+3 b)(a-3 b)$


Q2. Factorize $a^{2}-36$

Ans: Since $a^{2}-36$ can be written as $a^{2}-6^{2}$.

Applying identity $a^{2}-b^{2}=(a+b)(a-b)$ we get;

$a^{2}-6^{2}=(a+6)(a-6)$


Practice on Your Own

Q1. Evaluate the expression using the difference of squares formula $42^{2}-39^{2}$.

Ans: 243


Q2. The square difference of the two numbers is 88. What is the product of two numbers if the larger number is 5 less than twice the smaller number?

Ans: Numbers are 9 and 13, and the product is 117. And $(x+4)(x-4)$


Summary

The difference of squares is an algebraic representation of the equation used to express the difference between two square values, i.e. $a^{2}-b^{2}$. The quickest and easiest way to simplify the difference in squares. The factor of an algebraic expression can be determined using the difference of the square formula. In this article, we have also seen how to solve the question based on the difference of the squares of two numbers is 88. In the end, we have included practice questions to use these identities and understand how to solve them.

FAQs on Understanding the Difference Of Two Squares in Algebra

1. What is the difference of two squares?

The difference of two squares is an algebraic expression of the form a² − b², which can be factored as (a − b)(a + b).

  • It applies when two perfect squares are subtracted.
  • Both terms must be perfect squares, such as 9 = 3² or x².
  • Example: x² − 16 = (x − 4)(x + 4).
This identity is widely used in algebraic factorization and equation solving.

2. What is the formula for difference of two squares?

The formula for the difference of two squares is a² − b² = (a − b)(a + b).

  • a and b can be numbers, variables, or algebraic expressions.
  • The formula only works when both terms are perfect squares.
  • Example: 25 − x² = (5 − x)(5 + x).
This formula is one of the most important algebraic identities in polynomial factorization.

3. How do you factor a difference of two squares?

To factor a difference of two squares, rewrite the expression using the identity a² − b² = (a − b)(a + b).

  • Step 1: Check that both terms are perfect squares.
  • Step 2: Write each term as a square (for example, 49 = 7²).
  • Step 3: Apply (a − b)(a + b).
Example: 4x² − 9 = (2x)² − 3² = (2x − 3)(2x + 3).

4. Why does the difference of two squares formula work?

The difference of two squares formula works because expanding (a − b)(a + b) simplifies to a² − b².

  • (a − b)(a + b) = a² + ab − ab − b²
  • The middle terms cancel out: +ab − ab = 0
  • The result is a² − b²
This cancellation explains why the identity is valid for all real numbers.

5. Can you give an example of difference of two squares?

An example of a difference of two squares is 36 − 25, which factors as (6 − 5)(6 + 5).

  • 36 = 6²
  • 25 = 5²
  • So, 36 − 25 = (6 − 5)(6 + 5) = 1 × 11 = 11
This shows how the identity works with numbers as well as variables.

6. What is the difference between sum and difference of two squares?

The difference of two squares factors as (a − b)(a + b), but the sum of two squares (a² + b²) does not factor over real numbers.

  • a² − b² = (a − b)(a + b)
  • a² + b² cannot be factored using real numbers.
  • Example: x² − 9 = (x − 3)(x + 3), but x² + 9 is not factorable over ℝ.
This is a common point of confusion in algebra.

7. When can you use the difference of two squares formula?

You can use the difference of two squares formula when an expression is written as a² − b² and both terms are perfect squares.

  • The terms must be separated by subtraction.
  • Each term must have an even exponent.
  • Example: 9x² − 16y² = (3x − 4y)(3x + 4y).
If either condition is not met, the identity cannot be applied directly.

8. How do you solve an equation using difference of two squares?

To solve an equation using difference of two squares, factor it using a² − b² = (a − b)(a + b) and apply the zero-product property.

  • Example: x² − 16 = 0
  • Factor: (x − 4)(x + 4) = 0
  • Set each factor to zero: x − 4 = 0 or x + 4 = 0
  • Solutions: x = 4 or x = −4
This method simplifies solving quadratic equations.

9. Is 4x² − 25 a difference of two squares?

Yes, 4x² − 25 is a difference of two squares because 4x² = (2x)² and 25 = 5².

  • Rewrite as (2x)² − 5²
  • Apply the formula: (2x − 5)(2x + 5)
Therefore, the factored form is (2x − 5)(2x + 5).

10. What are common mistakes when factoring difference of two squares?

Common mistakes when factoring a difference of two squares include misidentifying perfect squares and confusing it with a sum of squares.

  • Trying to factor a² + b² using (a − b)(a + b).
  • Forgetting to check if both terms are perfect squares.
  • Missing common factors before applying the formula.
Always confirm the expression matches a² − b² before using (a − b)(a + b).