Solving Systems by Elimination
Learning goals
- Add or subtract equations so one variable cancels
- Scale one or both equations to match the coefficients
- Justify the method from the properties of equality
- Back-substitute for the second variable, then check both
- Read as no solution and as infinitely many
- Prefer elimination in standard form, substitution when one is isolated
Adding equations to cancel a variable
A system of two linear equations asks for the pair that satisfies both equations at the same time. Substitution found that pair by isolating a variable and replacing it. Elimination finds it by combining the two equations so that one variable cancels outright.
Start with a system whose coefficients are already arranged for it:
Look at the terms. The first equation has , the second has , and those are opposites. So if you add the equations column by column, the terms sum to zero and drop out. Add the left sides, add the right sides:
The and cancel, and what remains has only in it:
One variable is solved already. Recover the other by putting back into either original equation, say :
The candidate solution is . Check it in both equations, exactly as you did with substitution: and , both true. So solves the system.
The move that did the work was adding two equations to cancel a variable. It succeeds whenever a variable’s coefficients are opposites, because opposite numbers sum to zero. If instead the coefficients are equal, subtracting one equation from the other cancels the variable just as well. Adding and subtracting are the two faces of elimination. The only remaining question is what to do when the coefficients are neither opposite nor equal.
The elimination method step by step
Every system yields to the same routine.
- Line up the equations in standard form , so like terms sit in columns.
- Match a variable’s coefficients. Pick the variable to eliminate, then multiply one or both equations by nonzero constants so its coefficients become opposites (to add) or equal (to subtract).
- Add or subtract the equations to remove that variable, leaving one equation in one unknown.
- Solve the one-variable equation.
- Back-substitute the value into an original equation to find the other variable.
- Check the pair in both original equations.
When a variable already has opposite coefficients, step 2 costs nothing and you go straight to adding.
Worked example 1 Solve and
Scan the columns for a variable ready to cancel. The first equation has and the second has , opposites, so adding the equations eliminates with no setup:
The terms cancel and the terms combine:
Back-substitute into an original equation. Using :
So the candidate is . Check it in both equations, not just the one you used:
Both hold, so the solution is .
Check your understanding
To solve and by elimination, you add the two equations. Which variable is eliminated, and what equation results?
The terms are and , opposites, so adding the equations cancels .
That leaves , so . Then back-substitute to find .
Why adding equations keeps every solution
Elimination keeps one of the two equations and replaces the other with a combined equation, then solves that smaller system. It is worth seeing why this is trustworthy: the new system is made of the equation you kept and the combined equation. That new system has exactly the same solution pairs as the original, so no common solution is lost and none is invented.
Why combining the equations preserves the solution set#
A system asks for every pair that makes both equations true at once, and that collection of pairs is its solution set. Two properties of equality do all the work. The addition property says that if and are both true, then adding them gives another true statement, . The multiplication property says that if is true, then is true for any number . Scaling an equation and adding two equations are exactly the moves elimination uses.
First, no common solution is lost. Elimination keeps one original equation, say the first, and replaces the second with a combined equation built as times the first plus times the second. Suppose a pair solves the original system, so it makes both equations true. By the multiplication property, scaling the first equation by and the second by keeps each true for this pair. By the addition property, their sum is then true for this pair as well. That sum is exactly the combined equation, so the pair satisfies it. The pair also still satisfies the kept first equation, so it solves the new system made of the first equation and the combined equation. Every solution of the original system survives into the new one.
Second, no new common solution is invented. The replacement is reversible. The combined equation is times the first plus times the second. Subtracting times the first equation from that combined equation, and then dividing by , gives back the second equation exactly. This undoing is valid because the multiplier on the second equation is not zero. That is guaranteed, since you never eliminate by multiplying an equation by zero, which would only erase it. So from the new system, the first equation together with the combined equation, you can rebuild the original second equation. Any pair that solves the new system therefore also satisfies the second equation, and so it solves the original system too.
The new system is the first equation paired with the combined equation. The two directions together show that this new system has exactly the same solution set as the original. Elimination therefore trades the system for an equivalent one in which a variable is already gone. This also explains the unusual outcomes. When the combined equation still carries a variable, it pins that variable to a single value and the system has one solution. When both variables cancel and leave a false statement such as , no pair can satisfy the equations, so the lines are parallel and there is no solution. When both cancel and leave a statement that is always true such as , the second equation was a multiple of the first all along. The two equations therefore describe the same line, and every point on that line solves the system.
Matching the coefficients: multiply, then eliminate
Most systems do not hand you opposite coefficients. You create them. Multiplying an entire equation by a nonzero constant produces an equation with the same solutions, by the multiplication property of equality. The new equation carries rescaled coefficients, and you can aim those at a match.
Two situations arise. Sometimes one variable’s coefficient in one equation is a multiple of its coefficient in the other, so multiplying just one equation lines them up. When neither coefficient is a multiple of the other, multiply both equations, scaling the chosen variable’s coefficients up to their least common multiple. Make one of those coefficients positive and the other negative, so they cancel on adding.
Worked example 2 Multiply one equation: solve and
Aim to eliminate . The first equation has and the second has . Doubling the second turns its into , the opposite of the above it. Multiply every term of by :
Now add this to the first equation, :
The terms cancel:
Back-substitute into :
The solution is . Check the second equation too: , correct. Notice that only one equation needed multiplying, because the coefficient was already a multiple of the on the .
Check your understanding
You want to solve and by elimination. If you multiply the second equation by and add it to the first, which variable is eliminated?
Multiply every term of by , giving . Add it to .
The and cancel, so is eliminated and is left.
When neither coefficient divides the other, you scale both equations. Aim the variable you are eliminating at the least common multiple of its two coefficients.
Worked example 3 Multiply both equations: solve and
Eliminate . Its coefficients are and , and neither divides the other, so scale both up to their least common multiple, . Multiply the first equation by and the second by :
Both now carry . Since the coefficients are equal rather than opposite, subtract the second equation from the first so the terms cancel. Subtracting flips every sign in the second equation:
Back-substitute into :
The solution is , and confirms the second equation. You could instead have multiplied the second equation by to get and then added; the result is identical. Making coefficients equal and subtracting, or opposite and adding, are two routes to the same cancellation.
When a variable cancels to a number: no solution and infinitely many
Usually elimination leaves a one-variable equation that pins a value down. Once in a while both variables cancel together and you are left with a bare numerical statement. As with substitution, that is not a dead end; it is the system telling you how the two lines lie.
Worked example 4 A system with no solution
Solve
Eliminate . Multiply the first equation by so its becomes , opposite the below:
Add this to :
Both variables cancel at once, and what is left is
This is false: no values of and can make equal . So the system has no solution. The two lines have the same steepness but different heights, so they are parallel and never meet.
Worked example 5 A system with infinitely many solutions
Solve
Eliminate by doubling the first equation so its becomes :
This is now identical to the second equation, so subtracting them gives
Every term has cancelled and the statement left over is always true. That means every pair solving the first equation already solves the second, so the system has infinitely many solutions. The second equation is just the first multiplied by , so the two describe the same line. Each point on that line, written with , is a solution.
Check your understanding
Eliminating a variable from a system, you reach . What does this tell you?
When both variables cancel and leave a false numerical statement, no pair can satisfy both equations at once.
The lines are parallel and never meet. Read it as no solution, not as .
Substitution or elimination?
Both methods return the same pair, so the choice is about convenience. Reach for elimination when both equations are already in standard form . Elimination fits especially well when a variable shares a coefficient or an easy multiple across the two equations, so a single add or subtract clears it. Reach for substitution when one equation already has a variable isolated, like , because you can drop that expression straight into the other equation. Many systems accept either method comfortably; with a little practice you will glance at a system and pick the route that needs fewer steps.
Seeing the cancellation
The whole method comes down to lining up like terms and adding so that a column cancels. Here is the first worked example laid out that way. The column holds directly above , opposite terms that sum to zero, so adding the two equations erases and leaves a single equation in .
Every elimination problem is this picture. When the canceling column is not already in place, you multiply one or both equations first to force it there, then add.