Solution of a Quadratic Equation by Completing the square
In the previous section, we have learnt method of factorisation for obtaining the roots of a quadratic equation.
Is method of factorization applicable to all types of quadratic equation?
Let us try to solve
To solve the given equation
We have to find ‘p’ and ‘q’ such that
p + q =
We have no integers p,q satisfying above equation. So by factorization method it is difficult to solve the given equation.
Therefore, we shall try another method.
Consider the following situation
The product of Sunita's age (in years) two years ago and her age four years hence is one more than twice her present age.
What is her present age?
To answer this, let her present age be x years. Their age two years ago would be (x-2) and the age after four years will be (x+4) So, the product of both the ages is ((x-2)(x+4))
Therefore, (x-2)(x+4) = 2x + 1
i.e.,
i.e.,
So, Sunita's present age satisfies the quadratic equation
So, Sunita's present age is
Now consider another quadratic equation (
x + 2 =
Therefore, x =
So, the roots of the equation (
In both the examples above, the term containing x is 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 (
So, we now introduce the method of completing the square. The idea behind this method is to adjust the left side of the quadratic equation so that it becomes a perfect square of the first degree polynomial and the RHS without x term.
The process is as follows:
=>
Now, the LHS is in the form of (
If we add (b^{2}) it becomes as (
So, by adding (
=>
=> x + 2 = ±√{8}
x =
Algorithm : Let the quadratic equation be (
Step-1: Divide each side by 'a'
Step-2: Rearrange the equation so that constant term
Step-3: Add
Step-4: Write the LHS as a square and simplify the RHS.
Step-5: Solve it.