Subtracting the second equation from the first means subtracting left side from left side and right side from right side, term by term, so that matching coefficients cancel and one variable disappears. For minus , the -terms cancel and the result is , leaving one variable to solve directly.
subtracting the second equation from the first
Subtracting the Second Equation From the First: The Elimination Method, Step by Step
On this page
- The instruction, decoded
- Line by line: the subtraction, with the signs kept honest
- Interactive: subtract your own two equations
- When to subtract and when to add
- When the coefficients do not match: multiply first
- Worked 2x2 systems, start to finish
- Elimination vs substitution vs graphing: which to use on a test
- Sign errors that cost marks (and how to catch them)
- No solution and infinitely many: what elimination tells you
- Practice: ten systems with answers
- If the whole problem set is elimination
The instruction, decoded
A worksheet or a solved-answer page hands you that sentence — "subtract the second equation from the first" — without saying what it authorizes you to do. It means this: take the left side of the first equation minus the left side of the second, and the right side of the first minus the right side of the second, term by term. The goal is always the same: make one variable's combined coefficient hit zero.
Here's a typical textbook pair: and .
The -terms cancel because both coefficients are . That leaves , so . Substitute back into the first equation:
Line by line: the subtraction, with the signs kept honest
Most answers online state the rule and stop; the mechanics of why it's legal, and where it goes wrong, are the part worth slowing down for.
Subtracting like terms only
Subtracting equations from each other only ever combines matching terms: -terms with -terms, -terms with -terms, constants with constants. You never subtract an -term from a -term — each column of the stacked equations stays in its own lane, the same way subtracting like terms works in any algebra problem.
Distributing the minus sign across the whole second equation
The trap sits here. Subtracting the second equation from the first means distributing a minus sign across every term on both sides of that second equation, not just the first one you see. If the second equation carries a negative coefficient — say — then subtracting it means
The result is still a true equation - why you are allowed to do this
Subtracting equal quantities from both sides of a true equation always produces another true equation — that's the same rule that lets you add or subtract any number from both sides of a one-variable equation. Here, you're subtracting an entire equation (itself a claim about equal quantities) instead of a single number, which is why the result is still a valid, solvable equation.
Interactive: subtract your own two equations
Enter the coefficients
Type in the six coefficients of a system — for the first equation, for the second — and the stepper lines them up the way a textbook prints them, ready to subtract.
Watch the sign on each term
Each term's sign is tracked separately as the subtraction runs, so a coefficient that flips from negative to positive (or the reverse) is highlighted instead of silently corrected.
See whether adding would have been the shorter route
The stepper also states, in plain words, whether adding the two equations would have eliminated a variable in fewer moves than subtracting did. That add-or-subtract verdict is the one feature no static answer page provides.
When to subtract and when to add
| Coefficients on the target variable | Move |
|---|---|
| Same sign, same magnitude | Subtract |
| Opposite signs, same magnitude | Add |
Same sign, same coefficient: subtract
When both equations carry the same coefficient with the same sign — like the and above — subtracting cancels that variable directly.
Opposite signs, same magnitude: add
When the coefficients are equal in size but opposite in sign — like and — adding is what cancels them; subtracting would double the term instead of removing it.
The one-sentence decision rule
If the coefficients you're targeting share a sign, subtract; if they don't, add — either move exists to force that variable's combined coefficient to zero.
Adding and subtracting algebraic equations side by side on the same system
Take and , which share the solution . Adding them:
When the coefficients do not match: multiply first
This is where most students actually stall, and it's the step the elimination method needs before subtraction (or addition) can do anything.
Scaling one equation
For and , the -coefficients are 2 and 1 — not equal, so subtracting as-is does nothing useful. Scale the second equation by 2: . Now subtract the first:
Scaling both (least common multiple of the coefficients)
For and , neither coefficient matches the other on either variable. Scale to the least common multiple of the -coefficients, 6: multiply the first equation by 3 () and the second by 2 (). The -terms are now opposite in sign and equal in magnitude, so add: . Back-substitute:
A worked 3x + 2y / 5x - 3y system
That's the full worked
Worked 2x2 systems, start to finish
Solving systems algebraically always ends the same way: one variable eliminated, the other found by back-substitution, and both checked in the original equations — not the simplified ones.
A clean subtraction case
and . The -coefficients match exactly, so subtract:
. Back-substitute:
A case that needs a sign flip
and . The -coefficients match, so subtract — carefully, since the second equation's -term is negative:
Note the -row: , not — the sign flip is the whole trick. So . Back-substitute:
A case that needs scaling
and . Neither variable's coefficients match, so scale the second equation by first: . Now the -coefficients match, so subtract:
. Back-substitute:
Back-substituting to get the second variable
In every case above, elimination only finds one variable. Take that value straight back into either original equation — whichever has simpler numbers — and solve normally for the second variable, exactly as shown three times over.
Checking the pair in both original equations
The pair isn't confirmed until both original equations accept it, not just the one used for back-substitution. All three worked systems above check clean in both equations — that double check is what separates a finished answer from a guessed one.
Elimination vs substitution vs graphing: which to use on a test
| Situation | Best method |
|---|---|
| Coefficients on one variable already match or scale easily | Elimination |
| One equation already has a variable isolated (like ) | Substitution |
| You just need a rough visual check, not a graded answer | Graphing |
Pick elimination when coefficients line up
If a quick glance shows matching or easily-scaled coefficients, elimination is usually the fastest route on paper.
Pick substitution when a variable is already isolated
For and , the substitution method is faster than elimination: substitute directly,
Graphing: fine for a check, slow for a grade
For and , the graphing method shows two lines crossing at — a useful sanity check, but plotting two lines by hand is rarely faster than either algebraic method on a timed test. Finding where two lines cross is also the skill behind coordinate-geometry problems.
Sign errors that cost marks (and how to catch them)
| Error | What it looks like on paper | Wrong result it produces | How to catch it |
|---|---|---|---|
| Forgetting to subtract the constant | Keeps the first equation's constant unchanged instead of subtracting the second | instead of | Substitute the "solution" back — it fails one original equation |
| Subtracting only the left side | Cancels the matching variable but leaves the other variable's coefficient untouched | instead of | The variable that should have vanished is still sitting in the result |
| Losing the minus on a negative coefficient | Writes instead of | instead of | Re-check the sign of every term in the second equation before subtracting |
| Distributing the minus sign across only part of the equation | Flips the sign on the variable terms but not the constant, or the reverse | A result off by exactly twice the missed term | Rewrite the subtraction as adding the negative of every term, one at a time |
Scroll the table sideways to see every column.
Forgetting to subtract the constant
Using and : subtracting correctly gives , so . Forgetting to subtract algebraic equations' constants correctly — leaving — hands back , which fails the check against either original equation.
Subtracting only the left side
The same pair, subtracted incorrectly by canceling only the -terms and leaving the -terms untouched, produces — a line, not a solved value, because a variable that should have vanished didn't.
Losing the minus on a negative coefficient
This is the sign-flip trap from the worked system above: must become , not . Losing that minus sign is the single most common way to subtract algebraic equations with variables incorrectly.
The 30-second check that catches all three
Substitute both values back into both original equations, not the simplified ones. If either fails, the error happened during the subtraction step, not the back-substitution — go back and re-check every sign in the second equation before touching anything else.
No solution and infinitely many: what elimination tells you
When both variables vanish and you get 0 = 5
and . Subtracting:
When both vanish and you get 0 = 0
and . Scale the first equation by 2: . Subtracting:
Practice: ten systems with answers
| # | System | Type | Answer |
|---|---|---|---|
| 1 | Clean subtraction | ||
| 2 | Clean subtraction | ||
| 3 | Sign flip | ||
| 4 | Clean subtraction | ||
| 5 | Clean subtraction | ||
| 6 | Needs adding | ||
| 7 | Dependent | Infinitely many solutions | |
| 8 | Inconsistent | No solution | |
| 9 | Needs adding | ||
| 10 | Needs scaling |
Scroll the table sideways to see every column.
If the whole problem set is elimination
Twenty systems, each one a fresh set of coefficients to check for signs and scaling, is close to ninety minutes of careful arithmetic — and one dropped sign on system 14 costs the same mark as skipping it outright. That's the point where a lot of students go looking for someone to work the whole systems set instead of rechecking every sign by hand.
GradeDraft's math desk, part of our do my homework service, solves systems problem sets, from clean-subtraction items through the scaling and sign-flip cases above, with the elimination shown line by line the same way it's shown here, priced from $25 per problem after a quick look at the set.
Send the assignment or a photo of it. You'll get a per-problem quote back within 2 hours (8 am–11 pm ET) and full worked steps with the delivery.
Get your systems problem set solvedIf a single equation is the sticking point rather than a pair, start with what value makes a single equation true. Once shows up in one of the equations, see the three forms a quadratic can take. Students working the CPM curriculum should also see CPM Core Connections systems problems, which drills this exact elimination method in that textbook's own notation. Free lessons on CK-12 and Homework.Study.com walk through the same mechanics if you want more practice before checking your own work here.
FAQ
Common questions about adding and subtracting equations
Replies within 2 hours, 8 am–11 pm ET, 7 days a week
01What is the result of subtracting the second equation from the first?
A new, simpler equation in which one variable's coefficient has been reduced to zero — the matching terms cancel, leaving a single-variable equation you can solve directly and then back-substitute.
02When do you add equations and when do you subtract them?
Subtract when the coefficients on the variable you want to eliminate have the same sign; add when they have opposite signs and the same magnitude. Either move is aimed at the same goal: forcing that variable's combined coefficient to zero.
03How do you subtract two equations?
Subtract the left side of the second equation from the left side of the first, and the right side of the second from the right side of the first, term by term, keeping every sign — including the ones on negative coefficients and constants.
04Why does subtracting eliminate a variable?
Because subtracting equal coefficients from each other always produces zero. If both equations share the exact same coefficient on a variable, subtracting cancels that variable's term entirely, leaving one equation with only the other variable in it.
05What if the coefficients do not match?
Scale one or both equations first — multiply every term in an equation by the same number — until the target variable's coefficients match in magnitude. Then subtract or add as usual, as shown in the "multiply first" section above.
06Is elimination faster than substitution on a test?
Usually, when the coefficients already match or scale in one step. When a variable is already isolated — like — substitution is typically faster, since elimination would need an unnecessary scaling step first.