Everything to learn better...

Home

Maths

Quadratics

Completing the square

Completing the square

Select Lesson

Exam Board

Select an option

Explainer Video

Loading...
Tutor: Toby

Summary

Completing the square

​​In a nutshell

Completing the square involves rearranging the quadratic into a form which can make it easier to solve. It is another way of solving a quadratic equation, instead of factorising or using the quadratic formula. It can be used to derive the quadratic formula. Once a quadratic is in the 'complete the square' form, it also indicates where the vertex of a quadratic is on a graph. 



Completing the square

Recall that a quadratic equation can be written in the form


ax2+bx+c=0\boxed{ax^2+bx+c=0}​​


where aabb and cc are constants. 


Note: a,ba, b and cc​ are called coefficients. More specifically, a coefficient is a number before something - so the coefficient of xx here is bb, the coefficient of x2x^2 is aa. You can consider cc to be the coefficient of x0x^0.


To complete the square on a quadratic expression, it should be put into the form


a(x+b2a)2b24a+c=0\boxed{a\left(x+\dfrac{b}{2a}\right)^2-\dfrac{b^2}{4a}+c=0}


Once the quadratic has been put in the completed square form, it can be rearranged to solve for xx:

x=b2a±b24a2cax=-\dfrac{b}{2a}\pm\sqrt{\dfrac{b^2}{4a^2}-\dfrac{c}{a}}​​


This simplifies to

x=b±b24ac2ax=\dfrac{-b\pm\sqrt{b^2-4ac}}{2a}​​


which you will recognise as the quadratic formula.


Tip: Rather than remembering a formula to complete the square, you should understand how it is done.


PROCEDURE

1.1.​​

Write the quadratic equation in the form ax2+bx+c=0ax^2+bx+c=0​. 

2.2.​​

Factor the aa out of the first two terms: a(x2+bax)+c=0a\left(x^2 +\dfrac{b}{a}x\right)+c=0. This is to make the coefficient of x2x^2 equal to 11.​

33.

Now focus on the x2+baxx^2 +\dfrac{b}{a}x part. Express this in the form (x+b2a)2b24a2\left(x+\dfrac{b}{2a}\right)^2-\dfrac{b^2}{4a^2}


Note: If you expand this, you will see that these two expressions are equal. 


All that has been done is that the coefficient of the xx (namely ba\dfrac{b}{a}) has been halved and put in a pair of brackets with xx. These brackets have been squared. But this has a (b2a)2\left(\dfrac{b}{2a}\right)^2 term that is not in x2+baxx^2 +\dfrac{b}{a}x, hence you have to subtract it from (x+b2a)2\left(x+\dfrac{b}{2a}\right)^2


Note: (b2a)2=b24a2\left(\dfrac{b}{2a}\right)^2=\dfrac{b^2}{4a^2}.

4.4.​​

Now you have a((x+b2a)2b24a2)+c=0a\left(\left(x+\dfrac{b}{2a}\right)^2-\dfrac{b^2}{4a^2}\right)+c=0. You want the b24a2-\dfrac{b^2}{4a^2} outside of the brackets. Since it is inside brackets that are being multiplied by aa, you must multiply it by aa to take it outside the brackets: b24a2×a=b24a-\dfrac{b^2}{4a^2}\times a=-\dfrac{b^2}{4a}

5.5.​​

Now you have a(x+b2a)2b24a+c=0a\left(x+\dfrac{b}{2a}\right)^2-\dfrac{b^2}{4a}+c=0. This is the completed the square form.​


Example 1

Complete the square on the following quadratic:

3x212x+53x^2-12x+5​​


It may help to identify the coefficients first:

 a=3a=3b=12b=-12 and c=5c=5.


To complete the square, start by factoring out the 33 from the first two terms:

3(x24x)+53(x^2-4x)+5

​​

Now halve the 4-4 and put it in brackets squared added to xx:

(x2)2(x-2)^2​​


This does not equal x24xx^2-4x, so you must subtract (2)2(-2)^2 to make them equal:

(x2)24(x-2)^2-4​​


This is now equal to x24xx^2-4x, so it can be substituted into 3(x24x)+53(x^2-4x)+5:

3((x2)24)+53((x-2)^2-4)+5​​


Next you want to expand 4-4 out of the brackets. To do so you must multiply it by the 33:

3(x2)212+53(x-2)^2-12+5​​


This can be simplified:

3(x2)27\underline{3(x-2)^2-7}​​


This is the correct completed the square form.



Using the completed the square form to solve quadratics

Once in the correct form, it is straightforward to solve the quadratic equation. The important thing to remember is to include the plus or minus (±\pm) when you take the square root, since both the positive route and the negative route lead to solutions.


Example 2

By completing the square, solve the following quadratic:

2x2+12x3=02x^2+12x-3=0​​


Start by factoring out the 22 from the first two terms:

2(x26x)3=02(x^2-6x)-3=0​​


Now re-express the x26xx^2-6x as (x3)29(x-3)^2-9


Note: The 9-9 is there because you need to subtract (3)2(-3)^2 from (x3)2(x-3)^2 to make the two expressions equal.


Now you have 

2((x3)29)3=02((x-3)^2-9)-3=0​​


Expand the brackets:

2(x3)2183=02(x-3)^2-18-3=0​​


and tidy up:

2(x3)221=02(x-3)^2-21=0​​


This can be rearranged to be solved:

2(x3)2=21 (x3)2=212 x3=±212 x=3±2122(x-3)^2=21\\\space\\(x-3)^2=\dfrac{21}2\\\space\\x-3=\pm\sqrt{\dfrac{21}2}\\\space\\x=3\pm\sqrt{\dfrac{21}2}​​


So the solutions are 

x=3+2126.24x=3+\sqrt{\dfrac{21}2}\approx\underline{6.24} and x=32120.24x=3-\sqrt{\dfrac{21}2}\approx\underline{-0.24}


Finding the vertex of a quadratic curve

The vertex is also known as the turning point of a quadratic curve. In a positive quadratic, this is the lowest point. In a negative quadratic, this is the highest point. Once in completed the square form

y=a(x+b2a)2b24a+cy=a\left(x+\dfrac{b}{2a}\right)^2-\dfrac{b^2}{4a}+c​​


the turning point has coordinates 

(b2a,b22a+c)\left(-\dfrac{b}{2a},-\dfrac{b^2}{2a}+c\right)​​


In other words, the xx-coordinate is the negative of the part inside the brackets with xx and the yy-coordinate is the bit added on to the bracket.​

​​

Create an account to read the summary

Exercises

Create an account to complete the exercises

FAQs - Frequently Asked Questions

How does completing the square on a quadratic help to sketch the graph of the quadratic?

What can completing the square be used for.

Why is completing the square useful?

Beta

I'm Vulpy, your AI study buddy! Let's study together.