Enter Coefficients

Type values for a, b, and c. The equation display and all results update in real time.

Standard Form
a + bx + c = 0
x² term
x term
constant

Enter a value for a to begin solving.

Discriminant Cheat Sheet

The discriminant Δ = b² - 4ac tells you the nature of the roots before you solve.

Condition Root Type Algebraic Meaning Parabola Shape
Δ > 0 Two distinct real roots Two different values of x satisfy the equation. Found with the full +/- quadratic formula. The parabola crosses the x-axis at two separate points.
Δ = 0 One repeated real root One value of x satisfies the equation (counted twice). x = -b / 2a. The parabola just touches the x-axis at exactly one point (its vertex).
Δ < 0 Two complex/imaginary roots No real solution. Roots are a complex conjugate pair: (real part) +/- (imaginary part)i. The parabola floats entirely above or below the x-axis and never intersects it.
Key Terms Explained
Quadratic Equation
A polynomial equation of degree 2, written in standard form as ax² + bx + c = 0, where a is not zero. The highest power of the variable is 2, which makes the graph a parabola.
Coefficient
A number multiplied by a variable. In ax² + bx + c = 0, the value a is the coefficient of x², b is the coefficient of x, and c is the constant term (the coefficient of x to the power zero).
Discriminant
The expression Δ = b² - 4ac computed from inside the square root in the quadratic formula. Its sign alone tells you whether roots are two distinct reals, one repeated real, or a complex conjugate pair.
Parabola
The U-shaped (or inverted-U) curve that is the graph of any quadratic function y = ax² + bx + c. If a is positive it opens upward; if a is negative it opens downward. Its turning point is the vertex.
Vertex
The highest or lowest point of a parabola. Its x-coordinate is -b/2a and its y-coordinate is c - b²/4a. When the discriminant is zero, the vertex sits exactly on the x-axis.
Real Root
A solution to the equation that is a real number (no imaginary component). A quadratic with a positive discriminant has two real roots; with a zero discriminant it has one repeated real root.
Imaginary Number (i)
The imaginary unit i is defined as the square root of -1. It extends the real number system to allow square roots of negative numbers. When the discriminant is negative, the quadratic's roots contain i.
Complex Conjugate
A pair of complex numbers of the form p + qi and p - qi that share a real part (p) but have opposite imaginary parts (+qi and -qi). When a quadratic has imaginary roots, they always come as a conjugate pair.
x-intercept
A point where the graph of a function crosses or touches the horizontal x-axis, meaning y = 0 at that point. The x-intercepts of a parabola correspond exactly to the real roots of the quadratic equation.
Repeated Root
Also called a double root. When the discriminant equals zero, both solutions of the quadratic formula collapse to the same value, x = -b / 2a. Algebraically, the factored form is a(x - r)² = 0.

The Complete Guide to the Quadratic Formula

The quadratic formula is one of the most important results in all of algebra. It gives a direct, closed-form answer for any quadratic equation ax² + bx + c = 0, no matter the values of a, b, and c. Whether you are solving homework problems, checking engineering calculations, or exploring the geometry of parabolas, understanding how and why the formula works gives you a powerful tool that applies far beyond the classroom.

How to Use This Solver

Enter your three coefficients into the a, b, and c input boxes. You do not need to press any button: the equation display updates in real time to show you the exact equation you have entered (with correct signs), and the results panel below it instantly computes the discriminant, the roots, and the vertex. Decimal and negative values are both fully supported. If you leave b or c blank, they are treated as zero. Leave a blank and the tool warns you that the equation is linear.

Deriving the Quadratic Formula

The quadratic formula is derived by completing the square on the general equation ax² + bx + c = 0. Start by dividing every term by a: x² + (b/a)x + c/a = 0. Move the constant to the right: x² + (b/a)x = -c/a. Add (b/2a)² to both sides to complete the square: (x + b/2a)² = (b² - 4ac) / 4a². Take the square root of both sides and solve for x to arrive at the classic formula: x = (-b +/- sqrt(b² - 4ac)) / 2a. The expression inside the square root, b² - 4ac, is the discriminant.

The Three Cases of the Discriminant

The sign of the discriminant Δ = b² - 4ac determines the character of the roots before any full computation. If Δ is greater than zero, the square root is a positive real number, and the plus-or-minus gives two different real values for x. If Δ is exactly zero, the square root vanishes and both values collapse to the single root x = -b/2a. If Δ is negative, the square root of a negative number introduces the imaginary unit i, and the two roots are a complex conjugate pair of the form p + qi and p - qi, where p = -b/2a and q = sqrt(|Δ|)/2a.

Complex Roots in Practice

Imaginary roots are not a failure of the equation: they are valid mathematical answers. They appear whenever the parabola y = ax² + bx + c does not intersect the x-axis. In electrical engineering, complex numbers describe impedance and phase relationships in AC circuits. In control systems, complex roots of the characteristic polynomial indicate oscillatory behavior. In signal processing, complex exponentials are the building blocks of Fourier analysis. So while complex roots may seem abstract, they have concrete physical meaning across many fields.

The Parabola and Its Vertex

Every quadratic function produces a parabola when graphed. The parabola opens upward when a is positive and downward when a is negative. Its axis of symmetry is the vertical line x = -b/2a, and the vertex (the turning point) sits on that axis at the coordinates (-b/2a, c - b²/4a). The vertex is important because it tells you the minimum output (when a is positive) or the maximum output (when a is negative) of the function. In optimization problems, finding the vertex is often the final goal.


Frequently Asked Questions

The discriminant Δ = b² - 4ac is a quick diagnostic number that tells you the nature of the roots without fully solving the equation. If Δ is greater than zero, the equation has two distinct real roots and the parabola crosses the x-axis at two separate points. If Δ equals zero, there is exactly one repeated real root and the parabola just touches the x-axis at its vertex. If Δ is less than zero, the roots are a complex conjugate pair containing the imaginary unit i, and the parabola does not intersect the x-axis at all.

The discriminant is especially useful when you only need to know the type of solution, not the solution itself. For example, checking whether a physical trajectory actually reaches ground level, or whether a particular circuit equation has oscillatory solutions.

The graph of y = ax² + bx + c is a parabola. Setting y = 0 gives the quadratic equation ax² + bx + c = 0, whose solutions are the x-values where the parabola intersects the horizontal axis. So the roots are exactly the x-intercepts of the parabola.

Two distinct real roots mean two x-intercepts: the parabola crosses the x-axis at two separate points. One repeated root means the parabola just touches the x-axis at one point, which is the vertex. Complex/imaginary roots mean there are no x-intercepts: the parabola floats entirely above the axis (when a is positive) or below it (when a is negative) without ever crossing.

The imaginary unit i is defined as the square root of -1. This definition was introduced because no real number, when squared, produces a negative result. The quadratic formula requires computing the square root of the discriminant. When Δ is negative, that square root has no real value, so mathematicians extended the number system using i to express the result.

The two imaginary roots of a quadratic always form a complex conjugate pair: one is p + qi and the other is p - qi. Although the word "imaginary" sounds abstract, these numbers have direct applications in electrical engineering (impedance), control systems (stability analysis), quantum mechanics, and signal processing. Imaginary roots simply mean the parabola does not cross the x-axis, not that the equation is unsolvable.

When a = 0, the x-squared term disappears and the equation reduces from ax² + bx + c = 0 to bx + c = 0, which is a linear equation of degree 1, not degree 2. The quadratic formula divides by 2a, so setting a = 0 would mean dividing by zero, which is undefined.

A linear equation has at most one solution: x = -c/b (provided b is also not zero). If both a and b are zero, the equation becomes c = 0, which is either always true (if c = 0) or has no solution (if c is not zero). This solver automatically detects when a = 0 and switches to the correct linear or degenerate interpretation.

No. The Fundamental Theorem of Algebra states that a polynomial of degree n has exactly n roots in the complex number system, counting multiplicity. A quadratic is degree 2, so it always has exactly two roots. When the discriminant is zero, both roots are equal (a repeated root counted twice). When the discriminant is negative, the two roots are a complex conjugate pair. In all three cases, the total count is always exactly two.

This is why the plus-or-minus sign in the quadratic formula produces exactly the right number of solutions: the + branch and the - branch each give one root. When Δ = 0, both branches give the same value, confirming the double root. No third solution is ever possible for a true quadratic.