How do you complete the square?

'Completing the square' is quite a tricky concept to some people, and I honestly didnt grasp it the first time i was taught it. But once explained thoroughly, it becomes easier to use.

'Completing the square' is a method for solving quadratic equations, when an equation cannot be easily factorised. In fact, the quadratic formula you will see in formulae books, is proven by 'completing the square' of the following equation: ax2​ + bx + c = 0.

I am going to explain the 'completing the square' method by using the following example.

I will use the equation x2​ - 6x + 5 =0.

Those of you who are quite eagle eyed will notice that you can easily factorise this equation and see that the solutions are x=1 and x=5, but i want to show you how to find these solutions by 'completing the square'.

The first step involves putting the x into a bracket with a squared on the outside. To do this you need to look at the first two terms: x2​ - 6x.

After the first step the equation should look like this: (x-3)2​ - 9 + 5 = 0. I will explain why you do this. When you look at x2​ -6x you need to ask yourself the follwing question: what expression in x can i square to get these two terms?

By asking yourself this question you might notice that if you are going to square an expression, then the number within the expression should be half the number of x's in your original question. This is how x2 - 6x becomes (x-3)2​.

In reality, the x2 - 6x becomes (x-3)2​ - 9. The reason this happens lies in the expansion of (x+3)2​. When we expand the bracket we get x2​ - 6x + 9, which is not what we want as it is 9 more than the expression we want. This is why the -9 appears to fix this problem.

Now we have (x - 3)2​ - 9 + 5 = 0. We can condense this down to (x - 3)2​ - 4 =0. The next step is to isolate the squared bracket; this means writing the equation as (x - 3)2​ = 4.

As you can see, the equation is looking a lot nicer know, and the next step is to square root both sides of the equation. This will make two equations as the square root of 4 is both 2 and -2.

We know have x - 3 = 2 and x - 3 = -2. Adding 3 to both sides of both equations gives the required results of x = 5 and x = 1.

And there you have it, completing the square is best done when the coefficient of x2​ is 1, but if you have a different coefficient, just divide all the numbers in the equation by the coefficient and then complete the square.

Alex W. A Level Maths tutor, GCSE Maths tutor, A Level Further Mathem...

11 months ago

Answered by Alex, a GCSE Maths tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


£36 /hr

Gina J.

Degree: Economics with French (Bachelors) - Bristol University

Subjects offered:Maths, Spanish+ 2 more


“Private tutor of Economics, Maths and French with six years of experience. I am passionate about teaching!”

£20 /hr

Isabel S.

Degree: Geography (Bachelors) - Oxford, Christ Church University

Subjects offered:Maths, Geography+ 3 more

.TSA. Oxford.

“I have tutored in a variety of subjects and in many different schools and settings, so am very adaptable to the needs of individual students.”

£20 /hr

Leon P.

Degree: Mathematics (Bachelors) - Imperial College London University

Subjects offered:Maths


“21 years old. 2 years experience teaching. BSc Mathematics Imperial College London. Studying MSc in Aerospace Dynamics (please ask for references).”

About the author

£18 /hr

Alex W.

Degree: Mathematics (Masters) - Warwick University

Subjects offered:Maths, Physics+ 1 more

Further Mathematics

“Hi i'm Alex. I am currently a first year Maths student at Warwick University, and can tutor you in Maths, Further Maths and Physics at both GCSE and A-Level. I have had plenty of teaching experience before so I can hopefully help you ...”

MyTutor guarantee

You may also like...

Posts by Alex

How do you complete the square?

How do you use derivatives to categorise stationary points?

What are polar coordinates?

What are the main causes of energy loss in a transformer?

Other GCSE Maths questions

Probability: "Sock Drawer" style questions.

Find the x-Coordinate of the minimum point of the function: f(x) = x^2 + 2x - 5

I am getting stuck on how to solve Simultaneous Equations, can you explain how to do this?

simplfy x/3 + x/4

View GCSE Maths tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss