Completing The Square Calculator

Completing the Square Calculator

Convert quadratic equations to vertex form and find solutions step-by-step.

Last updated: 2026-05-24T22:58:31.500Z

1 + 6x + 5 = 0

Enter coefficients a, b, c as numbers; a must be non-zero.

Vertex Form

(x + 3

+ 4

Solutions

x₁ = -1

x₂ = -5

Vertex: (-3, 4)

What is Completing the Square?

Completing the square is a technique to solve quadratic equations and convert them to vertex form. The method involves adding a specific value to both sides of the equation to create a perfect square trinomial, which factors as (x + p)². This reveals the parabola's structure directly.

This technique is fundamental in algebra and calculus. It's used to derive the quadratic formula, find parabola vertices, integrate functions, and solve optimization problems. The vertex form a(x - h)² + k immediately reveals the vertex at (h, k) and the axis of symmetry at x = h.

How to Complete the Square

Step-by-Step Process

1. Start with equation: ax² + bx + c = 0
2. If a ≠ 1, divide all terms by a
3. Move c to right side: x² + (b/a)x = -c/a
4. Take half of b-coefficient: (b/2a), square it: (b/2a)²
5. Add to both sides: x² + (b/a)x + (b/2a)² = -c/a + (b/2a)²
6. Factor left side as perfect square: (x + b/2a)² = right side
7. Take square root of both sides and solve for x

Worked Example

Solve: x² + 6x + 5 = 0

Step 1: Move constant: x² + 6x = -5

Step 2: Half of 6: 6 ÷ 2 = 3

Step 3: Square it: 3² = 9

Step 4: Add to both sides: x² + 6x + 9 = -5 + 9 = 4

Step 5: Factor: (x + 3)² = 4

Step 6: Take √: x + 3 = ±2

Step 7: Solve:

x + 3 = 2 → x = -1

x + 3 = -2 → x = -5

Vertex form: (x + 3)² - 4, Vertex: (-3, -4)

Frequently Asked Questions

When should I use completing the square?

Use it to find the vertex, convert to vertex form, solve when factoring is difficult, or derive the quadratic formula. It's essential for optimization problems.

What if a ≠ 1?

First divide the entire equation by 'a' to make the x² coefficient equal to 1. This creates a standard form for completing the square.

Why add (b/2)² to both sides?

This creates a perfect square trinomial on the left. The pattern x² + bx + (b/2)² factors as (x + b/2)², which is the key to the technique.

What's the relationship to the quadratic formula?

The quadratic formula is derived by completing the square on ax² + bx + c = 0. That's why completing the square is so fundamental.

When are the solutions complex?

When the discriminant (b² - 4ac) is negative, the square root of a negative number appears, giving complex solutions in the form p ± qi.

Can I use this for any quadratic?

Yes! Every quadratic equation can be solved by completing the square. It always works, making it a universal technique.

What's the vertex form good for?

Vertex form a(x-h)² + k immediately shows the vertex (h,k), minimum/maximum value (k), axis of symmetry (x=h), and direction of opening.

How is this related to graphing?

Vertex form makes graphing easy. You get the vertex, then plot points symmetric about x = h. The x² coefficient determines width and direction.

Related Tools