Completing the Square Calculator
Solve quadratic equations by completing the square. Get detailed step-by-step algebraic work, vertex form, geometric visualization, and interactive parabola graph.
Your ad blocker is preventing us from showing ads
MiniWebtool is free because of ads. If this tool helped you, please support us by going Premium (ad‑free + faster tools), or allowlist MiniWebtool.com and reload.
- Allow ads for MiniWebtool.com, then reload
- Or upgrade to Premium (ad‑free)
About Completing the Square Calculator
The Completing the Square Calculator solves any quadratic equation \(ax^2 + bx + c = 0\) using the completing the square method. It provides a detailed, step-by-step algebraic walkthrough, converts the equation to vertex form \(a(x - h)^2 + k\), classifies the roots, and displays an interactive parabola graph with the vertex and solutions highlighted.
What is Completing the Square?
Completing the square is a fundamental algebraic technique that transforms a quadratic expression into a perfect square trinomial plus a constant. Given \(ax^2 + bx + c\), the method produces the equivalent form \(a(x - h)^2 + k\), known as vertex form.
The name comes from a geometric interpretation: the expression \(x^2 + bx\) can be visualized as a square of side \(x\) plus a rectangle of area \(bx\). By splitting the rectangle and rearranging, you can almost form a larger square — the missing corner piece is \((b/2)^2\), which literally "completes" the square.
How to Complete the Square
Follow these steps to solve \(ax^2 + bx + c = 0\) by completing the square:
- Divide by a: If the leading coefficient \(a \neq 1\), divide every term by \(a\) to get \(x^2 + \frac{b}{a}x + \frac{c}{a} = 0\).
- Move the constant: Rearrange to \(x^2 + \frac{b}{a}x = -\frac{c}{a}\).
- Find the completing value: Take half of the coefficient of \(x\), which is \(\frac{b}{2a}\), and square it to get \(\left(\frac{b}{2a}\right)^2\).
- Add to both sides: Add \(\left(\frac{b}{2a}\right)^2\) to both sides of the equation.
- Factor the left side: The left side becomes the perfect square \(\left(x + \frac{b}{2a}\right)^2\).
- Solve: Take the square root of both sides and solve for \(x\).
Completing the Square Formula
For any quadratic equation \(ax^2 + bx + c = 0\), completing the square yields:
The vertex is at \(\left(-\frac{b}{2a},\; c - \frac{b^2}{4a}\right)\), and the solutions are:
This is the quadratic formula, which is in fact derived by completing the square on the general quadratic equation.
When to Use Completing the Square
While the quadratic formula can solve any quadratic equation, completing the square is preferred when you need to:
- Find the vertex form of a quadratic function for graphing
- Identify the vertex (maximum or minimum point) of a parabola
- Derive the quadratic formula itself
- Work with conic sections (circles, ellipses, hyperbolas) in analytic geometry
- Evaluate integrals involving quadratics in calculus
- Understand the structure of a quadratic rather than just finding roots
Completing the Square vs. Quadratic Formula
| Feature | Completing the Square | Quadratic Formula |
|---|---|---|
| Gives vertex form? | Yes, directly | No |
| Finds roots? | Yes | Yes |
| Shows algebraic process? | Detailed steps | Plug-and-solve |
| Useful for graphing? | Very useful | Only gives x-intercepts |
| Used in calculus? | Essential | Rarely used |
| Complexity | More steps | One formula |
Frequently Asked Questions
What is completing the square?
Completing the square is an algebraic technique that rewrites a quadratic expression \(ax^2 + bx + c\) into vertex form \(a(x - h)^2 + k\). You do this by adding and subtracting \((b/2a)^2\) to create a perfect square trinomial on one side of the equation.
Why use completing the square instead of the quadratic formula?
Completing the square gives you the vertex form directly, revealing the parabola's vertex \((h, k)\), axis of symmetry, and minimum or maximum value. The quadratic formula only gives roots. Completing the square also helps derive the quadratic formula itself and is essential for conic sections and calculus.
Can you complete the square when a is not 1?
Yes. First divide every term by \(a\) to make the leading coefficient 1, then complete the square on the resulting monic quadratic. At the end, multiply back by \(a\) to get the vertex form \(a(x - h)^2 + k\).
What does the discriminant tell you about the roots?
The discriminant is \(b^2 - 4ac\). If it is positive, the equation has two distinct real roots. If it equals zero, there is exactly one repeated real root. If it is negative, the roots are complex conjugates with no real solutions.
How does completing the square relate to the vertex of a parabola?
Completing the square converts \(y = ax^2 + bx + c\) to \(y = a(x - h)^2 + k\), where \((h, k)\) is the vertex. The vertex is the minimum point when \(a > 0\) or the maximum point when \(a < 0\). The axis of symmetry is \(x = h\).
Reference this content, page, or tool as:
"Completing the Square Calculator" at https://MiniWebtool.com// from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: Mar 20, 2026
You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.