What Is the Formula for Completing the Square?
Completing the square means adding two extra terms so you can write quadratic expressions in another way. The purpose of this is to make the expression simpler and easier to analyze. Here is how you remember the method:
Mnemonic Device for Completing the Square
- 1.
- Halve it
- 2.
- Square it
- 3.
- Add it
- 4.
- Subtract it
Note! If you add and subtract the same number, you don’t really change the value of the expression!
A quadratic expression is in the form
You make the expression involving ’s into a square when you write it in this form:
so that
|
When , the expression is a perfect square, which is an expression where you can use the first or second algebraic identity of quadratic expressions. So you’re using these algebraic identities, only backwards. Here is how you do it, and the final formula:
Completing the Square
Say you have an expression on the form and are supposed to complete the square. First you factor out the coefficient and write the expression in the form . This step can be ignored in the case where .
- Halve it:
-
is the number in front of the -term inside the parentheses. Divide this by 2. Then you get .
- Square it:
-
is going to be squared. You then get .
- Add it:
-
Take this expression, , and add it after the -term.
- Subtract it:
-
Take the same expression, , and subtract it after .
The whole expression looks like this:
Note! In the formula , you have and .
Complete the square and write it in the form
Show that is a perfect square
Since
, the expression
a perfect square.
Find the minimum or the maximum of the function by completing the square
Since
you know that this function has a minimum. The
-value then becomes
which gives us
. The
-value becomes
. Then the minimum of the function has the following coordinates:
.