Mathematics · Quadratics

Complete the picture.

Completing the square is not a mysterious algebra trick. You are literally adding the one missing corner that turns a quadratic into a square you can solve.

Visual model Vertex form Guided practice
Explore

Build the missing corner

Change the coefficient of x. Watch the strips and corner scale proportionally with |b|/2.

x²
3x
3x
9
Completed square dimensions: (x + 3) × (x + 3)
6

Each blue strip gets half of b, so its width scales with |b|/2.

Startx² + 6x
Half, square(6 ÷ 2)² = 9
Completex² + 6x + 9 = (x + 3)²
Why half? The bx area is split into two equal strips. Their shared width is b/2, so the corner has area (b/2)².
Al-Jabr · 820 CE Al-Khwarizmi's Geometric Cut-and-Move Proof
x 3 x 3 x² 3x 3x 9 Step 4: Complete square (x + 3)² = x² + 6x + 9
1. Start with x² and bx An x × x square next to a 6 × x rectangle of area 6x.
2. Slice the bx rectangle lengthwise Cut the 6x rectangle into two equal 3 × x strips.
3. Form the L-shaped gnomon Move one 3x strip to the bottom edge of x², leaving an empty 3 × 3 corner notch.
4. Fill the (b/2)² corner square Add the 3 × 3 = 9 corner square to complete (x + 3)²!
The method

Five moves, one goal

Turn the left side into a perfect-square expression, then solve.

Make a = 1

If needed, divide every term by the coefficient of x².

Move the constant

Put the x² and x terms together on the left.

Half, then square

Calculate (b/2)². Add it to both sides.

Factor the square

Rewrite the left side as (x + b/2)².

Use both roots

Square root both sides. Remember the ±, then isolate x.

x² + bx + (b/2)² = (x + b/2)²
Worked example

Reveal the reasoning

Solve x² + 4x + 1 = 0. Predict each next line before revealing it.

x² + 4x + 1 = 0
x² + 4x = −1Move 1 to the right side.
(4 ÷ 2)² = 4Half the x coefficient, then square it.
x² + 4x + 4 = −1 + 4Add the same value to both sides.
(x + 2)² = 3The left side is now a perfect square.
x = −2 ± √3Square root, include both signs, then subtract 2.
Ready to begin
Practice studio

Build it, then solve it

First sharpen the key move. Then finish a full equation without answer choices.

Quick roundsStreak: 0
x² + 8x + ___ = (x + 4)²
What number fills the missing corner?
0 correct · 0 tried

Full solve

Solve x² + 6x − 7 = 0 by completing the square.

From Square to Parabola

Vertex Form Explorer

Completing the square rewrites y = x² + bx + c into vertex form y = (x − h)² + k, where h = −b/2 and k = c − (b/2)².

x = −3 Vertex (−3, −4)
Try preset:
6
5
Standard formy = x² + 6x + 5
Vertex formy = (x + 3)² − 4
Vertex (h, k)(−3, −4)
Symmetry axisx = −3
x-interceptsx = −5, x = −1
How Completing the Square Derives the Quadratic Formula x = (−b ± √(b² − 4ac)) / 2a
Step 1 · General Quadratic ax² + bx + c = 0 Start with any quadratic equation where a ≠ 0.
Step 2 · Normalize a = 1 & Move Constant x² + (b/a)x = −c/a Divide every term by a and subtract c/a from both sides.
Step 3 · Add Missing Corner (b / 2a)² x² + (b/a)x + b²/(4a²) = b²/(4a²) − c/a Half of b/a is b/(2a); squaring gives b²/(4a²).
Step 4 · Factor & Common Denominator (x + b/(2a))² = (b² − 4ac) / (4a²) Combine the right side over 4a² to reveal the discriminant b² − 4ac.
Step 5 · Take Square Root (±) x + b/(2a) = ±√(b² − 4ac) / (2a) Take both positive and negative square roots of each side.
Step 6 · Isolate x (Quadratic Formula) x = (−b ± √(b² − 4ac)) / (2a) Subtract b/(2a). Every quadratic formula application is completing the square in disguise!
Connect

Why this move matters

Vertex form

Rewriting as a(x − h)² + k makes the vertex (h, k) visible.

Quadratic formula

The quadratic formula is the general equation ax² + bx + c = 0 completed as a square.

Graphing

The completed form reveals the parabola's horizontal shift, vertical shift, and line of symmetry.

Exit ticket

Solve x² − 10x + 21 = 0 by completing the square. Then explain—in one sentence—why you added 25.

References and further practice