Field guide
| Field | What it does | Example |
|---|---|---|
| Input | ||
| Quadratic | Solves ax² + bx + c = 0 with the quadratic formula x = (−b ± √D) / 2a. | x² − 5x + 6 = 0 → x₁ = 2, x₂ = 3 |
| Cubic | Finds all real and complex roots of ax³ + bx² + cx + d = 0. | x³ − 6x² + 11x − 6 = 0 → x₁ = 1, x₂ = 2, x₃ = 3 |
| System (x, y) | Solves two linear equations in x and y together. | 2x + y = 5, x − y = 1 → x = 2, y = 1 |
| System (x, y, z) | Solves three linear equations in x, y and z together. | x + y + z = 6, 2y + 5z = −4, 2x + 5y − z = 27 → x = 5, y = 3, z = −2 |
| a, b, c, d | Coefficients of the equation rearranged to = 0, from the highest power down. | x³ − 1 = 0 → a = 1, b = 0, c = 0, d = −1 |
| a₁, b₁, c₁, d₁ … | Each row is one equation: the coefficients of x, y (and z), then the constant on the right-hand side in the last box. | 2x + y = 5 → a₁ = 2, b₁ = 1, c₁ = 5 |
| Result | ||
| Equation | Your coefficients written back as an equation, so you can spot a typo. | a = 1, b = −5, c = 6 → x² − 5x + 6 = 0 |
| Solution | The roots. A repeated root is shown as x₁ = x₂, complex roots as p ± qi. | x² + 2x + 5 = 0 → x₁ = −1 + 2i, x₂ = −1 − 2i |
| Discriminant (Quadratic) | D = b² − 4ac. D > 0: two distinct real roots; D = 0: a double root; D < 0: two complex roots. | x² − 5x + 6 = 0 → D = 1 |
| Discriminant (Cubic) | Δ = 18abcd − 4b³d + b²c² − 4ac³ − 27a²d². Δ > 0: three distinct real roots; Δ = 0: a double or triple root; Δ < 0: one real and two complex roots. | x³ − 6x² + 11x − 6 = 0 → Δ = 4 |
| Vertex | (−b / 2a, c − b² / 4a): the lowest point of the parabola y = ax² + bx + c if a > 0, the highest if a < 0. | x² − 5x + 6 → (2.5, −0.25) |
Entering coefficients
- Move every term to the left so the right-hand side is 0, keep the minus signs, and enter 0 for a missing term: x² = 3x + 4 becomes a = 1, b = −3, c = −4.
- Only decimal numbers are accepted (with a point or a comma), not fractions or notation such as 1e3. For fractions, multiply the whole equation by the denominators: x²/2 + x/3 − 1 = 0 becomes 3x² + 2x − 6 = 0.
Frequently asked questions
What happens if the leading coefficient a is 0?
The equation is solved at a lower degree: a quadratic with a = 0 as the linear equation bx + c = 0, and a cubic with a = 0 as a quadratic. If every coefficient of x is 0, there is no solution when the constant term is not 0, and every number is a solution when it is 0.
Does a negative discriminant mean there is no solution?
There is no real solution, but there are two complex conjugate roots. For example, x² + 2x + 5 = 0 has D = −16, so x = −1 ± 2i, where i is the imaginary unit whose square is −1.
What does “No unique solution” mean for a system?
The equations are not independent, so they do not pin down a single solution. x + y = 2 and 2x + 2y = 4 are the same line (infinitely many solutions), while x + y = 2 and 2x + 2y = 5 are parallel lines (no solution). The solver also tells you which case applies.
Why is a root shown as a long decimal instead of √2, or two close roots as one double root?
Roots are computed numerically and rounded to 12 significant digits, so x² − 2 = 0 gives ±1.41421356237. For the same reason, two roots that differ by less than about two millionths of their size are merged: x² − 2.000002x + 1.000002 = 0, whose roots are 1 and 1.000002, is shown as the double root 1.000001.
Can it solve quartic or nonlinear equations?
No. It solves only quadratic and cubic equations and systems of linear equations with 2 or 3 unknowns; quartic and higher-degree equations and nonlinear systems are not supported.