# A Guide To Completing The Square

This article will be about the algebra technique called completing the square. This technique is useful for finding the vertex form of a quadratic equation.

Prerequisites

One should be comfortable with arithmetic and algebra techniques such as factoring and expanding.

What Is Completing The Square?

Sometimes in order to succeed in mathematics, you need to know its secrets and tricks. Before I talk about the actual complete the square technique, I will first provide the motivation behind it.

Say I have . The value 2 is stored in the y variable. If I did y = 2 + 0, I still have two. Likewise, y = 2 + 4 – 4 for example still gives me two. All I have is changed the form (or how it looks) without changing the actual value of y.

Recall that is equal to . How do we go from a quadratic equation such as into a factored form such as ? We use the complete the square technique.

The General Case and Method

If you are not interested in the theory, you can skip to the examples section two sections below on how to use the complete the square technique.

Let’s say we have a general quadratic equation such as:

and we want it in factored form such as (k and j are used instead of a and b).

We start with . Factoring the first two terms by gives us:

We look for the coefficient that is with the which is . This is divided by 2 and its square is taken to obtain which is . Add and subtract by this amount as follows:

The last line is the general formula for completing the square. You can either choose to memorize the last line or memorize the procedure to get to the last line. This method will make sense with examples.

Examples

In these examples, the complete the square technique is used to find the minimum or maximum point of a parabola.

Example One

Suppose you are given the function

The coefficient with is . Half of two is 1 and one squared is 1. We add and subtract by 1 as follows:

The roots of when  are and . The vertex of this quadratic function is (-1, -1) which is a minimum.

Example Two

Here is another example with . Factoring the 2 from the first and second terms gives us:

The coefficient with x is 3. Three divided by 2 is and is . Adding and subtracting by gives us:

Expanding and simplifying gives:

The vertex is ( , ) which is a minimum.

Notes

1) You can add by “zero”. Remember that it is add and then subtract.
2) Completing the square may be needed to find an inverse of a function.
3) You don’t have to memorize the general formula. It is probably easier to memorize the procedures of completing the square.
4) I was taught to factor the first two terms and not the constant term. You can factor all three terms if you wish if you would like to do that variation.

The featured square image is taken from http://www.freelearningchannel.com/l/Content/Materials/Mathematics/Algebra_I/textbooks/CK12_Algebra_I/html/10/4.html.