Understand the method
What does the completing the square calculation mean?
Completing the square rewrites a quadratic as a perfect square plus a constant, exposing the vertex and the axis of symmetry. It works for every quadratic because any expression x² + bx can be turned into (x + b/2)² by adding (b/2)² and subtracting it again, and a leading coefficient other than one is first factored out.
When to use it
Use it to find a parabola vertex, solve a quadratic that does not factor, or derive the quadratic formula.
Formula
In plain text: ax² + bx + c = a(x − h)² + k
Variables and units
| Symbol | Meaning |
|---|---|
| a, b, c | coefficients of ax² + bx + c, with a nonzero |
| h | vertex x-coordinate, −b/(2a) |
| k | vertex y-coordinate, the minimum or maximum value |
How to use the calculator
- Enter each known value in its labeled field.
- Select the answer precision you want.
- Choose Calculate answer to see the result and working.
Worked example
For x² + 6x + 5, half of 6 is 3, so add and subtract 9: x² + 6x + 9 − 4 = (x + 3)² − 4. The vertex is (−3, −4).
Common mistakes
- Half of the x-coefficient is squared, not the coefficient itself.
- The sign inside the square is the opposite of the sign in the vertex coordinate.
- Factor out a non-unit leading coefficient before completing the square.
Interpret the result
The constant left outside the square is the vertex height, so it shows the minimum value when a is positive and the maximum when a is negative.