Linear Equation System Solver example
Example input
2 1 5
1 -1 1Expected result
x = 2
y = 1The rows represent 2x + y = 5 and x − y = 1. Adding them gives 3x = 6; substituting x = 2 gives y = 1.
Calculators
Solve two- or three-variable systems with exact fractions and classify inconsistent or nonunique systems.
Exact Algebra, Matrices & Polynomials— Examples & troubleshooting
Loading tool…
About this tool
Enter an augmented matrix to solve a small system of linear equations using exact rational row reduction. Inspect the exact solution and a decimal approximation, then examine the reduced matrix. Systems with conflicting equations or free variables are reported explicitly instead of returning an unstable floating-point guess.
Example input
2 1 5
1 -1 1Expected result
x = 2
y = 1The rows represent 2x + y = 5 and x − y = 1. Adding them gives 3x = 6; substituting x = 2 gives y = 1.
Features
Frequently asked questions
Each row contains coefficients followed by its right-hand value. Fractions and finite decimal entries are exact; a decimal is not interpreted as an approximate measurement. Only systems of two or three linear equations with the same number of unknowns are supported.
No. This tool is free to use without an account.
Related tools
Add, subtract, multiply, transpose or invert small matrices using exact integers, decimals and fractions.
Solve numeric quadratic equations with real or complex roots and a stable calculation for widely different root sizes.
Add, subtract, multiply or divide fractions with exact simplified and mixed-number results.