The difference of squares formula is another key algebraic shortcut that simplifies expressions involving two squared terms subtracted from each other. It is written as:
(X−Y)2=X2−2XY+Y2 This formula skips the need for full expansion and directly factors the expression. It works for both numerical and algebraic expressions, making it versatile in solving equations and simplifying terms. That is, when we encounter two numbers with a minus sign between them, that is, the difference and they will be in parentheses and raised as a squared expression, we can use this formula.
For (x−y)2 the full expansion would be: (x−y)2=(x−y)(x−y)=x⋅x+x⋅(−y)−y⋅x−y⋅(−y)=x2−2xy+y2
Pay attention - The formula also works in non-algebraic expressions or combinations with numbers and unknowns.
Let's look at an example
(X−7)2= Here we identify two elements between which there is a minus sign and they are enclosed in parentheses and raised to the square as a single expression. Therefore, we can use the formula for the difference of squares. We will work according to the formula and pay attention to the minus and plus signs. We will obtain: (X−7)2=x2−14x+49 Indeed, we pronounce the same expression differently using the formula.
If you are interested in this article, you might also be interested in the following articles:
In the blog ofTutorelayou will find a variety of articles about mathematics.
Examples and exercises with solutions of the difference of squares formula
Exercise #1
Choose the expression that has the same value as the following:
(x−y)2
Video Solution
Step-by-Step Solution
We use the abbreviated multiplication formula:
(x−y)(x−y)=
x2−xy−yx+y2=
x2−2xy+y2
Answer
x2−2xy+y2
Exercise #2
x2+144=24x
Video Solution
Step-by-Step Solution
Let's solve the given equation:
x2+144=24x
First, let's arrange the equation by moving terms:
x2+144=24xx2−24x+144=0
Now let's notice that we can factor the expression on the left side using the perfect square trinomial formula:
(a−b)2=a2−2ab+b2
We can do this using the fact that:
144=122
Therefore, we'll represent the rightmost term as a squared term:
x2−24x+144=0↓x2−24x+122=0
Now let's examine again the perfect square trinomial formula mentioned earlier:
(a−b)2=a2−2ab+b2
And the expression on the left side in the equation we got in the last step:
x2−24x+122=0
Notice that the terms x2,122indeed match the form of the first and third terms in the perfect square trinomial formula (which are highlighted in red and blue),
However, in order to factor this expression (which is on the left side of the equation) using the perfect square trinomial formula mentioned, the remaining term must also match the formula, meaning the middle term in the expression (underlined):
(a−b)2=a2−2ab+b2
In other words - we'll ask if we can represent the expression on the left side of the equation as:
x2−24x+122=0↕?x2−2⋅x⋅12+122=0
And indeed it is true that:
2⋅x⋅12=24x
Therefore we can represent the expression on the left side of the equation as a perfect square trinomial:
x2−2⋅x⋅12+122=0↓(x−12)2=0
From here we can take the square root of both sides of the equation (and don't forget that there are two possibilities - positive and negative when taking an even root of both sides of an equation), then we'll easily solve by isolating the variable:
First, let's arrange the equation by moving terms:
x2=6x−9x2−6x+9=0
Now let's notice that we can factor the expression on the left side using the perfect square trinomial formula for a binomial squared:
(a−b)2=a2−2ab+b2
We'll do this using the fact that:
9=32Therefore, we'll represent the rightmost term as a squared term:
x2−6x+9=0↓x2−6x+32=0
Now let's examine again the perfect square trinomial formula mentioned earlier:
(a−b)2=a2−2ab+b2
And the expression on the left side in the equation we got in the last step:
x2−6x+32=0
Notice that the terms x2,32indeed match the form of the first and third terms in the perfect square trinomial formula (which are highlighted in red and blue),
However, in order to factor the expression in question (which is on the left side of the equation) using the perfect square trinomial formula mentioned, the remaining term must also match the formula, meaning the middle term in the expression (underlined with a single line):
(a−b)2=a2−2ab+b2
In other words - we'll ask if we can represent the expression on the left side of the equation as:
x2−6x+32=0↕?x2−2⋅x⋅3+32=0
And indeed it is true that:
2⋅x⋅3=6x
Therefore we can represent the expression on the left side of the equation as a perfect square binomial:
x2−2⋅x⋅3+32=0↓(x−3)2=0
From here we can take the square root of both sides of the equation (and don't forget that there are two possibilities - positive and negative when taking an even root of both sides of an equation), then we'll easily solve by isolating the variable:
Let's solve the equation. First, we'll simplify the algebraic expressions using the perfect square binomial formula:
(a±b)2=a2±2ab+b2We'll apply this formula and expand the parentheses in the expressions in the equation:
(x−1)2=x2x2−2⋅x⋅1+12=x2x2−2x+1=x2We'll continue and combine like terms, by moving terms between sides. Then we can notice that the squared term cancels out, therefore it's a first-degree equation, which we'll solve by isolating the variable term on one side and dividing both sides of the equation by its coefficient:
x2−2x+1=x2−2x=−1/:(−2)x=21Therefore, the correct answer is answer A.
Answer
x=21
Exercise #5
(x−4)2−x(x+8)=0
Video Solution
Step-by-Step Solution
Let's solve the equation. First, we'll simplify the algebraic expressions using the perfect square binomial formula:
(a±b)2=a2±2ab+b2We'll apply the mentioned formula and expand the parentheses in the expressions in the equation:
(x−4)2−x(x+8)=0x2−2⋅x⋅4+42−x2−8x=0x2−8x+16−x2−8x=0In the first stage, we used the distributive property to expand the parentheses,
We'll continue and combine like terms, by moving terms between sides. Then - we can notice that the squared term cancels out and therefore it's a first-degree equation, which we'll solve by isolating the variable term on one side and dividing both sides of the equation by its coefficient:
x2−8x+16−x2−8x=0−16x=−16/:(−16)x=1Therefore, the correct answer is answer D.
Answer
x=1
Join Over 30,000 Students Excelling in Math!
Endless Practice, Expert Guidance - Elevate Your Math Skills Today
Test your knowledge
Question 1
Rewrite the following expression as an addition and as a multiplication: