Quadratic Formula Calculator - Solve ax^2 + bx + c, discriminant, real and complex roots

Quadratic Formula Calculator (ax² + bx + c = 0)

a ≠ 0

🎯 Try These Examples & Applications

Click any example below to automatically load the coefficients and see real-world applications of quadratic equations.

Simple Parabola
Basic quadratic with two real roots
1x² + 0x + -4 = 0
Opens upward, crosses x-axis at ±2
Projectile Motion
Height of thrown ball: h = -16t² + 64t + 80
-16x² + 64x + 80 = 0
When does the ball hit the ground? (h = 0)
Profit Optimization
Profit function: P = -2x² + 100x - 800
-2x² + 100x + -800 = 0
Find break-even points and maximum profit
Perfect Square
Discriminant = 0, one repeated root
1x² + -6x + 9 = 0
Factorizes as (x - 3)²
Complex Roots
No real solutions, discriminant < 0
1x² + 2x + 5 = 0
Parabola doesn't cross x-axis
Area Problem
Rectangle area: A = x(20-x) = -x² + 20x
-1x² + 20x + 0 = 0
Find dimensions for maximum area

Quadratic Equations Explained

Discriminant D = b^2 - 4ac

The discriminant D summarizes how many and what type of roots a quadratic has: D > 0 → two distinct real roots; D = 0 → one repeated real root; D < 0 → two complex conjugate roots. Its magnitude also hints at the distance between roots.

  • Large positive D → roots are far apart.
  • Small positive D → roots are close to each other.
  • Negative D → no real intersection with the x-axis.

Vertex and Axis of Symmetry

The axis of symmetry is x = -b/(2a). The vertex sits on this line at x_v = -b/(2a) and y_v = f(x_v). While our tool solves for the roots, understanding the vertex helps with graphing and optimization problems.

If a > 0 the parabola opens upward (minimum at the vertex); if a < 0 it opens downward (maximum at the vertex).

Worked Example

Solve 2x^2 - 5x - 3 = 0. Here a = 2, b = -5, c = -3. Discriminant: D = (-5)^2 - 4(2)(-3) = 25 + 24 = 49. Since D > 0, there are two real roots.

x₁ = (-b + √D)/(2a) = (5 + 7) / 4 = 3
x₂ = (-b - √D)/(2a) = (5 - 7) / 4 = -0.5

How to Use This Calculator

  1. Enter the coefficients a, b, c (ensure a ≠ 0).
  2. Review the discriminant and solution steps shown below the inputs.
  3. Interpret the output: two reals, one repeated real, or two complex conjugates.
  4. Use the results for graphing, optimization, or equation modeling tasks.

Frequently Asked Questions

What is the quadratic formula?

For ax^2 + bx + c = 0 with a ≠ 0, the solutions are x = (-b ± √(b^2 - 4ac)) / (2a). The ± gives two branches, producing two roots when the discriminant is positive.

When are the roots complex?

When the discriminant b^2 - 4ac is negative. The roots take the form p ± qi where p and q are real numbers.

What does a = 0 mean?

Then the equation is linear (bx + c = 0) and not quadratic. Our tool requires a ≠ 0 to use the quadratic formula.

How do the coefficients affect the graph?

The coefficient a controls opening direction and vertical stretch; b shifts the axis of symmetry; c is the y-intercept (0, c).

Can I use the formula to complete the square?

Yes. Completing the square derives the quadratic formula and also provides vertex form y = a(x - h)^2 + k for graphing and optimization.