Completing the Square

Created

Completing the Squre

It changes the form of a quadratic equation. ax2+bx+c=0\mspace15mu⟹\mspace15mua(x+d)2+e=0ax^2+bx+c=0 \mspace{15mu} \Longrightarrow \mspace{15mu} a(x+d)^2+e=0

Shortcuts

d=b2ad=\frac{b}{2a} e=c−b2rae=c-\frac{b^2}{ra}

Method

To solve ax2+bx+c=0ax^2+bx+c=0 by completing the square:

  1. Transform so that the constant, cc, is alone on the right side. ax2+bx=−cax^2+bx=-c
  2. If the leading coefficient, aa, is not equal to 11, divide both sides by aa. x2+bax=−cax^2+\frac{b}{a}x=\frac{-c}{a}
  3. Add the square of half the coefficient of the xx-term, (b2a)2(\frac{b}{2a})^2, to both sides.
  4. Factor the left side as the square of the binomial. (The inside of square should be x−b2ax-\frac{b}{2a}).