Solve x² + 2x + 5 = 0

Quadratic equation, worked out line by line the way a teacher would write it.

Answer

Solutionno real solution

Step-by-step solution

6 steps
  1. 1 Given
    x^{2} + 2 x + 5 = 0

    Solve for x.

  2. 2 This is a quadratic in standard form ax² + bx + c = 0
    a = 1,\quad b = 2,\quad c = 5
  3. 3 Apply the quadratic formula
    x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}
  4. 4 Substitute a, b and c
    x = \frac{-2 \pm \sqrt{2^{2} - 4 \cdot 1 \cdot 5}}{2 \cdot 1}
  5. 5 Compute the discriminant D = b² − 4ac
    D = -16

    Negative discriminant: no real solutions (two complex ones).

  6. 6 Complex solutions (not real)
    x = 2 i - 1\quad \text{or} \quad x = -1 - 2 i
Open this problem in the solver

Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.