Completing the square for quadratic polynomials
Process for completing the square
The zeroes of a single-variable polynomial are the values of that variable at which the polynomial is equal to .
Completing the square is a method we can use to find the zeroes of a quadratic polynomial.
Another way to say this is that completing the square is a method we can use to solve the corresponding quadratic equation (the equation that has the quadratic polynomial on one side and on the other side).
Hi! I'm krista.
I create online courses to help you rock your math class. Read more.
The solutions of any polynomial equation are called the roots of that equation. So the zeroes of a quadratic polynomial are numerically equal to the roots of the corresponding quadratic equation.
Completing the square is a useful method when it’s not possible to solve for the roots by factoring, because completing the square creates a trinomial that we can factor as the square of a binomial.
The formal way to write a quadratic polynomial is , where is the coefficient of the term, is the coefficient of the term, and is the constant term.
These are the steps we’ll follow every time we want to complete the square in order to find the roots of a quadratic equation .
Before we go through the steps, however, we’ll first divide both sides of the equation by (if ), because it will be easier to solve the equation if the coefficient of the term is . If we have to do that division, we won’t define and until after we do it. That is, will be the coefficient of the new term, and will be the new constant term. So we’ll actually be starting with an equation of the form .
1. Move the constant term to the right side of the equation by subtracting from both sides.
2. Find . Take the coefficient of the term, divide it by , and then square the result.
3. Factor the left side, which is now
To factor this quadratic polynomial, we have to find a pair of factors of whose sum is . The only pair of factors with this property is and . So the left side of the equation becomes
Notice that the trinomial
factors as the square of the binomial :
So the equation we have to solve is
4. Square root both sides of the equation. Remember that the right side will now include a sign.
5. Solve for to get the roots of the original quadratic equation, by subtracting from both sides.
How to complete the square on a quadratic polynomial
Take the course
Want to learn more about Algebra 1? I have a step-by-step course for that. :)
Find the roots of the quadratic by completing the square
Example
Solve for by completing the square.
There is no pair of factors of whose sum is , so we’ll need to solve by completing the square. Start by moving the constant constant term, , to the right side of the equation by subtracting from both sides.
Find . In this case, .
Add to both sides of the equation.
Factor , and notice that it factors as the square of a binomial, , so our equation becomes
Take the square root of each side of the equation.
Since could be either positive or negative (because is equal to , which is positive), we get
Solve for by subtracting from both sides. To avoid confusion, put the in front of the .
The roots of the original quadratic equation are
and
Let’s try another example of completing the square.
Completing the square is a useful method when it’s not possible to solve for the roots by factoring, because completing the square creates a trinomial that we can factor as the square of a binomial.
Example
Solve for the variable by completing the square.
In this case we could solve by factoring since we can first factor out a and then factor the quadratic polynomial that remains.
and , so can be factored as . Therefore, our original equation can be rewritten as
One solution is , and we’ll set each of the other two factors ( and ) equal to and solve each of the resulting equations for .
and
The solutions are therefore
, , and
However, we were not asked to solve by factoring, so let’s look at how this problem can be solved by completing the square. Start by factoring out aso that we’ll have a quadratic polynomial inside parentheses.
Again, one solution is , so now we’ll find the other solutions, that is, the solutions of the equation
Now that we have a quadratic polynomial on the left side, we can start by moving the constant term, , to the right side of the equation by subtracting from both sides.
Find . In this case, .
Add to both sides of the equation.
We see that the trinomial on the left side,
factors as the square of a binomial, , so our equation becomes
Take the square root of each side of the equation.
So we get
Solve for by adding to both sides. To avoid confusion, put the in front of the .
If we solve this both ways (adding and subtracting), we get
So the solutions are
, , and