Learn · Algebra and geometry (grades 8–10)

How to Use the Quadratic Formula, Step by Step

The quadratic formula solves any equation of the form ax² + bx + c = 0, even when it can't be factored. You just plug in a, b and c.

Try it with your own problem ↓

The steps

  1. Move everything to one side so the equation equals 0, and read off a, b and c.
  2. Write the formula: x = (−b ± √(b² − 4ac)) ÷ (2a).
  3. Work out the discriminant, b² − 4ac, first. If it is positive there are two real solutions, if it is 0 there is one, and if it is negative there are no real solutions.
  4. Take the square root and work out the "+" and "−" versions separately.
  5. Simplify each answer, and check by putting it back into the equation.

A worked example

Solve 2x² − 5x − 3 = 0.

  1. Here a = 2, b = −5 and c = −3.
  2. Discriminant: b² − 4ac = (−5)² − 4(2)(−3) = 25 + 24 = 49. Its square root is 7.
  3. x = (−(−5) ± 7) ÷ (2 · 2) = (5 ± 7) ÷ 4.
  4. Plus: (5 + 7) ÷ 4 = 12 ÷ 4 = 3.
  5. Minus: (5 − 7) ÷ 4 = −2 ÷ 4 = −1/2.
  6. Check x = 3: 2(9) − 15 − 3 = 0. ✓

x = 3 or x = −1/2.

Try it with your own problem

Open the free The Area Box with this example already filled in. It shows every step, and you can type over it with your own numbers.

Work it out: 2x^2-5x-3=0Opens The Area Box with this example

Or try these

Common mistakes

Questions people ask

What does the discriminant tell me?

It tells how many real solutions there are: positive means two, zero means one, and negative means none (the solutions are complex numbers).

When should I use the formula rather than factoring?

When the quadratic doesn't factor easily. It always works.

Where does the formula come from?

From completing the square on ax² + bx + c = 0 in general.

Keep learning

Show The Steps is free, with no accounts or ads, and everything is worked out in your own browser. Start at the home page.