Completing the Square: Geometry of Algebra
Problem
Transform x²+6x+5 into (x+3)²−4. Show the geometric square-building process that makes this algebraic identity visual.
Explanation
What is completing the square?
Completing the square rewrites as — the vertex form. This reveals the vertex of the parabola and makes it easy to solve the equation.
Step-by-step: Transform into vertex form
Step 1 — Focus on . Take half the coefficient of : . Square it: .
Step 2 — Add and subtract 9 (adding zero in a clever way):
Step 3 — The first three terms form a perfect square:
Result: .
Vertex: . The parabola opens upward with minimum at .
Check: ✓
The geometric picture
is an -by- square plus a -by- rectangle. Split the rectangle into two -by- pieces and attach to two sides of the square → you get an -by- square with a corner missing. Adding 9 fills the corner.
Why learn this?
Completing the square is used to: (1) derive the quadratic formula, (2) find the vertex of a parabola, (3) rewrite conic equations in standard form, (4) integrate certain expressions in calculus.
Try it in the visualization
Adjust and . The algebraic steps animate. The parabola shifts to show the vertex form. The geometric square-building visualization shows how the rectangle becomes a perfect square.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.