System of Equations Solver: 2x2 and 3x3
Use this system of equations solver to solve two or three linear equations at once. Type the coefficients, and it finds x, y and z with steps, or tells you if there is no answer or endless answers. Great for checking algebra homework. Need to solve an equation, derivative or integral with steps? Try the Math Solver.
System of Equations Solver
Linear systems with 2 or 3 unknowns.
How to use the System of Equations Solver
- Choose 2 or 3 unknowns.
- Type each equation’s coefficients; use 0 for a missing term and negative numbers for subtraction.
- Read x, y and z.
- Check rows show each equation with the solution plugged in.
How it works
The solver uses Gaussian elimination with partial pivoting: it swaps rows to use the largest pivot and eliminates each variable from the other equations. A zero row with a non-zero constant means no solution; fewer pivots than unknowns means infinitely many.
Example
2x + y − z = 8, −3x − y + 2z = −11, −2x + y + 2z = −3 gives x = 2, y = 3, z = −1.
Frequently asked questions
How do I enter x − y = 4?
Use 1 for x, −1 for y and 4 as the constant.
What does infinitely many solutions mean?
The equations describe the same line or plane, so many points work.
Can I use fractions?
Type them as decimals, e.g. 0.5.
See also: Matrix Calculator, Quadratic Formula Calculator.
Solve linear equations
How to use it
- Pick 2x2 or 3x3.
- Enter the coefficients.
- Read the answers.
- Review the steps.
More questions
What method does it use?
It uses elimination and shows each step so you can follow along.
What if there is no answer?
It tells you the lines or planes never meet.
Can I use fractions?
Yes. You can enter fractions and decimals as coefficients.
Related tools: Midpoint Calculator, Pythagorean Triple Calculator, Linear Regression Calculator.