Formula for completing the square? My math teacher said that this was the formula for completing the square.
Original function: $$ax^2 + bx + c$$
Completed square: $$a\left(x + \frac{b}{2a}\right)^2 - \frac{b^2}{4a} + c$$
However, using this formula I'm not getting the same answers that I would get just by determining the stuff myself.  Is this correct?

For the polynomial $4x^2+4x+5$ that you mention, I would not use the formula, since it is fairly clear that $4x^2 +4x$ is "almost" $(2x+1)^2$. In fact, $(2x+1)^2=4x^2+4x+1$, so $4x^2+4x+5=(2x+1)^2-1+5=(2x+1)^2+4$.
In general, suppose that $a \ne 0$, and we want to deal with $ax^2+bx+c$. Multiply the expression by $4a$, and to keep things unchanged, divide by $4a$.
We get
$$ax^2+bx+c=\frac{1}{4a}(4a^2x^2 +4abx +4ac).$$
But 
$4a^2x+4abx$ is almost the square of $2ax+b$. In fact, $4a^2x^2+4abx=(2ax+b)^2-b^2$. It follows that 
$$4a^2x^2+4abx+4ac=(2ax+b)^2-(b^2-4ac),$$
so 
$$ax^2+bx+c=\frac{1}{4a}\left((2ax+b)^2-(b^2-4ac)\right).$$
The formula is useful as is, and more pleasant to work with than the formula of the post.  We can transform it to look like that formula by multiplying the top and bottom of the front by $a$, and using the fact that $\frac{1}{4a^2}(2ax+b)^2=\left(x+\frac{b}{2a}\right)^2$.
Comment: If we want to derive the Quadratic Formula, we don't need to bother with dividing by $4a$, for $ax^2+bx+c=0$ iff $4a^2+4abx+4ac=0$. Complete the square like above. We get 
$$ax^2+bx+c=0 \qquad\text{if and only if}\quad  (2ax+b)^2=b^2-4ac,$$
and we are a couple of easy steps away from the Quadratic Formula.
Important: One should not try to remember a formula for completing the square.  What one needs to understand is the process, the idea.  Students, particularly those blessed (?) with good memories, find that throughout high school they can achieve easy success by memorizing formulas.  Finding out what's really going on may in the short term look like more work, but it will last.
