The Discriminant: Why a Quadratic Has Two, One, or No Solutions

Math September 2, 2026

The discriminant tells you in ten seconds whether a quadratic has two roots, one, or none, and whether factoring is worth trying.

Quick answer: The discriminant is b2 - 4ac, the part of the quadratic formula sitting under the square root. Positive means two real solutions, zero means one, negative means none on the real number line. Working it out first takes ten seconds and tells you what kind of answer to expect before you commit to the full formula.

Most quadratic mistakes are not arithmetic mistakes. They come from not knowing what shape the answer should be, so a result of "no real solution" looks like a broken calculator rather than a correct one. Checking the discriminant fixes that.

Why one small expression decides everything

The quadratic formula is x = (-b plus or minus the square root of (b2 - 4ac)) divided by 2a. Everything outside the root is fixed arithmetic. The only thing that can change the character of the answer is what sits inside it, because a square root behaves in three different ways depending on whether its input is positive, zero, or negative.

Run your own numbers

It is free, there is no sign-up, and it works on your phone.

Open the Quadratic Calculator

Three equations, three outcomes

Take x2 - 5x + 6 = 0. Here a = 1, b = -5, c = 6, so the discriminant is 25 - 24 = 1. Positive, so two real roots. The formula gives (5 plus or minus 1) / 2, which is 3 and 2. The parabola crosses the x-axis twice.

Now x2 - 6x + 9 = 0. The discriminant is 36 - 36 = 0. One root: 6 / 2 = 3. This is a perfect square, (x - 3) squared, and the parabola touches the axis at a single point rather than crossing it. Textbooks call that a repeated or double root.

And x2 + 2x + 5 = 0. The discriminant is 4 - 20 = -16. Negative, so no real solutions at all. The parabola sits entirely above the x-axis and never touches it. The complex solutions are -1 + 2i and -1 - 2i, which matter in electronics and signal work and nowhere in a school exam.

What the sign means on a graph

The discriminant counts x-intercepts. Two, one, or none. If a problem asks when a ball reaches a certain height and the discriminant comes out negative, it means the ball never gets that high, and the equation is telling you so rather than failing.

Try it with your figures

No sign-up, no ads. Your inputs stay in your browser.

Use the Quadratic Calculator

When to factor and when to reach for the formula

If a is 1 and you can find two numbers that multiply to c and add to b, factoring is faster. For x2 - 5x + 6 those numbers are -2 and -3, so it splits into (x - 2)(x - 3) in about five seconds.

A discriminant that is a perfect square (1, 4, 9, 16, 25) means the equation factors with whole numbers, so trying was worth it. Any other value means the roots are irrational and factoring will waste your time. That single check is the practical reason to compute the discriminant first, and it pairs with knowing when a root simplifies at all, which our piece on the square root calculator goes into.

How to use the quadratic calculator

The calculator asks for three numbers: a, b, and c. It returns both roots, the discriminant, and usually the vertex. For a straight run through the formula itself, step by step, our quadratic formula walkthrough covers the order of operations.

Getting a, b and c out of the question

Rearrange to ax2 + bx + c = 0 first, with everything on one side and zero on the other. This is where most wrong answers begin. Given 3x2 = 7x - 2, move both terms across to get 3x2 - 7x + 2 = 0, so a = 3, b = -7, c = 2. The minus sign belongs to b. Type it as -7, not 7. If a term is missing, its coefficient is zero: x2 - 9 = 0 means b = 0, not b = 9.

Check your own case

Free to use, and it takes less than a minute.

Open the Quadratic Calculator

Common questions

Why does my calculator say "no real solution"? The discriminant came out negative. That is a genuine result, not a failure. The equation has two complex roots and there is no point where the curve meets the x-axis.

What if a is zero? Then it is not a quadratic, it is a linear equation, and the formula would divide by zero. Solve bx + c = 0 directly instead, which gives x = -c/b.

I got two answers but only one makes sense. Which do I use? The one that fits the situation. Word problems about time, length, or quantity discard negative roots. If a projectile question returns t = 4.2 and t = -0.7, the answer is 4.2 seconds and the other root is a mathematical artefact.

Do I always need the formula? No. If there is no x term, as in x2 = 49, take the square root of both sides and remember both signs: x = 7 and x = -7. Completing the square is also quicker when b is an even number.

Have a question, a correction, or a calculator request? Contact our editorial team — we usually reply within a day.