x^2 - x + 1 = 0

Check the final answer first, then review the worked steps.

Answer

\(\frac{1+i\sqrt{3}}{2}, \frac{1-i\sqrt{3}}{2}\)

Work

a=1, b=-1, c=1
x = \frac{1 \pm \sqrt{(-1)^2 - 4(1)(1)}}{2(1)}
x = \frac{1 \pm \sqrt{-3}}{2}
x = \frac{1 \pm i\sqrt{3}}{2}

Step-by-step solution

  1. Identify the coefficients $a=1$, $b=-1$, and $c=1$ for the quadratic equation $ax^2 + bx + c = 0$.
  2. Use the quadratic formula: $$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$
  3. Substitute the values: $$x = \frac{-(-1) \pm \sqrt{(-1)^2 - 4(1)(1)}}{2(1)}$$
  4. Simplify the expression: $$x = \frac{1 \pm \sqrt{1 - 4}}{2} = \frac{1 \pm \sqrt{-3}}{2}$$
  5. Write the result in terms of $i$: $$x = \frac{1 \pm i\sqrt{3}}{2}$$