System of Equations Calculator
Solve 2×2 and 3×3 systems of linear equations with Gaussian elimination steps and identify unique, infinite or no-solution systems.
Enter the coefficients and constants for a two-variable or three-variable linear system. The calculator row-reduces the augmented matrix, reports the solution type and shows each elimination step.
What the solver can identify
- Unique solution: every variable has one value.
- No solution: elimination produces a contradiction such as 0 = 5.
- Infinitely many solutions: at least one equation is dependent and a variable remains free.
Input format
For an equation such as 2x − 3y + z = 7, enter 2, −3, 1 and 7 across one row. Enter 0 when a variable is absent.
How to use the system solver
- Choose two or three variables.
- Enter one equation per row, with the constant after the equals sign.
- Select Solve system and review the solution classification.
- Open the row-reduction steps to follow the swaps, scaling and elimination.
Gaussian elimination
Gaussian elimination replaces a system with equivalent systems using three reversible row operations: swap two rows, multiply a row by a nonzero value, or add a multiple of one row to another. The calculator uses a large available pivot when possible, which improves numerical stability for decimal inputs.
Checking a unique solution
Substitute the reported values into every original equation. Each left-hand side should equal its constant. Small differences in the final decimal places can occur when coefficients or answers do not have exact finite decimal representations.
Frequently asked questions
What method does the calculator use?
It uses Gaussian elimination with partial pivoting, then continues to reduced row echelon form so a unique solution can be read directly.
What does infinitely many solutions mean?
The equations do not provide enough independent constraints to determine every variable. One or more variables can be chosen freely and the others depend on them.
How does the calculator detect no solution?
After row reduction, a row with zero coefficients and a nonzero constant represents a contradiction, for example 0x + 0y = 3.
Can I enter decimals and negative numbers?
Yes. Integer, decimal and negative coefficients are accepted. Results use floating-point arithmetic and are displayed to practical precision.