Quadratic Equation Calculator

Solve any quadratic equation of the form ax² + bx + c = 0. Enter the three coefficients and get the roots, discriminant, vertex, and axis of symmetry instantly using the quadratic formula.

Share:
Quadratic Equation Calculator
ax² + bx + c = 0
Equation: 1-5x +6 = 0

Quadratic Formula:

x = (-b ± √(b² - 4ac)) / 2a

Two Real Roots

x₁ = 3

x₂ = 2

Discriminant (b² - 4ac)

1

Positive: 2 real roots

Axis of Symmetry

x = 2.5

Vertex
Vertex (h, k)(2.5, -0.25)
OpensUpward (minimum)

What Is a Quadratic Equation?

A quadratic equation is a polynomial equation of degree two. It takes the standard form ax² + bx + c = 0, where a, b, and c are constants and a is not equal to zero. The term "quadratic" comes from the Latin "quadratus," meaning square, referring to the x² term.

Quadratic equations appear in physics (projectile motion), engineering (structural calculations), finance (profit optimization), and many other fields. Solving them accurately is a core skill in algebra and applied mathematics.

What This Calculator Does

This calculator solves any quadratic equation of the form ax² + bx + c = 0 using the quadratic formula. It identifies the number and type of solutions, calculates the discriminant, finds the vertex of the parabola, and determines the axis of symmetry.

  • Inputs: Coefficients a, b, and c
  • Outputs: Roots (real or complex), discriminant, vertex coordinates, and axis of symmetry

How the Calculation Works

The Quadratic Formula

x = (-b ± √(b² - 4ac)) / 2a

This formula always produces the roots of a quadratic equation. The "±" symbol means there are two solutions: one using addition and one using subtraction of the square root term.

The Discriminant

Discriminant = b² - 4ac

The discriminant is the value under the square root sign in the quadratic formula. Its sign tells you the nature of the roots without solving the full equation:

  • Positive discriminant: Two distinct real roots
  • Zero discriminant: One repeated real root (the parabola touches the x-axis at one point)
  • Negative discriminant: Two complex (imaginary) roots (the parabola does not cross the x-axis)

Vertex of the Parabola

h = -b / (2a)

k = c - b² / (4a)

The vertex (h, k) is the highest or lowest point of the parabola. If a is positive, the parabola opens upward and the vertex is a minimum. If a is negative, it opens downward and the vertex is a maximum.

How to Use the Calculator

  1. Enter the value of a (the coefficient of x²). Note: a cannot be zero
  2. Enter the value of b (the coefficient of x)
  3. Enter the value of c (the constant term)
  4. Results display instantly, including roots, discriminant, vertex, and axis of symmetry

Example Calculations

Example 1: Two Real Roots

Solve x² - 5x + 6 = 0. Here a = 1, b = -5, c = 6. Discriminant: (-5)² - 4(1)(6) = 25 - 24 = 1. Roots: x = (5 ± 1) / 2. So x₁ = 3 and x₂ = 2.

Example 2: One Repeated Root

Solve x² - 6x + 9 = 0. Discriminant: 36 - 36 = 0. Root: x = 6 / 2 = 3. The parabola touches the x-axis exactly at x = 3.

Example 3: Complex Roots

Solve x² + 4 = 0 (a = 1, b = 0, c = 4). Discriminant: 0 - 16 = -16. Roots: x = ±√16i / 2 = ±2i. The parabola never crosses the x-axis.

Real-World Scenarios

Projectile Motion

The height of a ball thrown upward follows a quadratic equation. Solving for when height equals zero tells you when the ball lands. Engineers and physicists use this to calculate range, maximum height, and flight time.

Profit Optimization

A business models its profit as a quadratic function of units sold. The vertex of this parabola gives the unit quantity that maximizes profit, making quadratic equations directly useful in pricing and production decisions.

Engineering and Design

Parabolic shapes appear in satellite dishes, bridge arches, and optical reflectors. Quadratic equations describe these shapes precisely, enabling accurate design and construction.

Why This Calculation Matters

Quadratic equations are among the most frequently used equations in applied mathematics. Whether you are studying algebra, solving physics problems, or optimizing a business model, being able to quickly and accurately find the roots and properties of a quadratic saves significant time and reduces the chance of errors from manual calculation.

Common Mistakes to Avoid

  • Setting a to zero: When a = 0, the equation becomes linear (bx + c = 0), not quadratic. The quadratic formula does not apply
  • Sign errors with b: The formula uses -b, not b. Forgetting to negate b is the most common arithmetic error when applying the formula by hand
  • Misinterpreting complex roots: Complex roots do not mean there is no solution; they mean the parabola does not intersect the real number line (x-axis)
  • Assuming a positive leading coefficient: When a is negative, the parabola opens downward. The vertex becomes a maximum rather than a minimum

Frequently Asked Questions

Embed This Calculator

Quadratic Equation Calculator

Calculate
Reset