Simultaneous Equations Solver — 2×2 System with Graph

The Simultaneous Equations Solver finds the solution to any system of two linear equations in two unknowns (2×2 system). Enter the six coefficients for a₁x + b₁y = c₁ and a₂x + b₂y = c₂ — the solver uses Cramer's Rule with determinants to find x and y instantly, showing exact fraction forms where po...

2×2 SYSTEM SOLVER

2x + 1y = 7

1x + -1y = 2

x coeff

y coeff

constant

Eq. 1

Eq. 2

UNIQUE SOLUTION

x =

3/1

= 3

y =

1/1

= 1

D

-3

Dₓ

-9

D_y

-3

STEP-BY-STEP (CRAMER'S RULE)

1

System: (1) 2x + 1y = 7 (2) 1x + -1y = 2

2

Determinant: D = 2×-1 − 1×1 = -3

3

Cramer's Rule: x = Dx/D, y = Dy/D

4

Dx = 7×-1 − 2×1 = -9 → x = -9/-3 = 3/1

5

Dy = 2×2 − 1×7 = -3 → y = -3/-3 = 1/1

6

Check eq(1): 2×3 + 1×1 = 7 (should be 7) ✓

7

Check eq(2): 1×3 + -1×1 = 2 (should be 2) ✓

QUICK EXAMPLES

COORDINATE PLANE

xy(3, 1)Eq. 1Eq. 2Solution

SOLUTION PROPERTIES

Solution (x, y)(3/1, 1/1)
Check Eq. 17 = 7 ✓
Check Eq. 22 = 2 ✓
Determinant D-3
Created with❤️byeaglecalculator.com

HOW TO USE

  1. 1

    Enter the six coefficients: a₁, b₁, c₁ for Equation 1 (shown in red) and a₂, b₂, c₂ for Equation 2 (shown in blue). The equation display updates live as you type.

  2. 2

    The solution appears instantly. For a unique solution, both x and y are shown as exact fractions (where possible) and as decimals.

  3. 3

    Check the coordinate plane — Equation 1 is shown as a red line, Equation 2 as blue, and the intersection point is marked in black with its coordinates.

  4. 4

    Read the step-by-step Cramer's Rule solution to see how the determinants D, Dₓ, and Dy are computed and used to find x and y.

  5. 5

    If the system has no solution, the diagram shows two parallel lines. If there are infinite solutions, it shows a single line with a coincident indicator.

WORKED EXAMPLE

Example 1 (unique): 2x + y = 7, x − y = 2. D = 2(−1)−1(1) = −3. Dₓ = 7(−1)−2(1) = −9. Dy = 2(2)−1(7) = −3. x = −9/−3 = 3, y = −3/−3 = 1. Check: 2(3)+1=7 ✓, 3−1=2 ✓. Example 2 (no solution): 2x + y = 5, 4x + 2y = 9. D = 0, Dₓ = −1 ≠ 0 → no solution. Example 3 (infinite): 2x + y = 5, 4x + 2y = 10. D = Dₓ = Dy = 0 → infinite solutions.

REFERENCE FORMULAS

CRAMER'S RULE REFERENCE
NAMEFORMULANOTES
Main determinantD = a₁b₂ − a₂b₁D≠0: unique solution · D=0: no unique solution
x determinantDₓ = c₁b₂ − c₂b₁Replace x-column with constants
y determinantDy = a₁c₂ − a₂c₁Replace y-column with constants
Solutionx = Dₓ/D, y = Dy/DCramer's Rule — valid only when D ≠ 0
No solutionD = 0, Dₓ ≠ 0 or Dy ≠ 0Inconsistent system — parallel lines
Infinite solutionsD = Dₓ = Dy = 0Dependent system — coincident lines

FREQUENTLY ASKED QUESTIONS

RELATED CALCULATORS

MORE ALGEBRA CALCULATORS

Was this calculator helpful?

Last updated: April 28, 2026 · Formula verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.