Linear, quadratic and cubic equations plus 2x2 systems, with discriminants and full working
Four modes cover ax+b=0, quadratics, cubics and 2x2 systems without switching between separate pages
Quadratics show d = b^2-4ac and distinguish two real roots, a repeated root and conjugate complex roots, with an explanation for each
The cubic is reduced to t^3+pt+q=0, then Cardano or the trigonometric method yields one, two or three distinct real roots depending on the discriminant
Computes the coefficient determinant D plus Dx and Dy; when D is zero it further separates parallel lines (no solution) from coincident lines (infinitely many)
From the initial equation through the discriminant, the formula and back-substitution, so homework can be checked line by line
Inputs accept 1/2, -3, 2.5 and similar values, and a zero leading coefficient produces a clear message
Pick linear, quadratic, cubic or a 2x2 system from the four tabs at the top.
Fill a, b, c, d or the six coefficients of the two equations; integers, decimals and forms like 1/2 are accepted.
The result panel shows the roots or solution, and the step list shows the equation, discriminant, formula and back-substitution.
Load a typical equation with one click, for example x^2+2x+5=0 to see how conjugate complex roots are written.
Check factoring, completing the square and the quadratic formula against a line-by-line derivation
Verify the number and type of roots for many coefficient sets, especially near-zero discriminants
Turn a fitted curve or small eigenvalue problem into a low-degree polynomial and get starting values quickly
Find the zeros before drawing a curve to confirm how many times it crosses the x axis
Write two equilibrium conditions as a 2x2 system and solve both unknowns with Cramer rule
Generate examples with complete working without hand-solving a three-root cubic
For ax^2+bx+c=0, d = b^2-4ac determines the roots: d>0 gives two distinct real roots, d=0 a repeated root, d<0 a conjugate complex pair. It is exactly the expression under the square root in the quadratic formula.
When d<0 the square root becomes i*sqrt(|d|), so the roots are -b/(2a) +/- i*sqrt(|d|)/(2a). They share a real part and have opposite imaginary parts, which is why they are called conjugate roots; this tool writes them as a +/- bi.
Divide ax^3+bx^2+cx+d=0 by a and substitute x = t - B/(3A) to remove the quadratic term, giving t^3+pt+q=0. Then d = (q/2)^2+(p/3)^3: d>0 means one real root, d=0 repeated roots, d<0 three real roots obtainable from the cosine triple-angle formula.
For a 2x2 system the coefficient determinant is D = a1*b2 - a2*b1. When D is non-zero, x = Dx/D and y = Dy/D; when D is zero the lines have no unique intersection, and Dx and Dy decide whether they are parallel or coincident.
A discriminant is rarely exactly zero in binary floating point, so this tool uses a small threshold, and near-equal roots of a cubic are de-duplicated to avoid showing a repeated root as two almost identical numbers.
| Equation | Root type | Result |
|---|---|---|
| 2x - 6 = 0 | One real root | x = 3 |
| x^2 - 5x + 6 = 0 | Two distinct roots | x = 2, 3 |
| x^2 - 4x + 4 = 0 | Repeated root | x = 2 |
| x^2 + 2x + 5 = 0 | Complex pair | -1 +/- 2i |
| x^3 - 6x^2 + 11x - 6 = 0 | Three real roots | x = 1, 2, 3 |
| 2x+3y=7, x-y=1 | Unique solution | x = 2, y = 1 |