MATH 2 • ALGEBRA & FUNCTIONS

Solving Quadratics by Completing Square

Transform any quadratic into a perfect square to unlock its solutions and reveal why the quadratic formula works.

Historical Context & Motivation

Long before calculators or the modern quadratic formula, mathematicians needed a way to solve equations involving squares. The technique we now call completing the square is one of the oldest and most elegant methods in all of algebra. It literally comes from thinking about physical squares and rectangles — rearranging areas until they form a perfect square shape. This geometric idea powered early problem-solving in trade, architecture, and astronomy.

The Persian mathematician al-Khwarizmi, whose work gave us the word "algebra," described completing the square using drawings of squares with rectangular pieces attached to their sides. Understanding this history helps you see that completing the square is not just a trick — it is a method rooted in real geometric reasoning that has survived for over a thousand years.

~1800 BCE
Babylonian Tablets
Babylonian scribes solved quadratic-like problems about land areas using step-by-step procedures that mirror completing the square.
~820 CE
Al-Khwarizmi
In his book Al-Jabr, al-Khwarizmi gave a systematic geometric method for completing the square, founding algebra as a discipline.
1545
Cardano's Ars Magna
European mathematicians extended these methods, eventually deriving the general quadratic formula from completing the square.
Today
Standard Curriculum
Completing the square remains essential for graphing parabolas, deriving formulas, and preparing for calculus and conics.

So why learn this when the quadratic formula already exists? Because completing the square is where the quadratic formula comes from, and it reveals the vertex of a parabola, powers circle and conic equations, and builds the algebraic muscle you will use throughout Math 2 and beyond.

Core Principles & Definitions

A quadratic equation is any equation that can be written in the form ax2 + bx + c = 0, where a ≠ 0. The goal is to find the values of x that make the equation true — these are called the solutions or roots. Completing the square works by rewriting the equation so one side becomes a perfect square trinomial, which factors neatly into a squared binomial.

A perfect square trinomial follows the pattern x2 + 2px + p2 = (x + p)2. The key insight is that the constant term is always the square of half the coefficient of x. Recognizing and creating this pattern is the heart of the method.

1

Half-Then-Square

Take the coefficient of x, divide it by 2, then square it. This value completes the perfect square.
2

Balance the Equation

Whatever you add to one side, you must add to the other. This keeps the equation equivalent.
3

Factor the Square

The trinomial becomes (x + p)², a single squared term ready to be undone by a square root.
4

Square Root Both Sides

Taking the square root introduces ± , which produces the two solutions of a quadratic.
KEY TAKEAWAY
Think of completing the square like filling in a missing corner of a floor tile pattern. You already have an L-shaped region of tiles (x² and the x-terms). By adding exactly the right number of tiles in the empty corner, you complete a perfect square — then you can measure its side length by taking a square root.

Visualizing the Square

The name "completing the square" is completely literal. Below, the expression x2 + 6x is shown as areas: one large square with side x, and two rectangles each with area 3x. Together they form an incomplete square. Adding a small 3-by-3 square in the corner completes the big square, whose side is (x + 3).

The blue square (x²) and two violet rectangles (3x each) leave a gap. The amber corner of area 9 = (6/2)² completes the full square of side (x + 3).

Notice that the corner piece has area 9, which is exactly (6 ÷ 2)2. This is the same number the algebraic "half-then-square" rule produces, confirming that the geometry and the algebra describe the same idea.

The Mathematical Framework

Let's formalize the steps. Starting from a monic quadratic (where the leading coefficient is 1), we isolate the constant, complete the square, and solve. The equations below show each transformation.

PERFECT SQUARE PATTERN
x² + bx + (b/2)² = (x + b/2)²
The constant needed to complete the square is (b/2)², half the x-coefficient, squared. The result factors into a single binomial squared.
GENERAL SETUP
x² + bx + c = 0 → x² + bx = −c
First move the constant term c to the right side so the left side is ready to receive the completing value (b/2)².
COMPLETE AND SOLVE
(x + b/2)² = (b/2)² − c → x = −b/2 ± √((b/2)² − c)
After adding (b/2)² to both sides and factoring, take the square root of both sides. The ± sign produces the two possible solutions.
When a ≠ 1
If the leading coefficient is not 1, divide every term by a first. This makes the equation monic (leading coefficient 1) so the half-then-square rule applies directly.

Justifying the Solution Set

After completing the square, the value under the square root — called the discriminant expression — tells you exactly how many real solutions exist. If it is positive, you get two real solutions; if zero, one repeated solution; if negative, no real solutions (two complex ones instead).

How the completed-square value determines the solution set
Value Under √Solution SetGraph Meaning
Positive (> 0)Two distinct real rootsParabola crosses x-axis twice
Zero (= 0)One repeated real rootParabola touches x-axis at vertex
Negative (< 0)Two complex roots, no realParabola never touches x-axis
Each parabola shows how the sign of the value under the square root controls where — or whether — the graph meets the x-axis.

This connection between algebra and graphs is exactly what "justifying the solution set" means: you can prove how many answers exist and where they are, not just compute them blindly.

Worked Example

Let's solve 2x2 + 8x − 10 = 0 by completing the square. Because the leading coefficient is 2, we start by dividing everything by 2.

Solve 2x² + 8x − 10 = 0
1
Step 1 — Make it MonicDivide every term by the leading coefficient, 2, so the x² coefficient becomes 1.
x² + 4x − 5 = 0
2
Step 2 — Isolate the ConstantMove the −5 to the right side by adding 5 to both sides.
x² + 4x = 5
3
Step 3 — Complete the SquareTake half of 4 to get 2, then square it to get 4. Add 4 to both sides to keep balance.
x² + 4x + 4 = 9
4
Step 4 — Factor the Perfect SquareThe left side is now a perfect square trinomial that factors into (x + 2)².
(x + 2)² = 9
5
Step 5 — Square Root Both SidesTake the square root of both sides, remembering the ± symbol.
x + 2 = ±3
6
Step 6 — Solve for xSubtract 2 from both sides for each case: x = −2 + 3 and x = −2 − 3.
x = 1 or x = −5
Check Your Answer
Plug x = 1 into the original: 2(1)² + 8(1) − 10 = 2 + 8 − 10 = 0. ✓ And x = −5: 2(25) − 40 − 10 = 50 − 50 = 0. ✓ Both check out.

Strengths & Limitations

Completing the square is one of several ways to solve quadratics. Comparing it to factoring and the quadratic formula shows when each method shines.

Three methods for solving quadratic equations
MethodStrengthLimitation
FactoringFast when roots are simple integersHard or impossible when roots are irrational
Completing the SquareAlways works; reveals the vertex formMore steps, fractions can get messy
Quadratic FormulaPlug-and-solve for any quadraticHides structure; easy to make sign errors
WHY IT MATTERS
Completing the square is like knowing how a car engine works instead of just driving. The quadratic formula is the quick drive, but completing the square is the engine — it derives the formula and later powers conic sections, calculus optimization, and even signal processing.

Connection to Advanced Theory

Completing the square is the direct ancestor of the quadratic formula. If you complete the square on the general form ax² + bx + c = 0, the result is the formula you already know.

Completing the square generalizes into the quadratic formula
Completing the SquareQuadratic Formula
Works case by case on each equationA finished shortcut for every case
Produces vertex form (x + b/2a)²Produces solutions directly
Value under √: (b/2a)² − c/aDiscriminant: b² − 4ac

Looking ahead, the same completing-the-square move reshapes equations of circles, ellipses, and other conic sections into standard form, and it appears again in calculus when finding maximum and minimum values. Mastering it now pays off for years.

Practice Problems

PROBLEM 1CONCEPTUAL
Why must you add the same number to both sides when completing the square, and what would happen if you only added it to one side?
PROBLEM 2BASIC CALCULATION
What number completes the square for x² + 10x?
PROBLEM 3INTERMEDIATE
Solve x² − 6x + 2 = 0 by completing the square. Leave answers in exact (radical) form.
PROBLEM 4APPLIED
A ball's height in feet is h = −16t² + 32t. Using completing the square, find the time when the ball reaches its maximum height and what that height is.
PROBLEM 5CRITICAL THINKING
Complete the square on the general equation ax² + bx + c = 0 to derive the quadratic formula. Explain what the ± comes from.

Summary

Completing the square rewrites a quadratic equation so one side becomes a perfect square trinomial. The core move is half-then-square: take half the x-coefficient, square it, and add it to both sides to keep the equation balanced. After factoring into (x + p)² and taking the square root of both sides, the ± symbol produces the two solutions.

The sign of the value under the root justifies the solution set: positive gives two real roots, zero gives one, and negative gives none. This method is more than a technique — it derives the quadratic formula, reveals the vertex of a parabola, and unlocks conic sections and calculus. Master it, and you understand quadratics from the inside out.

Varsity Tutors • Math 2 • Solving Quadratics by Completing Square