Quadratic Equation Solver ax² + bx + c = 0
Solve any quadratic equation ax² + bx + c = 0 instantly. Get the discriminant, both roots (real or complex in a+bi form), factored form, vertex form y=a(x−h)²+k, and an interactive parabola graph — with full step-by-step workings showing every substitution into the quadratic formula. Free, browser-side, no login.
Solve ax² + bx + c = 0
Enter the three coefficients and click Solve. Get roots, discriminant, all three forms and a parabola graph — with full step-by-step workings.
● Roots ┈ Axis of symmetry ● Vertex
Discriminant cases
Rate this tool
More Than a Root Finder — Every Output a Student Needs
a ± bi where a = −b/2a and b = √|D|/2a — the mathematically correct complex conjugate pair. Essential for students studying A-level Maths, Further Maths and university-level algebra.Solve Any Quadratic in 3 Steps
LazyTools vs Other Quadratic Solvers
| Feature | LazyTools | Symbolab | Mathway | Desmos |
|---|---|---|---|---|
| Real roots with steps | ✅ Yes | ✅ Yes | ⚠ Paid | ⚠ No steps |
| Complex roots in a+bi form | ✅ Yes | ✅ Yes | ⚠ Paid | ❌ No |
| Vertex form output | ✅ Yes | ⚠ Partial | ⚠ Paid | ❌ No |
| Factored form output | ✅ Yes | ✅ Yes | ⚠ Paid | ❌ No |
| Parabola graph | ✅ Yes | ⚠ Separate | ⚠ Paid | ✅ Yes |
| Vertex coordinates | ✅ Yes | ✅ Yes | ⚠ Paid | ⚠ Manual |
| Free, no account | ✅ Yes | ⚠ Limited | ❌ Paywalled | ✅ Yes |
| All outputs in one view | ✅ Yes | ❌ Separate pages | ❌ No | ❌ No |
Quadratic Formula Reference
| Term | Formula | Description |
|---|---|---|
| Quadratic formula | x = (−b ± √D) / 2a | Solves any ax²+bx+c=0 where a≠0 |
| Discriminant | D = b² − 4ac | Determines number and type of roots |
| Two real roots | D > 0 | x₁ = (−b+𢆭)/2a, x₂ = (−b−𢆭)/2a |
| One repeated root | D = 0 | x = −b/2a (double root) |
| Complex roots | D < 0 | x = (−b/2a) ± (√|D|/2a)i |
| Vertex | (−b/2a, c−b²/4a) | Turning point of the parabola (h, k) |
| Axis of symmetry | x = −b/2a | Vertical line through the vertex |
| Vertex form | y = a(x−h)² + k | h = −b/2a, k = c − b²/4a |
| Factored form | a(x−r₁)(x−r₂) = 0 | Only when D ≥ 0 |
Quadratic Equations — Complete Guide from Discriminant to Graph
What makes an equation quadratic?
A quadratic equation is any equation that can be written in the form ax² + bx + c = 0, where a, b and c are real numbers and a ≠ 0. The requirement that a ≠ 0 is essential — if a were zero, the x² term vanishes and the equation reduces to a linear equation bx + c = 0. The word "quadratic" comes from the Latin quadratus (square), referring to the x² term. Every quadratic equation has exactly two roots (counting multiplicity) in the complex numbers — this is a consequence of the Fundamental Theorem of Algebra.
The discriminant: the most important number in a quadratic
Before computing the roots, calculating D = b² − 4ac tells you everything about the nature of the solutions. When D > 0, the square root in the quadratic formula is real and positive, producing two distinct real roots that appear as x-intercepts on the parabola. When D = 0, the square root equals zero and both roots collapse to a single value x = −b/2a — the vertex of the parabola touches but does not cross the x-axis. When D < 0, the square root of a negative number is imaginary, producing two complex conjugate roots with no real x-intercepts.
Complex roots explained — what a+bi means
When D < 0, the quadratic formula gives x = (−b ± √D) / 2a. Since D is negative, √D = √(|D|) × i where i = √−1. The two roots are x₁ = −b/2a + (√|D|/2a)i and x₂ = −b/2a − (√|D|/2a)i — a complex conjugate pair sharing the same real part −b/2a but with opposite imaginary parts. Complex roots always come in conjugate pairs when a, b, c are real. This is why the vertex x-coordinate −b/2a equals the real part of both complex roots: it is still the axis of symmetry, it just does not correspond to an x-intercept.
Vertex form and completing the square
Vertex form y = a(x−h)² + k is obtained by completing the square on the standard form. Starting from ax² + bx + c, factor out a from the first two terms, complete the square inside the brackets, and simplify. The vertex (h, k) is immediately visible — h is the x-value of the turning point and k is the minimum (if a > 0) or maximum (if a < 0) value of the parabola. Vertex form is essential for graph transformations: y = a(x−h)² + k is the standard parabola y = x² scaled by a, shifted h units horizontally and k units vertically.
How to factorise a quadratic
Factorising means writing ax² + bx + c as a(x−r₁)(x−r₂) = 0 where r₁ and r₂ are the roots. The most reliable method for any quadratic is: (1) use the quadratic formula to find the roots, then (2) substitute into the factored form. For simple cases with integer roots, the "ac method" works: find two numbers that multiply to ac and add to b. For example x² − 5x + 6: ac = 6, and −2 × −3 = 6 with −2 + −3 = −5, giving (x−2)(x−3) = 0. When the discriminant is negative, factoring over real numbers is impossible — the quadratic is irreducible over the reals.
Frequently Asked Questions
The quadratic formula is x = (−b ± √(b²−4ac)) / 2a. It solves any equation ax²+bx+c=0 where a≠0. The ± gives two solutions: x₁ using + and x₂ using −. When the discriminant b²−4ac is negative, the roots are complex numbers.
The discriminant is D = b² − 4ac. D > 0: two distinct real roots. D = 0: one repeated real root (parabola touches x-axis). D < 0: two complex conjugate roots (parabola misses x-axis entirely).
When D < 0, the roots are complex: x = (−b/2a) ± (√|D|/2a)i. They form a conjugate pair — same real part, opposite imaginary parts. This solver shows both roots in full a+bi form. The parabola does not cross the x-axis when roots are complex.
Vertex form is y = a(x−h)² + k where (h, k) is the vertex. h = −b/2a and k = c − b²/4a. The vertex is the minimum (a>0) or maximum (a<0) of the parabola.
Step 1: Write in standard form ax²+bx+c=0. Step 2: Identify a, b, c. Step 3: Calculate D = b²−4ac. Step 4: Apply x = (−b ± √D) / 2a. Step 5: Compute both roots. This solver shows every substitution explicitly.
Yes — when D = 0. The one solution is x = −b/2a, called a repeated or double root. The parabola is tangent to the x-axis at exactly one point. Example: x²+2x+1=0 gives x=−1 (double root).
Enter a, b and c above and click Solve. See discriminant, roots (real or complex in a+bi form), standard form, vertex form, factored form, vertex, axis of symmetry and a parabola graph — all free with no account required.
Factored form is a(x−r₁)(x−r₂)=0 where r₁ and r₂ are the roots. Example: x²−5x+6=(x−2)(x−3)=0. Only exists over real numbers when D≥0. When D<0 (complex roots), the quadratic cannot be factored over real numbers.