System Of Equations Calculator
Two linear equations, two unknowns — Cramer’s rule with all three determinants printed, both balances checked live, and the geometry named: one crossing, parallel lines, or the same line twice.
System Of Equations Calculator
Results recalculate instantly on every keystroke. Nothing you type is transmitted.
What this result does not account for
- Exactly 2×2 — larger systems are out of scope
- Linear only: x², xy or worse means the Equation Solver, not this page
In short: x + y = 10 and x − y = 4: the determinant is D = 1·(−1) − 1·1 = −2, and Cramer finishes it — Dx = −14, Dy = −6, so x = −14/−2 = 7 and y = −6/−2 = 3. The check card recomputes both equations: 7 + 3 = 10 and 7 − 3 = 4. Two lines, one crossing — and when D lands on zero the page says which degenerate world you are in: parallel (no solution) or the same line twice (infinitely many).
Formula
D = a₁b₂ − a₂b₁ · x = Dx/D · y = Dy/D
Dx swaps the x-column for the answers; Dy swaps the y-column
each unknown is its own determinant divided by the system determinant — Gabriel Cramer, 1750.
Worked Example
- System determinant. D = a₁b₂ − a₂b₁ — built from the coefficients, and its sign of life decides everything.
- Swap a column. Dx = det with the x-column replaced by the answers; Dy likewise for y. Divide each by D.
- Classify. D ≠ 0: one crossing, checked by substituting back. D = 0 with a non-zero swapped determinant: parallel — no solution. D = Dx = Dy = 0: the same line — infinitely many.
The three determinants are the whole method: D = −2, Dx = −14, Dy = −6 give x = 7 and y = 3, and the balance card replays both equations with the answers plugged in — 10 and 4, exactly the right-hand sides. On x + y = 2, 2x + 2y = 5 the rows are proportional but the answers are not: D = 0 while Dx = −1, and that one non-zero is the definition of impossible.
Strengths & Limits Of This Model
Where this engine is strong
- The three determinants are printed, so the classification is auditable
- Both balances recomputed live — the answer arrives with its own proof
Where it stops
- No substitution/elimination walkthrough
- No 3×3 systems
Practical Use Cases
Mixture problems
two ingredients, two constraints, one crossing
Break-even pairs
cost and revenue lines meet once — or never
Circuit loops
Kirchhoff pairs solve as 2×2 systems
Methodology & Editorial Standards
D = a₁b₂ − a₂b₁, Dx = c₁b₂ − c₂b₁, Dy = a₁c₂ − a₂c₁, all in exact double arithmetic. D ≠ 0: x = Dx/D, y = Dy/D and both balances recomputed. D = 0: classified — both swapped determinants zero means the same line (infinitely many); any survivor means parallel (none). All six coefficients must be finite numbers.
Computation runs in IEEE-754 double precision at full internal precision; rounding to two decimal places occurs strictly at the display layer, so no cumulative drift enters the result. All monetary outputs use accounting presentation — grouped thousands, two decimals, negatives in parentheses — so figures can be transcribed directly into a model or working paper. Division-by-zero and out-of-domain inputs return an em-dash rather than a misleading number.
This engine was reconciled against an independent reference implementation and hand-verified for the worked example above before release. Our full five-stage review process is published on the About Us page.
Disclaimer. This calculator is provided for informational and modelling purposes only and does not constitute financial, tax, legal, medical, or engineering advice. Verify all figures with a qualified professional before acting on them.
System Of Equations Calculator — 9 Expert FAQs
9 analyst-written answers to the questions practitioners actually ask — optimised for voice and answer-engine retrieval.
What does Cramer’s rule actually do?
It solves each unknown with one division. D = a₁b₂ − a₂b₁ measures how independent the two equations are; Dx and Dy re-run that measure with the answers swapped into the x- and y-columns. Each unknown is its swapped determinant over D — no substitution algebra, no eliminating by hand, three 2×2 determinants and done.
Why do the determinants print NEGATIVE on the default?
Because the arithmetic says so: D = 1·(−1) − 1·1 = −2 and Dx = 10·(−1) − 4·1 = −14. Two negatives divide to a positive: x = −14/−2 = 7. The signs are not noise — they are the orientation of your two lines, and the rule is sign-exact all the way down.
What does D = 0 mean, physically?
The two equations are the same line or parallel lines — their normal vectors point the same way. Cramer cannot divide by zero, but the page still classifies: if a swapped determinant survived (Dx or Dy ≠ 0), the answers disagree with the shared slope and the lines are PARALLEL — no solution. If everything is zero, the equations are one line wearing two costumes — every point on it solves both.
How is this different from the Equation Solver page?
Different questions entirely. The Equation Solver finds where ONE function crosses zero, by bisection, numerically. This page solves TWO linear equations EXACTLY, in closed form, with a proof you can read. Use the solver for x³ − 2x − 5; use this page for 2x + 3y = 13 and friends.
Why check both equations afterwards?
Because the check is free and lies are expensive: substituting (7, 3) into both equations replays 10 and 4 — the exact right-hand sides. If a hand-computed answer fails either balance, no graph is needed to convict it. The page recomputes the balances live on every drive.
Can I solve 3×3 systems here?
No — the page owns the 2×2 honestly and says so. Three unknowns need a 3×3 determinant and Cramer generalizes, but the printout grows to four determinants and the geometry leaves the plane. Compose two 2×2 passes by substitution when a third variable is honest to eliminate early.
What do decimals or negative coefficients do?
Nothing special — Cramer never assumes integers. Negative b₂ is exactly what separates x + y = 10 from x − y = 4 on the default; decimals ride through the determinants in double precision and the balances print to the same six-place honesty as the rest of the site.
Why does the geometry card matter?
Because “no solution” and “infinitely many” are not errors — they are shapes. Two non-parallel lines meet exactly once; two parallel lines never; one line written twice meets everywhere. Reading your algebra as a picture is what makes the D = 0 cases obvious instead of mysterious.
Is the answer unique when D ≠ 0?
Yes — that is the theorem. A non-zero determinant means the two equations are genuinely independent directions, and two independent lines in the plane cross in exactly one point. Every other outcome is some flavor of D = 0; the page names which.