Completing The Square
Completing the square is a technique for manipulating a quadratic into a perfect square plus a constant. The most common use of completing the square is solving quadratic equations.
Contents
Introduction
For a quadratic polynomial , completing the square means finding an expression of the form
Let's consider the case where . For example, for , we have the following:
We find the necessary manipulations to complete the square on the basis of the perfect square identity:
This means that for a quadratic like , we can make a perfect square by taking half of and squaring it:
Complete the square for the quadratic .
Since our middle term is , we know that we will want a perfect square with the form , which expands to .
Thus, we can do the following:
Which of the following is equivalent to ?
A.
B.
C.
D.
Completing the square, we see that .
Complete the square. Fill in the number that makes the polynomial a perfect-square quadratic.
Generalized Statement
Sometimes the leading coefficient is not which means we must use a slightly more sophisticated approach. Note that we can proceed as follows:
Note: We would strongly recommend understanding the motivation for each step so you can reproduce this, rather than merely memorizing the formula.
Complete the square for the quadratic .
The important term we need is
Thus, we have
Complete the square for
We have
Note: When the leading coefficient is negative, be very careful with signs, expecially when adding the term.
Find the roots of the quadratic equation
Applications
For a more extensive list, see Applications of Completing the Square
Finding maximum or minimum values:
What is the maximum value of ?
From the previous example, . Since squares are non-negative,
Thus, the maximum value of the quadratic is , which is achieved at .
Comparing graphs:
In what ways is the graph of different from the graph of
Completing the square, we see that
Thus, the graph will be shifted up 3 units and right 1 unit, as shown below:
![]()
Note: You may want to refer to Graph Transformation.
Solving equations:
Solve the equation .
This equation appears difficult at first, but if we complete the square, the solution becomes apparent. Note that the needed term is :
Now we can simply take the root of both sides (remembering to find both the positive and negative roots) and simplify:
Higher Degree Polynomials
We can use the perfect square identity to simplify polynomials even if they are of higher-degree than quadratics.
Solve .
By letting we can see that this is a quadratic in and thus we can complete the square:
Treating the above as a difference of two squares, we have
Remembering that , we have either or . Thus the possible values of are .
Problem Solving
For what integer value is a perfect square?
Completing the square, we see that .
If for some integer , then .
The only perfect squares that differ by are and . Hence,
which has the solution .
How many real roots does the polynomial
have?
If , what is the maximum value of ?
Since , we can see that the range of is given by
Now, substituting into and completing the square, we have
Thus the maximum value of occurs when and is equal to 13.