How to complete the square?

This is a handy trick for quadratic equations ax^2 + bx + c = 0.

e.g. (x^2 + 5x + 6). So a = 1, b = 5 and c = 6.

To complete the square, let x^2 + 5x + 6 = 0. Then, take 6 to the other side to get x^2 + 5x = -6.

Now focus on x^2 + 5x. You need to divide 5 by 2 ( = 2.5) and write in the form (x + (b/2))^2 - (b/2)^2 = -6. So you get (x + 2.5)^2 - (2.5)^2 = -6. This equals to (x + 2.5)^2 = 0.25 as (2.5)^2 - 6 = 0.25. Then rearrange for x. (x + 2.5) = +- 0.5. So x = -3 and x = -2.

JP
Answered by Jigar P. Maths tutor

4672 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

The equation of a curve is x(y^2)=x^2 +1 . Using the differential, find the coordinates of the stationary point of the curve.


Given that d/dx(cosx)=-sinx show that d/dx(secx)=secx(tanx)


f(x) = (x-5)/(x^2+5x+4), express this in partial fractions and hence find the integral of f(x) dx between x=0 and x=2, giving the answer as a single simplified logarithm.


Find the gradient of the curve y=sin(x^2) + e^(x) at the point x= sqrt(pi)


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