How do you solve x2+x+1=0 using completing the square?

1 Answer
Jun 13, 2015

This quadratic has no real roots, but:

x2+x+1=(x+12)2+34

giving complex solutions: x=12±32i

Explanation:

x2+x+1 is one of the factors of x31

x31=(x1)(x2+x+1)=(x1)(xω)(xω2)

where ω=12+32i=cos(2π3)+isin(2π3)

is called the primitive complex root of unity.

Pretending we don't know that,

x2+x+1=x2+x+1414+1

=(x+12)2+34

So this is zero when (x+12)2=34

Hence x+12=±34=±32i

So x=12±32i