Equation solver
calc_equationSolves linear, quadratic, cubic equations and 2–3 variable linear systems exactly, showing worked steps and handling rational, surd, complex, or parametric solutions.
Instructions
Solve equations exactly with worked steps, like the website: linear a·x + b = c, quadratic a·x² + b·x + c = 0 (exact rational or surd roots like 1/2 + √5/2, complex roots), cubic a·x³ + b·x² + c·x + d = 0 (rational root test, else trigonometric/Cardano to 10 significant digits), and systems of 2 or 3 linear equations (Gauss–Jordan; no solution and infinitely many solutions are detected and parametrised). Coefficients may be integers, decimals, fractions ("3/4"), mixed numbers ("-1 1/2") or e-notation. Web version: https://s3eidat.github.io/equation-solver/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Equation type. | |
| system | No | system: rows of the augmented matrix, 2 rows of [a, b, rhs] (x, y) or 3 rows of [a, b, c, rhs] (x, y, z). | |
| coefficients | No | linear: [a, b, c] for a·x + b = c; quadratic: [a, b, c]; cubic: [a, b, c, d]. |