System of Equations Solver (2×2, 3×3, n×n)
Solve 2×2, 3×3 or larger systems of linear equations exactly: unique, none or infinitely many solutions, fractions, determinant, Cramer's rule and RREF.
| x | y | z | = b |
|---|---|---|---|
| 1 | 0 | 0 | 23/5 |
| 0 | 1 | 0 | -2 |
| 0 | 0 | 1 | -9/5 |
A system of linear equations is a set of equations that must all be true at once, such as 2x + 3y − z = 5 together with two more. This solver eliminates variables in exact fractions, so 23/5 stays 23/5 instead of turning into a rounded decimal. It tells you whether the system has one solution, none, or infinitely many (with the general solution in terms of the free variables), and shows the determinant, Cramer's rule for 2×2 and 3×3 systems and the reduced row echelon form.
How to use this tool
- Type one equation per line, with variables such as x, y, z or x1, x2 (terms may be on both sides).
- Alternatively paste augmented-matrix rows: the coefficients, then the constant.
- Read the solution type and each variable's value as a fraction and a decimal.
- Use the determinant, Cramer's rule and the RREF table to check the working.
Formula
Gauss–Jordan elimination on [A | b] · Cramer: xᵢ = det(Aᵢ) ÷ det(A)
Elimination swaps rows, scales a row so its pivot is 1 and subtracts multiples of it from every other row. A row 0 = c (c ≠ 0) means no solution; fewer pivots than variables means free variables and infinitely many solutions. Aᵢ is the coefficient matrix with column i replaced by the constants; Cramer's rule only applies when det(A) ≠ 0.
Example
For 2x + 3y − z = 5, x − y + 2z = 3 and 3x + y + z = 10, the determinant is 5 and D_x = 23, D_y = −10, D_z = −9, so x = 23/5 = 4.6, y = −2 and z = −9/5 = −1.8. Check the second equation: 4.6 + 2 − 3.6 = 3.
Frequently asked questions
What does "infinitely many solutions" look like?
At least one variable is free. For x + y = 2 and 2x + 2y = 4 (the same line twice), the solver gives x = 2 − y with y free: every point on that line solves both.
Why fractions instead of decimals?
Elimination with decimals accumulates rounding error, which can make a singular system look solvable. Exact fractions avoid that, and the decimal is shown beside each value.
Can it solve non-linear systems?
No. Products of variables (xy), powers (x²) or functions such as sin x make a system non-linear, and the solver says so. For a single quadratic, use the quadratic equation solver.
Sources
Last updated:
Page address with these inputs: https://kakao.mobile/tools/system-of-linear-equations-solver/
Cite or embed this tool
kakaoCalc. (2026, November 9). System of Equations Solver (2×2, 3×3, n×n). https://kakao.mobile/tools/system-of-linear-equations-solver/
“System of Equations Solver (2×2, 3×3, n×n).” kakaoCalc, 9 Nov. 2026, kakao.mobile/tools/system-of-linear-equations-solver/.
Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms