Solve by Elimination Calculator

The elimination method — also called the addition method — is the most systematic way to solve systems of linear equations. Instead of isolating one variable like substitution, elimination multiplies equations by strategic numbers so that adding them cancels a variable entirely. This calculator solves 2-variable and 3-variable systems with complete step-by-step working, identifies whether the system has one solution, no solution, or infinitely many solutions, and displays answers as both decimals and simplified fractions.

Quick Answer — Elimination in 3 Steps
Step 1 — Choose a variable to eliminate. Scale one or both equations so the coefficients of that variable are equal and opposite.
Step 2 — Add the equations. The target variable cancels. Solve the remaining equation.
Step 3 — Back-substitute. Plug the found value into either original equation to find the second variable. Verify in both equations.
Enter your system below — the calculator shows every multiplication, addition, and back-substitution step.
▼ Choose a system type

Enter coefficients for a 2-variable system: a₁x + b₁y = c₁ and a₂x + b₂y = c₂.

Enter coefficients in the boxes below. Each row is one equation.
Format: [coeff of x] · x + [coeff of y] · y = [constant]
x coeff
y coeff
= constant
x + y =
x + y =
Eliminate variable:

Example: 2x + 3y = 12 and 4x − y = 5 → x = 3, y = 2

Enter coefficients for a 3-variable system: three equations in x, y, z. Uses Gaussian elimination with back-substitution.

Format: a·x + b·y + c·z = d   (enter coefficients in each cell)
x coeff y coeff z coeff = constant
x + y + =
x + y + =
x + y + =

Example: x+y+z=6, 2x−y+z=3, x+2y−z=2 → x=1, y=2, z=3

Check whether a proposed solution (x, y) satisfies both equations of a 2-variable system.

System of Equations:
x + y =
x + y =
Proposed Solution:
x =
y =

Classify a 2×2 system as consistent (one solution), inconsistent (no solution), or dependent (infinitely many solutions) — without fully solving it.

x + y =
x + y =

Try: 2x+4y=8 and x+2y=4 (dependent) — or — 2x+4y=8 and x+2y=5 (inconsistent)

Solve a 2-variable system and display the answer as exact simplified fractions, not decimals — ideal for algebra homework and exams.

x + y =
x + y =

Example: 3x + 2y = 7 and 5x − y = 4 → x = 15/13, y = 11/13

Result:

What Is the Elimination Method?

The elimination method (also called the addition method or linear combination method) solves a system of linear equations by making one variable's coefficients cancel when the equations are added together. You strategically scale one or both equations so that when combined, a variable disappears — leaving a simpler equation in one unknown that you can solve directly.

The key property that makes elimination work is that you can always:

  • Multiply any equation by any non-zero constant without changing its solution set
  • Add two equations together — their sum is also satisfied by any solution to both
  • Subtract one equation from another — same logic applies
  • Repeat these operations as many times as needed until each equation has exactly one variable

Geometrically, each linear equation in two variables represents a straight line. A solution is the point (x, y) where the lines intersect. Elimination finds that point algebraically by using one line's information to "remove" a dimension from the other — reducing a 2D problem to a 1D one.

Elimination vs. Substitution — When to Use Which

Both methods solve the same systems. The choice depends on which one requires less messy algebra:

SituationBest MethodReason
Coefficients are already equal or opposite (e.g. 3x and −3x)EliminationNo multiplication needed — just add directly
One equation already solved for a variable (y = 2x+1)SubstitutionJust plug in directly — no scaling needed
Coefficients are small integers (2x, 3x, 4x)EliminationLCM multipliers keep numbers small
Coefficients are fractions or decimalsEliminationMultiply through first to clear fractions
3 or more variablesElimination (Gaussian)Systematic; substitution becomes tangled
One coefficient is 1 (e.g. x term has coeff 1)SubstitutionIsolating is trivial; no fractions introduced

Solving a 2×2 System Step by Step

The standard method for solving a system of two equations and two unknowns using elimination:

WORKED EXAMPLE — 2 VARIABLES System:   2x + 3y = 12    and    4x − y = 5

Step 1 — Choose variable to eliminate: y
Coefficients of y: 3 and −1. LCM = 3.
Multiply equation ② by 3:   3(4x − y) = 3(5)  →  12x − 3y = 15

Step 2 — Add equations (y cancels):
   2x + 3y = 12
+ 12x − 3y = 15
─────────────────
  14x + 0 = 27  →  x = 27/14

Hmm — let's use a cleaner example instead:

System:   2x + 3y = 12    and    4x − 3y = 0
Coefficients of y are +3 and −3 → add directly:
6x = 12 → x = 2 → plug back: 2(2)+3y=12 → 3y=8 → y=8/3

Better example with clean answer:
System:   3x + 2y = 7    (①)   and   x − 2y = 1    (②)

Step 1 — y coefficients are +2 and −2 → add directly:
① + ②:   4x = 8 → x = 2

Step 2 — Back-substitute x = 2 into ①:
3(2) + 2y = 7 → 6 + 2y = 7 → 2y = 1 → y = ½

Step 3 — Verify in ②: 2 − 2(½) = 2 − 1 = 1 ✓

Solution: x = 2, y = ½

The key insight for choosing a multiplier: to eliminate a variable, you need its coefficients in both equations to be equal and opposite. If equation ① has 3y and equation ② has 5y, multiply ① by 5 and ② by 3 to get 15y in both — then subtract. This is exactly what LCM-based scaling does.

Solving a 3×3 System — Gaussian Elimination

For three equations and three unknowns, the process is called Gaussian elimination. It extends the same idea systematically: eliminate one variable from the 2nd and 3rd equations using the 1st (the "pivot"), then eliminate another from the 3rd using the 2nd. This produces a triangular system solved by back-substitution from bottom to top.

WORKED EXAMPLE — 3 VARIABLES System:
  x + y + z = 6    (①)
  2x − y + z = 3    (②)
  x + 2y − z = 2    (③)

Step 1 — Eliminate x from ② and ③ using ①:
② − 2×①:   (2x−y+z) − 2(x+y+z) = 3−12 → −3y − z = −9    (②')
③ − 1×①:   (x+2y−z) − (x+y+z) = 2−6 → y − 2z = −4    (③')

Step 2 — Eliminate y from ③' using ②':
②' has −3y; ③' has y. Multiply ③' by 3:
3×③':   3y − 6z = −12
②' + 3×③':   −3y − z + 3y − 6z = −9 + (−12) → −7z = −21 → z = 3

Step 3 — Back-substitute z = 3 into ③':
y − 2(3) = −4 → y = −4 + 6 = 2

Step 4 — Back-substitute y = 2, z = 3 into ①:
x + 2 + 3 = 6 → x = 1

Solution: x = 1, y = 2, z = 3
Verify ②: 2(1)−2+3 = 3 ✓   Verify ③: 1+4−3 = 2 ✓

Special Cases: No Solution and Infinitely Many Solutions

Not every system has a unique solution. Elimination reveals the system type through what remains after variables are eliminated:

CASE 1 — NO SOLUTION (Inconsistent) If elimination produces a false statement like 0 = 5, the system is inconsistent.

Example:   x + y = 3    and    x + y = 7
Subtract ②−①:   0 = 4  →  No solution.
Geometrically: the two lines are parallel — they never intersect.
CASE 2 — INFINITELY MANY SOLUTIONS (Dependent) If elimination produces a true statement like 0 = 0, the equations are dependent.

Example:   2x + 4y = 8    and    x + 2y = 4
Equation ① is just 2 × equation ②. Subtract 2×②−①:   0 = 0  →  Infinitely many solutions.
Express parametrically: let x = t, then y = (4−t)/2 = 2 − t/2 for any real t.
Geometrically: both equations represent the same line.
  • Consistent & independent → 1 solution → lines intersect at one point
  • Inconsistent → 0 solutions → lines are parallel (same slope, different y-intercept)
  • Consistent & dependent → ∞ solutions → lines are identical (same slope, same y-intercept)
  • For 3×3 systems: if two planes are parallel → no solution; if all three are the same plane → ∞ solutions

Working with Fraction Answers in Elimination

Many systems produce fraction answers. Elimination itself doesn't cause fractions — they appear when the eliminated-variable equation's coefficient doesn't divide evenly into the constant. The "Fraction Answer" tab above always simplifies answers to lowest terms using the GCD.

FRACTION EXAMPLE System:   3x + 5y = 11    (①)   and   2x − 3y = 1    (②)

Eliminate x: multiply ① by 2, ② by 3:
6x + 10y = 22
6x − 9y = 3
Subtract: 19y = 19 → y = 1

Eliminate y: multiply ① by 3, ② by 5:
9x + 15y = 33
10x − 15y = 5
Add: 19x = 38 → x = 2

Solution: x = 2, y = 1 (integers in this case).

Fraction example:   2x + 3y = 7   and   3x − 2y = 4
Eliminate x: ×3 and ×2: 6x+9y=21, 6x−4y=8 → 13y=13 → y=1
Eliminate y: ×2 and ×3: 4x+6y=14, 9x−6y=12 → 13x=26 → x=2
Solution: x=2, y=1

Truly fractional:   3x + 7y = 2   and   5x − 2y = 1
det = 3(−2)−7(5) = −6−35 = −41
x = (2·(−2)−7·1)/(−41) = (−4−7)/(−41) = −11/−41 = 11/41
y = (3·1−5·2)/(−41) = (3−10)/(−41) = −7/−41 = 7/41

To keep fractions manageable during elimination by hand: choose to eliminate the variable whose LCM of coefficients is smallest. If x appears as 6x and 4x, the LCM is 12 — manageable. If it appears as 17x and 13x, the LCM is 221 — consider using a calculator or a different pivot variable.

Quick Reference: Elimination Method Formulas

TaskFormula / Rule
Multiplier to eliminate xMultiply eq① by a₂, eq② by −a₁; then add
Multiplier to eliminate yMultiply eq① by b₂, eq② by −b₁; then add
Solution for x (Cramer's)x = (c₁b₂ − c₂b₁) / (a₁b₂ − a₂b₁)
Solution for y (Cramer's)y = (a₁c₂ − a₂c₁) / (a₁b₂ − a₂b₁)
Determinant (denominator)D = a₁b₂ − a₂b₁
D ≠ 0Consistent & independent → unique solution
D = 0, but constants inconsistentInconsistent → no solution (parallel lines)
D = 0, constants also proportionalDependent → infinite solutions (same line)
3×3 — eliminate var from eq②New eq② = eq② − (a₂/a₁) × eq①
3×3 — eliminate var from eq③New eq③ = eq③ − (a₃/a₁) × eq①
Back-substitution (2×2)After finding y: x = (c₁ − b₁y) / a₁
GCD for fraction simplificationUse Euclidean algorithm; divide numerator & denominator by GCD
Verify solutionSubstitute (x, y) into BOTH equations; both must be true

Real-Life Applications of Solving by Elimination

  • Mixture problems — A chemist mixes two solutions of different concentrations to get a target concentration. The two unknowns are the amounts of each solution; the two equations come from volume and concentration constraints. Elimination clears one unknown cleanly.
  • Supply and demand economics — Setting quantity supplied equal to quantity demanded. Supply: Qs = ap + b; Demand: Qd = cp + d. Eliminate Q (or p) to find the market-clearing equilibrium price and quantity.
  • Break-even analysis — A business has fixed and variable costs: total cost = FC + vc·units and total revenue = price·units. Setting them equal and eliminating one variable finds the break-even quantity.
  • Network flow and circuit analysis — Kirchhoff's voltage and current laws produce systems of linear equations. For simple circuits with 2–3 loops, elimination is the standard hand-calculation method.
  • Distance-rate-time problems — Two objects travel at different speeds; combined or relative distance equations form a 2×2 system. Elimination finds speed or time with minimal algebra.
  • Age and number word problems — Classic algebra problems: "sum of two numbers is 35, their difference is 7." Two equations, two unknowns — elimination gives the answer in one step after adding.
  • Nutrition and diet planning — A diet requires exact amounts of two nutrients, supplied by two foods. The amount of each food (unknowns) satisfies two nutrient equations — a 2×2 system solved by elimination.
  • Computer graphics and geometry — Finding the intersection of two lines or planes in 2D/3D, used in ray tracing, collision detection, and coordinate geometry.
  • Interest and investment problems — Money split between two accounts at different rates producing a target total interest: P₁ + P₂ = total and r₁P₁ + r₂P₂ = interest. A 2-variable elimination system.

Common Mistakes When Solving by Elimination

MISTAKE 1 Multiplying only part of an equation.
When you multiply an equation by a constant, every term — including the right-hand side constant — must be multiplied. Multiplying only the left side changes the equation's balance and produces a wrong answer.
MISTAKE 2 Sign errors when subtracting.
Subtraction is the most error-prone step. Instead of subtracting equation ②, try multiplying it by −1 first, then add — this converts subtraction to addition and makes sign errors less likely. For example, instead of eq① − eq②, do eq① + (−1)×eq②.
MISTAKE 3 Forgetting to back-substitute.
Elimination gives you one variable's value. You still need to substitute it back into an original equation (not the modified one from elimination) to find the other variable. Always use an original equation for back-substitution.
MISTAKE 4 Not verifying the answer.
Always check your solution in both original equations, not just one. A solution that satisfies equation ① but not ② is wrong — a substitution error happened somewhere.
MISTAKE 5 Concluding "no solution" when the system is dependent.
When elimination gives 0 = 0, the system has infinitely many solutions — not zero solutions. Students sometimes confuse 0 = 0 (true; dependent) with 0 = 5 (false; inconsistent). If both sides equal zero, the equations are proportional; express the solution parametrically.

Glossary

System of Linear Equations
A set of two or more linear equations sharing the same unknowns. A solution is any set of values that satisfies all equations simultaneously.
Elimination Method
Solving a system by adding multiples of equations together so that one variable's terms cancel (are eliminated), leaving an equation with fewer unknowns.
Addition Method
Another name for the elimination method — because the core operation is adding scaled equations together.
Gaussian Elimination
The systematic generalization of elimination for n×n systems, using row operations on the augmented matrix to reach row echelon form, then solving by back-substitution.
Back-Substitution
After the last variable has been found (by working down from the simplest equation), substituting it back into the previous equation to find the next variable, and so on up the system.
Consistent System
A system that has at least one solution. Can be independent (exactly one solution) or dependent (infinitely many).
Inconsistent System
A system with no solution. Geometrically, the lines or planes represented by the equations never intersect.
Dependent System
A system where the equations are not all independent — one can be derived from others. Results in infinitely many solutions.
Pivot
The equation (or its leading coefficient) used as the reference to eliminate a variable from all other equations in Gaussian elimination.
Augmented Matrix
A matrix formed by appending the constants column to the coefficient matrix — e.g. [a₁ b₁ | c₁; a₂ b₂ | c₂]. The standard representation for Gaussian elimination.
Row Echelon Form
A matrix where each row's leading non-zero entry is to the right of the leading entry of the row above. The form produced by Gaussian elimination before back-substitution.
LCM (Least Common Multiple)
Used to find the smallest multipliers needed to make two coefficients equal. The LCM of 4 and 6 is 12 — so multiply the 4-coefficient equation by 3 and the 6-coefficient equation by 2.

Frequently Asked Questions

Q: What is the elimination method for solving systems of equations?

A: The elimination method multiplies one or both equations by constants so that one variable's coefficients become equal and opposite, then adds the equations to cancel that variable. The result is a single-variable equation that's easy to solve. The found value is substituted back to find the remaining variable(s).

Q: How do you solve a system of equations by elimination step by step?

A: (1) Choose which variable to eliminate. (2) Find multipliers that make its coefficients equal and opposite in both equations. (3) Multiply through. (4) Add the equations — the variable cancels. (5) Solve the resulting one-variable equation. (6) Substitute back to find the other variable. (7) Verify in both original equations.

Q: When should you use elimination instead of substitution?

A: Use elimination when coefficients are already equal or easily made equal (small LCM), when both equations have the same form (no variable already isolated), or for 3+ variable systems. Use substitution when one equation already solves for a variable (e.g. y = 3x − 1).

Q: What does it mean when elimination gives 0 = 0?

A: 0 = 0 is always true — it means the system is dependent (the equations represent the same line or plane). There are infinitely many solutions. Express them parametrically: set one variable to a free parameter t and express the other in terms of t.

Q: What does it mean when elimination gives 0 = 5 or a contradiction?

A: A false statement (non-zero = 0) means the system is inconsistent and has no solution. The lines (or planes) are parallel and never meet. Check whether the equations have the same slope but different y-intercepts — that confirms inconsistency.

Q: Can the elimination method solve 3-variable systems?

A: Yes — this is called Gaussian elimination. Systematically eliminate one variable from equations ② and ③ using ① as the pivot, then eliminate another from ③ using ②. This gives a triangular system solved by back-substitution from the bottom equation upward.

Q: What is the difference between elimination and Gaussian elimination?

A: Basic elimination (for 2×2 systems) adds two scaled equations to cancel a variable. Gaussian elimination is the general n×n algorithm that does the same thing systematically using matrix row operations, working through each column as a pivot. They share the same core idea.