2 × 2 example
2x + y = 5
x − y = 1
The calculator returns x = 2 and y = 1. The determinant is −3, so the coefficient matrix is non-singular.
Solve a 2 × 2 or 3 × 3 system of linear equations with Gaussian elimination, then inspect the determinant, solution type, and substitution residual.
Enter coefficients for equations in the form ax + by (+ cz) = d. The page uses row operations to classify the system as one solution, no solution, or infinitely many solutions. It does not choose values for an underdetermined system.
Use decimal or whole-number values. Negative coefficients are allowed.
For a square system A·x = b, Gaussian elimination uses row swaps, scaling, and row replacement to create an upper-triangular augmented matrix. Back-substitution then finds the variables when every column has a pivot.
For a 2 × 2 system, a non-zero determinant is a quick uniqueness check. For a 3 × 3 system, the determinant is shown as a diagnostic; the elimination classification remains the deciding result.
2x + y = 5
x − y = 1
The calculator returns x = 2 and y = 1. The determinant is −3, so the coefficient matrix is non-singular.
x + y + z = 6
2x − y + z = 3
x + 2y − z = 2
The solution is x = 1, y = 2, and z = 3. This illustrates how an independent third equation can determine the remaining variable.
Use a unique solution when the equations represent the same unknowns and units. A no-solution result means at least one equation conflicts with the others; an infinite-solution result means the equations do not provide enough independent information.
This page follows the standard augmented-matrix approach described by OpenStax. The coefficient and constant entries are treated as exact decimal inputs for the calculation; no uncertainty interval or symbolic parameter is inferred.
Limitations: This tool solves numeric 2 × 2 and 3 × 3 systems only. It does not replace symbolic algebra, uncertainty analysis, domain-specific modeling, or a check that the equations describe the same real-world units.
For a square coefficient matrix, a zero determinant means the matrix is singular. The system may have no solution or infinitely many solutions, so the elimination classification is needed.
At least one equation is dependent on the others and no contradiction appears. One or more variables remain free, so there is not one unique numeric answer.
Yes. Negative coefficients and constants are valid in linear equations. Keep the sign attached to the coefficient or constant when transcribing the equation.
The page uses double-precision arithmetic and reports a residual from the unrounded calculated solution. A nearly singular system can still be sensitive to small changes in measured inputs.