Quadratic Equations & Functions

completing the square

Completing the square is a trick for turning a messy quadratic into a perfect square plus a leftover number. Picture an L-shaped arrangement of tiles, x^2 plus a strip of width x; you add just enough small unit tiles to fill in the missing corner and finish a clean square. That added amount is what “completes” the square.

The mechanical recipe for x^2 + bx: take half of b, square it, and add (and subtract) it. So x^2 + bx becomes (x + b/2)^2 - (b/2)^2. When the leading coefficient a isn't 1, you first factor a out of the x-terms, complete the square inside, then distribute back.

This method is the engine behind several big results. It converts standard form into vertex form, it solves any quadratic step by step, and — done in general on ax^2 + bx + c = 0 — it actually derives the quadratic formula. So the formula you memorize is just completing the square performed once, for all cases at once.

x^2 + 6x + 5: half of 6 is 3, and 3^2 = 9, so x^2 + 6x + 5 = (x + 3)^2 - 9 + 5 = (x + 3)^2 - 4.

Now in vertex form: the vertex is (-3, -4).