Solve each quadratic equation by completing the square

Completing the Square is a method used to solve a quadratic equation by changing the form of the equation so that the left side is a perfect square trinomial .

To solve a x 2 + b x + c = 0 by completing the square:

      1.  Transform the equation so that the constant term, c , is alone on the right side.
      2.  If a , the leading coefficient (the coefficient of the x 2 term), is not equal to 1 , divide both sides by a .

      3.  Add the square of half the coefficient of the x -term, ( b 2 a ) 2 to both sides of the equation.

      4.  Factor the left side as the square of a binomial.

      5.  Take the square root of both sides.  (Remember: ( x + q ) 2 = r is equivalent to x + q = ± r .)

      6.  Solve for x .

Example 1:

Solve x 2 − 6 x − 3 = 0 by completing the square.

x 2 − 6 x = 3 x 2 − 6 x + ( − 3 ) 2 = 3 + 9 ( x − 3 ) 2 = 12 x − 3 = ± 12 = ± 2 3 x = 3 ± 2 3

Example 2:

Solve: 7 x 2 − 8 x + 3 = 0

7 x 2 − 8 x = − 3 x 2 − 8 7 x = − 3 7 x 2 − 8 7 x + ( − 4 7 ) 2 = − 3 7 + 16 49 ( x − 4 7 ) 2 = − 5 49 x − 4 7 = ± 5 7 i x = 4 7 ± 5 7 i ( x − 3 ) 2 = 12 x − 3 = ± 12 = ± 2 3 x = 3 ± 2 3

How to Solve Quadratic Equations using the Completing the Square Method

If you are already familiar with the steps involved in completing the square, you may skip the introductory discussion and review the seven (7) worked examples right away.

The key step in this method is to find the constant “k” that will allow us to express the given trinomial as the square of a binomial.

For instance,

Solve each quadratic equation by completing the square

The value of “k” is determined by squaring one-half of the coefficient of x. In this case, the coefficient of the linear term x is - \,6.

Therefore, half of - \,6 is - \,3, and its square {\left( { - \,3} \right)^2} = 9. The value of k must be 9!

Solve each quadratic equation by completing the square

If I substitute k by 9, the trinomial is factored into two equal binomials. This is great because I can now rewrite it in a more compact form, that is, the square of a single binomial.

Solve each quadratic equation by completing the square


The following are the general steps involved in solving quadratic equations using completing the square method.

Key Steps in Solving Quadratic Equation by Completing the Square

1) Keep all the x-terms (both the squared and linear) on the left side, while moving the constant to the right side.

In symbol, rewrite the general form a{x^2} + bx + c as:

a{x^2} + bx = - \,c

2) Now, identify what type of problem you have by looking at the coefficient of the leading term, a.

Examples:

  • “Easy Type” when a = 1

Solve each quadratic equation by completing the square

  • “Difficult Type” when a \ne 1

Solve each quadratic equation by completing the square

3) If you have the “Easy type”, proceed immediately to Step 4. If you have the “Difficult Type”, you must divide the entire equation first by the value of a before moving to step 4.

4) Take the coefficient of x-term, divide it by 2 then square its result. Add this value to both sides of the equation.

5) Express the left side as a square of binomial.

6) Get the square root of both sides of the equation. Don’t forget to attach the \pm symbol on the right side!

7) Finish it off by solving the linear equation(s) that arise from it.


Examples of How to Solve Quadratic Equations by Completing the Square

Example 1: Solve the quadratic equation below by completing the square method.

Solve each quadratic equation by completing the square

This is an “Easy Type” since a = 1. I will keep the “x-terms” (both the squared and linear terms) on the left side but move the constant to the right side.

I can do that by adding 15 on both sides of the equation.

Solve each quadratic equation by completing the square

Now, take the coefficient of the linear term (which is the x-term with power 1) and perform TWO operations on it:

  • Divide by 2, followed by
  • Squaring (raising to the 2nd power)

Solve each quadratic equation by completing the square

The output here, which is +1, will be added to both sides of the quadratic equation.

This step forces the left side to generate a perfect-square-trinomial which can be expressed as a square of a binomial. Great!

Solve each quadratic equation by completing the square

At this point, it is very easy to solve for x. To get rid of the exponent 2 in the binomial, I will apply square root operation on both sides of the equation.

Next, solve the pair of linear equations that arise as a result of squaring both sides.

Solve each quadratic equation by completing the square

Break x = \pm \,4 + 1 into two cases, then solve.

Solve each quadratic equation by completing the square

That is it! Our answers are {x_1} = 5 and {x_2} = - \,3.

Make it a habit to check your solved values of x back into the original equation to verify if indeed they are “true” answers. I will leave it to you as an exercise.


Example 2: Solve the quadratic equation below by completing the square method.

Solve each quadratic equation by completing the square

Obviously, I can’t proceed with the steps required in completing the square. I must isolate the x-terms to the left, and the constant to the right.

Do that by subtracting both sides by 1.

Solve each quadratic equation by completing the square

This time I am ready to perform the completing the square steps to solve this quadratic equation. Start by taking the coefficient of the linear x-term then divide it by 2 followed by squaring it. This is the MOST important step of this whole process.

Whatever number that comes out will be added to both sides of the equation. The left side becomes a perfect square trinomial which can be rewritten as the square of binomial.

Eliminate the power 2 of the binomial by taking the square root of both sides. I hope that you’ll be able to follow the rest of the solution.

Solve each quadratic equation by completing the square

I got the following as the answers which are {x_1} = 7 and {x_2} = 3. Go ahead and check the solutions yourself as an exercise.


Example 3: Solve the quadratic equation below by completing the square method.

Solve each quadratic equation by completing the square

Solution:

Solve each quadratic equation by completing the square

The answers are {x_1} = 2 and {x_2} = - 10


Example 4: Solve the quadratic equation below by completing the square method.

Solve each quadratic equation by completing the square

The first thing to do is to move the constant to the right side by subtracting each side by 8.

Solve each quadratic equation by completing the square

This is actually the “Difficult Type” since a \ne 1. Thus, I need to make the coefficient of the squared x-term equal to 1. This can be done by dividing through the entire equation by a which equals 8!

Solve each quadratic equation by completing the square

By dividing through by 8, I have converted this problem into the “easy” case because the coefficient of the squared x-term becomes +1. Finish this off by doing the same process as seen in examples 1 and 2. The only difference is that I will deal with fractions.

Consider the coefficient of the linear x-term, divide by 2 and square it.

Solve each quadratic equation by completing the square

Take the output of the step above, and add to both sides of the quadratic equation. Then proceed with the rest of the steps to complete the square.

Solve each quadratic equation by completing the square

The answers should be {x_1} = 2 and {x_2} = {1 \over 2}.


Example 5 (Practice Problem): Solve the quadratic equation below by completing the square method.

Solve each quadratic equation by completing the square

Try solving this problem on your own first. Then click below to view the solution.

Answer

Solve each quadratic equation by completing the square

NOTE: The solution to this problem may look messy but as long as you apply the correct procedures for completing the square, you will soon realize that the answers to this problem come out nicely.

Hint: The solution set includes a rational number and a negative integer.


Example 6: Solve the quadratic equation below by completing the square method.

Solve each quadratic equation by completing the square

I will move the constant to the right side while keeping all x-terms on the left. Then I must divide the entire equation by - \,3 since a \ne 1.

  • Subtract both sides by 42

Solve each quadratic equation by completing the square

  • Divide entire equation by - \,3

Solve each quadratic equation by completing the square

Now, I will take the coefficient of the linear term, divide it by 2 and square it.

Solve each quadratic equation by completing the square

Add this output 4 to both sides of the equation. This makes the left side a perfect-square-trinomial which can be rewritten as the square of a binomial.

Solve each quadratic equation by completing the square

That was easy, right? Again, the more you see how these problems are being solved correctly, the better you become!


Example 7 (Practice Problem): Solve the quadratic equation below using the completing the square method.

Solve each quadratic equation by completing the square

Try solving this problem on your own first. Then click below to view the solution.

Answer

Solve each quadratic equation by completing the square


You might also be interested in:

Solving Quadratic Equations by Square Root Method
Solving Quadratic Equations by Factoring Method
Solving Quadratic Equations by the Quadratic Formula