Completing the Square
This is a Helper Page for:


Parabola 
Complex Numbers 
Contents
The Basics
Completing the Square is a method used to solve quadratic equations. In fact, any quadratic equation can be solved using this method. When a quadratic is difficult to factor or it involves complex numbers, this method rewrites the quadratic equation originally in standard form into vertex form which like a factored quadratic is much easier to solve.
The equation
is converted into
and
Perfect Square Trinomial
The method of completing the square uses a perfect square trinomial, which allows the quadratic to be easily factored. A perfect square trinomial is a quadratic equation that factors perfectly into two identical binomials.
In general,
where the equation on the left is the expression for all perfect square trinomials.
Example of a Perfect Square Trinomial
Take the example of
. It can be factored into whcih is equal to . The nonfactored expression is the perfect square trinomial.
Obtaining a Perfect Square Trinomial
A perfect square trinomial can be obtained even when the equation does not immediately factor into one.
Take the example of which does not easily factor, nor is it a perfect square trinomial.However, it can be rewritten as the sum of a perfect square trinomial and a constant.
If we wanted the terms to factor into a perfect square such as , then we can let , thus making the last term .
As long as the value of the expression does not change terms can be rewritten as combinations of other numbers. This idea is used to obtain a perfect square. We can rewrite 14 as the sum of two numbers, one of which should be 25.
So,
The perfect square trinomial can be factored:
Relationship between terms
 Note that the coefficient of the middle term is twice the square root of the constant term in a quadratic equation.
 In other words, the constant term is the square of half of the coefficient of x.
 Note that this holds only true if the coefficient of is 1.
{{HideThis1=algebra2=In general given the perfect trinomial and the equivalent squared binomial
Then
So,
and
We can rearrange equalities to obtain the following:
 Step 1 : Move the constant term c over to the other side of the equal sign.
 Step 2 : Factor out a, the coefficient of the squared term.
 Step 3 : Complete the quadratic in the parenthesis to make a perfect square trinomial by adding the square of half of the coefficient. Add the equivalent value to the right side of the equation to maintain the equality. Remember to multiply the obtained constant by a when added to the right side.
 Step 4 : Factor the left side, simplify the right side and bring it over to the left.
 Step 5: If asked for, solve for x.
Example with a = 1
All the different letters are bound to get confusing. It may be easier to understand the process using an example with real numbers. Suppose we are given the quadratic , and asked to solve for x. The first thing we do is see if it can be factored: it can't. So to solve for x, we will complete the square.
Example with
Given