The quadratic formula solves a quadratic equation in standard form:

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

It gives the value or values of xx that make the quadratic equal to zero, where aa, bb, and cc are the coefficients in ax2+bx+c=0ax^2 + bx + c = 0.

When this method is the right choice

Use the quadratic formula for any equation of the form ax2+bx+c=0ax^2 + bx + c = 0 with a0a \ne 0. It is most useful when:

  1. A quadratic does not factor cleanly. If a quadratic factors quickly, factoring is often faster, but when it does not, the formula is the reliable method that still works.
  2. You want a method that always works for standard-form quadratics.
  3. You want to know how many real solutions to expect from the discriminant.
  4. You are comparing methods such as factoring, completing the square, and graphing.

The part under the square root,

b24acb^2 - 4ac

is called the discriminant. It predicts the kind of answer before you finish the arithmetic:

  1. If b24ac>0b^2 - 4ac > 0, there are two distinct real solutions.
  2. If b24ac=0b^2 - 4ac = 0, there is one repeated real solution.
  3. If b24ac<0b^2 - 4ac < 0, there are no real solutions. In that case, the solutions are complex.

A quadratic can have up to two xx-values where its graph crosses the xx-axis. The formula is the general result of completing the square, so it gives those intercepts directly without guessing factors.

The procedure, step by step

  1. Put the equation in standard form. Rewrite it so all terms are on one side and the quadratic equals zero.
  2. Identify the coefficients. Read off aa, bb, and cc, paying close attention to negative signs.
  3. Substitute into the formula. Simplify the discriminant before taking the square root.
  4. Evaluate both cases. The ±\pm means you work out both the plus case and the minus case, since they can give different solutions.

A full example through every step

Solve 2x2+3x2=02x^2 + 3x - 2 = 0.

Step 1 and 2 — standard form and coefficients. The equation is already in standard form, so

a=2,b=3,c=2a = 2, \quad b = 3, \quad c = -2

Step 3 — substitute.

x=3±324(2)(2)2(2)x = \frac{-3 \pm \sqrt{3^2 - 4(2)(-2)}}{2(2)}

Work inside the square root first:

324(2)(2)=9+16=253^2 - 4(2)(-2) = 9 + 16 = 25

So the formula becomes

x=3±254=3±54x = \frac{-3 \pm \sqrt{25}}{4} = \frac{-3 \pm 5}{4}

Step 4 — both branches.

x=3+54=24=12x = \frac{-3 + 5}{4} = \frac{2}{4} = \frac{1}{2} x=354=84=2x = \frac{-3 - 5}{4} = \frac{-8}{4} = -2

So the solutions are

x=12andx=2x = \frac{1}{2} \quad \text{and} \quad x = -2

Check one root by substitution. When x=12x = \frac{1}{2},

2(12)2+3(12)2=12+322=02\left(\frac{1}{2}\right)^2 + 3\left(\frac{1}{2}\right) - 2 = \frac{1}{2} + \frac{3}{2} - 2 = 0

That confirms the value works.

Where each step tends to break, and how to check

At standard form: not rewriting the equation as ax2+bx+c=0ax^2 + bx + c = 0 first. If the right side is not zero, the coefficients are not ready for the formula. Self-check: is one side exactly 00?

At identifying coefficients: losing the sign of bb or cc. If b=7b = -7, then b=7-b = 7, not 7-7. Self-check: copy each sign deliberately.

At substituting: forgetting that the denominator is the whole 2a2a. The entire numerator b±b24ac-b \pm \sqrt{b^2 - 4ac} sits over 2a2a. Also watch for arithmetic errors inside the discriminant, since small sign mistakes there change the entire answer.

At evaluating: calculating only one case. The ±\pm requires both versions. Self-check: substitute one root back into the original equation, as in the worked example.

Build the skill on a new equation

Solve x26x+5=0x^2 - 6x + 5 = 0 with the same steps: put it in standard form, identify aa, bb, and cc, compute the discriminant, and evaluate both branches. For a useful comparison, factor it afterward and check that both methods give the same roots.

Frequently Asked Questions

When can I use the quadratic formula?
Use it when an equation can be written in standard quadratic form with a nonzero x-squared coefficient. It works even when factoring is awkward.
What does the discriminant tell me?
The discriminant tells you how many real solutions to expect. Positive gives two real solutions, zero gives one repeated real solution, and negative gives no real solutions.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →