# 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

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

So,

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

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 .

### Answer

To begin solving the equation , we would take the square root of both sides, giving

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

Adding 3 to both sides, we get the final answer:

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 . 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 .

### 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, , as a square with a side length of .

We can now add the term from our expression to the area model. As we want to make a square, we can do this by splitting into two rectangles of area , each with dimensions 3 by units. We can see below how 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 units.

We now have created a complete square of side length . We can see in our diagram that

However, we have the expression , 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 .

We can see below how we have the square, , with 11 left over.

Hence, we have completed the square, giving us .

Therefore, can be written as the complete square

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 , 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

Therefore, to complete the square in an equation including , we can substitute 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 .

### Answer

Recall that . If we compare the expressions and we can see that we would equate the coefficients of the -terms to get ; hence, . 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 as our complete square.

On the other hand, we can expand the brackets of :

Subtracting 16 from both sides, we have

So,

We can now substitute into the original equation, , giving us

Collecting the constants, this will give us the completed square form

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

Adding 26 to both sides,

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

Hence, we have two solutions: and .

### Example 4: Solving a Quadratic Equation by Completing the Square

Solve the equation by completing the square.

### Answer

To begin, we put the equation into completed square form.

Recall that , where is half of the coefficient of .

We can substitute into the equation , giving us

Collecting the constant terms, we have

We can now add 11 to both sides, giving us

When taking the square root, we must consider both the positive and the negative values, so this gives us

Finally, adding 7 to both sides, we have

Therefore, or .

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 .

### Answer

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

Subtracting from both sides, we have

Recall that , where is half of the coefficient of . Here, our coefficient of is ; therefore .

Now we can substitute into the equation , giving us

Evaluating , we have

Now we can add to both sides to give us

When taking the square root, we must consider both the positive and the negative values, so this gives us

As , we have

Adding to both sides gives us

Therefore,

When we have a quadratic equation of the form , and , 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 .

### 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 by 3, we have

Recall that , where is half of the coefficient of . Here, the coefficient of is so .

We can now substitute into our equation, , giving us

Evaluating as gives us

We can now add to both sides:

As , we have

When taking the square root, we must consider both the positive and the negative values, so this gives us

As , we can write this as

We can now add to both sides to isolate :

Hence, our solution is or .

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 where , , and are constants. We can start our process of solving this equation by dividing all the terms by , which gives us

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 , with constants and , as

So, comparing the left-hand side of our equation, we can equate and .

Therefore, we can substitute into our equation, giving us

Expanding , we have

Adding to both sides, gives us

Using as a common denominator on the right-hand side, we can simplify to give

We can now take the square root of both sides, remembering the positive and negative values, giving us

Next, we subtract from both sides, which gives us

As both terms on the right-hand side have the same denominator, we can write this in the simplified form as

And so we have derived the quadratic formula, which gives a concise solution for all quadratic equations in the form .

### 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.

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