Algebra 1 · Solving quadratic equations

The three cases

Two, one, or no real solutions — and it can be known in advance.

An ordinary-looking equation with no solution

The equation x^2 + 2x + 3 = 0 looks entirely innocent, with small positive coefficients. You could try to factor it, complete the square or use the formula, and every attempt ends in the same place: no real number solves it. How could you have known that in the very first second?

A quadratic equation asks where the parabola meets the x-axis. There are only three possibilities, and a single number computed from the coefficients says which one you are in before any solving begins.

The three pictures — and the number of solutions is exactly the number of meeting points.

\Delta = b^2 - 4ac

The discriminant \DeltaSolutionsThe picture
\Delta > 0TwoCrosses the axis
\Delta = 0OneTouches the axis
\Delta < 0None realMisses it

Two worked examples

Example 1 — computing the discriminant

  1. For x^2 - 5x + 6 = 0. a = 1,\; b = -5,\; c = 6
  2. Compute. \Delta = 25 - 24 = 1
  3. Positive, so two solutions.
  4. And indeed they are 2 and 3.

Example 2 — no real solutions

  1. For x^2 + x + 5 = 0. a = 1,\; b = 1,\; c = 5
  2. Compute. \Delta = 1 - 20 = -19
  3. Negative, so no real solution.
  4. The parabola sits entirely above the axis and never reaches it.
  5. Trying to factor it would have wasted several minutes.
A calculator: The discriminant b^2 - 4ac and the parabola — sliders for The coefficient a, The coefficient b, The constant c, with results that update at once on a graph.