Solve x^2 = 12x - 45 using the quadratic formula.

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

Answer

\(6 + 3i, 6 - 3i\)

Work

x^2 - 12x + 45 = 0
x = \frac{12 \pm \sqrt{144 - 180}}{2}
x = \frac{12 \pm \sqrt{-36}}{2}
x = 6 \pm 3i

Step-by-step solution

  1. Rewrite the equation in standard form $ax^2 + bx + c = 0$ by subtracting $12x$ and adding $45$ to both sides: $x^2 - 12x + 45 = 0$.
  2. Identify the coefficients: $a = 1$, $b = -12$, and $c = 45$.
  3. Use the quadratic formula $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$.
  4. Substitute the values: $x = \frac{-(-12) \pm \sqrt{(-12)^2 - 4(1)(45)}}{2(1)}$.
  5. Simplify the expression: $x = \frac{12 \pm \sqrt{144 - 180}}{2} = \frac{12 \pm \sqrt{-36}}{2}$.
  6. Simplify the square root of the negative number: $\sqrt{-36} = 6i$.
  7. Divide by 2: $x = \frac{12 \pm 6i}{2} = 6 \pm 3i$.