Skip to content

Completing the Square

Completing the square is a versatile method for solving quadratic equations and transforming quadratic expressions into a form that reveals important information about their graph, such as the vertex. It works for any quadratic equation, even when factoring is difficult or impossible. Here’s a comprehensive guide to understanding and using this method.

1. Concept of Completing the Square

Completing the square involves rewriting a quadratic equation so that one side of the equation becomes a perfect square trinomial. A perfect square trinomial is an expression that can be factored as the square of a binomial. The general quadratic equation is:

\[ ax^2 + bx + c = 0 \]

By completing the square, you transform this into:

\[ (x - h)^2 = k \]

where \( h \) and \( k \) represent constants that come from the process of completing the square. From this form, you can easily solve for \(x\), or use it to analyze the graph of the quadratic function.

2. Steps to Complete the Square

Step 1: Ensure the coefficient of \(x^2\) is 1

If the coefficient of \(x^2\) is not 1, first divide the entire equation by \(a\) (the leading coefficient). This simplifies the process.

Example:

\[ 2x^2 + 8x + 6 = 0 \]

First, divide by 2:

\[ x^2 + 4x + 3 = 0 \]

Step 2: Move the constant term to the other side of the equation

Isolate the constant term (the \(c\) value) by moving it to the right-hand side.

Example:

\[ x^2 + 4x + 3 = 0 \]

Subtract 3 from both sides:

\[ x^2 + 4x = -3 \]

Step 3: Complete the square

Take half of the coefficient of \(x\), square it, and add it to both sides of the equation. This step transforms the left-hand side into a perfect square trinomial.

  • The coefficient of \(x\) is 4.
  • Half of 4 is 2.
  • Squaring 2 gives 4.

Now add 4 to both sides of the equation:

\[ x^2 + 4x + 4 = -3 + 4 \]

This simplifies to:

\[ (x + 2)^2 = 1 \]

Step 4: Solve for \(x\) by taking the square root of both sides

Now that the left-hand side is a perfect square, take the square root of both sides to solve for \(x\):

\[ x + 2 = \pm 1 \]

Step 5: Solve for \(x\)

Finally, solve for \(x\) by isolating it:

\[ x = -2 \pm 1 \]

So, the solutions are:

\[ x = -1 \quad \text{or} \quad x = -3 \]

3. General Example

Let’s solve a more complex quadratic equation using completing the square:

Example:

\[ 3x^2 + 12x + 6 = 0 \]

Step 1: Divide by the leading coefficient

First, divide by 3 to make the coefficient of \(x^2\) equal to 1:

\[ x^2 + 4x + 2 = 0 \]

Step 2: Move the constant term

Move the constant term to the other side: [ x^2 + 4x = -2 ]

Step 3: Complete the square

Take half of the coefficient of \(x\) (which is 4), square it (giving 4), and add it to both sides:

\[ x^2 + 4x + 4 = -2 + 4 \]

Simplify: [ (x + 2)^2 = 2 ]

Step 4: Take the square root

Take the square root of both sides:

\[ x + 2 = \pm \sqrt{2} \]

Step 5: Solve for \(x\)

Now, isolate \(x\):

\[ x = -2 \pm \sqrt{2} \]

So, the solutions are:

\[ x = -2 + \sqrt{2} \quad \text{or} \quad x = -2 - \sqrt{2} \]

4. Graphical Interpretation

Completing the square rewrites the quadratic equation in vertex form, which is:

\[ y = a(x - h)^2 + k \]

Here, the vertex is \( (h, k) \), and the axis of symmetry is \(x = h\). When you complete the square, you are essentially transforming the quadratic equation into this form. This makes it easy to read off the vertex and other properties of the parabola.

For example, from the equation:

\[ (x + 2)^2 = 2 \]

we can see that the vertex is at \( (-2, 0) \), and the parabola opens upwards.

5. Gotchas (Common Pitfalls)

a) Forgetting to balance both sides

A common mistake when completing the square is adding a number to one side without adding the same number to the other side. Always remember to add the same value to both sides to keep the equation balanced.

Example:

\[ x^2 + 6x = 7 \]

Half of 6 is 3, and squaring it gives 9. You need to add 9 to both sides:

\[ x^2 + 6x + 9 = 7 + 9 \]

b) Incorrect handling of negative signs

When dealing with negative numbers, be careful with the signs. For example, if you have:

\[ x^2 - 6x = -7 \]

Half of \(-6\) is \(-3\), and squaring it gives 9, so you should add 9 to both sides:

\[ x^2 - 6x + 9 = -7 + 9 \]

Simplify to:

\[ (x - 3)^2 = 2 \]

Incorrectly handling the negative sign could lead to the wrong result.

c) Dividing by \(a\) (when \(a \neq 1\))

If the coefficient of \(x^2\) is not 1, you must divide the entire equation by that coefficient before completing the square. Failing to do this leads to an incorrect result.

Example: For \( 2x^2 + 8x + 6 = 0 \), you must first divide by 2:

\[ x^2 + 4x + 3 = 0 \]

Before completing the square.

d) Recognizing when completing the square is necessary

Sometimes, factoring is easier than completing the square, especially if the quadratic is factorable with integers. Completing the square is most useful when:

  • The quadratic cannot be easily factored.
  • You want to write the equation in vertex form.
  • You need an exact or decimal solution.

e) Handling complex or irrational solutions

When completing the square, you might encounter irrational or complex numbers. Don't forget that \( \sqrt{\text{negative number}} \) results in an imaginary solution, which could surprise you if you're not expecting it.

Example:

\[ x^2 + 4x + 5 = 0 \]

After completing the square, you get:

\[ (x + 2)^2 = -1 \]

This leads to:

\[ x + 2 = \pm i \]

Thus, \(x = -2 \pm i\), indicating that the solutions are complex.

6. Why Completing the Square is Useful

  • Solving quadratics: Even when factoring fails or the quadratic formula feels cumbersome, completing the square gives a direct way to solve the equation.
  • Graphing: Completing the square puts the quadratic in vertex form, revealing the vertex of the parabola, which is useful for graphing.
  • Quadratic formula derivation: The quadratic formula itself can be derived using the method of completing the square, highlighting its foundational importance in algebra.

7. Completing the Square vs. Other Methods

  • Factoring is quicker when the quadratic is factorable with integers, but completing the square works in all cases.
  • Quadratic formula is a more general method, but completing the square gives insight into the graph of the quadratic, providing more geometric information.

In summary, completing the square is a powerful method that works on any quadratic equation. It transforms quadratics into a form that reveals key characteristics (like the vertex) and provides a systematic approach to solving even the most complex equations.