Solution:
Concept: The roots of ax2+bx+c=0 are given by the quadratic formula
x=2a−b±b2−4ac
When b2−4ac<0 we write −n=in (for n>0), and the roots are complex.
Step 1 — Coefficients and discriminant. Here a=1, b=1 and c=1:
D=12−4(1)(1)=−3
Step 2 — Apply the formula. Use the quadratic formula 2a−b±D with a=1, b=1 and D=−3, and write −3 as 3i:
x=2−1±−3=2−1±3i
Therefore, x=−21±23i.