How the Equation Solver Finds Roots
AnyTool Equation Solver computes solutions in closed form entirely in the browser. A linear equation ax + b = 0 is solved as x = −b/a; a quadratic ax² + bx + c = 0 is solved with the quadratic formula after computing the discriminant b² − 4ac, which decides whether the roots are two real, one repeated, or a complex-conjugate pair; a cubic ax³ + bx² + cx + d = 0 is solved with Cardano’s method (depressed-cubic substitution and the trigonometric form for three real roots); and systems of linear equations are solved with Cramer’s rule using determinants. Every result is produced by direct algebra, not by guessing, and the working is shown step by step.
- Linear via x = −b/a, with degenerate cases detected
- Quadratic via the discriminant and the quadratic formula
- Cubic via Cardano’s method, including the three-real-root case
- Linear systems (2×2 and 3×3) via Cramer’s rule and determinants
- Complex roots returned as a + bi when the discriminant is negative
