When you are asked to complete the square, it means that they want you to go from the standard form of
f(x) = ax2 + bx +c
to the vertex form of the equation
f(x) = a(x − h)2 + k, where (h, k) is the vertex of the parabola.
You can download a handwritten pdf of this page here: Completing the Square.
Shortcut Method
- Note that “a” is the same for both equations.
- Find the vertex, (h, k)
- Substitute a, h, and k into f(x) = a(x − h)2 + k
And that’s it – you are done!
Long, Tedious Method
Used when you need to show all the steps. This is easier explained with an example, so I will walk through completing the square using this quadratic equation:
f(x) = 2x2 − 12x + 14
Step 1:
Put parentheses around the quadratic and linear terms, then factor “a” out of the parentheses.
Step 2:
Take 1/2 of the linear coefficient.
Step 3:
Square it.
Step 4:
Add it to the terms inside of the parentheses, but to keep everything equal, subtract it on outside of the parentheses.
Watch out! There’s a sneaky bit here. Because a (in our example, “2“) is multiplying everything inside of the parentheses, we need to multiply our result from step 2 by a before subtracting it! You are basically adding and subtracting the same amount to your equation, which is the equivalent of adding a fancy zero so everything is still the same but looks different. You’ll see why in a minute.
Step 5:
Factor the new quadratic that is inside of the parentheses. It is now a perfect square.
The new term outside of the parentheses is k, the y-value of the vertex. (That is why it switched color.)
And we’re done! We finished completing the square, and this is the vertex form, with a vertex of (3, -4).
Check our work with the Shortcut Method
- Note that “a” is the same for both equations: a = 2
- Find the vertex, (h, k)
h = −b/(2a) = −(−12)/(2·2) = 12/4 = 3k = f(3) = 2(32) − 12(3) + 14 = −4
- Substitute a, h, and k into the vertex form gives us: f(x) = 2(x − 3)2 + (−4)
Our work checks out – we got the same answer with both methods.
It probably seems like a lot to remember right now, but the key to this becoming easier is practice. Eventually, it will be easier and faster.
Questions? Thoughts about this? Another topic you would like to see covered? Please leave a comment below!