2026-09-29 10 min

System of Equations Calculator

Solve a 2×2 linear system with Cramer determinants plus an independent verification pass. Free system of equations solver.

Calculator

System Coefficients

Eq1: x-coeff
Eq1: y-coeff
Eq1: constant
Eq2: x-coeff
Eq2: y-coeff
Eq2: constant
Results update live as you type
Status:D = -3 · Dx = -9 · Dy = -3(3, 1)

System Summary

DeterminantsD=-3 Dx=-9 Dy=-3
Solution(3, 1)
Proof7 = 7 · 2 = 2 ✓

Results

Optimal

x = Dx/D

3

First Cramer quotient

y = Dy/D

1

Second Cramer quotient

Main Determinant D

-3

a₁b₂ − a₂b₁

Dx · Dy

-9 · -3

Column-swapped determinants

Independent Proof

7 = 7 · 2 = 2

Recomputed outside Cramer path

Cramer quotients are exact in doubles; Dx, Dy reuse the same determinant routine as D, and both equations are re-checked.

Visualizations

Determinant Breakdown

3D
9Dx
3Dy

Solution vs Constants

x3

Formula

Cramer rule expresses each variable as a ratio of signed areas (determinants). The same routine computes D, Dx, Dy — only the column feed changes.

x = Dx/D, y = Dy/D with D = a₁b₂ − a₂b₁ (D ≠ 0)

Alternative Form

Column-swap rule: Dx replaces x-column with constants; Dy replaces y-column

Variables

SymbolNameUnitDescription
DMain determinantnumberArea scale of the coefficient map
Dxx-determinantnumberConstants in the x column
Dyy-determinantnumberConstants in the y column
(x, y)Solution pairpointQuotients Dx/D, Dy/D

Explanation

Determinants measure how the system stretches space; dividing the constant-loaded stretch by the plain stretch recovers each coordinate.

Derivation

A[x,y]ᵀ = c → [x,y]ᵀ = A⁻¹c; for 2×2, A⁻¹ = (1/D)[[b₂,−b₁],[−a₂,a₁]], giving x = Dx/D, y = Dy/D.

Step-by-Step Calculation

Follow each step to understand how the result is calculated from your inputs.

Step 1

Assemble the coefficient matrix and constant vector.

A·[x,y]ᵀ = c
row1:2, 1 | 7
row2:1, -1 | 2
Result: System matrix ready
Step 2

Compute the main determinant D.

D = a₁b₂ − a₂b₁
D:-3
Intermediate: 2×-1 − 1×1 = -3
Result: D ≠ 0: unique solution
Step 3

Swap in constants per column: Dx and Dy.

Dx = c₁b₂ − c₂b₁; Dy = a₁c₂ − a₂c₁
Dx:-9
Dy:-3
Result: Dx = -9, Dy = -3
Step 4

Divide: x = Dx/D, y = Dy/D.

Cramer quotients
x:3
y:1
Result: (3, 1)
Step 5

Prove independently: evaluate both originals at the pair.

a₁x+b₁y = c₁? a₂x+b₂y = c₂?
v1:7
v2:2
Result: Both equations hold ✓
Final Answer
3

Worked Examples

See how the calculator works with different scenarios.

Scenario

Clean integer pair.

Inputs

a1:2
b1:1
c1:7
a2:1
b2:-1
c2:2

Calculation

D = −3, Dx = −9, Dy = −3 → (3, 1)

Result

(3, 1)

Interpretation

Proof: 7 = 7 ✓ and 2 = 2 ✓.

Understanding Your Result

Your Result: 2×2 system solved by Cramer determinants with independent proof

Typical range: Unique pair for D ≠ 0; dependence read from the Dx, Dy backup when D ≈ 0.

What This Means

Each coordinate is a determinant ratio; the proof replays both equations outside the Cramer path.

Why It Matters

Determinant thinking scales to 3×3 and beyond — this page builds the 2×2 intuition that larger systems reuse.

Professional Interpretation

Compute D first and announce it: everything downstream — quotients, geometry, proof — keys off that one number.

Recommendations

  • •Compute D before quotients
  • •Swap columns carefully
  • •Divide once per variable
  • •Prove outside the Cramer path
  • •Classify D ≈ 0 geometrically

Educational Content

Introduction

A system of equations pairs conditions; Cramer rule solves 2×2 pairs with three determinants and two divisions.

Concept Explanation

Each determinant is a signed area. Loading constants into a column measures that variable’s share; dividing by D normalizes it.

Applications

▸Ticket-mix decoding
▸Supply-demand crossing
▸Mixture concentrations
▸Circuit analysis
▸Break-even pairs
▸Coordinate intersections

Benefits

  • •Determinant drill built in
  • •Column-swap made visible
  • •Independent proof pass
  • •Singular cases classified
  • •Scales conceptually to 3×3

Limitations

  • •2×2 linear only
  • •Numeric coefficients
  • •Real solutions

Best Practices

  • •Write the matrix first
  • •Compute D, Dx, Dy in order
  • •Divide only when D ≠ 0
  • •Verify by fresh substitution
  • •Interpret D ≈ 0 geometrically

Common Misconceptions

Myth: Cramer rule is only for 3×3.
Truth: It starts at 2×2 — the same column-swap idea scales up.
Myth: Dx uses the y-column.
Truth: Dx swaps the x-column; Dy swaps the y-column.
Myth: D = 0 always means none.
Truth: All-zero D, Dx, Dy means dependent (infinite); mixed means none.
Myth: Proof duplicates work.
Truth: Independent re-evaluation catches column-swap slips.

Practical Tips

  • •Matrix first, numbers second
  • •D before Dx, Dy
  • •Track column swaps aloud
  • •Divide once per coordinate
  • •Re-prove with fresh eyes
  • •Name singular geometry
  • •Keep six decimals

Common Mistakes

Swapping the wrong column
Dx ↔ x-column; Dy ↔ y-column.
Sign slips in a₁b₂ − a₂b₁
Write both products before subtracting.
Dividing by D ≈ 0
Classify instead of dividing.
Proving with Cramer values reused
Recompute LHS from scratch.
Dropping the infinite/none distinction
Check Dx, Dy zeros too.

Assumptions

This calculator makes the following assumptions to provide estimates:

Linear 2×2: Degree 1 in x, y each.
Real numbers: All values real.
Square system: Two equations, two unknowns.
Exact determinants: Doubles internally.
Rounded display: Six decimals.

Limitations

Be aware of these limitations when using this calculator:

2×2 only: 3×3 lives next door.
Linear: No curves.
Numeric: No parameters.
Real pairs: Complex intersections excluded.

Frequently Asked Questions

Answers to common questions about this calculator.

How do I solve 2x + y = 7, x − y = 2?
D = −3, Dx = −9, Dy = −3: x = 3, y = 1. Prove: 7 = 7 and 2 = 2.
What is Cramer rule?
Each variable equals a determinant ratio: x = Dx/D, y = Dy/D, where Dx, Dy swap constants into one column.
How do I compute a 2×2 determinant?
Cross-multiply and subtract: |a b; c d| = ad − bc.
Which column does Dx swap?
The x (first) column is replaced by constants; Dy replaces the y (second) column.
What if D = 0?
Then Dx, Dy decide: all zero means coincident lines (infinite); otherwise parallel (none).
How is this different from elimination?
Same answers, different road: determinants instead of combination — and the 3×3 lift is direct.
How do I verify the pair?
Plug into both originals fresh; both must balance exactly.
Why learn determinants?
They generalize: 3×3 Sarrus, n×n elimination, and invertibility tests all grow from here.

Related Calculators

Explore more calculators related to this topic.

Related Guides

Deepen your understanding with these educational resources.

Glossary

Technical terms used in mortgage calculations explained in plain language.

System of equations
Conditions solved simultaneously.
Cramer rule
Determinant-ratio solution formula.
Determinant
Signed area/volume scale of a matrix.
Column swap
Loading constants into one column.
Main determinant D
Unloaded coefficient determinant.
Quotient
Dx/D or Dy/D coordinate.
Dependent system
Coincident: infinite solutions.
Inconsistent system
Parallel: no solution.
Independent proof
Fresh-evaluation verification.

Authoritative References

Trusted sources and standards referenced by this calculator.

Applicable Standards

Common Core HSA-REI.C — solve systems of equationsNCTM Algebra — matrices and determinants

Was This Calculator Helpful?

Page Information

Last Updated:

2026-09-29

Version:

2.0.0

License:

Free to use for educational and professional purposes.