Skip to main content
KalkuNet

Quadratic Equation Solver (Quadratic Formula)

Roots of a quadratic by the formula, the discriminant and the vertex.

Calculated in your browserMath
Root x₁
0.5
Root x₂
3
Kind of roots
Real, distinct
Discriminant D
25
Axis of symmetry x = −b/2a
1.75
Minimum value (vertex)
-3.125
Sum of roots x₁ + x₂ = −b/a
3.5
Product of roots x₁ × x₂ = c/a
1.5

Working

  1. 1.D = b² − 4ac = (-7)² − 4 × 2 × 3 = 25
  2. 2.x = (−b ± √D) ÷ 2a = (7 ± √25) ÷ 4
  3. 3.x₁ = 0.5, x₂ = 3
  4. 4.Vertex (−b/2a, c − b²/4a) = (1.75, -3.125)

Formula and sources

D = b² − 4ac x = (−b ± √D) ÷ 2a; D > 0 two real roots, D = 0 a repeated root, D < 0 complex roots Vertex (−b/2a, c − b²/4a); x₁ + x₂ = −b/a; x₁ × x₂ = c/a

  • Quadratic formula and Vieta's theorem — secondary mathematics

When to use the Quadratic Equation

  • Quadratic formula steps

    The calculator writes out the discriminant, the substitution into the formula and both roots. You can compare the steps with homework or exam answers.

  • Reading the discriminant

    A positive discriminant gives two distinct real roots, zero gives a repeated root, and a negative one gives two complex conjugate roots.

  • The vertex of the parabola

    The graph of y = ax² + bx + c is a parabola. Its vertex is the minimum when a is positive or the maximum when a is negative, useful in optimisation problems.

  • Sum and product of roots

    Vieta's formulas give x₁ + x₂ = −b/a and x₁ × x₂ = c/a without finding the roots, often used to build new quadratic equations.

Frequently asked questions

What if a = 0?

The equation is no longer quadratic but linear, bx + c = 0, with the single solution x = −c/b.

Can it be factorised?

When the roots are rational, the equation can be written a(x − x₁)(x − x₂) = 0. For example 2x² − 7x + 3 = (2x − 1)(x − 3).

What do complex roots mean?

The parabola does not cross the x-axis. Complex roots have the form p ± qi with i = √−1, and still satisfy the equation.

How do I build a quadratic from its roots?

If the roots are x₁ and x₂, the equation is x² − (x₁ + x₂)x + x₁x₂ = 0. For example, roots 2 and 5 give x² − 7x + 10 = 0.

How do quadratics describe motion?

The height of a ball thrown upwards is a quadratic function of time. The roots show when it is back on the ground, and the vertex shows its greatest height and when it is reached.

Related calculators