Lesson Explainer: Solving Quadratics: Completing the Square‎ | Nagwa Lesson Explainer: Solving Quadratics: Completing the Square‎ | Nagwa

Lesson Explainer: Solving Quadratics: Completing the Square‎ Mathematics

In this explainer, we will learn how to solve quadratics by completing the square.

We can solve equations in a number of different ways, including factoring, using the quadratic formula, or completing the square. While factoring can be an efficient way to solve an equation, there are many quadratic equations that cannot be solved by factoring. The method of completing the square that we will cover in this explainer allows us to solve any quadratic equation. Completing the square can also give us useful information about the shape of the graph of a quadratic function.

To begin, let us consider the equation 𝑥=25.

If we wished to solve this for 𝑥, we would take the square root of both sides of the equation. We could solve as 𝑥=25, so 𝑥=5. However, since 5×5 would also give an answer of 25, we can indicate the positive and negative roots here as 𝑥=±25.

So, 𝑥=±5.

It is important to remember that the use of ± indicates two solutions, so 𝑥=±5 represents both 𝑥=5 and 𝑥=5.

Let us look at another example of using square roots to find the solution of an equation.

Example 1: Solving a Simple Quadratic Using Square Roots

Solve the equation (𝑥3)=5.

Answer

To begin solving the equation (𝑥3)=5, we would take the square root of both sides, giving 𝑥3=5.

Remember that when taking square roots we must consider both the positive and the negative values. Here, we can indicate the two solution values by writing 𝑥3=±5.

Adding 3 to both sides, we get the final answer: 𝑥=3±5𝑥=3+5𝑥=35.and

We can extend this method to solve a quadratic that includes an 𝑥-term. In the previous example, we had an equation that had a perfect, or complete, square of (𝑥3). It was simple to solve as it had just one 𝑥-term. Let us now look at how we can change a quadratic expression in the form 𝑥+𝑏𝑥+𝑐, where 𝑏 and 𝑐 are constants, into an expression with just one 𝑥-term.

Example 2: Completing the Square of an Expression

Complete the square for the expression 𝑥+6𝑥+20.

Answer

Let us take a visual approach to this question by using a geometric model for the area. We can begin our representation by showing the 𝑥 part of our expression, 𝑥+6𝑥+20, as a square with a side length of 𝑥.

We can now add the 6𝑥 term from our expression to the area model. As we want to make a square, we can do this by splitting 6𝑥 into two rectangles of area 3𝑥, each with dimensions 3 by 𝑥 units. We can see below how 𝑥+6𝑥 can be represented.

We now need to find the area of the missing piece of our square. We can calculate from our model that the area of this piece must be 3×3=9 units.

We now have created a complete square of side length (𝑥+3). We can see in our diagram that (𝑥+3)=𝑥+6𝑥+9.

However, we have the expression 𝑥+6𝑥+20, so we need to adjust for the extra units.

Since the constant in our original expression is 20, not 9, we can calculate that the additional units must be 11, since 209=11.

We can see below how we have the square, (𝑥+3), with 11 left over.

Hence, we have completed the square, giving us (𝑥+3)+11.

Therefore, 𝑥+6𝑥+20 can be written as the complete square (𝑥+3)+11.

A visual method, such as the one in the previous example, can be used effectively for completing the square. However, it is useful to have an algebraic method that we can follow regardless of the complexity of the terms in our expressions. Completing the square means changing a quadratic into the square of a binomial, with a constant term added or subtracted.

We will now examine algebraically how we can use the method of completing the square of a quadratic to help us solve an equation in the form 𝑥+𝑏𝑥+𝑐=0, where where 𝑏 and 𝑐 are constants.

Complete Squares

A complete square can be expressed in the general form (𝑥+𝑎). We can expand the brackets of a complete square (𝑥+𝑎) as (𝑥+𝑎)=𝑥+2𝑎𝑥+𝑎.

Therefore, to complete the square in an equation including 𝑥+2𝑎𝑥, we can substitute 𝑥+2𝑎𝑥=(𝑥+𝑎)𝑎, into our original equation.

Let us now look at some examples where we complete the square of an equation in order to solve it.

Example 3: Solving a Quadratic Equation by Completing the Square

By completing the square, solve the equation 𝑥+8𝑥10=0.

Answer

Recall that (𝑥+𝑎)=𝑥+2𝑎𝑥+𝑎. If we compare the expressions 𝑥+8𝑥10 and 𝑥+2𝑥+𝑎, we can see that we would equate the coefficients of the 𝑥-terms to get 2𝑎=8; hence, 𝑎=4. So, in order to create a perfect square of (𝑥+𝑎), we take the coefficient of 𝑥 in our given equation and take half of that value as our 𝑎 value. Therefore, we have (𝑥+4) as our complete square.

On the other hand, we can expand the brackets of (𝑥+4): (𝑥+4)=𝑥+8𝑥+16.

Subtracting 16 from both sides, we have (𝑥+4)16=𝑥+8𝑥.

So, 𝑥+8𝑥=(𝑥+4)16.

We can now substitute 𝑥+8𝑥=(𝑥+4)16 into the original equation, 𝑥+8𝑥10=0, giving us (𝑥+4)1610=0.

Collecting the constants, this will give us the completed square form (𝑥+4)26=0.

Next, to solve the equation, we perform the same operation to both sides.

Adding 26 to both sides, (𝑥+4)=26.

When taking the square root, we must consider both the positive and the negative values, so this gives us 𝑥+4=±26. We can now subtract 4 from both sides to isolate 𝑥, giving us 𝑥=4±26.

Hence, we have two solutions: 𝑥=4+26 and 𝑥=426.

Example 4: Solving a Quadratic Equation by Completing the Square

Solve the equation 𝑥14𝑥+38=0 by completing the square.

Answer

To begin, we put the equation 𝑥14𝑥+38=0 into completed square form.

Recall that 𝑥+2𝑎𝑥=(𝑥+𝑎)𝑎, where 𝑎 is half of the coefficient of 𝑥.

We can substitute 𝑥14𝑥=(𝑥7)49 into the equation 𝑥14𝑥+38=0, giving us (𝑥7)49+38=0.

Collecting the constant terms, we have (𝑥7)11=0.

We can now add 11 to both sides, giving us (𝑥7)=11.

When taking the square root, we must consider both the positive and the negative values, so this gives us 𝑥7=±11.

Finally, adding 7 to both sides, we have 𝑥=7±11.

Therefore, 𝑥=7+11 or 𝑥=711.

In order to complete the square of a quadratic, we need to have the 𝑥- and 𝑥-terms on the same side of the equation. Let us look at an example where we need to rearrange an equation before solving using the completing the square method.

Example 5: Solving a Quadratic Equation by Completing the Square

By completing the square, solve the equation 𝑥=𝑥+34.

Answer

To begin solving this, we first need to rearrange the equation 𝑥=𝑥+34 so that the 𝑥- and 𝑥-terms are on the same side of the equation.

Subtracting 𝑥 from both sides, we have 𝑥𝑥=34.

Recall that 𝑥+2𝑎𝑥=(𝑥+𝑎)𝑎, where 𝑎 is half of the coefficient of 𝑥. Here, our coefficient of 𝑥 is 1; therefore 𝑎=12.

Now we can substitute 𝑥𝑥=𝑥1212 into the equation 𝑥𝑥=34, giving us 𝑥1212=34.

Evaluating 12, we have 𝑥1214=34.

Now we can add 14 to both sides to give us 𝑥12=34+14𝑥12=1.

When taking the square root, we must consider both the positive and the negative values, so this gives us 𝑥12=±1.

As 1=1, we have 𝑥12=±1.

Adding 12 to both sides gives us 𝑥=12±1.

Therefore, 𝑥=12+1𝑥=121,𝑥=32𝑥=12.oror

When we have a quadratic equation of the form 𝑎𝑥+𝑏𝑥+𝑐=0, and 𝑎>1, we simply transform the equation by dividing all the terms by 𝑎 and continue to complete the square as we saw in the previous example.

Example 6: Solving a Quadratic Equation by Completing the Square

By completing the square, solve the equation 3𝑥2𝑥=2.

Answer

To begin solving an equation with a coefficient of 𝑥 that is not equal to 1, we transformthe equation by dividing everything by the value of this coefficient.

Therefore, dividing 3𝑥2𝑥=2 by 3, we have 𝑥23𝑥=23.

Recall that 𝑥+2𝑎𝑥=(𝑥+𝑎)𝑎, where 𝑎 is half of the coefficient of 𝑥. Here, the coefficient of 𝑥 is 23 so 𝑎=13.

We can now substitute 𝑥23𝑥=𝑥1313 into our equation, 𝑥23𝑥=23, giving us 𝑥1313=23.

Evaluating 13 as 19 gives us 𝑥1319=23.

We can now add 19 to both sides: 𝑥13=23+19.

As 23=69, we have 𝑥13=79.

When taking the square root, we must consider both the positive and the negative values, so this gives us 𝑥13=±79.

As 9=3, we can write this as 𝑥13=±73.

We can now add 13 to both sides to isolate 𝑥: 𝑥=13±73.

Hence, our solution is 𝑥=13+73 or 𝑥=1373.

We have seen in this explainer how we can complete the square to solve a quadratic equation. We will now look at how we can use this process to derive a general formula for solving quadratic equations.

How To: Deriving the Quadratic Formula by Completing the Square

Suppose we have a quadratic equation in the general form 𝑎𝑥+𝑏𝑥+𝑐=0, where 𝑎, 𝑏, and 𝑐 are constants. We can start our process of solving this equation by dividing all the terms by 𝑎, which gives us 𝑥+𝑏𝑎𝑥+𝑐𝑎=0.

To begin isolating the 𝑥- and 𝑥-terms, we subtract 𝑐𝑎 from both sides of the equation, giving us 𝑥+𝑏𝑎𝑥=𝑐𝑎.

On the left-hand side of the equation, we can now follow the process for completing the square.

Recall that we can rewrite an expression 𝑐+2𝑐𝑑, with constants 𝑐 and 𝑑, as 𝑐+2𝑐𝑑=(𝑐+𝑑)𝑑.

So, comparing the left-hand side of our equation, we can equate 𝑐=𝑥 and 𝑑=𝑏2𝑎.

Therefore, we can substitute 𝑥+𝑏𝑎𝑥=𝑥+𝑏2𝑎𝑏2𝑎 into our equation, giving us 𝑥+𝑏2𝑎𝑏2𝑎=𝑐𝑎.

Expanding 𝑏2𝑎, we have 𝑥+𝑏2𝑎𝑏4𝑎=𝑐𝑎.

Adding 𝑏4𝑎 to both sides, gives us 𝑥+𝑏2𝑎=𝑏4𝑎𝑐𝑎.

Using 4𝑎 as a common denominator on the right-hand side, we can simplify to give 𝑥+𝑏2𝑎=𝑏4𝑎𝑐4𝑎.

We can now take the square root of both sides, remembering the positive and negative values, giving us 𝑥+𝑏2𝑎=±𝑏4𝑎𝑐4𝑎𝑥+𝑏2𝑎=±𝑏4𝑎𝑐2𝑎.

Next, we subtract 𝑏2𝑎 from both sides, which gives us 𝑥=𝑏2𝑎±𝑏4𝑎𝑐2𝑎.

As both terms on the right-hand side have the same denominator, we can write this in the simplified form as 𝑥=𝑏±𝑏4𝑎𝑐2𝑎.

And so we have derived the quadratic formula, which gives a concise solution for all quadratic equations in the form 𝑎𝑥+𝑏𝑥+𝑐=0.

Key Points

  • When a quadratic equation has simple factors, we can solve it by factoring. However, completing the square is a useful alternative method for solving quadratics, as it will give a solution to all quadratics, including those that cannot be factored. It is an ideal method if there is an indication in a problem that the solution will involve decimal or fractional solutions.
  • Completing the square can be useful when graphing a quadratic function. When we have a quadratic equation in the form 𝑦=𝑎(𝑥)+𝑘, the turning-point vertex will be at (,𝑘). So we can gain additional information about the shape of the graph of a function by completing the square.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy