Loading…

Education08.05

Quadratic Equation Solver

Solve any quadratic equation ax² + bx + c = 0: the discriminant, real or complex roots, exact answers in simplest radical form, and the vertex of the parabola.

Back to Education

Move every term to one side so the equation reads ax² + bx + c = 0. If a term is missing, its coefficient is 0.

This runs entirely in your browser. We don’t store any data.

Solutions

Enter the coefficients a, b and c.

How to use it

  1. 01

    Rearrange the equation so one side equals zero: ax² + bx + c = 0.

  2. 02

    Enter a, b and c, including their signs. Decimals are fine.

  3. 03

    You’ll see the roots, the discriminant, the exact answer in radical form, and every step of the solution.

How it works

The quadratic formula is x = (−b ± √(b² − 4ac)) / 2a. The part under the square root, b² − 4ac, is called the discriminant (Δ), and it tells you what kind of roots to expect: two if it’s positive, one double root if it’s zero, and no real roots if it’s negative.

When a, b and c are integers, the tool simplifies the radical (√72 = 6√2) and reduces the fraction, giving you the exact answer your teacher wants alongside the decimal value.

The roots are the points where the parabola y = ax² + bx + c crosses the x-axis. The vertex, at x = −b / 2a, is the lowest point of the curve (if a > 0) or the highest (if a < 0).

Examples

  • Two integer roots

    x² − 5x + 6 = 0: Δ = 1, x₁ = 2 and x₂ = 3.

  • Irrational roots

    2x² + 3x − 1 = 0: Δ = 17, x = (−3 ± √17) / 4, which is −1.7808 and 0.2808.

  • No real roots

    x² + 2x + 5 = 0: Δ = −16, x = −1 ± 2i.

Frequently asked questions

What if my equation doesn’t equal zero?

Move every term to the same side first. For example, x² = 3x − 2 becomes x² − 3x + 2 = 0, so a = 1, b = −3 and c = 2.

What if there’s no x term or no constant?

Then that coefficient is 0. In x² − 9 = 0, b = 0 and the roots are ±3. In x² − 4x = 0, c = 0 and the roots are 0 and 4.