Enter an equation or problem
Camera input is not recognized!

Solution - Factoring binomials using the difference of squares

x=2
x=2
x=3
x=-3

Step by Step Solution

Rearrange:

Rearrange the equation by subtracting what is to the right of the equal sign from both sides of the equation :

                     (x-1)*(x^2-9)-(-x-3)=0 

Step by step solution :

Step  1  :

Trying to factor as a Difference of Squares :

 1.1      Factoring:  x2-9 

Theory : A difference of two perfect squares,  A2 - B2  can be factored into  (A+B) • (A-B)

Proof :  (A+B) • (A-B) =
         A2 - AB + BA - B2 =
         A2 - AB + AB - B2 =
         A2 - B2

Note :  AB = BA is the commutative property of multiplication.

Note :  - AB + AB equals zero and is therefore eliminated from the expression.

Check : 9 is the square of 3
Check :  x2  is the square of  x1 

Factorization is :       (x + 3)  •  (x - 3) 

Equation at the end of step  1  :

  (x - 1) • (x + 3) • (x - 3) -  (-x - 3)  = 0 

Step  2  :

Pulling out like terms :

 2.1      Pull out     x+3 

Note that  -x-3 =(-1)• x+3 
After pulling out, we are left with :
      (x+3) • ( (x-1)  *  (-1)  *  (x-3) +( (-1) ))

Step  3  :

Pulling out like terms :

 3.1     Pull out like factors :

   -x2 + 4x - 4  =   -1 • (x2 - 4x + 4) 

Trying to factor by splitting the middle term

 3.2     Factoring  x2 - 4x + 4 

The first term is,  x2  its coefficient is  1 .
The middle term is,  -4x  its coefficient is  -4 .
The last term, "the constant", is  +4 

Step-1 : Multiply the coefficient of the first term by the constant   1 • 4 = 4 

Step-2 : Find two factors of  4  whose sum equals the coefficient of the middle term, which is   -4 .

     -4   +   -1   =   -5
     -2   +   -2   =   -4   That's it


Step-3 : Rewrite the polynomial splitting the middle term using the two factors found in step 2 above,  -2  and  -2 
                     x2 - 2x - 2x - 4

Step-4 : Add up the first 2 terms, pulling out like factors :
                    x • (x-2)
              Add up the last 2 terms, pulling out common factors :
                    2 • (x-2)
Step-5 : Add up the four terms of step 4 :
                    (x-2)  •  (x-2)
             Which is the desired factorization

Multiplying Exponential Expressions :

 3.3    Multiply  (x-2)  by  (x-2) 

The rule says : To multiply exponential expressions which have the same base, add up their exponents.

In our case, the common base is  (x-2)  and the exponents are :
          1 , as  (x-2)  is the same number as  (x-2)1 
 and   1 , as  (x-2)  is the same number as  (x-2)1 
The product is therefore,  (x-2)(1+1) = (x-2)2 

Equation at the end of step  3  :

  (-x - 3) • (x - 2)2  = 0 

Step  4  :

Theory - Roots of a product :

 4.1    A product of several terms equals zero. 

 
When a product of two or more terms equals zero, then at least one of the terms must be zero. 

 
We shall now solve each term = 0 separately 

 
In other words, we are going to solve as many equations as there are terms in the product 

 
Any solution of term = 0 solves product = 0 as well.

Solving a Single Variable Equation :

 4.2      Solve  :    -x-3 = 0 

 
Add  3  to both sides of the equation : 
 
                     -x = 3
Multiply both sides of the equation by (-1) :  x = -3


Solving a Single Variable Equation :

 4.3      Solve  :    (x-2)2 = 0 

 
 (x-2) 2 represents, in effect, a product of 2 terms which is equal to zero

For the product to be zero, at least one of these terms must be zero. Since all these terms are equal to each other, it actually means :   x-2  = 0

Add  2  to both sides of the equation : 
 
                     x = 2

Supplement : Solving Quadratic Equation Directly

Solving    x2-4x+4  = 0   directly 

Earlier we factored this polynomial by splitting the middle term. let us now solve the equation by Completing The Square and by using the Quadratic Formula

Parabola, Finding the Vertex :

 5.1      Find the Vertex of   y = x2-4x+4

Parabolas have a highest or a lowest point called the Vertex .   Our parabola opens up and accordingly has a lowest point (AKA absolute minimum) .   We know this even before plotting  "y"  because the coefficient of the first term, 1 , is positive (greater than zero). 

 
Each parabola has a vertical line of symmetry that passes through its vertex. Because of this symmetry, the line of symmetry would, for example, pass through the midpoint of the two  x -intercepts (roots or solutions) of the parabola. That is, if the parabola has indeed two real solutions. 

 
Parabolas can model many real life situations, such as the height above ground, of an object thrown upward, after some period of time. The vertex of the parabola can provide us with information, such as the maximum height that object, thrown upwards, can reach. For this reason we want to be able to find the coordinates of the vertex. 

 
For any parabola,Ax2+Bx+C,the  x -coordinate of the vertex is given by  -B/(2A) . In our case the  x  coordinate is   2.0000  

 
Plugging into the parabola formula   2.0000  for  x  we can calculate the  y -coordinate : 
 
 y = 1.0 * 2.00 * 2.00 - 4.0 * 2.00 + 4.0
or   y = 0.000

Parabola, Graphing Vertex and X-Intercepts :

Root plot for :  y = x2-4x+4
Vertex at  {x,y} = { 2.00, 0.00} 
x-Intercept (Root) :
One Root at  {x,y}={ 2.00, 0.00} 
Note that the root coincides with
the Vertex and the Axis of Symmetry
coinsides with the line  x = 0 

Solve Quadratic Equation by Completing The Square

 5.2     Solving   x2-4x+4 = 0 by Completing The Square .

 
Subtract  4  from both side of the equation :
   x2-4x = -4

Now the clever bit: Take the coefficient of  x , which is  4 , divide by two, giving  2 , and finally square it giving  4 

Add  4  to both sides of the equation :
  On the right hand side we have :
   -4  +  4    or,  (-4/1)+(4/1) 
  The common denominator of the two fractions is  1   Adding  (-4/1)+(4/1)  gives  0/1 
  So adding to both sides we finally get :
   x2-4x+4 = 0

Adding  4  has completed the left hand side into a perfect square :
   x2-4x+4  =
   (x-2) • (x-2)  =
  (x-2)2
Things which are equal to the same thing are also equal to one another. Since
   x2-4x+4 = 0 and
   x2-4x+4 = (x-2)2
then, according to the law of transitivity,
   (x-2)2 = 0

We'll refer to this Equation as  Eq. #5.2.1  

The Square Root Principle says that When two things are equal, their square roots are equal.

Note that the square root of
   (x-2)2   is
   (x-2)2/2 =
  (x-2)1 =
   x-2


Now, applying the Square Root Principle to  Eq. #5.2.1  we get:
   x-2 = 0

Add  2  to both sides to obtain:
   x = 2 + √ 0
The square root of zero is zero

This quadratic equation has one solution only. That's because adding zero is the same as subtracting zero.

The solution is:
   x  =  2 

Solve Quadratic Equation using the Quadratic Formula

 5.3     Solving    x2-4x+4 = 0 by the Quadratic Formula .

 
According to the Quadratic Formula,  x  , the solution for   Ax2+Bx+C  = 0  , where  A, B  and  C  are numbers, often called coefficients, is given by :
                                     
            - B  ±  √ B2-4AC
  x =   ————————
                      2A

  In our case,  A   =     1
                      B   =    -4
                      C   =   4

Accordingly,  B2  -  4AC   =
                     16 - 16 =
                     0

Applying the quadratic formula :

               4 ± √ 0
   x  =    ————
                   2

The square root of zero is zero

This quadratic equation has one solution only. That's because adding zero is the same as subtracting zero.

The solution is:
  x = 4 / 2 = 2

Two solutions were found :

  1.  x = 2
  2.  x = -3

Why learn this

Latest Related Drills Solved