System of Equations Solver
Solve systems of linear equations in two or more variables exactly, and see when there is no solution or infinitely many.
Runs in your browser. Nothing is uploaded.
Solution
–
Reduced row echelon form [A | b]
How to use the System of Equations Solver
- Type each equation on its own line, such as 2x + 3y = 7.
- Use any letters as variables. Fractions, decimals and brackets are fine.
- The solution appears as you type, as exact fractions with decimals alongside.
- Open the row echelon form to see the reduced matrix behind the answer.
Simultaneous equations, solved exactly
Systems of linear equations come up everywhere: mixing problems, prices and quantities, circuits, balancing chemical equations and coordinate geometry. Type the equations one per line and the solver finds the values that make them all true at once.
Write equations naturally
You don’t need to rearrange anything first. The solver accepts:
- Any variable names: x and y, a, b and c, or x1, x2 and x3.
- Coefficients as whole numbers, decimals or fractions: 0.5x, 3/4y or (2/3)z.
- Terms on both sides and brackets: 2(x − 1) = 3y + 4.
- Equations separated by new lines or semicolons.
Three possible outcomes
- One solution: each variable has a single value, shown as an exact fraction and a decimal.
- No solution: the equations contradict each other. Geometrically, two lines are parallel and never meet. The solver points to the equation that causes the contradiction.
- Infinitely many solutions: some equations say the same thing in a different way, so at least one variable is free. The solver writes the others in terms of the free variables.
How it works
The equations are turned into an augmented matrix [A | b] and reduced with Gauss–Jordan elimination using exact fractions. The reduced matrix, shown under the result, is the same one you would reach by hand with row operations, so you can compare it with your own working.
Private
Your equations are solved in your browser and never uploaded.
Frequently asked questions
How many equations and variables can it solve?
Up to 20 equations in up to 12 variables. The number of equations doesn't have to match the number of variables.
What does "no solution" mean?
The equations contradict each other, for example x + y = 1 and x + y = 3. The solver tells you which equation creates the contradiction.
What does "infinitely many solutions" mean?
Some equations repeat information, so one or more variables can take any value. The solver shows the other variables in terms of those free variables, such as x = 4 − 2y.
Can I write terms on both sides?
Yes. 2(x + 1) = y + 3 is fine. Everything is moved to one side before solving.
Why are answers shown as fractions?
The solver uses exact arithmetic, so answers like 21/11 are exact. The decimal is listed too.
Tutorials
How to solve simultaneous equations from a word problem
Turn a ticket-sales word problem into two equations, solve them with the system of equations solver, and check the answer.