Solution of a Quadratic Equation by Completing the Square

In the previous section, you have learnt one method of obtaining the roots of a quadratic equation. In this section, we shall study another method.
Consider the following situation:
The product of Sunita’s age (in years) two years ago and her age four years from now is one more than twice her present age. What is her present age?
To answer this, let her present age (in years) be x. Then the product of her ages two years ago and four years from now is (x – 2) (x + 4).
Now consider the quadratic equation (x + 2)2 – 9 = 0. To solve it, we can write it as        (x + 2)2 = 9. Taking square roots, we get x + 2 = 3 or x + 2 = – 3.
Therefore,   x = 1 or x = –5
So, the roots of the equation (x + 2)2 – 9 = 0 are 1 and – 5.
In both the examples above, the term containing x is completely inside a square, and we found the roots easily by taking the square roots. But, what happens if we are asked to solve the equation x2 + 4x – 5 = 0? We would probably apply factorisation to do so, unless we realise (somehow!) that x2 + 4x – 5 = (x + 2)2 – 9.
So, solving x2 + 4x – 5 = 0 is equivalent to solving (x + 2)2 – 9 = 0, which we have seen is very quick to do. In fact, we can convert any quadratic equation to the form  (x + a)2b2 = 0 and then we can easily find its roots. Let us see if this is possible.
Look at Fig.
In this figure, we can see how x2 + 4x is being converted to (x + 2)2 – 4.

So, x2 + 4x – 5 = 0 can be written as (x + 2)2 – 9 = 0 by this process of completing the square. This is known as the method of completing the square.

In brief, this can be shown as follows:
 
 
 
 
Consider now the equation 3x2 – 5x + 2 = 0. Note that the coefficient of x2 is not a perfect square. So, we multiply the equation throughout by 3 to get

 
 
 
   
So, 9x2 – 15x + 6 = 0 can be written as
 

So, the solution of 9x2 – 15x + 6 = 0 are the same as those of  
 
(We can also write this as  where ‘± ’ denotes minus’.)
 
 
 
Consider the quadratic equation  Dividing throughout by a,
We get     
 
 
So, the roots of the given equation are the same as those of
  

If b2-4ac ≥ 0, then by taking the square in 1, we get  

 

 

So, the roots of ax2 + bx + c = 0 are   

Equation will have no real roots. (Why?)
Thus, if  then the roots of the quadratic equation ax2 + bx + = 0 are given by  
This formula for finding the roots of a quadratic equation is known as the quadratic formula.

Nature of Roots
In the previous section, you have seen that the roots of the equation ax2 + bx + c = 0 are given by
    
If b2 – 4ac > 0, we get two distinct real roots  

 
So, the roots of the equation ax2 + bx + c = 0 are both  
Therefore, we say that the quadratic equation ax2 + bx + c = 0 has two equal real roots in this case.
If b2 – 4ac < 0, then there is no real number whose square is b2 – 4ac. Therefore, there are no real roots for the given quadratic equation in this case.
Since b2 – 4ac determines whether the quadratic equation ax2 + bx + c = 0 has real roots or not, b2 – 4ac is called the discriminant of this quadratic equation.
So, a quadratic equation ax2 + bx + c = 0 has
(i) Two distinct real roots, if b2 – 4ac > 0,
(ii) Two equal real roots, if b2 – 4ac = 0,
(iii) No real roots, if b2 – 4ac < 0.  

Related Topic Name