Completing the Square Calculator
Enter quadratic coefficients a, b, and c to solve quadratic equations by completing the square, find the vertex form, and view step-by-step algebra.
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\).
How do I find the maximum or minimum of a quadratic by completing the square?
Rewrite the quadratic in vertex form a(x-h)^2+k. Its vertex is (h,k); if a is positive, the vertex gives the minimum, and if a is negative, it gives the maximum. For example, x^2 - 6x + 11 becomes (x - 3)^2 + 2, so the minimum value is 2 at x=3. This describes the quadratic’s turning point, not necessarily a solution to an equation.
Why do I divide by the leading coefficient before completing the square?
The basic completing-square pattern assumes the coefficient of x squared is 1. For 2x^2 + 8x + 3, divide the x terms and constant by 2 first to get x^2 + 4x + 3/2. Half of 4 is 2, and its square is 4, which is the amount used to form (x+2)^2. Keep track of multiplying the completed expression back by 2.
Can completing the square give non-real roots?
Yes. Completing the square can reveal that a quadratic has no real roots. For example, x^2 + 4x + 8 = 0 becomes (x + 2)^2 = -4, which has no real number whose square is -4. Over the complex numbers, the roots are x = -2 ± 2i. A positive square cannot equal a negative real value, which is the key signal in the real-number case.
Reference this content, page, or tool as:
"Completing the Square Calculator" at https://MiniWebtool.com/completing-the-square-calculator/ from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: Mar 20, 2026
Algebra Calculators:
- Absolute Value Equation Solver
- Absolute Value Inequality Solver
- Age Word Problem Solver New
- Algebraic Expression Simplifier
- Binomial Theorem Expansion Calculator Popular
- Coin Word Problem Solver New
- Completing the Square Calculator New
- Cubic Equation Solver New
- Descartes' Rule of Signs Calculator New
- Distance-Speed-Time Triangle Calculator New
- Domain and Range Calculator
- Expand Polynomials Calculator
- Exponential Equation Solver New
- Function Composition Calculator Popular
- Function Grapher
- Function Odd Even Neither Checker
- Inequality Solver Popular
- Inverse Function Calculator
- Linear Equation Solver
- Literal Equation Solver New
- Logarithmic Equation Solver Popular
- Mixture Problem Solver New
- Polar Equation Plotter New
- Polynomial Factoring Calculator Popular
- Polynomial Long Division Calculator Popular
- Quartic Equation Solver New
- Radical Equation Solver
- Radical Simplifier
- Rational Equation Solver New
- Rational Expression Calculator
- Rational Root Theorem Calculator New
- Standard Form to Slope-Intercept Converter New
- Synthetic Division Calculator
- System of Inequalities Grapher
- System of Linear Equations Solver
- System of Nonlinear Equations Solver New
- Train Meeting Problem Solver New
- Trigonometric Equation Solver Popular
- Vertex and Axis of Symmetry Calculator
- Work Rate Problem Solver New
- X and Y Intercept Calculator Popular