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^+(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^+(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^+bx+c=a(x+(b/2a))^+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
Answered by Beth D. Maths tutor

5038 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

How would you simplify this: ((4x+1)/4)+((1-3x)/3)


If f(x)=(x-2)^2, determine the gradient of the tangent to the curve f(x) at x=-2.


The circle c has equation x^2 + y^2 = 1. The line l has gradient 3 and intercepts the y axis at the point (0, 1). c and l intersect at two points. Find the co-ordinates of these points.


The straight line L1 passes through the points with coordinates (4, 6) and (12, 2) . The straight line L2 passes through the origin and has a gradient of -3. The lines L1 and L2 intersect at point P. Find the coordinates of P.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning