Discriminant Quadratic Equation Calculator
Enter the coefficients a, b and c of a quadratic equation ax² + bx + c = 0 to instantly compute its discriminant Δ = b² − 4ac and find out how many real or complex roots the equation has.
Quadratic Discriminant Calculator
Discriminant of a Quadratic Equation Formula
Where:
- \(a\) — coefficient of \(x^2\) (must not be zero)
- \(b\) — coefficient of \(x\)
- \(c\) — constant term
- \(\Delta\) (Delta) — the discriminant of the equation \(ax^2 + bx + c = 0\)
The discriminant is the expression under the square root in the quadratic formula. Its sign tells you the nature of the roots without solving the equation:
- \(\Delta > 0\) — two distinct real roots
- \(\Delta = 0\) — one real repeated root
- \(\Delta < 0\) — two complex conjugate roots
Discriminant – Calculation Example
Example: find the discriminant of \(x^2 + 2x + 1 = 0\), so \(a = 1\), \(b = 2\), \(c = 1\).
\[ \Delta = b^2 - 4ac = 2^2 - 4 \cdot 1 \cdot 1 = 4 - 4 = 0 \]
Result: \(\Delta = 0\). The equation has exactly one real repeated root, \(x = -1\).
Another example: for \(x^2 - 3x + 2 = 0\) with \(a = 1\), \(b = -3\), \(c = 2\):
\[ \Delta = (-3)^2 - 4 \cdot 1 \cdot 2 = 9 - 8 = 1 \]
Result: \(\Delta = 1 > 0\), so there are two distinct real roots.
How to Use the Calculator
- Enter the coefficient of \(x^2\) in the field a (coefficient of x²).
- Enter the coefficient of \(x\) in the field b (coefficient of x).
- Enter the constant term in the field c (constant).
- The Discriminant result updates automatically and shows the value of \(\Delta\).
Use any real numbers, including negatives and decimals. Make sure \(a \neq 0\); if \(a = 0\), the equation is not quadratic but linear, and the discriminant is not defined.
What Is the Discriminant?
Every quadratic equation can be written in the standard form \(ax^2 + bx + c = 0\). Its roots are given by the quadratic formula:
\[ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \]
The expression under the square root, \(\Delta = b^2 - 4ac\), is called the discriminant (from the Latin \discernere\, "to distinguish"), because it distinguishes between the possible types of roots.
The logic is simple: the formula takes the square root of \(\Delta\). If \(\Delta > 0\), the square root is a positive real number, so the \(\pm\) sign produces two different real roots. If \(\Delta = 0\), both branches of the formula collapse to the single value \(x = -b/2a\), giving a repeated root. If \(\Delta < 0\), the square root of a negative number is not real; the two roots become a pair of complex conjugates with the same real part \(-b/2a\) and opposite imaginary parts.
The discriminant is a quick diagnostic tool: before doing any solving, one subtraction tells you whether the parabola \(y = ax^2 + bx + c\) crosses the x-axis twice, touches it once, or never reaches it. This is used everywhere from school algebra to engineering, physics, and optimization, where knowing whether a system has real solutions matters as much as the solutions themselves.
Interpreting the Result
- \(\Delta > 0\): two distinct real roots, \(x = \frac{-b \pm \sqrt{\Delta}}{2a}\). The parabola crosses the x-axis at two points.
- \(\Delta = 0\): one real root of multiplicity two, \(x = -\frac{b}{2a}\). The parabola is tangent to the x-axis at its vertex.
- \(\Delta < 0\): no real roots; two complex conjugate roots \(x = \frac{-b \pm i\sqrt{|\Delta|}}{2a}\). The parabola lies entirely above or below the x-axis. You can explore these roots with the Complex Root Calculator and the Complex Number Calculator.
Assumptions, Limitations and Tips
- The calculator assumes a genuine quadratic equation, so \(a \neq 0\). If \(a = 0\), the equation reduces to \(bx + c = 0\) and should be solved as linear.
- The result is rounded to three decimal places. With very large coefficients, the exact value of \(\Delta\) may have more digits than shown.
- The sign of \(\Delta\), not its magnitude, determines the type of roots. A larger positive \(\Delta\) simply means the two real roots are farther apart.
- \(\Delta\) tells you how many roots of each type exist, but not their values. To find the roots themselves, apply the quadratic formula or use the Quadratic Equation Calculator.
- For higher-degree polynomials, different tools are needed — see the Cubic Equation Calculator for third-degree equations.
Frequently Asked Questions
How do I find the discriminant of a quadratic equation by hand?
Take the coefficients from the standard form \(ax^2 + bx + c = 0\) and substitute them into \(\Delta = b^2 - 4ac\). Square \(b\), multiply \(4 \cdot a \cdot c\), then subtract. Careful with signs: if \(b\) or \(c\) is negative, its square or product may change sign. Example: for \(2x^2 - 5x - 3 = 0\), \(\Delta = (-5)^2 - 4 \cdot 2 \cdot (-3) = 25 + 24 = 49\).
What does it mean if the discriminant is negative?
A negative discriminant means the equation has no real roots. Instead, it has two complex conjugate roots: \(x = \frac{-b \pm i\sqrt{|\Delta|}}{2a}\). Geometrically, the parabola never touches the x-axis — it sits entirely above it (if \(a > 0\)) or below it (if \(a < 0\)). Negative discriminants are common in physics and engineering, where they signal that a system has no real equilibrium or solution.
Can the discriminant be zero, and what happens then?
Yes. When \(\Delta = 0\) the equation has exactly one real root of multiplicity two: \(x = -\frac{b}{2a}\). This is the vertex of the parabola, which is tangent to the x-axis. A perfect-square trinomial like \(x^2 - 6x + 9 = (x-3)^2\) always gives \(\Delta = 0\). Some textbooks call this a "double root" or "repeated root".
What is a 'good' or 'perfect' discriminant value?
There is no good or bad value — the discriminant is a diagnostic, not a score. A perfect square discriminant (0, 1, 4, 9, 16, …) is often convenient, because \(\sqrt{\Delta}\) is a whole number and the quadratic formula yields rational roots. In geometry problems, \(\Delta = 0\) often signals a tangent condition, while \(\Delta > 0\) means a line and a curve intersect at two points.
Why does the discriminant formula use 4ac and not something else?
The 4 and the square come from completing the square. Rewriting \(ax^2 + bx + c = 0\) as \(a\left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a}\) shows that \(b^2 - 4ac\) is exactly the numerator that must be non-negative for a real solution to exist. The same expression appears naturally under the square root in the quadratic formula, which is why it earned its own name.
What are common mistakes when computing the discriminant?
The most frequent errors are: forgetting to square a negative \(b\) (\((-3)^2 = 9\), not \(-9\)); dropping the sign of \(c\) in the product \(4ac\); using the coefficients from a non-standard form (always rearrange into \(ax^2 + bx + c = 0\) first, with zero on the right); and entering \(a = 0\), which makes the equation linear and the discriminant meaningless.
Does a bigger discriminant mean better roots?
No. Only the sign of \(\Delta\) matters for the type of roots. A larger positive value simply means the two real roots are farther apart, since their difference is \(\frac{\sqrt{\Delta}}{a}\). The magnitude also tells you how sensitive the roots are to small changes in the coefficients — a near-zero discriminant means the two roots are very close together.