How do I complete the square of an equation?

First off, write your equation in the form:

ax^2+by+c=0

with a, b and c being your constant coefficients. 

First, we will factorise out a such that:

a(x^2 +(b/a)x)+c

Now divide b by 2. Then write 

a(x+(b/2a))^2

If you multiply this out you should get a(x^2 +(b/a)x+d)

Then times everything by a again to give ax^2+bx+ad

The final stage is to add a constant on the end which will get you from ad to c in the final expansion.

To do this we want ad+m=c where m is the constant we are trying to find. Therefore m=c-ad.

Our final answer will be:

ax^2 +bx+c=a(x+(b/2a))^2 +m .

 

This is much easier to see with an example:

Complete the square of 4x^2+4x=-6

We need to rearrange this to 4x^2+4x+6=0.

First we factorise out the 4:

4(x^2+x)+6=0 

Now we follow through the rest of the steps:

4(x+1/2)^2=4(x^2+x+1/4)=4x^2+4x+1

1+m=6

m=5

So the final answer is

4x^2+4x+6=4(x+1/2)^2+5=0

BD

Related Maths GCSE answers

All answers ▸

Work out 51% of 400? (No calculator)


Raya buys a van for £8500 plus VAT at 20%.Raya pays a deposit for the van. She then pays the rest of the cost in 12 equal payments of £531.25 each month. Find the ratio (in simplest form) of the deposit Raya pays to the total of the 12 equal payments.


Naoby invests £6000 for 5 years. The investment gets compound interest of x% per annum. At the end of 5 years the investment is worth £8029.35 Work out the value of x.


The Diagram shows the Triangle PQR. PQ = x cm. PR = 2x cm. Angle QP^R = 30 degrees. The area of the triangle PQR = A cm^2. Show that x = (Squared Root){2A