Quadratic Formula Calculator

Solve quadratic equations ax² + bx + c = 0. Find real and complex roots, discriminant, vertex, axis of symmetry, and step-by-step solution.

📐 Quadratic Formula: ax² + bx + c = 0
Results

Enter a, b, c coefficients and click Calculate.

How Does the Formula Work?

The Quadratic Formula Calculator solves any second-degree polynomial equation of the form ax² + bx + c = 0. Enter the three coefficients a, b, and c, and the calculator instantly finds both roots (solutions), the discriminant, the vertex of the parabola, the axis of symmetry, whether the parabola opens upward or downward, and provides a complete step-by-step solution showing all intermediate calculations. The tool handles all three cases: two distinct real roots, one repeated real root, and complex conjugate roots.

The Quadratic Formula:
x = (-b ± √(b² - 4ac)) / 2a

Discriminant:
Δ = b² - 4ac
Δ > 0 → two distinct real roots
Δ = 0 → one repeated real root
Δ < 0 → two complex conjugate roots

Vertex (h, k):
h = -b / 2a
k = c - b² / 4a

Axis of Symmetry: x = -b / 2a
Direction: a > 0 → opens upward (∪), a < 0 → opens downward (∩)

Understanding the Discriminant

The discriminant Δ = b² - 4ac is the key value that determines everything about a quadratic equation's solutions. When Δ is positive, the square root is a real number, producing two distinct real roots. The farther Δ is from zero, the more separated the roots are. When Δ equals exactly zero, the square root vanishes, leaving a single repeated root (also called a double root) where the parabola touches the x-axis at exactly one point. When Δ is negative, the square root of a negative number requires complex numbers, yielding two complex conjugate roots of the form a ± bi. In this case, the parabola never crosses the x-axis.

The Vertex and Parabola Shape

Every quadratic equation y = ax² + bx + c describes a parabola. The vertex is the turning point: the minimum if a is positive (parabola opens upward, U-shape) or the maximum if a is negative (parabola opens downward, inverted U-shape). The vertex coordinates are h = -b/(2a) for the x-value and k = c - b²/(4a) for the y-value. These are equivalent to the "vertex form" y = a(x - h)² + k. The axis of symmetry is the vertical line x = h, and the two roots (if real) are always equidistant from this axis.

Step-by-Step Solution Process

The calculator shows four clear steps for every solution. First, identify the coefficients a, b, and c from the equation. Second, calculate the discriminant using Δ = b² - 4ac and determine the root type. Third, apply the quadratic formula to find both roots, showing the arithmetic at each stage. Fourth, find the vertex coordinates and determine whether the parabola opens upward or downward. This step-by-step approach mirrors exactly how the problem would be solved by hand, making it valuable for students learning algebra and teachers checking homework.

Complex Roots Explained

When the discriminant is negative, the roots involve the imaginary unit i, where i² = -1. For example, the equation x² + 2x + 5 = 0 has Δ = 4 - 20 = -16. Applying the formula gives x = (-2 ± √(-16)) / 2 = (-2 ± 4i) / 2 = -1 ± 2i. The two roots are always complex conjugates: if one root is a + bi, the other is a - bi. Complex roots mean the parabola never intersects the x-axis. While this may seem abstract, complex roots appear in electrical engineering (AC circuits), signal processing, quantum mechanics, and control systems.

Relationship Between Roots and Coefficients

Vieta's formulas establish elegant relationships between the roots and coefficients of a quadratic equation. For ax² + bx + c = 0 with roots x₁ and x₂: the sum of roots equals -b/a and the product of roots equals c/a. These relationships hold even for complex roots. For example, in x² - 5x + 6 = 0, the roots are 3 and 2. Their sum is 5 = -(-5)/1, and their product is 6 = 6/1. Vieta's formulas provide a quick verification check: after finding roots, multiply them to confirm you get c/a and add them to confirm -b/a.

Real-World Applications

Quadratic equations model countless physical phenomena. Projectile motion follows a parabolic path: the height h(t) = -½gt² + v₀t + h₀ is a quadratic in time, where roots give the times when the object is at ground level. In business, revenue R(x) = px - cx² (where p is price and c is competition factor) is quadratic, with the vertex giving the price that maximizes revenue. In engineering, the stress-strain curve for many materials is approximately quadratic. In finance, compound interest calculations lead to quadratic equations when solving for unknown rates or periods.

Special Cases and Tips

Several special cases are worth recognizing. When b = 0, the equation ax² + c = 0 simplifies to x² = -c/a, giving roots ±√(-c/a). When c = 0, one root is always 0 and the other is -b/a (factoring out x). When a = 1, the equation is called "monic" and Vieta's formulas simplify: x₁ + x₂ = -b and x₁ · x₂ = c. For equations with large coefficients, factoring may be difficult, making the quadratic formula the most reliable method. The calculator handles decimal and fractional coefficients with six-digit precision.

Factoring vs. the Quadratic Formula

Students often wonder when to factor and when to use the quadratic formula. Factoring is faster when the roots are small integers: x² - 5x + 6 = (x-3)(x-2) is quick to spot. However, factoring becomes impractical with irrational roots (like √2) or complex roots. The quadratic formula works universally for every quadratic equation regardless of root type or coefficient size. As a rule of thumb, try factoring first for simple-looking equations, and default to the formula for anything with large or decimal coefficients. The calculator always uses the formula method for consistency and precision.

Tips & Recommendations

All Root Types

Real, repeated, or complex conjugate. Color-coded results with root type indicator.

Step-by-Step

Full solution process with intermediate calculations. Perfect for learning algebra.

Vertex & Axis

Parabola vertex, axis of symmetry, and direction (opens up or down).

Discriminant

Color-coded Δ value: green (>0), cyan (=0), red (<0). Instant root type detection.

Frequently Asked Questions

What is the quadratic formula?

The quadratic formula x = (-b ± √(b²-4ac)) / 2a solves any equation of the form ax² + bx + c = 0, where a ≠ 0. It gives both roots of the quadratic equation.

What is the discriminant?

The discriminant Δ = b² - 4ac determines the nature of the roots. If Δ > 0, there are two distinct real roots. If Δ = 0, there is one repeated root. If Δ &lt; 0, there are two complex conjugate roots.

What is the vertex of a parabola?

The vertex is the highest or lowest point of the parabola. It is at x = -b/2a and y = c - b²/4a. If a > 0, the vertex is the minimum. If a &lt; 0, it is the maximum.

Can this calculator handle complex roots?

Yes. When the discriminant is negative, the calculator shows both complex conjugate roots in the form a ± bi, where i is the imaginary unit.

What does 'axis of symmetry' mean?

The axis of symmetry is the vertical line x = -b/2a that passes through the vertex. The parabola is symmetric about this line, meaning the two roots are equidistant from it.

Recent Calculations

No calculations yet

Last updated: May 15, 2026