‘Completing the square’ is a method of solving quadratic equations by re-writing a quadratic expression as a squared expression and a constant – the quadratic formula is based on completing the square for the equation . It also allows you to find key information about quadratic graphs, the turning point and roots, needed to sketch them.
The examples below explain how to complete the square and how to use completing the square to sketch a quadratic graph. Click here for a completing the square resource pack, including worked examples, questions and answers in PDF and slideshow formats. To practise some of the required knowledge for completing the square, click here, or click here for a selection of completing the square activity mats.
Example Question 1
Write in the form where and are integers.
First, find the value of which will result in when we expand – we can do this by halving the coefficient of , which gives us 3:
The first two terms are correct, but we want ” + 4″ rather than “+ 9”. To correct this, simply subtract 5, to give:
This expands to:
More generally, the expansion of will always give a constant term of . Therefore, when we complete the square to factorise the and terms, we can subtract from the constant term to give:
Example Question 2
By completing the square, find the roots of the equation
In this example, unlike example 1, the coefficient of isn’t 1. To be able to complete the square, we need to remove this as a factor:
Now, we complete the square inside the brackets as usual. Start by halving the coefficient of and subtracting its square:
Once we have completed the square inside the square brackets, we can expand and simplify our expression:
Finally, we can find the 2 solutions. The solution of a quadratic equation is where , so we set as 0 and solve:
Of course, it can be helpful to have the roots in exact form. If needed, we can write out solutions as decimals:
and (to 3 s.f.).
Example Question 3
By completing the square, find the turning point and the equation of the line of symmetry of .
As before, start by halving the coefficient of and adjusting our constant term:
Now we’ve completed the square, we need to find the turning point of the graph.
A quadratic graph is either a U shape (if the coefficient of is positive) or a ∩ shape (if the coefficient is negative).
As this equation has a positive coefficient of , the turning point is the coordinate of the bottom of the U where the gradient changes from negative to positive. It is also a minimum – the lowest -value the function can have.
Consider the smallest value can have.
Since a square cannot be negative, the lowest value can have is 0. We can find the turning point by evaluating and when this is the case:
This gives us our -value. We have already set equal to 0, so:
The mimimum point of is at .
The line of symmetry is the vertical line through the turning point. In this case, the line of symmetry will be the line with equation .
Example Question 4
By completing the square, determine the turning point of the graph and therefore the number of roots.
It is important to notice that has a coefficient of -1. As before, this must be removed as a factor:
It is now possible to determine the turning point. Since the coefficient of is negative, the equation is a negative quadratic. This means the turning point will be a maximum point.
The maximum point is where , so . When this is the case, so our turning point is at (2, -1).
The maximum point is below the x-axis. This means the graph will never be above the x-axis and will have no roots. We can easily show that this is the case by considering when y = 0:
This has no real solutions, therefore has no real roots.
We have looked at how to complete the square and how to use the result to find the turning point, line of symmetry, and roots of a quadratic equation. Now, let’s look at how to sketch a graph with all this information.
Example Question 5
Sketch the graph of , giving the coordinates of the turning point of the graph and any points where the graph crosses the axes.
Start by completing the square:
This shows that the turning point of the graph is at and, since the graph is a positive quadratic, this is a minimum point.
Next, find the roots of the equation:
Therefore, the two solutions are and .
Finally, we need to find any points where the graph crosses the axes; this includes the y-axis.
The y-intercept can be read straight from the original equation, . When , so the y-intercept is (0, 5).
We now have enough information to draw a sketch. Since it’s a quadratic, the graph will be a parabola and we know the positions of the y- and x-intercepts and the turning point of the graph.
The Quadratic Formula
The quadratic formula can be derived by using completing the square to rearrange the quadratic equation into the form .
Try this yourself, or check below for the working.
First, complete the square:
You can read more of our blogs here. Also, don’t forget to subscribe to Beyond for access to thousands of secondary teaching resources. You can sign up for a free account here and take a look around at our free resources before you subscribe too.