ALGEBRA 1 • ONE-VARIABLE EQUATIONS & INEQUALITIES

Complete the Square to Find Solutions

Transform any quadratic equation into a perfect square to unlock its solutions and discover the quadratic formula.

Historical Context & Motivation

Solving equations where a variable is squared — like x² + 6x = 7 — has been a challenge that humans have tackled for thousands of years. Long before modern algebra existed, ancient civilizations found clever geometric methods to solve these problems. The technique we call completing the square has roots that stretch back to ancient Babylon, where scribes working on clay tablets figured out how to rearrange areas of rectangles into perfect squares.

The basic idea is beautifully simple: if you can rewrite a messy quadratic expression as a perfect square, you can solve it by taking a square root. This single insight eventually led to the discovery of the quadratic formula, one of the most famous formulas in all of mathematics.

~2000 BCE
Babylonian Clay Tablets
Babylonian scribes solved quadratic problems by rearranging areas of rectangles into squares. They used geometric reasoning, not symbols, but the core idea of completing the square was already there.
~300 BCE
Euclid's Elements
The Greek mathematician Euclid described geometric constructions equivalent to completing the square in his famous work, Elements, using line segments and areas.
~825 CE
Al-Khwarizmi's Algebra
The Persian mathematician al-Khwarizmi wrote a groundbreaking book on solving equations. His systematic method for completing the square gave us the word "algebra" itself (from the Arabic al-jabr).
1500s–1600s
Symbolic Algebra Emerges
European mathematicians like François Viète and René Descartes introduced modern symbolic notation (using x, +, =). This made it possible to write down the quadratic formula as we know it today.
Present Day
CCSS & Modern Curriculum
Completing the square is now a core skill in the Common Core State Standards (A-REI.4.a). Students learn to transform quadratic equations into the form (x − p)² = q and derive the quadratic formula from this form.

The central question this lesson addresses is: How can we rewrite any quadratic equation so that solving it becomes as simple as taking a square root? Answering this question will give you a powerful problem-solving technique and reveal where the quadratic formula comes from.

Core Principles & Definitions

Before we dive into the method, let's make sure we're on the same page about the key ideas. A quadratic equation is any equation where the highest power of the variable is 2, like x² + 6x − 7 = 0 or 2x² − 8x + 3 = 0. A perfect square trinomial is a special expression that can be written as the square of a binomial — for example, x² + 6x + 9 is a perfect square trinomial because it equals (x + 3)².

1

Perfect Square Trinomial

An expression of the form x² + 2bx + b² that factors neatly as (x + b)². Recognizing this pattern is the key to completing the square.
2

Completing the Square

A method where you add a carefully chosen constant to both sides of an equation so that one side becomes a perfect square trinomial. This lets you rewrite the equation in the form (x − p)² = q.
3

The Form (x − p)² = q

The target form for completing the square. Once your equation looks like this, you can solve by taking the square root of both sides: x − p = ±√q, so x = p ± √q.
4

The Quadratic Formula

The formula x = (−b ± √(b² − 4ac)) / (2a), which is derived by completing the square on the general equation ax² + bx + c = 0. It works for every quadratic equation.
KEY TAKEAWAY
Think of completing the square like building a jigsaw puzzle. You have most of the pieces for a perfect square (like x² + 6x), but one corner piece is missing. Completing the square means figuring out exactly which piece to add (in this case, 9) so the puzzle forms a complete picture: (x + 3)². Once the picture is complete, the solution becomes easy to see.

Visual Explanation — The Geometry of Completing the Square

Completing the square has a beautiful geometric meaning. Imagine you have a square with side length x and a rectangle with dimensions x by 6. Their combined area is x² + 6x. The goal is to rearrange these shapes into a single, larger square. The diagram below shows how this works step by step.

The diagram shows how x² + 6x can be rearranged by splitting the 6x rectangle into two strips of 3x. These strips attach to two sides of the x² square, leaving a small 3 × 3 corner gap. Filling that gap with a pink square of area 9 completes the larger (x + 3)² square.

This geometric picture reveals the core rule of completing the square: take half of the coefficient of x, then square it. In our example, the coefficient of x is 6. Half of 6 is 3, and 3² = 9. That's exactly the area of the missing corner piece. This rule works every time, whether the numbers are neat or messy.

Mathematical Framework — The Algebra Step by Step

Now let's translate the geometric idea into algebra. The method of completing the square turns any equation of the form x² + bx = c into the much friendlier form (x − p)² = q. Here are the key formulas.

PERFECT SQUARE PATTERN
x² + bx + (b/2)² = (x + b/2)²
Start with x² + bx. The number you need to add is (b/2)², which is the square of half the coefficient of x. This creates a perfect square trinomial on the left that factors as (x + b/2)².
COMPLETING THE SQUARE — TARGET FORM
(x − p)² = q
Once you complete the square, your equation looks like this. From here, take the square root of both sides: x − p = ±√q, so x = p ± √q. The ± means there are usually two solutions.

The Five-Step Procedure

  1. Step 1: Move the constant term to the right side of the equation.
  2. Step 2: If the coefficient of x² is not 1, divide every term by that coefficient.
  3. Step 3: Take half of the coefficient of x, then square it. Add this value to both sides.
  4. Step 4: Factor the left side as a perfect square binomial (x + __)².
  5. Step 5: Solve by taking the square root of both sides, remembering the ± symbol.

Deriving the Quadratic Formula

One of the most powerful applications of completing the square is deriving the quadratic formula. Start with the general quadratic equation ax² + bx + c = 0. Divide by a to get x² + (b/a)x + c/a = 0. Move c/a to the right: x² + (b/a)x = −c/a. Now complete the square by adding (b/(2a))² to both sides. The left side becomes (x + b/(2a))². Simplify the right side and take the square root.

THE QUADRATIC FORMULA
x = (−b ± √(b² − 4ac)) / (2a)
Where a is the coefficient of x², b is the coefficient of x, and c is the constant. The expression b² − 4ac under the square root is called the discriminant — it tells you how many real solutions exist.
💡 Why the ± Matters
When you take the square root of both sides of (x − p)² = q, you must account for both the positive and negative roots. That's because both (3)² = 9 and (−3)² = 9. The ± symbol ensures you catch both solutions to the original equation.

Step-by-Step Derivation of the Quadratic Formula

Let's walk through the full derivation of the quadratic formula by completing the square on the general equation. This is exactly what CCSS.A-REI.4.a asks you to understand. Follow the diagram below, which maps each algebraic step to its visual meaning.

This flowchart traces each step of deriving the quadratic formula. Notice how Step 3 is the key "completing" action — adding (b/(2a))² to both sides. The final result is the quadratic formula itself.

The critical insight in this derivation is that the right side simplifies to (b² − 4ac)/(4a²). The numerator, b² − 4ac, is called the discriminant. If the discriminant is positive, you get two real solutions. If it's zero, you get exactly one. If it's negative, there are no real solutions (the parabola doesn't cross the x-axis).

The discriminant determines how many times the parabola meets the x-axis.
Discriminant ValueNumber of Real SolutionsWhat It Means Graphically
b² − 4ac > 0Two distinct real solutionsThe parabola crosses the x-axis at two points
b² − 4ac = 0One repeated real solutionThe parabola touches the x-axis at exactly one point (the vertex)
b² − 4ac < 0Zero real solutionsThe parabola floats entirely above or below the x-axis

Worked Example — Solving by Completing the Square

Let's solve a quadratic equation from start to finish using the method of completing the square. We'll work through every step carefully so you can use this process on your own.

Solve 2x² + 12x − 8 = 0 by completing the square
1
Step 1 — Move the constant to the right sideAdd 8 to both sides to move the constant away from the x terms.
2x² + 12x = 8
2
Step 2 — Divide every term by the leading coefficientThe coefficient of x² is 2. Divide both sides of the equation by 2 so that the x² coefficient becomes 1. This gives us: 2x²/2 + 12x/2 = 8/2.
x² + 6x = 4
3
Step 3 — Find and add the completing numberTake the coefficient of x, which is 6. Divide it by 2 to get 3. Then square it: 3² = 9. Add 9 to both sides of the equation to keep it balanced.
x² + 6x + 9 = 4 + 9 = 13
4
Step 4 — Factor the left side as a perfect squareThe left side x² + 6x + 9 is now a perfect square trinomial. It factors as (x + 3)². We can verify: (x + 3)(x + 3) = x² + 3x + 3x + 9 = x² + 6x + 9. ✓
(x + 3)² = 13
5
Step 5 — Take the square root of both sidesApply the square root to both sides. Remember to include the ± symbol because both positive and negative values square to give 13.
x + 3 = ±√13
6
Step 6 — Isolate xSubtract 3 from both sides. Since √13 ≈ 3.606, the two solutions are approximately x ≈ −3 + 3.606 ≈ 0.606 and x ≈ −3 − 3.606 ≈ −6.606.
x = −3 + √13 or x = −3 − √13
Check Your Work!
You can always check your answers by substituting them back into the original equation. For x = −3 + √13: 2(−3 + √13)² + 12(−3 + √13) − 8 should equal 0. Plugging it in and simplifying confirms the solution works. Building this habit of checking will help you catch errors before they become problems on a test.

Comparing Methods for Solving Quadratics

Completing the square is not the only way to solve quadratic equations. You may already know how to factor or how to use the quadratic formula. Each method has strengths and limitations. Understanding when to use each one makes you a more efficient problem-solver.

Each method has its niche — completing the square is the most versatile and foundational.
MethodBest When…Limitations
FactoringThe equation factors neatly with integer roots, like x² + 5x + 6 = (x + 2)(x + 3).Many quadratics don't factor neatly. Doesn't work well when solutions are irrational.
Completing the SquareYou want exact solutions. Also essential for rewriting equations in vertex form for graphing.Can involve messy fractions if the leading coefficient isn't 1. More steps than other methods.
Quadratic FormulaWorks for every quadratic equation, no exceptions. Great when factoring doesn't work.Requires memorization. Doesn't reveal vertex form directly. Can be slow for simple problems.
GraphingYou need a visual understanding or an approximate answer quickly.Only gives approximate solutions unless the roots happen to be integers. Requires a graphing tool.
KEY TAKEAWAY
Think of these four methods like tools in a toolbox. Factoring is like a screwdriver — quick and elegant when it fits, but useless when it doesn't. The quadratic formula is like a power drill — it always works but takes setup. Completing the square is the master key — it's the method that generates the quadratic formula and also converts equations into vertex form for graphing. Learning it well unlocks everything else.

Connection to Advanced Topics

Completing the square is not just a one-time trick. It's a foundational technique that appears again and again in higher mathematics. Understanding it deeply now will pay off when you encounter these more advanced topics.

Completing the square is a gateway skill for many advanced math topics.
What You Learn NowWhere It Leads
Rewriting x² + bx + c in the form (x − p)² + kVertex form of a parabola — In Algebra 2 and Precalculus, you'll use completing the square to find the vertex (highest or lowest point) of any parabola.
Deriving the quadratic formulaComplex numbers — When the discriminant is negative, the quadratic formula introduces imaginary numbers (i = √(−1)), which you'll study in Algebra 2.
Manipulating expressions algebraicallyConic sections — In Precalculus, you'll complete the square with both x and y terms to identify circles, ellipses, and hyperbolas.
Understanding the structure of quadraticsCalculus optimization — Finding maximum and minimum values of functions in calculus uses the same structural ideas.

The big picture is this: completing the square teaches you how to transform an equation into a more useful form. This idea of strategic transformation is at the heart of algebra, and it will serve you well in every math class you take from here on.

Practice Problems

Test your understanding with these five problems. They start with a concept check and build up to a challenging critical-thinking question. Try each one on your own before looking at the answer.

PROBLEM 1CONCEPTUAL
When completing the square for the expression x² + 10x, what number do you add to create a perfect square trinomial? Explain why.
PROBLEM 2BASIC CALCULATION
Solve x² + 8x − 20 = 0 by completing the square.
PROBLEM 3INTERMEDIATE
Solve 3x² − 18x + 15 = 0 by completing the square. Give exact answers.
PROBLEM 4APPLIED
A ball is thrown upward from a 5-foot platform. Its height in feet after t seconds is h = −16t² + 32t + 5. At what time(s) is the ball at a height of 21 feet? Use completing the square.
PROBLEM 5CRITICAL THINKING
Starting from the general equation ax² + bx + c = 0 (where a ≠ 0), use the method of completing the square to derive the quadratic formula x = (−b ± √(b² − 4ac)) / (2a). Show every step clearly and explain each one.

Lesson Summary

Completing the square is a method for transforming any quadratic equation into the form (x − p)² = q. The process has five key steps: move the constant, divide by the leading coefficient (if needed), add (b/2)² to both sides, factor the perfect square trinomial, and solve using the square root property (remembering ±). The geometric idea is beautifully simple: you're adding a missing corner piece to form a complete square.

When you apply this method to the general equation ax² + bx + c = 0, you derive the quadratic formula: x = (−b ± √(b² − 4ac)) / (2a). The discriminant (b² − 4ac) tells you how many real solutions exist — two, one, or none. Completing the square is the foundation that connects factoring, the quadratic formula, vertex form, and graphing into one unified framework. Mastering it now prepares you for conic sections, complex numbers, and calculus optimization in future courses.

Varsity Tutors • Algebra 1 • Complete the Square to Find Solutions