The method, including the part textbooks do silently — choosing which unknown to remove.
Solve by elimination
Multipliers chosen the way a person chooses them.
Standard form is not required — 2x = 12 - 3y is rearranged for you before anything is eliminated.
3x + 2y = 16 · 5x − 4y = 12
x = 4, y = 2
Eliminated first
y
The cheaper of the two to remove
Multipliers used
2, −1
Applied to the equations in order
Outcome
One solution
Why y: The y coefficients are 2 and −4, whose least common multiple is 4 — the smallest of any column here, so y needs the smallest multipliers.
Working, one line at a time
1Write both equations in standard formE1: 3x + 2y = 16
E2: 5x − 4y = 12Every variable on the left in the same order, the constant on the right. Elimination lines up columns, so the columns have to line up.
2Choose y to eliminateThe y coefficients are 2 and −4, whose least common multiple is 4 — the smallest of any column here, so y needs the smallest multipliers.Either variable works. Picking the cheaper one is the whole skill — it is why this is a method and not a formula.
3Multiply to make the y coefficients matchE1 × 2: 6x + 4y = 32
E2 × −1: −5x + 4y = −12Multiply, do not divide. Whole-number multipliers keep every later line free of fractions, which is the practical reason to eliminate rather than row-reduce by hand.
4Subtract to remove y6x + 4y = 32
− −5x + 4y = −12
= 11x = 44Both y coefficients are 4, so subtracting cancels them.
5Solve for x11x = 44, so x = 4
6Substitute back into E2 to get y5x − 4y = 12 → 5(4) − 4y = 12 → y = 2Back-substitute into an ORIGINAL equation, not into one you transformed. A slip in the multiplying step survives a check against its own output.
7The solutionx = 4, y = 2
8Check in both original equations3x + 2y = 16 → 16 = 16 ✓
5x − 4y = 12 → 12 = 12 ✓Both must hold. Satisfying only one means the answer solves a transformed equation rather than the system you were given.
Checked against the original equations, not the transformed ones.
What this tool covers
Every worked example you have seen made the first decision before you arrived. This one shows it: which unknown, why that one, and what it costs.
Which unknown to eliminate, and why that one costs less
The multipliers that make the coefficients match, applied rather than divided
Three unknowns, by eliminating the same one from two different pairs
What it means when both unknowns vanish — and which of the two outcomes it is
The cheaper unknown chosen, with the reason Whole-number multipliers, not divisions Two and three unknowns Free, no signup
Free, no signup — exact fractions, nothing rounded.
Updated 6 September 2026 · Works in any browser, no installation
Elimination makes one unknown’s coefficients match in size, then adds or subtracts the equations so it cancels. For 3x + 2y = 16 and 5x − 4y = 12, multiplying the first by 2 and the second by −1 makes both y coefficients 4, and subtracting leaves 11x = 44 — so x = 4, y = 2.
At a glance
Formula shown
Scale one or both equations so a chosen unknown has coefficients of equal magnitude, then add (opposite signs) or subtract (equal signs) to remove it.
Scenario support
Two equations in two unknowns, or three in three, typed in any arrangement.
Educational estimate
Planning support from the values you enter — not professional advice.
Adding two equations is a legal move, and that is the whole idea
If a pair of values satisfies two equations, it satisfies their sum — and it satisfies any multiple of either one. Those two facts are all elimination uses. Scale the equations so one unknown appears with equal or opposite coefficients, combine them, and that unknown is gone, leaving one equation in one unknown.
x + y = 10 and x − y = 2 is the friendliest possible case: both x coefficients are already 1, so subtracting one equation from the other removes x with nothing multiplied at all, leaving 2y = 8. 2x + 3y = 12 and 5x − 3y = 9 is the mirror image — the y coefficients are 3 and −3, already opposites, so adding removes y.
Nothing here is lost or invented. Every operation is reversible: you can subtract the multiple back and recover exactly what you started with, which is why the solution set cannot change. That is also the formal reason row reduction is trustworthy, and the System of Equations Calculator is this same argument applied to a matrix instead of to written-out equations.
Which unknown to remove — the decision nobody shows you
Both unknowns can be eliminated and both give the same answer, so this is a choice about work rather than about correctness. The order to check is short:
Already opposite? Add. The y coefficients are already opposites (3 and −3), so adding the equations removes y with no multiplying at all.
Already equal? Subtract. The x coefficients are already equal (1 in both), so subtracting one equation from the other removes x directly.
One coefficient divides the other? One multiplier does it. In x + 2y = 8 and 3x − y = 3, The y coefficients are 2 and −1, whose least common multiple is 2 — the smallest of any column here, so y needs the smallest multipliers.
Neither? Take the pair with the smallest least common multiple. The y coefficients are 2 and −4, whose least common multiple is 4 — the smallest of any column here, so y needs the smallest multipliers.
The cost of choosing badly is not an error, it is arithmetic. Eliminating x from 3x + 2y = 16 and 5x − 4y = 12 needs multipliers of 5 and 3 and produces coefficients in the tens; eliminating y needs 2 and 1. Both are right; one is noticeably less to write and less to get wrong.
The calculator makes the same check and prints the reason, so the decision is visible rather than assumed. When you are doing it by hand, running that list takes about five seconds and it is the highest-value five seconds in the method.
Multiply, never divide
To make coefficients of 2 and −4 match you can multiply the first equation by 2, or you can divide the second by 2. The results are equivalent and the first is much better, because multiplying by whole numbers keeps every subsequent line in whole numbers while dividing introduces fractions that then propagate through the rest of the working.
This is the practical argument for hand elimination over hand row reduction. Row reduction scales rows to make pivots exactly 1, which means dividing, which means fractions from the first step. Elimination is free to pick multipliers that avoid them entirely, and on a typical textbook system it does.
The one rule that must not slip: multiply every term, including the constant on the right. Scaling x + 2y = 8 by 3 gives three times each of the left-hand terms and three times the right-hand side. Leaving the constant alone produces a clean-looking equation that is not equivalent to the one you had, and everything after it is wrong in a way that no later step reveals.
Add or subtract? Look at the two signs
Once the magnitudes match there is exactly one question left, and it has a one-line answer: equal coefficients cancel on subtraction, opposite ones cancel on addition. 4y and 4y cancel when you subtract; 3y and −3y cancel when you add.
Getting it backwards does not produce an obvious failure. It doubles the term instead of removing it — 4y minus −4y is 8y — and you are left with an equation in two unknowns that looks like progress and is not. The tell is that the unknown you were eliminating is still there; if it is, you added when you should have subtracted or the other way round.
Subtracting also carries the usual bracket hazard one layer down: subtracting a whole equation flips the sign of every term in it, including the constant. Writing the second equation out with its signs already flipped, then adding, is a reliable way to avoid it — and it is exactly the trick the Adding and Subtracting Polynomials Calculator makes explicit for expressions.
Three unknowns: eliminate the same one twice
With three unknowns the method does not change; it repeats. Pick one unknown and remove it from two different pairs of equations — the first and second, then the first and third — which leaves two equations in the remaining two unknowns. Solve that smaller system by the same technique, then substitute both values back to recover the third.
The mistake worth naming is eliminating a different unknown in the second pair. Remove z from E1 and E2, then y from E1 and E3, and what you have is two equations still containing three unknowns between them — no progress, and it takes a moment to see why. Use the same unknown both times.
Which unknown to pick follows the same cost rule as before, applied across all three equations at once: the one whose coefficients are cheapest to match in both pairs, which is often the one with a zero coefficient somewhere, since a missing term needs no elimination at all.
When both unknowns disappear at once
Sometimes the combination removes both unknowns, not just the one you aimed at. What is left decides the outcome, and the two possibilities are opposite answers:
0 = 0. x + y = 5 and 2x + 2y = 10 does this — the second equation is just the first doubled, so it carried no new information. There are infinitely many solutions: x = 5 − t and y = t.
0 = a non-zero number. x + y = 5 and 2x + 2y = 11 reduces to a statement that is false for every value of every unknown. There is no solution at all — the lines are parallel.
Both of these look like a failed calculation and neither is. They are the two ways two straight lines can avoid crossing exactly once, and there is no third. Reporting “no solution” when the working produced 0 = 0 is the common confusion, and it is the opposite of the truth.
Read the guide
Elimination is one of three routes, and this page does not argue that it is the best one — only that it is often the cheapest. Elimination, Substitution, or Matrices — Choosing a Route Through a System puts all three side by side on the same system, gives the five-second rule for picking one from the coefficients, and covers where each method characteristically goes wrong. If elimination is producing ugly numbers, that guide is where to look before pushing on.
Sources and methodology
The method rests on two facts argued in the first section — that solutions survive scaling and addition of equations — rather than on an external authority. What is cited is the standard reference statement of the underlying linear algebra.
Method. Every figure on this page comes from src/lib/elimination-method.ts over the exact-rational linear core in src/lib/algebra/linear.ts. The engine chooses its target the way the page describes — by the least common multiple of the candidate coefficients — rather than always taking the first column, and it multiplies rather than divides wherever whole-number multipliers exist. That engine is verified on every change against 62 hand-written assertions, including that elimination, substitution and row reduction return identical solutions across a swept range of systems, and that every reported answer is substituted back into the ORIGINAL equations rather than the transformed ones. The count and the per-case breakdown are published on the formula verification page.
Related calculators
The same system, other routes:
Substitution MethodSolve simultaneous equations by substitution, with the unknown to isolate chosen and explained, the bracketed substitution as its own line, and the expansion after it.
System of EquationsSolve linear systems in up to six unknowns with exact fractions — row operations, the matrix form, Cramer’s rule, and the parametric family when there is no single answer.
Quadratic FormulaSolve any quadratic with exact roots — surds stay surds and a negative discriminant gives the complex pair — plus the vertex, the factored form and every step of the working.
DiscriminantEvaluate b² − 4ac, the cubic and quartic discriminants, or D = f_xx·f_yy − (f_xy)² for the second-derivative test, in exact arithmetic so the sign is never a rounding artefact.
ScientificTrigonometry, logarithms, powers, roots, and factorials with correct order of operations, memory registers, history, and keyboard entry.
PercentageSolve X% of Y, what percent X is of Y, reverse percentage, increase/decrease, discounts, and tax, tip, or commission.
This calculator solves systems of linear equations by the elimination method and shows the working, including the choice of which unknown to remove first. The arithmetic is exact — coefficients are held as fractions — so a system that reduces to a contradiction is reported as having no solution rather than as having a very large one. It is a study and checking aid: in the setting where this method is named, the working is what is being marked, and an answer without it is worth nothing.