Complete the Square
to Find Solutions
Learn to transform any quadratic equation into the form \((x - p)^2 = q\) and discover how this powerful technique derives the quadratic formula.
What Is a Quadratic Equation?
A quadratic equation is any equation that can be written in the standard form:
The solutions (also called roots or zeros) are the values of \(x\) that make the equation true. We already know how to solve some quadratics by factoring, but not all quadratics factor neatly.
Why Complete the Square?
The Key Idea: Making a Perfect Square
A perfect square trinomial is an expression like \(x^2 + 2px + p^2\), which equals \((x + p)^2\). The idea is to add the right constant to create one.
The Core Rule
Take the coefficient of \(x\), divide by 2, then square the result. Add that number to both sides of the equation to keep it balanced.
\(x^2+6x+9=(x+3)^2\)
\(x^2-10x+25=(x-5)^2\)
\(x^2+3x+\frac{9}{4}=(x+\frac{3}{2})^2\)
From Equation to \((x - p)^2 = q\)
When solving an equation, the goal is to rewrite it so the left side is a perfect square and the right side is a constant.
Once in the form \((x - p)^2 = q\), you solve by taking the square root of both sides:
Factoring vs. Completing the Square
| Factoring | Completing the Square | |
|---|---|---|
| When it works | Only when factors are "nice" | Always |
| Result form | \((x - r_1)(x - r_2) = 0\) | \((x - p)^2 = q\) |
| Handles irrational roots | ✕ | ✓ |
| Reveals vertex | ✕ | ✓ |
| Speed (simple cases) | Faster | Moderate |
How to Complete the Square: Step by Step
Example 1: Solve \(x^2 + 6x + 2 = 0\)
Visualizing \(x^2 + 6x + 2 = 0\)
Example 2: Solve \(2x^2 - 12x + 7 = 0\)
Example 3: Solve \(x^2 - 4x - 1 = 0\)
Deriving the Quadratic Formula
Start with the general equation \(ax^2 + bx + c = 0\) and complete the square on the entire thing:
Why the Derivation Matters
The quadratic formula is not magic: it is completing the square done once for all quadratics. Understanding the derivation means:
Common Mistakes to Avoid
Summary: Methods for Solving Quadratics
| Method | Best For | Result Form |
|---|---|---|
| Factoring | Integer roots, simple expressions | \((x-r_1)(x-r_2)=0\) |
| Completing the Square | Any quadratic, deriving formula | \((x-p)^2=q\) |
| Quadratic Formula | Any quadratic (quick computation) | \(x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\) |
| Graphing | Estimating roots visually | \(x\)-intercepts of parabola |
Question 1 of 5
What value must be added to both sides to complete the square on \(x^2 + 10x = 3\)?
Question 2 of 5
Complete the square to rewrite \(x^2 - 8x + 5 = 0\) in the form \((x - p)^2 = q\). What are \(p\) and \(q\)?
Question 3 of 5
Solve by completing the square: \(x^2 + 2x - 8 = 0\)
Question 4 of 5
When completing the square on \(3x^2 + 12x + 1 = 0\), what is the first step?
Question 5 of 5
In the derivation of the quadratic formula, after completing the square on \(ax^2 + bx + c = 0\), which equation results?