Completing the square
Completing the square enables us to change an expression of the form
ax2 + bx + c
to the form
a(x + d)2 + e.
The reason that completing the square is useful here is that we can always solve an equation of the form
a(x + d)2 + e = 0
by
- subtracting e from both sides
- dividing by a
- taking the square root
- subtracting d.
Now the question is, how do we complete the square?
We know that
(x + d)2 = x2 + 2dx + d2
To get the constant term, you take the coefficient of x, halve it, and then square it.
Now do this to x2 + bx + c.
Halving the coefficient of x gives
.
Now square this to get
.
So
.
But we don't have that, we have x2 + bx + c.
However,

This is what it means to complete the square for x2 + bx + c.
We can also complete the square for ax2 + bx + c.
We can do this by
- dividing through by a
- completing the square
- multiplying by a.






