HSSC Forge / Maths 11th / Complex Numbers / Quadratics by Completing the Square (Complex Roots)

Quadratics by Completing the Square (Complex Roots)

For

x2+px+q=0x^2 + px + q = 0

, completing the square gives:

(x+p2)2=(p2)2q\left(x + \frac{p}{2}\right)^2 = \left(\frac{p}{2}\right)^2 - q

When the right-hand side is negative — say it equals

D-D

for some positive

DD

— the roots are complex:

x=p2±iDx = -\frac{p}{2} \pm i\sqrt{D}

Example:

x2+2x+5=0x^2 + 2x + 5 = 0

. Here

(x+1)2=15=4(x+1)^2 = 1-5 = -4

, so

x+1=±2ix + 1 = \pm 2i

and

x=1±2ix = -1 \pm 2i

.