Completing the square solves any quadratic equation by rewriting it as (x + k)² = d, then taking the square root of both sides. The method works on every quadratic, including ones with no real solutions, unlike factoring, which can fail on a single wrong guess. Start by moving the constant to the right and making the leading coefficient 1.

Most students learn the steps and still stall halfway through, usually on a negative leading coefficient or a fraction that appears after dividing. The method itself is short: four moves, then a square root. The discipline sits in the arithmetic between them, and that's where this guide spends its time.

Why the Method Holds When Factoring Stalls

Completing the square rests on one algebraic identity: x² + 2kx + k² factors exactly to (x + k)². The whole technique exists to turn any quadratic into that shape. Once the left side is a perfect square, the equation collapses to a single squared expression equal to a number, and a square root finishes it. Nothing about that chain depends on the equation having integer roots.

Factoring needs two numbers that multiply to ac and add to b. When those numbers are fractions or irrational, guessing breaks down. Completing the square doesn't guess. The coefficient k is always half of b after the leading coefficient is normalized, which means the method produces an answer whether the roots are integers, surds, or complex numbers. That universality is also why the quadratic formula exists: it is completing the square performed once on ax² + bx + c = 0 and memorized, as documented in standard algebra references such as OpenStax's College Algebra.

The trade-off is arithmetic volume. A quadratic with clean integer roots takes a student maybe ten seconds to factor. The same equation by completing the square takes five lines and a square root on both sides. For textbook exercises that say "solve by completing the square," the method is the point, and shortcuts defeat it.

A boundary worth naming up front: this method delivers real roots only when the right side ends up nonnegative. If the square equals a negative number, the equation has two complex solutions written with i, and that outcome is a complete answer, not a failure. Students who stop at "no solution" at that step have usually misread the rule.

The Four Moves in Order

Here is the sequence, stated once and in the order you'd perform it. Every worked example later in this guide follows exactly these four moves.

1: Rewrite the equation in the form ax² + bx + c = 0 with all terms on one side and zero on the other. 2: Divide every term by a so the x² coefficient becomes 1. 3: Move the constant term to the right side by subtracting it from both sides. 4: Add (b/2)² to both sides, factor the left side as a perfect square, and take the square root of both sides.

Step 4 deserves splitting: compute b/2 first, square it, add it, then write the left side as (x + b/2)². The sign inside the parentheses matches the sign of b. If b is negative, the binomial reads (x − b/2). A sign slip here accounts for most wrong answers, and checking by expanding the square back out catches it in under a minute.

Try one: x² + 6x − 7 = 0. The leading coefficient is already 1, so skip step 2. Move the constant: x² + 6x = 7. Half of 6 is 3, and 3² is 9, so add 9 to both sides: x² + 6x + 9 = 16. The left side is (x + 3)², so (x + 3)² = 16, and x + 3 = ±4. That gives x = 1 or x = −7, and substituting both into the original confirms the roots.

Notice the step count differs when a ≠ 1. You don't skip a move; you perform step 2 first, and the constant you later add to both sides is computed from the new b, not the original one. That distinction is the second most common error after the sign slip.

A Fully Worked Case Where a Isn't 1

Take 2x² − 8x + 3 = 0. Step 1 is already done. Step 2 divides every term by 2: x² − 4x + 3/2 = 0. Step 3 moves the constant: x² − 4x = −3/2. Step 4 halves the new b, which is −4: half is −2, and (−2)² is 4. Add 4 to both sides: x² − 4x + 4 = −3/2 + 4.

The right side needs a common denominator: −3/2 + 8/2 = 5/2. The left side is (x − 2)², so (x − 2)² = 5/2. Take the square root: x − 2 = ±√(5/2). Rationalize the denominator by multiplying top and bottom by 2, giving √10/2, so x = 2 ± √10/2. Numerically that's about 3.58 and 0.42, and both satisfy the original to two decimal places.

Notice that nobody divided by 2 at the end. A frequent wrong move is to halve the right side after taking the square root, as if the 2 from the original equation still applied. It doesn't; dividing by 2 happened in step 2 and is finished. Once the square root is taken, the equation is linear in x.

The fractions in this example are mild. Coefficients like a = 6 or b = 7 produce messier halves, and that's fine: keep the fraction exact, combine over a common denominator, and only convert to decimals at the very end for a check. Rounding mid-problem is how a correct method produces a wrong answer.

The T-Shape Check That Catches Sign Errors

Half of all errors in this method sit in one place: the sign of the binomial. A cheap visual trick fixes it. Draw a T under the quadratic after step 2 and before step 3. Write b under the horizontal bar. Draw a vertical stroke down the middle of b's digits, splitting them into a left half and a right half. The left half is b/2, and the sign of b carries into the binomial.

For x² + 10x, the T puts 10 under the bar with a stroke between the 1 and the 0. The left half is 5, positive, so the square is (x + 5)². For x² − 10x, the left half is −5, so the square reads (x − 5)². For b = 14, half is 7; for b = −14, it's −7. The digit-splitting only works cleanly on even integers, which is precisely when it's useful as a fast check. Odd b gives fractions and the trick stops, but so does the easy mental arithmetic.

The T also reminds you what number to add. The amount added to both sides is the square of the left half, not b itself. Adding 10 instead of 25 to x² + 10x = 0 is a distinct and popular error, and it produces a right side of −10 when it should be 25. Running the T before writing anything down makes that visible.

A related habit: after factoring the left side, expand it mentally. If (x + 5)² doesn't reproduce x² + 10x + 25, the T was misread. That check takes seconds and catches the error before the square root spreads it further.

What to Do When b Is Odd

An odd b produces a fraction immediately, and that's where many students assume the problem is wrong. It isn't. Take x² + 7x + 3 = 0. Step 2 is unnecessary. Step 3 gives x² + 7x = −3. Step 4: half of 7 is 7/2, and (7/2)² = 49/4. Add it: x² + 7x + 49/4 = −3 + 49/4.

Convert the right side: −3 = −12/4, so the sum is 37/4. The left side is (x + 7/2)², so (x + 7/2)² = 37/4. Square root: x + 7/2 = ±√37/2. Solve: x = (−7 ± √37)/2. That's approximately (−7 + 6.08)/2 ≈ −0.46 and (−7 − 6.08)/2 ≈ −6.54.

Compare that result to the quadratic formula applied to the same equation. The formula gives x = [−7 ± √(49 − 12)]/2 = [−7 ± √37]/2, which matches exactly. That's not a coincidence: completing the square on the general form produces the formula, and matching your answer against it is a legitimate self-check on any problem.

Two arithmetic traps appear with odd b. First, squaring a fraction means squaring both parts: (7/2)² is 49/4, not 49/2. Second, adding an integer to a fraction on the right side requires a common denominator before you combine, and skipping that step produces answers that look plausible and aren't.

The Discriminant Tells You Before You Solve

Before adding (b/2)², you can predict how many solutions you'll get from the discriminant b² − 4ac under the standard quadratic formula, documented by Wolfram MathWorld alongside the completing-the-square derivation. In the completing-the-square form, the same information sits on the right side: the value −c + (b/2)² when a = 1.

Three outcomes, and each has a distinct signature in this method.

Right-side value Discriminant Number of real roots What you see at the square-root step
Positive Positive Two distinct real roots ± on the square root, two branches
Zero Zero One repeated real root Square root of zero, single value
Negative Negative No real roots; two complex roots Square root of negative, i in the answer

Work an example of each. x² + 4x + 4 = 0 gives x² + 4x + 4 = 0, so step 3 yields −4 on the right, adding 4 produces 0, and (x + 2)² = 0 gives x = −2 twice. That's the repeated-root case, and it coincides with a perfect square trinomial from the start, which is why factoring also spots it.

Now x² + 2x + 5 = 0. Step 3: x² + 2x = −5. Step 4: add 1, giving (x + 1)² = −4. The right side is negative, so x + 1 = ±2i, and x = −1 ± 2i. Many textbooks introduce i in high school algebra, and OpenStax treats complex roots in the same chapter as these equations.

The practical upshot is a check that costs one calculation: compute −c + (b/2)² once step 2 is done. If it's negative and the course hasn't covered complex numbers, the expected answer is "no real solutions," and writing that is correct. If the course does cover complex numbers, write the i form instead.

Failure Case: The Negative Leading Coefficient

Here's a real failure that shows up in graded work. A student faces −x² + 6x − 5 = 0 and treats it like x² + 6x − 5 = 0, mentally dropping the minus sign. That produces (x + 3)² = 14 and x = −3 ± √14. The actual answers are x = 1 and x = 5, because the correct first move is dividing by −1, which flips every sign including the constant's.

Do it properly. Divide by −1: x² − 6x + 5 = 0. Move the constant: x² − 6x = −5. Half of −6 is −3, squared is 9, so add 9: (x − 3)² = 4. Square root: x − 3 = ±2, giving x = 5 or x = 1. Both check out. The sign flip changed the entire answer, not just a cosmetic detail.

The rule generalizes: when a is negative, divide by that negative number first and rewrite the whole equation. Dropping the minus only on the x² term is the single most damaging shortcut in the method. It produces an equation whose roots look reasonable, so nothing flags the error until a check reveals that the original didn't balance.

A second failure scenario worth naming: an equation already in completed-square form. If you're handed (x − 4)² = 9 and told to "solve by completing the square," the method has nothing to do. The answer is x = 4 ± 3, i.e. 7 and 1. Reversing it into x² − 8x + 7 = 0 just to perform the steps wastes time and invites fresh errors.

When the Roots Are Irrational or Complex

An irrational-root case looks like x² − 6x + 4 = 0. Step 3: x² − 6x = −4. Step 4: half of −6 is −3, squared is 9, and −4 + 9 = 5. So (x − 3)² = 5, x = 3 ± √5. That's approximately 5.24 and 0.76. There is no cleaner form: √5 isn't simplifiable, and any textbook answer key will leave it as written. A decimal answer is a loss of precision, not a simplification.

A complex-root case: 2x² + 4x + 10 = 0. Divide by 2: x² + 2x + 5 = 0. Move: x² + 2x = −5. Add 1: (x + 1)² = −4. Square root: x + 1 = ±2i, so x = −1 ± 2i. Verify by substituting: if x = −1 + 2i, then x² = (−1 + 2i)² = 1 − 4i − 4 = −3 − 4i, and 2x² + 4x + 10 = −6 − 8i + (−4 + 8i) + 10 = 0. The check works because the imaginary parts cancel, which is a good sign your arithmetic is intact.

The habit that separates students who finish these problems from those who don't is simple: keep everything exact until the final numeric check. Fractions, radical signs, and i all survive the method. Decimals don't.

Comparing It With the Other Three Methods

Four methods solve quadratics, and each has a place. The comparison below uses the same dimensions across all four so the trade-offs are visible at a glance.

Method Best when Fails or stalls when Steps for ax² + bx + c = 0 Reveals structure
Factoring Roots are rational and obvious Roots are irrational or complex Trial pairs summing to b, multiplying to ac Yes, shows factors directly
Completing the square Leading coefficient is 1 or small; a perfect-square form is useful Arithmetic gets heavy with large odd coefficients Four moves plus a square root Yes, converts to vertex form
Quadratic formula Anything; fastest reliable route Rarely; only if the formula is misremembered Substitution into [−b ± √(b²−4ac)]/2a Less visible; root count shown by discriminant
Graphing Rough estimate or checking Exact answers needed Read x-intercepts off the parabola Yes, visually

Verdict by use case: if the equation is a textbook exercise that says "by completing the square," use this method and no other. If you need a fast exact answer on a test and there's no constraint, the formula is the lower-risk route. If the goal is finding the vertex of a parabola, completing the square is the right tool, because it converts y = ax² + bx + c into y = a(x − h)² + k with the vertex at (h, k).

The one genuine drawback of the completing-the-square route is arithmetic load: a problem like 3x² + 7x − 2 = 0 produces (x + 7/6)² = 73/36 and x = (−7 ± √73)/6, which is longer to write than a formula substitution. That's not a reason to skip it when the instructions require it; it's a reason to write neatly.

How It Converts to Vertex Form and Where It's Used

The vertex-form use is the practical payoff. Take y = x² − 8x + 13. Complete the square ignoring the zero: x² − 8x = −13 + y isn't the route. Instead, group and complete on the expression: x² − 8x + 16 − 16 + 13 = (x − 4)² − 3. So y = (x − 4)² − 3, and the vertex is (4, −3). Contrast that with the formula's vertex at h = −b/2a = 4 and k = c − b²/4a = 13 − 16 = −3. Same result, and both are worth knowing because the completing-the-square version shows why the vertex sits where it does.

That form answers optimization questions without calculus. A parabola opening upward has its minimum at the vertex; opening downward, its maximum. OpenStax's treatment of quadratic functions uses exactly this conversion for maximum-height and minimum-cost problems, and the numbers come out the same as the calculus route for quadratics.

A concrete example: a ball's height in meters follows h = −5t² + 20t + 1. Complete the square on the t-terms. Divide by −5: t² − 4t − 1/5. Complete: (t − 2)² − 4 − 1/5, so h = −5(t − 2)² + 21. Peak height is 21 meters at t = 2 seconds. The formula route gives the same peak from −b/2a = 2 and the vertex value, but the completing-the-square form tells you the peak on sight.

That's the reason the method survives in curricula even though the formula could replace it: it produces the vertex explicitly, and vertex problems keep showing up in algebra, physics, and introductory optimization.

Mistakes That Cost Points and the Fix for Each

The error catalog below is drawn from the recurring patterns in graded algebra work, and each row pairs the mistake with its correction. Every row is a distinct slip with a distinct fix.

Mistake What it looks like The fix
Dropping a leading minus −x² + 6x − 5 treated as +x² + 6x − 5 Divide by −1 first; flip all signs
Adding b instead of (b/2)² x² + 10x gets +10 on both sides Add the square of half of b, i.e. 25
Sign flip in the binomial x² − 10x becomes (x + 5)² Half of −10 is −5; binomial is (x − 5)²
Halving after the square root x = 2 ± √10/2 written as x = 1 ± √10 Derive from the equation; the division already happened
Squaring only part of a fraction (7/2)² computed as 49/2 Square both numerator and denominator
Stopping at a negative right side (x + 1)² = −4 called "no solution" Write ±2i unless the course excludes complex

Two of these are purely mechanical and fix themselves with a check. The sign flip and the dropped minus are conceptual and need a rule, not a habit.

A useful habit for the last row: a negative right side is not an instruction to stop. If complex numbers are in scope, take the square root as an imaginary number. If they aren't in scope, say "no real solutions" explicitly rather than leaving the problem blank. Both are complete answers.

FAQ

Does completing the square always give two answers?

No. It gives two answers only when the squared right side is positive; a right side of zero produces one repeated root. For example, (x + 2)² = 0 yields x = −2 alone, because the two branches of the square root collapse into one. A negative right side produces two complex answers instead, written with i.

What happens if I forget to divide by a first?

You'll compute (b/2)² from the wrong b and add the wrong constant to both sides. On 2x² − 8x + 3 = 0, skipping the division gives a half of −8, so you'd add 16 and get 19/2 on the right instead of 5/2. The final roots come out wrong because the left side never becomes a true perfect square.

Can completing the square solve any quadratic, including ones with no real roots?

Yes. Every quadratic can be rewritten as (x + k)² = d, and the method never assumes the roots are real or rational. When d is negative, the answer involves i and is fully valid in courses that cover complex numbers. The only equations it can't handle are ones that aren't quadratic in the first place.

Is completing the square faster than the quadratic formula?

For equations with a leading coefficient of 1 and an even b, it's often faster, because the arithmetic is simple enough to do mentally. For coefficients that produce large odd halves, the formula is faster and less error-prone. On a timed test, the formula is the safer general choice, while completing the square wins when the problem explicitly asks for it or requires vertex form.

How do I know whether to use a plus or minus sign in the binomial?

The sign inside the parentheses matches the sign of b after the leading coefficient is 1. For x² + 8x, b is +8, so the binomial is (x + 4)². For x² − 8x, b is −8, so it's (x − 4)². Expanding the square back out confirms you got it right: (x − 4)² = x² − 8x + 16.

What if the coefficient b is a fraction to begin with?

Halve it as you would any number, then square the result. For b = 1/2, half is 1/4 and the square is 1/16. Keep the fraction exact and combine any constants over a common denominator before taking the square root. If the equation was given with a fractional b, it's likely because the intended answer is a fraction or a surd.

Why does the quadratic formula look like the result of completing the square?

Applying the four moves to the general equation ax² + bx + c = 0 produces x = (−b ± √(b² − 4ac))/(2a), which is the formula itself. The formula is completing the square performed once and memorized. Matching your completing-the-square answer against the formula is the fastest way to check a completed problem.

Can I use completing the square when the discriminant is zero?

Yes, and it works cleanly. When the discriminant is zero, the right side after step 4 becomes exactly zero, and the two roots coincide. For x² + 4x + 4 = 0, the steps yield (x + 2)² = 0, so x = −2 is the single repeated root and the parabola touches the x-axis at one point.