Completing the square
Rewrite x² + bx + c in vertex form.
To complete the square on x² + bx + c, take half of b, square it, and add and subtract that number. The first three terms then form a perfect square: x² + bx + (b/2)² = (x + b/2)². What is left over is the constant. The result is vertex form.
Example: x² + 6x + 5
- x² + 6x + 9 − 9 + 5 — Half of 6 is 3; 3² = 9
- (x + 3)² − 4 — Perfect square, then combine −9 + 5
Why it works: Adding half of b squared makes a perfect square, because (x plus half of b) squared multiplies out to exactly that. Subtracting it again keeps the value the same.
Tip: The vertex of (x + 3)² − 4 is (−3, −4).