Equation Solver

Enter a system of linear equations, a polynomial, or a single equation in x and get the solutions with their residuals. Linear systems are solved exactly with fractions when the coefficients allow it, and the result says whether there is a unique solution, infinitely many or none. Polynomials of degree 2 to 4 list real and complex roots with their multiplicities. Equations in one variable are searched in an interval you choose.

Equation Solver calculates in your browser: the numbers you enter are never sent to a server. It is free and needs no sign-up.

How to use it

  1. Solve a linear system On the Linear systems tab, choose 2 unknowns. In Equation 1 enter 2, 1 and 5 as the coefficients of x, y and the constant term. In Equation 2 enter 1, −1 and 1. Press Solve to get x = 2 and y = 1 under Unique solution.
  2. Find complex polynomial roots On the Polynomials tab, choose degree 2 and enter 1, 2 and 5 for x², x and the constant term. The roots are −1 ± 2i, labelled Complex. A repeated root shows its Multiplicity, such as Multiplicity 2.
  3. Solve one equation On the Single equation tab, type cos(x) = x, set the lower end a to 0 and the upper end b to 1, then press Solve. The root is x ≈ 0.739085133215. Copy link keeps these inputs after the # sign.

Questions

Why do some linear systems have no unique solution?

A system can have infinitely many solutions. The result then names a free unknown and writes the others in terms of the parameter t, which can be any real number. If the equations contradict each other, the result says No solution, because no set of values satisfies all of them.

Why does the Single equation tab miss the root of (x − 1)²?

The search looks for points where the function changes sign. A double root does not change sign, so it can be missed. For polynomials, use the Polynomials tab, which finds repeated roots and shows their multiplicity.

What is the difference between exact and numerical results?

Results tagged Exact come from exact arithmetic on fractions and integers. Results tagged Numerical come from an approximation method, so their decimals are rounded and only some of the digits are reliable. Check important values with another method.