What completing the square does

Completing the square means rewriting a quadratic so that it contains a squared bracket. Instead of a form like x2+px+qx^2+px+qx2+px+q, we aim for something like a(x+h)2+ka(x+h)^2+ka(x+h)2+k, which is easier to read from a graph.