Completing the Square Calculator

Solve quadratic equations and convert to vertex form using the completing the square method

Complete the Square

Enter the coefficients of your quadratic equation in the form ax² + bx + c = 0:

Cannot be zero

Can be any real number

Can be any real number

Your quadratic equation:

= 0

Results

Vertex Form

y = (x - 0)² + 0

Vertex: (0.000, 0.000)

Discriminant

Δ = 0

b² - 4ac = 0² - 4(1)(0)

Roots/Solutions

One repeated real root:
x = 0.000000
Axis of Symmetry
x = 0.000
Vertex
(0.000, 0.000)
Opens
Upward
y-intercept
0

Step-by-Step Solution

Step 1: Original Equation

Start with the quadratic equation:

x² + 0x + 0 = 0

Step 2: Move Constant

Move the constant term to the right side:

x² + 0x = 0

Step 3: Find Completing Value

Take half of the coefficient of x and square it: (0/2)² = 0

Completing value = 0

Step 4: Add to Both Sides

Add 0 to both sides:

x² + 0x + 0 = 0 + 0

Step 5: Factor Perfect Square

Factor the left side as a perfect square:

(x + 0)² = 0

Step 6: Take Square Root

Take the square root of both sides:

x + 0 = ±0

Step 7: Solve for x

Solve for x:

x = 0.000000 (repeated root)

Example Problems

Example 1

Equation: x² + 6x - 7 = 0
Vertex Form: (x + 3)² - 16 = 0
Vertex: (-3, -16)
Roots: x = 1, x = -7

Example 2

Equation: 2x² + 12x - 5 = 0
Normalized: x² + 6x - 2.5 = 0
Vertex Form: 2(x + 3)² - 23 = 0
Vertex: (-3, -23)

Example 3

Equation: x² + 4x + 4 = 0
Vertex Form: (x + 2)² = 0
Vertex: (-2, 0)
Root: x = -2 (repeated)

Example 4

Equation: x² + 2x + 5 = 0
Vertex Form: (x + 1)² + 4 = 0
Vertex: (-1, 4)
Roots: Complex (no real roots)

Completing the Square Steps

1.
Normalize
Make coefficient of x² equal to 1
2.
Move constant
Move c to right side of equation
3.
Complete square
Add (b/2)² to both sides
4.
Factor
Factor left side as perfect square
5.
Solve
Take square root and solve for x

Key Formulas

Standard Form
ax² + bx + c = 0
Vertex Form
a(x - h)² + k = 0
Vertex Coordinates
h = -b/(2a), k = c - b²/(4a)
Discriminant
Δ = b² - 4ac

Tips & Notes

If a ≠ 1, divide entire equation by a first

Vertex form reveals the parabola's vertex directly

If b = 0, no need to complete the square

Always verify by expanding back to standard form

Applications

Graphing Parabolas
Find vertex and axis of symmetry
Optimization
Find maximum or minimum values
Physics
Projectile motion and trajectories
Engineering
Structural design and optimization

Understanding Completing the Square

What is Completing the Square?

Completing the square is a method used to solve quadratic equations and convert them from standard form (ax² + bx + c = 0) to vertex form (a(x - h)² + k = 0). This technique "completes" a partial perfect square trinomial by adding the appropriate constant.

Why Use This Method?

  • Reveals the vertex of the parabola directly
  • Makes graphing parabolas easier
  • Useful for optimization problems
  • Foundation for deriving the quadratic formula

The Perfect Square Pattern

The key insight is recognizing the pattern of perfect square trinomials:

(x + p)² = x² + 2px + p²
or
(x - p)² = x² - 2px + p²

When we have x² + bx, we need to add (b/2)² to complete the square pattern.

Geometric Interpretation

Geometrically, completing the square can be visualized as literally completing a square shape by adding the missing corner piece. The area x² + bx can be arranged as a rectangle, and we add (b/2)² to make it a perfect square.

Connection to the Quadratic Formula

Completing the square for the general equation ax² + bx + c = 0 actually gives us the quadratic formula:

x = (-b ± √(b² - 4ac)) / (2a)

This formula is derived by completing the square on the general quadratic equation.