Equation Coefficients
Cannot be zero (must be quadratic)
Quadratic Formula
Solutions
Parabola Properties
Parabola Graph
Key Points
📚 Understanding the Discriminant
Overview
This quadratic equation solver finds the roots of any equation in the form ax² + bx + c = 0, whether they are two distinct real numbers, one repeated root, or a pair of complex conjugates. Alongside the solutions it reports the discriminant, the vertex, the axis of symmetry, the y-intercept and whether the parabola opens upward or downward, then graphs the curve and its key points. It is aimed at algebra and precalculus students, teachers and anyone modeling projectile motion, area or profit problems.
Roots come from the quadratic formula, x = (−b ± √(b² − 4ac)) ÷ 2a. The discriminant Δ = b² − 4ac decides the type of answer: positive gives two real roots, zero gives one, and negative gives complex roots of the form p ± qi. For two real roots the solver uses a numerically stable version of the formula, so it stays accurate even when b² is much larger than 4ac. Answers are shown to four decimal places.
If a is 0 the equation is linear rather than quadratic, and the page solves bx + c = 0 instead.
How to Use
- Enter Coefficient a (the x² term). It is preloaded with the example x² − 5x + 6 = 0.
- Enter Coefficient b (the x term) and Constant c. Use a minus sign for negative values, and type 0 for a missing term.
- Check the equation preview at the top of the panel — results update instantly as you type, with no button to press.
- Read the Solutions card for the solution type, discriminant and Root 1 (x₁) and Root 2 (x₂), then the Parabola Properties card for the vertex, axis of symmetry, y-intercept and direction.
- Scroll down to the Parabola Graph, plotted at least five units either side of the vertex and widened to include any real roots, and the Key Points chart.
Frequently Asked Questions
How do you solve a quadratic equation with the quadratic formula?
Identify a, b and c, compute the discriminant b² − 4ac, then apply x = (−b ± √Δ) ÷ 2a. For x² − 5x + 6 = 0, a = 1, b = −5 and c = 6, so Δ = 25 − 24 = 1. The roots are (5 + 1) ÷ 2 = 3 and (5 − 1) ÷ 2 = 2. The vertex is at x = 5 ÷ 2 = 2.5, where y = −0.25.
What does the discriminant tell you?
The discriminant, Δ = b² − 4ac, tells you how many real solutions there are without fully solving. If Δ > 0, the parabola crosses the x-axis twice and there are two real roots. If Δ = 0, it just touches the x-axis at its vertex and there is one repeated root — for x² + 6x + 9 = 0, Δ = 0 and x = −3. If Δ < 0, there are no real roots, only complex ones.
How do you find complex roots of a quadratic?
When the discriminant is negative, take the square root of its absolute value and attach i. For 2x² + 4x + 5 = 0, Δ = 16 − 40 = −24. The real part is −b ÷ 2a = −1 and the imaginary part is √24 ÷ 4 ≈ 1.2247, so x = −1 ± 1.2247i. The solver shows these as two complex conjugate roots.
How do you find the vertex of a parabola?
The x-coordinate of the vertex is −b ÷ 2a, which is also the axis of symmetry. Substitute it back into the equation to get the y-coordinate. If a is positive the parabola opens upward and the vertex is its lowest point; if a is negative it opens downward and the vertex is its highest point — the maximum height in a projectile problem, for example.
How do I use a quadratic to solve a projectile problem?
In feet, the height of an object launched upward is often modeled as h = −16t² + v₀t + h₀. A ball thrown up at 64 ft/s from 80 ft gives −16t² + 64t + 80 = 0. Entering a = −16, b = 64, c = 80 yields roots 5 and −1, so it lands after 5 seconds (ignore the negative time). The vertex (2, 144) shows a maximum height of 144 ft at 2 seconds.
What happens if coefficient a is zero?
With a = 0 there is no x² term, so the equation is linear, not quadratic. The solver recognizes this and solves bx + c = 0 directly, giving x = −c ÷ b. If b is also 0, the equation either holds for every x (when c = 0) or has no solution at all (when c is any other number).