Completing the Square Calculator
Convert quadratics to vertex form and solve equations with AI-powered step-by-step solutions
Drag & drop or click to add images or PDF
What is Completing the Square?
Completing the square is the algebraic technique of rewriting a quadratic as:
where is the vertex of the parabola.
Why this matters:
- Reveals the vertex (minimum/maximum point) of a parabola at a glance.
- Lets you solve any quadratic equation without the quadratic formula.
- Is the underlying technique that derives the quadratic formula.
- Used to evaluate in calculus (reduces to arctan).
- Essential for understanding Gaussian integrals and many topics in physics.
The core identity that makes it work:
How to Complete the Square
Case 1: Leading Coefficient is 1
For :
- Take half of and square it: .
- Add and subtract this quantity: .
- Group the perfect square: .
Example:
- Half of 6 is 3. Squared: 9.
Vertex form: , vertex at .
Case 2: Leading Coefficient is Not 1
For , :
- Factor out of the first two terms: .
- Complete the square inside the parentheses: half of is , squared is .
- Add and subtract inside: .
- Simplify: .
Note that when you 'undo' the added term, you multiply by since the inside is multiplied by .
Solving a Quadratic Equation
For :
- Complete the square to get .
- Isolate the squared term: .
- Take square roots: .
- Solve: .
This is essentially what the quadratic formula does in a single compact expression.
Common Mistakes to Avoid
- Forgetting to balance: When you add , you must subtract it too. Otherwise you've changed the expression.
- Wrong coefficient handling: If , you must factor out of the first two terms before completing the square, then multiply your correction by when distributing back.
- Sign errors with : After taking square roots, both branches must be kept. Dropping the loses a solution.
- Half of vs : When the leading coefficient is 1, take half of . When it's not, factor first — then take half of the new coefficient.
- Forgetting to simplify the constant: After completing the square, combine the leftover constants into a single .
Examples
Frequently Asked Questions
Use completing the square when you need the vertex form of a parabola, when integrating rational expressions of the form 1/(x² + bx + c), or when deriving the quadratic formula. For just finding roots, the quadratic formula is usually faster.
The quadratic formula is literally what you get when you complete the square on a generic ax² + bx + c = 0 and solve for x. Every quadratic-formula calculation is a packaged completing-the-square in disguise.
Vertex form a(x - h)² + k makes the vertex (h, k) and the direction (opens up if a > 0, down if a < 0) immediately visible. It's the natural form for graphing, finding min/max, and many calculus problems.
Yes. It works on every quadratic ax² + bx + c with a ≠ 0, including ones with no real roots (where the constant k after completing the square has the wrong sign for x to be real).
Related Solvers
Related Guides
Try AI-Math for Free
Get step-by-step solutions to any math problem. Upload a photo or type your question.
Start Solving