Complete the Square
Calculator & Solver
Completing the Square
ax2 + bx + c = 0

Enter values for a, b, and c below

Waiting for input...

How Complete the Square Calculator Works

This calculator takes a standard quadratic equation in the form ax² + bx + c = 0 and performs the algebraic steps required to "complete the square." It automatically handles dividing by the coefficient 'a', moving the constant 'c', adding the square of half the middle term, and factoring the resulting perfect square trinomial.


What is Completing the Square?

Completing the square is an algebraic technique used to manipulate quadratic polynomials. It changes the equation from standard form into a perfect square form plus a constant. This technique is fundamental for:

  • Deriving the Quadratic Formula.
  • Finding the vertex (maximum or minimum point) of a parabola.
  • Solving quadratic equations that are difficult to factor.
  • Graphing quadratic functions.

How to Complete the Square

To solve ax² + bx + c = 0, follow these steps:

  1. Move the constant term c to the right side of the equation.
  2. Divide every term by a (if a ≠ 1) so the coefficient of x² becomes 1.
  3. Take half of the x-coefficient (b/a), square it, and add this value to both sides of the equation.
  4. Factor the left side as a perfect square: (x + d)².
  5. Simplify the right side and solve for x by taking the square root.

Completing the Square when a is Not Equal to 1

If the coefficient a is not 1 (e.g., 2x² + 8x + 4 = 0), you cannot directly complete the square. You must first divide the entire equation by a. This usually introduces fractions into the problem, which this calculator handles automatically.

Completing the Square When b is 0

If b = 0, the equation looks like ax² + c = 0. In this case, there is no linear 'x' term. Completing the square is technically not needed; you can solve this directly using the Square Root Property by isolating x² (subtract c, divide by a) and taking the square root.

Frequently Asked Questions

What if the number inside the square root is negative?
If the value on the right side is negative after completing the square, the equation has no real solutions. The solutions involve imaginary numbers (complex roots).
Why do we take half of 'b' and square it?
This specific value creates a "Perfect Square Trinomial" on the left side, which allows us to factor it into the form (x + d)².
Is this the same as the vertex form?
Yes! The process essentially converts the standard form (ax² + bx + c) into vertex form a(x-h)² + k.