Understanding Completing the Square
Completing the square transforms a quadratic expression into a perfect square trinomial, making equations easier to solve. For any equation of the form ax² + bx + c = 0, the method involves three main steps: first, isolate the variable terms and rearrange so the constant sits on the right side; second, factor out the leading coefficient if it isn't 1; finally, add the appropriate constant to both sides to create a perfect square on the left.
The key insight is recognising that (x + p)² = x² + 2px + p². To find what to add, take half the coefficient of x and square it. For example, in x² + 6x, half of 6 is 3, and 3² = 9, so adding 9 gives (x + 3)².
This method works for all quadratic equations, including those with non-integer coefficients or those producing irrational solutions. It's particularly useful when factoring doesn't work cleanly or when you need the vertex form of a parabola.
The Completing the Square Process
Starting with the general quadratic equation ax² + bx + c = 0, follow these transformations:
Step 1: ax² + bx + c = 0
Step 2: ax² + bx = −c
Step 3: x² + (b/a)x = −c/a
Step 4: x² + (b/a)x + (b/2a)² = −c/a + (b/2a)²
Step 5: (x + b/2a)² = (b² − 4ac) / (2a)²
Step 6: x + b/2a = ±√[(b² − 4ac) / (2a)²]
Step 7: x = −b/2a ± √(b² − 4ac) / 2a
a— leading coefficient of the quadratic termb— coefficient of the linear termc— constant termb² − 4ac— the discriminant; determines whether solutions are real or complex
Worked Examples
Example 1: Solve x² − x + 0.25 = 1
Rearrange to x² − x = 0.75. Half the coefficient of x is −0.5, and (−0.5)² = 0.25. Adding 0.25 to both sides: x² − x + 0.25 = 1, which factors as (x − 0.5)² = 1. Taking square roots: x − 0.5 = ±1, so x = 1.5 or x = −0.5.
Example 2: Solve 2x² + 4x + 8 = 0
Divide by 2 first: x² + 2x + 4 = 0. Then x² + 2x = −4. Half of 2 is 1, so add 1: x² + 2x + 1 = −3, giving (x + 1)² = −3. Since the right side is negative, this equation has no real solutions—only complex ones: x = −1 ± i√3.
Common Pitfalls and Practical Tips
Avoid these frequent mistakes when completing the square:
- Forgetting to divide by the leading coefficient — If <code>a ≠ 1</code>, you must divide the entire equation by <code>a</code> before isolating the variable terms. Skipping this step leads to incorrect perfect squares and wrong answers.
- Losing track of what to add to both sides — When you add a constant to create the perfect square on the left, you must add the exact same constant to the right side. Many errors occur because students add to one side only.
- Misidentifying the value to square — Remember to take <em>half</em> the coefficient of <code>x</code>, then square that result. If the coefficient is negative, half of it is also negative—but squaring makes it positive regardless.
- Overlooking complex solutions — When the right side becomes negative after completing the square, solutions involve imaginary numbers. Don't assume the equation has no solution; instead, express answers using <code>i = √(−1)</code>.
When to Use Completing the Square
Three situations favour this method: when you need the vertex form a(x − h)² + k to analyse a parabola; when factoring yields awkward fractions or doesn't work at all; and when teaching or learning algebraic foundations, since it reveals why the quadratic formula works.
For quick numerical answers, the quadratic formula is often faster. For deriving properties of parabolas, converting to standard form, or building understanding, completing the square excels. Many calculus problems also rely on this technique, making it worth mastering early.