Search the complete library

What do you want to learn or calculate?

Quick linksAll calculatorsMath subjectsPractice questionsFormula library

Unlock Unlimited Help

Try unlimited chats, explanations, practice, flashcards, and more free for 7 days.

7 days free · cancel anytime

MathGPT Unlimited

  • Chats and explanations
  • Personalized practice exams
  • Custom study guides
  • Flashcard sets
  • Interactive graphs
  • Cancel anytime
Choose a billing period
Ask a parent to pay

No charge for 7 days. After the trial, your selected plan renews automatically until cancelled. Cancel anytime from your plan page; payments are processed securely by Stripe.

Find the discriminant and what it tells you

Use the free discriminant calculator to model the algebraic relationship, calculate the requested quantity, and verify it in the original expression. Choose a focused operation below to calculate, inspect the method, and connect the result to a visual model.

The visual updates with your calculation.

Result—Choose a mode, enter the known values, and calculate.
Show your work Step-by-step method
  1. The calculation method and verification will appear here.
Ask MathGPT for a full symbolic explanation →
Algebra

Discriminant Calculator explained

The short version

  • The discriminant is the single number b² − 4ac hiding under the square root in the quadratic formula.
  • Its sign says how many real answers there are, and whether it is a perfect square says whether the quadratic factors with whole numbers.
  • It says nothing at all if a is 0, because then the expression is not a quadratic and there is no parabola to describe.

The formula this page uses

D = b² − 4ac D > 0: two real roots D = 0: one repeated root D < 0: two complex roots

What each part means

SymbolWhat it means
a — Coefficient of x²Must not be zero. Its sign decides whether the parabola opens upward or downward.
b — Coefficient of xSquared first, so its sign never survives into b². A −7 becomes +49.
c — Constant termCarries its own sign into −4ac, which is where most sign errors happen.
D — DiscriminantA plain number with no unit. Only its sign and whether it is a perfect square matter.

Show your work: a full example

  1. The equation3x² − 7x + 2 = 0, so a = 3, b = −7, c = 2
  2. Square b, keeping the minus inside the bracket(−7)² = 49
  3. Work out 4ac4 × 3 × 2 = 24
  4. SubtractD = 49 − 24 = 25
  5. 25 is positive, so there are two different real roots√25 = 5, a whole number
  6. A whole-number square root means whole-number brackets exist3x² − 7x + 2 = (3x − 1)(x − 2)
  7. Read the roots off the bracketsx = 1/3 and x = 2

A second, different case

  1. A different case: the discriminant lands on zerox² − 12x + 36 = 0
  2. Work it out(−12)² − 4(1)(36) = 144 − 144 = 0
  3. Zero means the ± branch collapsesx = 12/2 = 6, a single repeated root
  4. The graph just grazes the axisy = (x − 6)² touches at (6, 0) and turns back up
  5. Now the case the formula cannot describe0x² + 5x − 3 = 0, where a = 0
  6. The discriminant would say 25 − 0 = 25but 2a in the denominator is 0, so the formula divides by zero
  7. Solve it as the straight line it is5x = 3, so x = 0.6, and there is only ever one answer
Copy-ready example

3x² − 7x + 2 = 0, so a = 3, b = −7, c = 2

The equation

A perfect-square discriminant is the promise that whole-number brackets exist

EquationD = b² − 4ac√DPerfect square?Factored, or why not
3x² − 7x + 2 = 049 − 24 = 255yes(3x − 1)(x − 2)
x² + 5x + 6 = 025 − 24 = 11yes(x + 2)(x + 3)
6x² + x − 15 = 01 + 360 = 36119yes(2x − 3)(3x + 5)
4x² − 12x + 9 = 0144 − 144 = 00yes(2x − 3)², one repeated root
x² − 2x − 4 = 04 + 16 = 20≈ 4.4721noroots 1 ± √5, so no whole-number brackets
2x² + 4x + 5 = 016 − 40 = −24not a real numbernoroots −1 ± 1.2247i, no real factoring
x² + x + 1 = 01 − 4 = −3not a real numbernoroots −0.5 ± 0.8660i

Three mistakes to check for

What students writeWhy it's wrongDo this instead
For 3x² − 7x + 2, writing D = −7² − 24 = −73Without brackets the minus escapes the square. b² means (−7)², which is +49.Bracket it: (−7)² − 4(3)(2) = 49 − 24 = 25.
For x² − 2x − 4, writing D = 4 − 16 = −12c is −4, so −4ac is −4(1)(−4) = +16, not −16. Two minuses make a plus.D = 4 + 16 = 20, which is positive, so there are two real roots.
D = 20, so the roots are (2 ± 20)/2 = 11 and −9The discriminant still has to be square-rooted before it goes into the formula.√20 ≈ 4.4721, so the roots are (2 ± 4.4721)/2 = 3.2361 and −1.2361.

Questions about the Discriminant Calculator

Does the discriminant give me the roots themselves?

No, only their type and count. D = 25 tells you there are two clean rational roots but not that they are 1/3 and 2. You still need the full formula, or the brackets, to get the actual numbers.

What happens to the discriminant if a = 0?

The number b² − 4ac still calculates, but it is meaningless. With no x² term there is no parabola, so there is nothing for D to describe, and the equation has exactly one solution rather than two.

Why does a perfect-square discriminant mean it factors nicely?

Because the roots come out as (−b ± √D)/(2a). If √D is a whole number, both roots are fractions of whole numbers, and every rational root corresponds to a bracket with whole numbers in it.

Is there a discriminant for a cubic?

Yes, but it is a much longer expression and b² − 4ac is not it. That short form belongs to quadratics only, because it comes from completing the square on ax² + bx + c.

Where to go next

Calculate, interpret, verify.

This workspace keeps the formula and the meaning together. Decimal results are rounded for display; retain full precision when you continue a calculation.

01

Enter known values

Match each input to the quantities in the problem and keep units consistent.

02

Use the relationship

The result panel identifies the formula or algorithm and shows the main substitutions.

03

Read the visual

Use the diagram, plot, or data display to check scale, direction, and plausibility.

04

Practice unaided

Move to targeted questions once you can explain why the method applies.

Continue from this result

Turn one calculation into understanding.

Compare another tool, review the underlying idea, then solve a fresh problem without copying the example.

Recommended next tools

Calculators that work well with this one

See all calculators →

Algebra calculator

Evaluate algebraic relationships and inspect the working.

Open free tool

Quadratic formula calculator

Find roots and connect the discriminant to the graph.

Open free tool

Graphing calculator

Compare equations, roots, intercepts, and inequalities visually.

Open free tool
Learn the mathematics

Understand algebra behind this calculator

A calculator confirms an answer. Working the method yourself is what makes the next problem faster.