Free to Use

Quadratic Equation Solver

Solve any quadratic equation of the form ax² + bx + c = 0 instantly. Get real and complex roots, discriminant analysis, vertex coordinates, axis of symmetry, and a complete step-by-step solution.

Enter the coefficients for the quadratic equation ax² + bx + c = 0

Quadratic Equation Examples

📐 Example 1: Two Distinct Real Roots

Solve: x² − 5x + 6 = 0 (a=1, b=−5, c=6)

Discriminant: Δ = (−5)² − 4(1)(6) = 25 − 24 = 1 (Δ > 0)

Roots: x = [5 ± √1] / 2 = x₁ = 3, x₂ = 2

Two distinct real roots because the discriminant is positive.

🔂 Example 2: One Real Root (Repeated)

Solve: x² − 6x + 9 = 0 (a=1, b=−6, c=9)

Discriminant: Δ = (−6)² − 4(1)(9) = 36 − 36 = 0 (Δ = 0)

Root: x = [6 ± 0] / 2 = x = 3 (double root)

One repeated real root because the discriminant is zero.

🌀 Example 3: Complex Roots

Solve: x² + 2x + 5 = 0 (a=1, b=2, c=5)

Discriminant: Δ = (2)² − 4(1)(5) = 4 − 20 = −16 (Δ < 0)

Roots: x = [−2 ± √(−16)] / 2 = [−2 ± 4i] / 2 = x = −1 ± 2i

Two complex conjugate roots because the discriminant is negative.

📈 Example 4: Parabola with Vertex

Solve: 2x² − 8x + 6 = 0 (a=2, b=−8, c=6)

Discriminant: Δ = (−8)² − 4(2)(6) = 64 − 48 = 16 (Δ > 0)

Roots: x = [8 ± √16] / 4 = x₁ = 3, x₂ = 1

Vertex: x = −(−8)/(2×2) = 2, y = 2(2)² − 8(2) + 6 = −2 → (2, −2)

The parabola opens upward (a > 0) with vertex at (2, −2).

Understanding the Quadratic Formula

x = (−b ± √(b² − 4ac)) / (2a)
The quadratic formula gives the roots of any equation in the form ax² + bx + c = 0

The Discriminant

Δ = b² − 4ac
The discriminant determines the nature of the roots
1
Δ > 0: Two distinct real roots — the parabola crosses the x-axis at two points.
2
Δ = 0: One real root (double/repeated root) — the parabola touches the x-axis at one point (vertex).
3
Δ < 0: Two complex conjugate roots (a ± bi) — the parabola does not cross the x-axis.

Vertex & Axis of Symmetry

V
Vertex: (−b/(2a), f(−b/(2a))) — the turning point of the parabola.
A
Axis of Symmetry: x = −b/(2a) — the vertical line through the vertex.
Opening direction: If a > 0, the parabola opens upward. If a < 0, it opens downward.

Quick Tips

📌 Check Your 'a'

The coefficient 'a' must never be zero — that would make it a linear equation, not a quadratic.

🎯 Factoring First

Before using the formula, try factoring the expression. If it factors easily, you'll find the roots faster.

🔄 Completing the Square

This method rewrites ax²+bx+c as a(x−h)²+k, revealing the vertex (h,k) directly. The quadratic formula is derived from this process.

📊 Sum and Product

For roots r₁, r₂: r₁ + r₂ = −b/a and r₁ × r₂ = c/a. Use these to quickly verify your results.

Instant Results
Get roots, discriminant, vertex, and axis of symmetry instantly with a single click. Complete step-by-step solution included.
🧮
Complex Number Support
Handles complex roots perfectly, displaying them in standard a±bi form when the discriminant is negative.
📚
Educational Content
Real-world examples, visual formula display with values plugged in, and detailed discriminant analysis for deeper understanding.
🎯
Full Parabola Analysis
Beyond just roots — find the vertex coordinates, axis of symmetry, and understand the geometric properties of the parabola.

What Is a Quadratic Equation?

A quadratic equation is a second-degree polynomial equation in a single variable x, written in the standard form ax² + bx + c = 0, where a, b, and c are constants and a ≠ 0. The highest exponent of x is 2, which gives the equation its characteristic parabolic shape when graphed.

Quadratic equations appear throughout mathematics, physics, engineering, and economics. From calculating projectile trajectories to optimizing profit functions, understanding how to solve quadratics is a fundamental skill. The quadratic formula x = (−b ± √(b² − 4ac)) / (2a) provides a universal method that works for every quadratic equation, whether the roots are real or complex.

The Importance of the Discriminant

The discriminant Δ = b² − 4ac is the key to understanding a quadratic equation without even solving it. Its value tells you everything about the nature of the roots. A positive discriminant means two real solutions — the parabola crosses the x-axis twice. Zero means exactly one real solution — the parabola just touches the axis at its vertex. A negative discriminant indicates two complex solutions — the parabola stays entirely above or below the x-axis.

Applications of Quadratic Equations

Quadratic equations are far more than just a classroom exercise. They model countless real-world phenomena. In physics, the motion of a projectile under gravity follows a quadratic path — the height h(t) = −½gt² + v₀t + h₀ is a quadratic function. In business, quadratic functions model revenue and profit, where the vertex represents the optimal price or production level.

🚀 Physics & Engineering

Projectile motion, free-fall problems, and kinematic equations all produce quadratic relationships between time and position.

💰 Business & Economics

Profit maximization, revenue optimization, and supply-demand equilibrium often involve solving quadratic equations.

🏛️ Architecture

Suspension bridges, arches, and parabolic reflectors all rely on quadratic curves for their structural and optical properties.

📡 Computer Graphics

Bezier curves, collision detection, and ray tracing use quadratic equations to model smooth curves and intersections.

How to Use the Quadratic Formula: Step by Step

Solving any quadratic equation with the quadratic formula follows a consistent process. First, ensure your equation is in standard form ax² + bx + c = 0. Identify the values of a, b, and c, paying careful attention to negative signs. Compute the discriminant Δ = b² − 4ac. Then, plug everything into the formula x = (−b ± √Δ) / (2a). Simplify the expression — if Δ is a perfect square, you'll get rational roots; if not, leave the square root in simplified radical form or as a decimal approximation. If Δ is negative, express the result with the imaginary unit i, where √(−Δ) = i√|Δ|.

Our calculator handles all three cases automatically, showing you each step of the process. It also computes the vertex coordinates and axis of symmetry, giving you a complete geometric picture of the parabola represented by your equation.

Frequently Asked Questions

What happens if coefficient a is zero?
If a = 0, the equation bx + c = 0 is no longer quadratic — it becomes a linear equation. Our calculator requires a ≠ 0 and will show an error message. To solve a linear equation, use our Equation Solver instead.
How do I interpret complex roots?
Complex roots always come in conjugate pairs, written as a + bi and a − bi, where i = √(−1). The real part 'a' comes from −b/(2a), and the imaginary part 'b' comes from √(|Δ|)/(2a). Graphically, complex roots mean the parabola does not cross the x-axis — it either stays entirely above (if a > 0) or entirely below (if a < 0) the x-axis.
How do I check if my answer is correct?
You can verify your roots by plugging them back into the original equation — each should make it equal zero. Alternatively, use Vieta's formulas: the sum of the roots should equal −b/a, and the product should equal c/a. Our calculator automatically shows these verification steps in the step-by-step solution.
What is the vertex of a parabola and why does it matter?
The vertex is the highest or lowest point of a parabola (the turning point). For a quadratic in standard form, the vertex is at x = −b/(2a), and the y-coordinate is found by plugging this x back into the equation. If a > 0, the vertex is the minimum point; if a < 0, it's the maximum. This is crucial in optimization problems — finding the maximum profit, minimum cost, or peak height of a projectile.
Can I solve quadratic equations by factoring instead?
Yes! Factoring is often the fastest method when the quadratic factors neatly with integer roots. However, not all quadratics are factorable over the integers. The quadratic formula always works, making it the universal solution method. Our calculator uses the formula, which gives you the same results as factoring would, plus it handles equations that don't factor cleanly.
What's the difference between solving and graphing a quadratic?
Solving a quadratic means finding its roots (x-intercepts) — the values of x where the equation equals zero. Graphing a quadratic means plotting the full parabola, which reveals the vertex, axis of symmetry, y-intercept, and overall shape. Our calculator focuses on the algebraic solution but also gives you the vertex and axis, providing a bridge between the algebraic and geometric perspectives.

⚠️ Important Note: While our Quadratic Equation Solver provides accurate mathematical results using the standard quadratic formula, always verify critical calculations. Some equations may have very large coefficients leading to numerical precision issues. For academic work, we recommend cross-checking with manual calculation or computer algebra software. This tool is intended as a learning aid and reference.