Elimination Calculator

Free elimination calculator with steps. Solve 2×2, 3×3, and 4×4 systems of linear equations using elimination, Gaussian, or Gauss-Jordan method instantly.

Equation 1
x
+
y
=
c
Equation 2
x
+
y
=
c
2x + 3y = 13
x − y = 1
Solution

x

3.200000

y

2.200000

det = -5
Unique solution

System Properties

Determinant, classification, and verification

Determinant
-5
System Type
Unique
Variables
2
Equations
2

Verification

Substituting back into original equations

2x + 3y = 13
LHS = 13, RHS = 13
x - y = 1
LHS = 1, RHS = 1

Step-by-Step Solution

See how the answer is calculated

1Starting augmented matrix
2
3
13
1
-1
1
2Eliminate x from equation 2

R2 = R2 - (1/2) × R1

3Back-substitution
4y = -5.5 / -2.5 = 2.2

Solve for y

5x = (13 - (3)(2.2)) / 2 = 3.2

Solve for x

6Verification: All equations satisfied
2
3
13
0
-2.5
-5.5

What Is the Elimination Method?

Understanding how elimination solves systems of linear equations

The elimination method solves a system of linear equations by adding or subtracting equations to cancel one variable at a time. You multiply equations by constants so that the coefficient of one variable matches (or is opposite) in two equations, then combine them. This reduces the system to fewer unknowns, which you solve step by step.

Gaussian elimination extends this to larger systems by working with the augmented matrix [A | b] and performing forward elimination to reach row echelon form (REF), then solving via back-substitution. Gauss-Jordan elimination goes further, reducing to reduced row echelon form (RREF) where each pivot is 1 and the solution reads directly from the last column.

Where elimination is used
Engineering: Circuit analysis, structural mechanics, fluid dynamics
Computer science: Graphics transforms, network flow, linear programming
Economics: Input-output models, equilibrium pricing, supply-demand
Physics: Force balance, heat transfer, electromagnetic fields

Key Formulas and Methods

Elimination, Gaussian, and Gauss-Jordan formulas with variable definitions

2×2 Elimination
a₁x + b₁y = c₁ ; a₂x + b₂y = c₂
a₁, a₂ = x coefficients
b₁, b₂ = y coefficients
Cramer's Rule (2×2)
x = (c₁b₂ − c₂b₁) / det ; y = (a₁c₂ − a₂c₁) / det
det = a₁b₂ − a₂b₁ (must ≠ 0)
x, y = solution values
Gaussian Elimination
[A | b] → REF → back-substitute
REF = upper triangular form
pivot = leading non-zero entry
Gauss-Jordan
[A | b] → RREF → read solution from last column
RREF = each pivot = 1, rest = 0
[I | x] = identity → solution
Worked Example — 2×2 Elimination

Given: 2x + 3y = 13 and x − y = 1

Multiply Eq 2 by 2: 2x − 2y = 2
Subtract from Eq 1: (2x+3y) − (2x−2y) = 13 − 2
5y = 11 → y = 2.2
Substitute: x = 1 + 2.2 = x = 3.2

Verify: 2(3.2) + 3(2.2) = 6.4 + 6.6 = 13 ✓ and 3.2 − 2.2 = 1 ✓

Choosing the Right Method

When to use elimination vs substitution vs matrix methods

MethodBest ForComplexity
Elimination2×2 systems with integer coefficientsLow
SubstitutionWhen one variable is already isolatedLow
Gaussian3×3 and larger systemsMedium
Gauss-JordanFinding RREF, matrix inversionMedium
Cramer's RuleSmall systems, theoretical proofsHigh for n>3

Use elimination when…

Both equations are in standard form (ax + by = c) and the coefficients are easy to match by multiplication. This is the fastest manual approach for 2×2 systems.

Use Gaussian when…

You have 3 or more unknowns. Write the augmented matrix, eliminate column by column, then back-substitute. Partial pivoting prevents numerical errors.

Use Gauss-Jordan when…

You want the solution directly from the matrix without back-substitution, or you need to find the RREF for rank, null space, or inverse computation.

Common Elimination Mistakes

Pitfalls to avoid when solving systems of equations

Forgetting to multiply the entire equation
Mistake: Only multiplying the left side when scaling: 2(3x + y) = 7 → 6x + 2y = 7
Correct: Multiply BOTH sides: 2(3x + y) = 2(7) → 6x + 2y = 14. Every term including the constant must be scaled.
Sign errors during subtraction
Mistake: Subtracting and losing a minus: (5x + 3y) − (2x − y) = 5x + 3y − 2x − y
Correct: Distribute the minus: (5x + 3y) − (2x − y) = 5x + 3y − 2x + y = 3x + 4y
Confusing REF and RREF
Mistake: Reading the solution directly from row echelon form without back-substituting
Correct: REF (Gaussian) requires back-substitution. Only RREF (Gauss-Jordan) gives the solution directly in the last column.
Skipping verification
Mistake: Assuming the answer is correct after solving
Correct: Always substitute back into ALL original equations. A single arithmetic error propagates through every subsequent step.
Declaring 'no solution' too early
Mistake: Seeing 0 = 0 in one row and assuming no solution
Correct: 0 = 0 means dependent equations (infinite solutions). No solution is 0 = non-zero (e.g. 0x + 0y = 5).

System Size Reference

Comparison by system dimension

Property2×23×34×4
Variablesx, yx, y, zx, y, z, w
Coefficients61220
Best methodEliminationGaussianGaussian
Elimination steps~3~6~10
Manual difficultyEasyModerateHard

Why stop at 4×4? Larger systems are better served by numerical libraries (NumPy, MATLAB) that use LU decomposition or QR factorization. This calculator uses partial pivoting and cofactor expansion, which are accurate and educational for small systems but scale poorly beyond 4×4.

Frequently Asked Questions

Common questions and detailed answers

Embed Elimination Calculator

Add this calculator to your website or blog for free.

Last updated Apr 24, 2026