Kharabeesh
On-device ع

Equation Solver

Solve linear and quadratic equations step by step (complex roots included), systems of 2 or 3 linear equations with Cramer’s rule, or any one-variable equation numerically on an interval you choose.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Pick the equation type from the tabs: linear, quadratic, system, or numeric.
  2. Type the coefficients (an empty box counts as zero) and the solution appears with its steps.
  3. For the numeric solver type an equation such as x^3 - 2x = 5 or cos(x) = x, set the interval to search, then press Solve.
  4. Check the steps, the discriminant and the method shown under the result to verify your own work.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: mathjs (open-source libraries bundled with the site).
  • Works offline after you open it once.

Frequently asked questions

What happens when the discriminant is negative?

The quadratic has no real roots, and the tool gives the two complex roots in the form a ± bi with the steps.

How does it detect no solution or infinitely many solutions?

When the coefficient determinant is zero it compares the rank of the coefficient matrix with the rank of the augmented matrix: different ranks mean an inconsistent system (no solution), equal ranks mean infinitely many solutions.

Does the numeric solver find every root?

Not guaranteed. It samples the interval at many points, looks for sign changes and refines each root with Brent’s method. It can miss two roots that are very close together or roots outside the interval. Try a narrower interval or the finer scan.

How do I type an equation for the numeric solver?

The variable is x. Multiply with * or implicitly as in 2x, powers with ^. Functions: sin cos tan (radians), ln, log (base 10), sqrt, abs, exp and more. Use a dot for decimals.

Does it solve equations in several variables or give symbolic answers?

No. Systems are linear only (up to 3 unknowns), and the numeric solver handles one variable and returns approximate values, not a symbolic formula.

Related tools