After The School
Class 10MathematicsChapter 4: Quadratic Equations

Solution by Completing the Square

Solving quadratic equations by completing the square method.

To solve ax2+bx+c=0ax^2 + bx + c = 0:

  1. Divide by aa: x2+bax+ca=0x^2 + \dfrac{b}{a}x + \dfrac{c}{a} = 0

  2. Move the constant: x2+bax=cax^2 + \dfrac{b}{a}x = -\dfrac{c}{a}

  3. Add (b2a)2\left(\dfrac{b}{2a}\right)^2 to both sides:

(x+b2a)2=b24ac4a2\left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2}

Example

Solve x2+4x5=0x^2 + 4x - 5 = 0 by completing the square.

x2+4x=5x^2 + 4x = 5 x2+4x+4=5+4x^2 + 4x + 4 = 5 + 4 (x+2)2=9(x + 2)^2 = 9 x+2=±3x + 2 = \pm 3   x=1orx=5\therefore \; x = 1 \quad \text{or} \quad x = -5

On this page