How it works
The calculator uses elimination: it combines equations to remove one unknown at a time, then works back to find each value. All arithmetic is exact, so fractions such as 7/3 are not rounded.
If the equations describe parallel lines or planes, there is no unique solution and the calculator says so.
Worked example
Solve x + 2y = 3 and 2x + 3y = 4. Double the first equation: 2x + 4y = 6. Subtract the second: y = 2. Then x = 3 − 2 × 2 = −1. So x = −1, y = 2.
Can a system have no solution or infinitely many?
Yes. Two linear equations in x and y are two straight lines. They can cross at one point, which gives one solution. They can be parallel and never meet, which gives no solution; such a system is called inconsistent. Or both equations can describe the same line, so every point on it works; such a system is called dependent.
Elimination tells you which case you have. Take x + y = 3 and 2x + 2y = 7. Doubling the first equation gives 2x + 2y = 6, and subtracting it from the second leaves 0 = 1. That is false, so there is no solution.
Now take x + y = 3 and 2x + 2y = 6. The same step leaves 0 = 0, which is always true. So there are infinitely many solutions: x = 3 − t and y = t for any number t.
For both systems this calculator stops with the message “No unique solution (the system is singular)”. To tell them apart, do one elimination step by hand. A false line such as 0 = 1 means no solution, and 0 = 0 means infinitely many. The same test works with three unknowns.
Solving by substitution
Rewrite one equation so that one unknown stands alone, then put that expression into the other equation. In the worked example, x + 2y = 3 gives x = 3 − 2y. Then 2(3 − 2y) + 3y = 4, so 6 − y = 4 and y = 2. Putting y = 2 back gives x = 3 − 4 = −1.
Cramer’s rule
For a1x + b1y = c1 and a2x + b2y = c2, each answer is a ratio of two determinants:
D = a1b2 − a2b1, x = (c1b2 − c2b1) ÷ D, y = (a1c2 − a2c1) ÷ D
The rule needs D ≠ 0. When D = 0 you are in one of the two special cases above. For 3x + 2y = 7 and 5x − 4y = 2:
- D = 3 × (−4) − 2 × 5 = −22
- x = (7 × (−4) − 2 × 2) ÷ (−22) = −32 ÷ (−22) = 16/11
- y = (3 × 2 − 7 × 5) ÷ (−22) = −29 ÷ (−22) = 29/22
Enter 3, 2, 7 and 5, −4, 2 and the calculator shows the same fractions, x = 16/11 ≈ 1.454545455 and y = 29/22 ≈ 1.318181818. The determinant calculator finds D for larger systems.
A 3 × 3 example
Solve 2x + y − z = 8, −3x − y + 2z = −11 and −2x + y + 2z = −3. Choose 3 unknowns and enter the rows 2, 1, −1, 8, then −3, −1, 2, −11, then −2, 1, 2, −3. The answer is x = 2, y = 3, z = −1.
Common mistakes
- Losing a sign when moving a term. 2x = 5 − 3y must be entered as 2x + 3y = 5.
- Reading “no unique solution” as “no solution”. It can also mean infinitely many.
On a Casio fx-991CW, the Equation app solves two to four unknowns. Our Casio keystrokes guide has the key sequence for a 3-unknown system.
Tips
- Put every equation in the form ax + by = k before typing; move numbers to the right side.
- A missing unknown has coefficient 0, not blank.
- Check the answer by substituting it into each original equation.
Questions
What if there is no solution?
The calculator reports that the system has no unique solution: the lines are parallel or the same line.
Can it do 4 unknowns?
Not on this page. 2 and 3 unknowns are supported.
Are the answers exact?
Yes; fractions stay as fractions.
What do inconsistent and dependent mean?
An inconsistent system has no solution: elimination ends in a false line such as 0 = 1, and the lines are parallel. A dependent system has infinitely many solutions: elimination ends in 0 = 0, because the equations describe the same line.
Can it solve non-linear systems?
No. Each equation must be linear, with every unknown to the first power and no products such as xy. For a single equation with x² use the quadratic equation calculator or the equation solver.
What is Cramer’s rule?
A formula that writes each unknown as one determinant divided by the determinant of the coefficients, D. For 3x + 2y = 7 and 5x − 4y = 2, D = −22 and x = −32 ÷ (−22) = 16/11. It only works when D is not 0.
Sources
- NIST Digital Library of Mathematical Functions, §3.2 Linear Algebra. §3.2(i) Gaussian elimination, equations 3.2.1–3.2.3 (reduction to triangular form, then back substitution). Checked 22 November 2026.
- NIST Digital Library of Mathematical Functions, §1.3 Determinants. Equations 1.3.1 (2 × 2 determinant) and 1.3.6 (determinant of the inverse). Checked 22 November 2026.
- Casio fx-570CW / fx-991CW user’s guide (online manual): Equation Calculations. Simul Equation: simultaneous linear equations with two to four unknowns. Checked 22 November 2026.