Question
Question: How do you solve the quadratic equation \({x^2} + 3x - 1 = 0\) by completing the square?...
How do you solve the quadratic equation x2+3x−1=0 by completing the square?
Solution
To solve the quadratic equation by completing the square we have to transform the equation in (x+a)2=b2 . As there is 3 in the coefficient of x we can write 3x as 2⋅23x and we will add 49 both sides of the equation. Then we will get the required form. Then we will square root both sides and get the solution.
Complete step by step answer:
We have given;
x2+3x−1=0
We will try to get the whole square form on both sides.
We know that (x+a)2=x2+2ax+a2 . We will try to convert the part x2+3x in (x+a)2 . We can see the coefficient of x is 3 . We can write 3x as 2⋅23x . Then we have;
⇒x2+2⋅23x−1=0
To transform this equation in the square form we will add (23)2 that is 49 in both side of the equation and get;
⇒x2+2⋅23x+49−1=49
Adding 1 in both sides we get;
⇒x2+2⋅23x+49=49+1
Simplifying the above equation we get;
⇒x2+2⋅23x+49=413
The left side is equal to nothing but (x+23)2 .So we can write;
⇒(x+23)2=413
Now 413 is the square of ±213 .
Removing square from both side of the above equation we get;
⇒x+23=±213
Subtracting 23 from both side we get;
⇒x=±213−23
So the solution of the given equation is;
x=213−3
And x=2−13−3 .
Additional Information:
If there is some coefficient of x2 rather than 1 to convert the equation in the square form we have to write the coefficient of x as multiplication of 2 , the square root of the coefficient of x2and another constant. Then we have to add the square of that extra constant on both sides of the equation.
Note: This is required to convert both sides of the equation in whole square form to solve this kind of question. To convert the equation in whole square form always we have to look at the coefficient of x and we have to try to convert the coefficient in twice of some number and then we have to add both sides of the square of the coefficient.