KiloAtlas
EN
EnglishBahasa IndonesiaTiếng Việt

Quadratic equation solver

Find the roots of a quadratic with real coefficients.

Root 1 (approx.)

1
Root 2 (approx.)
2
Discriminant D
1.000000
Root type
Two distinct real roots

Formula

D = b² − 4ac; x = (−b ± √D)/(2a)

Coefficient a = 1 · Coefficient b = -3 · Coefficient c = 2

How to use

  1. Enter a, b and c from ax² + bx + c = 0.
  2. Keep |a| between 0.000001 and 1000000.
  3. Read both roots and the discriminant.

Examples

  • x² − 3x + 2 = 0: x = 1 or 2.
  • x² + 1 = 0: x = i or −i.

Frequently asked questions

What does a negative discriminant mean?

There are two complex conjugate roots; i² = −1.

Can a be zero?

No. That would be a linear equation. All coefficients are bounded to ±1000000.

Are displayed roots exact?

Roots are numerical approximations shown to 10 significant digits.

Sources

Updated:

Related tools

Search conversion tools