calculation focus
Discriminant Calculator
Calculate the discriminant (b²-4ac) and instantly determine whether a quadratic equation has two real roots, one repeated root, or complex roots.
Click to show tips
Try an Example
Pick a scenario to see how the calculator works, then adjust the values
Standard Form
Classic quadratic x² − 5x + 6 = 0 with two integer roots (x = 2 and x = 3)
Key values: a = 1 · b = −5 · c = 6
Physics Problem
Projectile height equation −4.9t² + 20t + 1.5 = 0 (when does the ball hit the ground?)
Key values: a = −4.9 · b = 20 · c = 1.5
Complex Roots
Equation x² + 2x + 5 = 0 with no real solutions (discriminant < 0)
Key values: a = 1 · b = 2 · c = 5
The Discriminant
The discriminant of a quadratic is:
It tells you everything about the nature of the roots without computing them. It's the quantity under the square root in the quadratic formula.
Three Cases
| Condition | Root nature | Parabola behavior | Example |
|---|---|---|---|
| Two distinct real roots | Crosses x-axis at two points | , Δ = 1 | |
| One repeated root (double root) | Touches x-axis at vertex | , Δ = 0 | |
| Two complex conjugate roots | Never touches x-axis | , Δ = −4 |
Perfect square test: When and is a perfect square, the roots are rational (factorable over integers). When but not a perfect square, the roots are irrational (involve square roots).
Applications of the Discriminant
- Line-circle intersection: Substituting a line equation into a circle equation gives a quadratic. : two intersection points (secant). : tangent line. : no intersection.
- Optimization constraints: Ensuring a quadratic expression is always positive requires and .
- Parameter ranges: “For which values of does have real roots?” Solve to get .
Beyond Quadratics
The discriminant generalizes to higher-degree polynomials. For a cubic :
: three distinct real roots. : repeated root. : one real root and two complex conjugate roots.
Frequently Asked Questions
What is the discriminant of a quadratic equation?
The discriminant is the expression from the quadratic formula. It appears under the square root and determines the nature of the roots without solving the equation. For , calculate to classify the solutions.
What does a positive discriminant mean?
A positive discriminant () means the equation has two distinct real roots. If the discriminant is also a perfect square, the roots are rational numbers and the quadratic can be factored over the integers. If not a perfect square, the roots are irrational.
What does a zero discriminant mean?
A zero discriminant () means the equation has exactly one repeated (double) root. Graphically, the parabola touches the x-axis at exactly one point, which is its vertex. The root is .
What does a negative discriminant mean?
A negative discriminant () means there are no real roots. The equation has two complex conjugate roots of the form and . Graphically, the parabola never crosses the x-axis.
How is the discriminant used outside of solving equations?
The discriminant determines line-circle intersections (positive = secant, zero = tangent, negative = no intersection), checks if a quadratic expression is always positive or negative, and finds parameter ranges that guarantee real solutions. It generalizes to cubic and higher-degree polynomials.
Related calculation-focus Variants
Explore more calculation-focus options
More Math Calculators
Explore the category