Skip to content
BestCalculators
Free online calculators and converters

Math & Statistics

Quadratic Formula Calculator: Roots and Discriminant

Solve ax² + bx + c = 0 with the discriminant, both roots real or complex, and the vertex of the parabola they belong to.

Cannot be zero. With no x² term the equation is linear and the quadratic formula divides by nothing.

Discriminant, b² − 4ac

1

Positive means two real roots, zero means one repeated root, negative means none you can plot. Here it gives 2.

How many real roots
2roots

The number of times the parabola crosses the x-axis. Zero does not mean the equation has no solutions — it means both are complex.

First root
3

When the discriminant is negative this is the real part of a complex pair, and 0 is the imaginary part.

Second root
2

Identical to the first when the discriminant is zero, which is what a repeated root means.

Imaginary part, when there is one
0

Zero whenever real roots exist. Otherwise the two solutions are the first root plus and minus this times i.

The two roots added
5

Always −b ÷ a, whether the roots are real or complex. It is a quick way to check an answer without redoing the square root.

The two roots multiplied
6

Always c ÷ a. Together with the sum this is Vieta’s pair, and it is how factorising by inspection actually works.

Vertex, x
2.5

Halfway between the roots, which is why it sits at −b ÷ 2a whether or not the roots are real.

Vertex, y
-0.25

The minimum when a is positive and the maximum when it is negative.

Parabola opens upward
1

1 up, 0 down. The sign of a decides it, and nothing else does.

Where it crosses the y-axis
6

Simply c, since setting x to zero removes both other terms.

Distance from the vertex to each root
0.5

The roots sit symmetrically either side of the axis of symmetry, so this is half the gap between them.

Factors over the integers
1

1 means the discriminant is a perfect square, so the equation factorises cleanly and the exam question wanted factorising rather than the formula.

How to use this calculator

  1. Enter the non-zero value for a — the x² coefficient into the first input field to ensure the equation remains quadratic.
  2. Type the numerical coefficient for b — the x coefficient into the second input field.
  3. Input the final constant value into c — the constant to complete the polynomial definition.
  4. Review the calculated discriminant, roots, vertex, and parabola characteristics generated instantly on your screen.

Decoding the Quadratic Equation Solver

Every second-degree polynomial can be written in the standard form ax² + bx + c = 0. Using a reliable quadratic equation solver allows you to find the exact points where the curve crosses the horizontal axis. When dealing with complex trajectories, projectile motion, or optimization problems, finding these values manually can introduce severe rounding errors. The entire process relies on the relationship between the coefficients and the geometric shape of a parabola.

Behind the interface, this tool does far more than just execute a single algebraic rule. It simultaneously computes the discriminant, evaluates whether roots are real or complex, isolates the vertex coordinates, determines the direction of the opening, and even checks if the expression factors neatly over the integers. Understanding what these outputs mean ensures you can trust the numbers in your homework, engineering design, or financial projections.

Understanding the Discriminant and Roots

The heartbeat of any discriminant calculator is the expression b² − 4ac. This single value tells you the exact nature of the equation's solutions before you even finish solving it. If the discriminant is strictly positive, the graph intersects the x-axis twice, yielding two distinct real roots. If the value lands precisely on zero, the parabola touches the axis at a single point, creating one repeated root. When the discriminant dips below zero, the curve floats entirely above or below the axis, resulting in complex conjugate roots featuring an imaginary part.

Applying the foundational formula x = (−b ± √(b² − 4ac)) ÷ 2a brings these roots to life. Furthermore, you can instantly verify your work using foundational properties: the sum of roots always equals −b ÷ a, while the product of roots equals c ÷ a. If your calculated roots fail these two quick checks, an arithmetic error occurred during the substitution phase.

Real Versus Complex Outcomes

  • Discriminant > 0: Two distinct real roots representing standard axis crossings.
  • Discriminant = 0: One real root where the vertex rests directly on the x-axis.
  • Discriminant < 0: Zero real roots and two complex numbers driven by the imaginary part calculation.

Analyzing the Vertex of a Parabola

Every quadratic function graphs into a symmetrical curve called a parabola. Finding the vertex of a parabola gives you the absolute maximum or minimum value of the function, depending entirely on whether the curve opens upward or downward. The x-coordinate of this turning point is found using −b ÷ 2a, and substituting that value back into the function yields the y-coordinate at c − b² ÷ 4a.

The coefficient a — the x² coefficient dictates the vertical stretch and orientation. If this value is positive, the parabola opens upward like a smiling bowl, meaning the vertex represents a strict minimum. If the value is negative, the parabola opens downward like a frown, making the vertex a maximum. Additionally, the constant c — the constant serves a double duty as the exact point where the graph crosses the vertical y-axis.

Common Pitfalls and Reliability

The most frequent mistake users make with a quadratic formula calculator is setting a — the x² coefficient to zero. Doing so collapses the polynomial into a simple linear equation, causing division by zero errors inside the algebraic routine. Always verify that your highest-degree term retains a non-zero numerical multiplier before running the calculations.

Another trap involves losing track of negative signs during intermediate steps, particularly when squaring negative numbers for b — the x coefficient. For instance, squaring −4 yields a positive 16; forgetting this rule flips the sign of your discriminant entirely and ruins your root analysis. When dealing with extreme decimal inputs possessing high precision requirements, floating-point rounding limitations can occasionally affect the factoring check over the integers.

Discriminant SignNumber of RootsGraph IntersectionParabola Behavior
Positive (> 0)Two Real RootsCrosses x-axis twiceExtends across axis
Zero (= 0)One Real RootTouches x-axis onceVertex on axis
Negative (< 0)Two Complex RootsZero crossingsFloats off axis

The formula

x = (−b ± √(b² − 4ac)) ÷ 2adiscriminant = b² − 4ac decides how many real roots existvertex = (−b ÷ 2a, c − b² ÷ 4a)sum of roots = −b ÷ a · product of roots = c ÷ a

Frequently asked questions

What happens if a is set to zero in a quadratic equation?

Setting a to zero eliminates the squared term entirely, transforming your quadratic equation into a standard linear equation. This causes the underlying formulas to attempt division by zero, which prevents valid roots from being computed.

How can I tell if a quadratic equation can be factored easily?

An equation factors cleanly over the integers when the discriminant is a perfect square number. When the square root of the discriminant yields a whole integer without decimals, the roots are rational and easy to factor.

Why does the result show imaginary numbers instead of real roots?

Imaginary numbers appear when the discriminant is negative, meaning the value inside the square root is less than zero. This indicates that the parabola never touches or crosses the horizontal x-axis.

What does the y-intercept represent in this context?

The y-intercept represents the exact vertical height where the parabola crosses the vertical axis when x equals zero. This value always matches the standalone constant term in your standard equation format.

How do I find the maximum or minimum value of the function?

The maximum or minimum value is located directly at the y-coordinate of the vertex. If the parabola opens upward, this point is the absolute minimum; if it opens downward, it is the absolute maximum.

Sources

Last reviewed . Results are for general guidance and are not professional advice.