Quadratic and Biquadratic Equation Calculator
Enter the coefficients a, b, and c of ax² + bx + c = 0 to find its roots and discriminant. Biquadratic: ax⁴+bx²+c=0.
a·x² + b·x + c = 0
For biquadratics substitute t=x² and retain only t≥0. Positive t gives ±√t; zero gives one root; negative t gives no real x. Repeated roots are listed once. Degenerate a=0 cases reduce to bx²+c=0. This mode lists real roots only, with decimal approximations and the substitution steps. Signed decimals and fractions are accepted up to magnitude 10¹² with reduced denominators up to 10²⁴.
Check the active inputs and the formula domain. Blank, malformed or out-of-range values clear every result.
Enter integer or decimal coefficients, or fractions such as 1/3. When a is zero, the remaining linear or constant equation is solved. Exact forms use fractions and radicals; numerical results are rounded.
Approximate results show up to 12 significant digits. Decimal fields use a dot, up to 12 digits on each side, an exponent from −24 to 24 and absolute values up to 10¹². Rational intermediate numerators and denominators are limited to 512 bits. Integer and scientific-notation exceptions are specified below. ax²+bx+c=0; a=0 ⇒ bx+c=0; Δ=b²−4ac; Δ < 0 ⇒ x ∈ ℂ.
How the quadratic formula works
For any equation in the form ax² + bx + c = 0 (with a ≠ 0), the roots are given by the quadratic formula: x = (−b ± √(b² − 4ac)) / (2a).
The discriminant, b² − 4ac, determines the type of roots. If it's positive, there are two distinct real roots. If it's zero, there's exactly one real root (a repeated root). If it's negative, there are two complex conjugate roots involving the imaginary unit i.
Enter integer or decimal coefficients, or fractions such as 1/3. When a is zero, the remaining linear or constant equation is solved. Exact forms use fractions and radicals; numerical results are rounded.
For biquadratics substitute t=x² and retain only t≥0. Positive t gives ±√t; zero gives one root; negative t gives no real x. Repeated roots are listed once. Degenerate a=0 cases reduce to bx²+c=0. This mode lists real roots only, with decimal approximations and the substitution steps. Signed decimals and fractions are accepted up to magnitude 10¹² with reduced denominators up to 10²⁴.
Frequently asked questions
What does the discriminant tell you?
The discriminant (b² − 4ac) tells you how many real roots the equation has: positive means two real roots, zero means one repeated real root, and negative means two complex roots.
What happens if a = 0?
Enter integer or decimal coefficients, or fractions such as 1/3. When a is zero, the remaining linear or constant equation is solved. Exact forms use fractions and radicals; numerical results are rounded.
What are complex roots?
When the discriminant is negative, the square root of a negative number isn't a real number, so the roots are expressed using the imaginary unit i (where i² = −1) as a pair of complex conjugates.
How we verified this calculator
The calculator is checked against 6 reference cases computed independently of its code. Last passed: .
| # | Inputs | Expected result |
|---|---|---|
| 1 |
Equation type = Biquadratic: ax⁴+bx²+c=0
a = 1
b = -5
c = 4
|
Number of distinct real roots: 4
|
| 2 |
Equation type = Biquadratic: ax⁴+bx²+c=0
a = 1
b = -1
c = 0
|
Number of distinct real roots: 3
|
| 3 |
Equation type = Biquadratic: ax⁴+bx²+c=0
a = 1
b = -2
c = 1
|
Number of distinct real roots: 2
|
| 4 |
Equation type = Biquadratic: ax⁴+bx²+c=0
a = 1
b = 0
c = 0
|
Number of distinct real roots: 1
|
| 5 |
Equation type = Biquadratic: ax⁴+bx²+c=0
a = 1
b = 2
c = 1
|
Number of distinct real roots: 0
|
| 6 |
Equation type = Biquadratic: ax⁴+bx²+c=0
a = 1
b = 0
c = 1
|
Number of distinct real roots: 0
|